/* Закручу Приколочу — лендинг. Оранжевый + тёмно-серый + белый. */
:root {
  --orange: #f08a24;
  --orange-deep: #d9760f;
  --orange-soft: #fdf1e3;
  --dark: #1c1a17;
  --dark-2: #292520;
  --dark-3: #3a352e;
  --ink: #23201b;
  --muted: #6f6759;
  --muted-on-dark: #c8bfae;
  --line: #e9e3d9;
  --white: #ffffff;
  --bg-soft: #f8f5f0;
  --radius: 20px;
  --btn-radius: 14px;
  --shadow: 0 12px 40px rgba(28, 26, 23, 0.10);
  --shadow-big: 0 24px 70px rgba(28, 26, 23, 0.16);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(18px, 2.4vw, 22px); }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: clamp(15px, 1.8vw, 17.5px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.accent { color: var(--orange-deep); }
.on-dark { color: var(--white); }
.on-dark .section-head p, .muted-on-dark { color: var(--muted-on-dark); }
.nw { white-space: nowrap; }
.h2-nowrap { white-space: nowrap; }
@media (max-width: 960px) {
  .h2-nowrap { white-space: normal; }
}

/* Кнопки — единый радиус 14px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  text-align: center; line-height: 1;
  padding: 16px 26px; border-radius: var(--btn-radius);
  font-weight: 800; font-size: 16.5px;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:focus-visible { outline: 3px solid rgba(240, 138, 36, .5); outline-offset: 2px; }
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff; box-shadow: 0 10px 26px rgba(240, 138, 36, 0.38);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(240, 138, 36, 0.48); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: rgba(255,255,255,.55); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); }
.btn-big { padding: 20px 32px; font-size: 18px; }
.btn-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.on-dark .btn-note { color: var(--muted-on-dark); }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 26, 23, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; color: #fff; letter-spacing: -0.02em; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: #ddd6ca; font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.header .btn { padding: 10px 18px; font-size: 14.5px; }
.burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2.4px; background: #fff; margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a { display: block; padding: 14px 20px; color: #e9e2d6; font-weight: 600; border-top: 1px solid rgba(255,255,255,.06); }

/* Hero */
.hero { background: var(--dark); color: var(--white); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,138,36,.28), transparent 65%);
  top: -320px; right: -180px; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,138,36,.14), transparent 65%);
  bottom: -300px; left: -200px; pointer-events: none;
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 104px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,138,36,.14); border: 1px solid rgba(240,138,36,.4);
  color: #ffc98a; font-size: 13.5px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; }
.hero h1 .accent-word { color: var(--orange); }
.hero-sub { font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; color: #ffd9ae; margin-top: 14px; }
.hero-desc { margin-top: 14px; font-size: clamp(15.5px, 2vw, 18px); color: var(--muted-on-dark); max-width: 520px; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta .btn { justify-content: center; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #e8e1d5; border-radius: 999px; padding: 9px 15px; font-size: 13.5px; font-weight: 600;
}
.chip b { color: var(--orange); }

/* Телефон-мокап: блик + объём */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  width: 285px; border-radius: 40px; background: #0e0d0b;
  padding: 12px; box-shadow: var(--shadow-big), 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone::after {
  content: ""; position: absolute; inset: 10px; border-radius: 30px;
  background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 30%, rgba(255,255,255,0) 48%);
  pointer-events: none;
}
.phone-screen { border-radius: 30px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; height: auto; display: block; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; color: var(--ink);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-big);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700;
  animation: float 5s ease-in-out infinite;
}
.float-card .emoji { font-size: 22px; }
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.float-1 { top: 12%; left: -6%; }
.float-2 { bottom: 14%; right: -7%; animation-delay: 2.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

/* Полоса цифр: крупные + тонкая иконка */
.stats { background: var(--dark-2); color: var(--white); border-top: 1px solid rgba(255,255,255,.06); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 38px 0; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-ico { color: var(--orange); opacity: .95; }
.stat-ico svg { width: 26px; height: 26px; display: block; }
.stat b { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; color: var(--orange); line-height: 1.05; }
.stat span { font-size: 13.5px; color: var(--muted-on-dark); font-weight: 600; max-width: 200px; }

/* Карточки: равная высота + hover */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { height: 100%; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0b576; }
.card .ico {
  width: 52px; height: 52px; border-radius: 16px; flex: 0 0 52px;
  background: var(--orange-soft); display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
}
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.card h3 { margin-top: 2px; }

/* О платформе */
.about { background: var(--bg-soft); }
.about-cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-text p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.persona { border-left: 4px solid var(--orange); }
.persona .who { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); }

/* Города */
.cities { background: var(--white); }
.city-card { position: relative; overflow: hidden; }
.city-card .emoji-big { font-size: 34px; margin-bottom: 12px; }
.city-card .tag {
  display: inline-block; margin-top: auto; padding-top: 0; font-size: 12.5px; font-weight: 700;
  color: var(--orange-deep); background: var(--orange-soft); border-radius: 999px; padding: 6px 12px;
}

/* Как это работает */
.how { background: var(--dark); color: var(--white); }
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.step:last-child { border-bottom: 0; }
.step .num {
  counter-increment: step; flex: 0 0 44px; height: 44px; border-radius: 14px;
  background: rgba(240,138,36,.16); border: 1px solid rgba(240,138,36,.5);
  color: var(--orange); font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step .num::before { content: counter(step); }
.step h4 { font-size: 16.5px; }
.step p { color: var(--muted-on-dark); font-size: 14px; margin-top: 4px; }
.how-panel { background: var(--dark-2); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.how-panel > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

/* Скриншоты: крупнее, блик, 3D на hover */
.shots-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 30px;
  overflow-x: auto; padding: 12px 4px 28px; scroll-snap-type: x mandatory;
  scroll-padding-left: 20px; -webkit-overflow-scrolling: touch;
}
.shots-scroll::-webkit-scrollbar { height: 10px; }
.shots-scroll::-webkit-scrollbar-thumb { background: #ddd3c4; border-radius: 999px; }
.shots-scroll::-webkit-scrollbar-track { background: transparent; }
.shot { scroll-snap-align: center; text-align: center; }
.shot .phone { width: 100%; margin: 0 auto; border-radius: 36px; padding: 9px; transition: transform .25s ease, box-shadow .25s ease; }
.shot .phone::after { inset: 8px; border-radius: 28px; }
.shot .phone-screen { border-radius: 27px; }
.shot:hover .phone {
  transform: perspective(1100px) rotateY(-6deg) rotateX(2.5deg) translateY(-8px);
  box-shadow: 0 36px 80px rgba(28, 26, 23, .28), 0 0 0 2px rgba(255,255,255,.06);
}
.shot figcaption { margin-top: 16px; font-weight: 800; font-size: 15.5px; }
.shot figcaption span { display: block; margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 13.5px; }

/* Тарифы */
.pricing { background: var(--bg-soft); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 24px;
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.best {
  border: 2.5px solid var(--orange);
  background: linear-gradient(180deg, #fff7ec 0%, #ffffff 42%);
  box-shadow: 0 20px 54px rgba(240,138,36,.24);
}
.price-card.best:hover { box-shadow: 0 26px 64px rgba(240,138,36,.3); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff;
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card .plan { font-weight: 800; font-size: 15px; color: var(--muted); }
.price-card .price { font-size: clamp(34px, 4vw, 44px); font-weight: 900; margin-top: 6px; }
.price-card .per { color: var(--muted); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.price-card ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 11px; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.price-card li::before { content: "✓"; color: var(--orange-deep); font-weight: 900; }
.price-card .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14.5px; }

/* Скачивание: заметная оранжевая панель */
.download { background: linear-gradient(140deg, var(--dark) 0%, #2a2620 60%, #3d2c12 100%); color: var(--white); }
.dl-panel {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4.5vw, 60px);
  background: rgba(240,138,36,.08); border: 1.5px solid rgba(240,138,36,.42);
  border-radius: 28px; padding: clamp(28px, 4.5vw, 56px);
  position: relative; overflow: hidden;
}
.dl-panel::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,138,36,.22), transparent 65%);
  top: -240px; right: -120px; pointer-events: none;
}
.dl-panel > * { position: relative; z-index: 1; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.dl-steps { display: grid; gap: 12px; }
.dl-step { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 18px; }
.dl-step .n { flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.dl-step p { font-size: 14px; color: #ddd6ca; }
.dl-step b { color: #fff; }
.dl-ios-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 15.5px; font-weight: 800; }
.dl-ios-title .apple { color: var(--orange); font-size: 18px; }
.dl-ios .dl-step .n { background: transparent; border: 1.5px solid rgba(240,138,36,.6); color: var(--orange); }

/* Форма */
.contact { background: var(--white); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: 15px; }
.contact-item .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 44px; }
.contact-item small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
form.lead-form {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px;
  width: 100%; max-width: 540px;
}
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--dark-3); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px;
  padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,138,36,.14); }
.field textarea { min-height: 110px; resize: vertical; }
.form-ok { display: none; background: #eef8ef; border: 1px solid #bfe4c4; color: #22662e; border-radius: 14px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.form-ok.show { display: block; }

/* Подвал: легче и короче */
.footer { background: var(--dark); color: var(--muted-on-dark); padding: 44px 0 30px; font-size: 14px; }
.footer-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.footer .logo { margin-bottom: 12px; }
.footer p { max-width: 360px; font-size: 13.5px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer a { display: block; padding: 4px 0; color: var(--muted-on-dark); }
.footer a:hover { color: #fff; }
.footer-mail { margin-top: 10px; font-weight: 700; color: #ffd9ae !important; display: inline-block !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; }

/* Документ-страницы */
.doc { padding: clamp(40px, 6vw, 72px) 0; }
.doc-in { max-width: 800px; margin: 0 auto; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc .doc-date { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc h3 { font-size: 16.5px; margin: 22px 0 8px; }
.doc p, .doc li { color: #453f35; font-size: 15px; margin-top: 8px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.doc .reqs { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-top: 18px; font-size: 14.5px; }

/* FAQ: плавный аккордеон */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: #f0b576; box-shadow: var(--shadow); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font: inherit; font-weight: 800; font-size: 15.5px; color: var(--ink);
  display: flex; justify-content: space-between; gap: 14px; align-items: center; text-align: left;
}
.faq-q::after { content: "+"; color: var(--orange-deep); font-size: 22px; font-weight: 900; flex: 0 0 auto; transition: transform .25s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.open .faq-a { max-height: 900px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; }

/* Адаптив */
@media (max-width: 960px) {
  .hero-in, .about-cols, .dl-panel { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  form.lead-form { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-in { grid-template-columns: 1fr; gap: 24px; }
  .nav { display: none; }
  .burger { display: block; }
  .header .btn { display: none; }
  .float-1 { left: 0; } .float-2 { right: 0; }
  .shots-scroll { grid-auto-columns: 262px; gap: 20px; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .shots-scroll { grid-auto-columns: 244px; gap: 16px; }
  .hero-cta .btn { width: 100%; }
  .dl-buttons .btn { width: 100%; justify-content: center; }
}
