/* Лендинг */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(13, 10, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.logo { font-size: 28px; font-weight: 600; text-decoration: none; letter-spacing: 0.01em; }
.logo span { color: var(--wine-2); font-size: 0.6em; margin-left: 4px; vertical-align: super; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px clamp(16px, 4vw, 48px) 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.hero-glow {
  position: absolute;
  top: 10%;
  right: 0;
  width: 60vw;
  max-width: 700px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 31, 43, 0.35), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-text { position: relative; }
.hero h1 { font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: 1.02; margin: 18px 0 22px; }
.hero h1 em { color: var(--wine-2); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 52ch; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-phone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  position: relative;
  width: 300px;
  height: 620px;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2020, #120e0e);
  border: 1px solid rgba(243, 233, 220, 0.14);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(243, 233, 220, 0.03);
  overflow: hidden;
}
.phone iframe {
  width: 375px;
  height: 810px;
  border: 0;
  border-radius: 34px;
  transform: scale(0.736);
  transform-origin: top left;
  background: var(--bg);
}
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 90px;
  height: 24px;
  margin-left: -45px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}

/* Секции */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(80px, 11vw, 130px) clamp(16px, 4vw, 48px); }
.section-narrow { max-width: 820px; }
.head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.head h2 { font-weight: 400; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 12px auto 0; max-width: 18ch; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.step-num { font-size: 44px; font-style: italic; color: var(--wine-2); line-height: 1; }
.step h3, .feature h3 { font-size: 19px; font-weight: 600; margin: 18px 0 8px; }
.step p, .feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* Возможности */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(243, 233, 220, 0.015);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}
.feature:hover { border-color: rgba(163, 50, 63, 0.5); background: rgba(122, 31, 43, 0.08); transform: translateY(-3px); }
.f-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(122, 31, 43, 0.2); font-size: 20px; color: var(--wine-2); }
.feature h3 { margin-top: 16px; }


/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--wine-2);
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* CTA */
.cta { padding: 40px clamp(16px, 4vw, 48px) 100px; }
.cta-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 60px);
  text-align: center;
  border-radius: 32px;
  border: 1px solid rgba(163, 50, 63, 0.4);
  background: radial-gradient(ellipse at top, rgba(122, 31, 43, 0.45), transparent 70%), var(--bg-2);
}
.cta-box h2 { font-weight: 400; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 auto 14px; max-width: 20ch; }
.cta-box p { color: var(--muted); margin: 0 0 30px; }
.cta-box .hero-actions { justify-content: center; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}
.foot .logo { font-size: 22px; color: var(--text); }

/* Адаптив */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .phone { width: 270px; height: 558px; }
  .phone iframe { transform: scale(0.656); width: 375px; height: 814px; }
}
