/* =========================================================
   КП для бьюти-мастеров — Velar Studio
   Палитра наследует сайт velar-studio.ru (графит + золото),
   но в светлой, тёплой подаче под бьюти-аудиторию.
   Mobile-first: базовые стили — телефон, медиа — вверх.
   ========================================================= */

:root {
  --bg:        #F8F5F0;
  --bg-alt:    #F1ECE4;
  --bg-deep:   #1A1A1A;
  --ink:       #1A1A1A;
  --ink-soft:  #57534E;
  --ink-mute:  #8A857E;
  --accent:    #C8A97E;   /* только фон / декор */
  --accent-tx: #8A6A3B;   /* акцент для текста — контрастный */
  --line:      rgba(26, 26, 26, .12);
  --line-soft: rgba(26, 26, 26, .07);

  --font-display: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1160px;
  --pad: 22px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.accent { color: var(--accent-tx); font-style: italic; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- шапка ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  background: rgba(248, 245, 240, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: var(--bg-deep);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  padding-bottom: 1px;
}
.brand__name {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.topbar__cta {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary {
  background: var(--bg-deep);
  color: #F8F5F0;
}
.btn--primary:hover { background: #000; transform: translateY(-2px); }
.btn--primary:active { transform: none; }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  padding: 13px 22px;
  font-size: 15px;
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--wide { width: 100%; padding: 18px 28px; font-size: 17px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- ЭКРАН 1 ---------- */
.hero {
  position: relative;
  padding: 54px 0 64px;
  background:
    radial-gradient(120% 80% at 78% 0%, rgba(200, 169, 126, .22) 0%, rgba(200, 169, 126, 0) 62%),
    var(--bg);
  overflow: hidden;
}

.hero__eyebrow {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.1rem, 8.4vw, 3.1rem);
  margin-bottom: 22px;
}

.hero__lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero__price {
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: .02em;
}

.hero__scroll {
  display: none;
}

/* ---------- секции ---------- */
.section { padding: 68px 0; }
.section--benefits { background: var(--bg); }
.section--steps { background: var(--bg); }
.section--objection { background: var(--bg-alt); }
.section--case { background: var(--bg); }
.section--price { background: var(--bg); }

.section__num {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.7rem, 6.6vw, 2.5rem);
  max-width: 18em;
  margin-bottom: 40px;
}

/* ---------- выгоды ---------- */
.benefits { display: grid; gap: 26px; }

.benefit {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.benefit:last-child { border-bottom: 0; padding-bottom: 0; }

.benefit__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(200, 169, 126, .18);
  color: var(--accent-tx);
}
.benefit__icon svg { width: 23px; height: 23px; }

.benefit__body h3 {
  font-size: 20px;
  margin-bottom: 7px;
}
.benefit__body p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- бегущая строка ---------- */
.marquee {
  overflow: hidden;
  background: var(--bg-deep);
  color: rgba(248, 245, 240, .82);
  padding: 15px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: slide 26s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  padding-right: 8px;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- шаги ---------- */
.steps { display: grid; gap: 30px; counter-reset: step; }

.step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--accent-tx);
  margin-bottom: 12px;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.step p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- возражение ---------- */
.objection__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5.2vw, 1.6rem);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 30px;
  max-width: 20em;
}

.objection__list { display: grid; gap: 24px; }
.objection__list li {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  font-size: 16px;
  color: var(--ink-soft);
}
.objection__list b {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---------- кейс ---------- */
.case { display: grid; gap: 26px; }

.case__shot {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #E7E1D7;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(26, 26, 26, .12);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case__shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(26, 26, 26, .18);
}
.case__shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* полоска «окна браузера» — читается как настоящий сайт, а не картинка */
.case__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #E9E3DA;
  border-bottom: 1px solid var(--line-soft);
}
.case__dots { display: inline-flex; gap: 5px; }
.case__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 26, .16);
}
.case__url {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case__lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.case__facts {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.case__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.case__facts b {
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 12px;
  align-self: center;
}

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.link-arrow i { font-style: normal; transition: transform .25s ease; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow.is-disabled {
  color: var(--ink-mute);
  border-bottom-color: var(--line);
  pointer-events: none;
}
.link-arrow em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-tx);
}

/* ---------- цена ---------- */
.price {
  display: grid;
  gap: 28px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FDFBF8;
}

.price__main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  color: var(--ink);
}
.price__from { font-size: 19px; color: var(--ink-mute); }
.price__value { font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.price__cur { font-size: 26px; color: var(--accent-tx); }

.price__meta { display: grid; gap: 16px; }
.price__row {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.price__row:last-child { border-bottom: 0; padding-bottom: 0; }
.price__row b {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price__row span { font-size: 16px; color: var(--ink); }

/* обслуживание — вторая, «мягкая» плашка под основной ценой */
.upkeep {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 26px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(200, 169, 126, .09);
}
.upkeep__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
}
.upkeep__value {
  font-size: clamp(1.6rem, 7vw, 2rem);
  line-height: 1;
  color: var(--ink);
}
.upkeep__per { font-size: 15px; color: var(--ink-mute); }
.upkeep__body h3 { font-size: 19px; margin-bottom: 8px; }
.upkeep__body p { font-size: 15.5px; color: var(--ink-soft); }

.price__note {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent-tx);
}

/* ---------- форма ---------- */
.section--form {
  background: var(--bg-deep);
  color: #F8F5F0;
  padding: 76px 0 88px;
}
.form__title {
  font-size: clamp(1.75rem, 6.8vw, 2.6rem);
  max-width: 15em;
  margin-bottom: 16px;
}
.form__lead {
  font-size: 16px;
  color: rgba(248, 245, 240, .62);
  max-width: 32em;
  margin-bottom: 34px;
}

.form { display: grid; gap: 22px; max-width: 620px; }

.field { display: grid; gap: 9px; border: 0; padding: 0; margin: 0; }
.field__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, .5);
  padding: 0;
}
.field input[type="text"] {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(248, 245, 240, .22);
  color: #F8F5F0;
  font-family: var(--font-body);
  font-size: 17px;
  border-radius: 0;
  transition: border-color .2s ease;
}
.field input[type="text"]::placeholder { color: rgba(248, 245, 240, .3); }
.field input[type="text"]:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field input.is-error { border-bottom-color: #E08B72; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip span {
  display: inline-block;
  padding: 10px 17px;
  border: 1px solid rgba(248, 245, 240, .22);
  border-radius: 100px;
  font-size: 15px;
  color: rgba(248, 245, 240, .78);
  transition: all .2s ease;
}
.chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #1A1A1A;
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.section--form .btn--primary {
  background: var(--accent);
  color: #1A1A1A;
}
.section--form .btn--primary:hover { background: #D8BB90; }

.form__hint {
  font-size: 13px;
  color: rgba(248, 245, 240, .42);
  margin-top: -6px;
}

/* согласие на обработку персональных данных (152-ФЗ) */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(248, 245, 240, .55);
}
.consent__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.section--form .btn--primary[disabled]:hover { background: var(--accent); }
.form__status {
  font-size: 15px;
  min-height: 1.2em;
}
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: #E08B72; }

.form.is-sent .field,
.form.is-sent .btn,
.form.is-sent .consent,
.form.is-sent .form__hint { display: none; }

.form__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(248, 245, 240, .12);
}
.form__alt > span {
  font-size: 14px;
  color: rgba(248, 245, 240, .5);
  width: 100%;
}
.section--form .btn--ghost {
  border-color: rgba(248, 245, 240, .25);
  color: #F8F5F0;
}
.section--form .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- футер ---------- */
.footer {
  padding: 30px 0 96px;
  background: var(--bg-deep);
  border-top: 1px solid rgba(248, 245, 240, .1);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brand--footer .brand__mark { background: var(--accent); color: #1A1A1A; }
.brand--footer .brand__name { color: rgba(248, 245, 240, .6); }
.footer__note {
  font-size: 13px;
  color: rgba(248, 245, 240, .4);
}
.footer__legal {
  font-size: 12px;
  margin-top: 6px;
}
.footer__legal a {
  color: rgba(248, 245, 240, .35);
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 245, 240, .18);
  transition: color .25s ease, border-color .25s ease;
}
.footer__legal a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- липкая кнопка ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 100px;
  background: var(--bg-deep);
  color: #F8F5F0;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(26, 26, 26, .22);
  transform: translateY(140%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.sticky-cta.is-visible { transform: none; }

/* =========================================================
   Планшет
   ========================================================= */
@media (min-width: 720px) {
  body { font-size: 18px; }
  :root { --pad: 40px; }

  .hero { padding: 84px 0 92px; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
  .hero__title { font-size: clamp(3rem, 6.4vw, 4.4rem); }
  .hero__lead { font-size: 19px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 26px; }

  .section { padding: 96px 0; }
  .section__title { margin-bottom: 56px; }

  .benefits { grid-template-columns: repeat(2, 1fr); gap: 34px 44px; }
  .benefit { border-bottom: 0; padding-bottom: 0; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; }

  .objection__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  .case { grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }

  .price { grid-template-columns: auto 1fr; gap: 48px; padding: 44px 46px; align-items: center; }

  .upkeep { grid-template-columns: auto 1fr; gap: 40px; padding: 30px 46px; align-items: center; }

  .form__alt > span { width: auto; }

  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer { padding: 34px 0 40px; }

  .sticky-cta { display: none; }
}

/* =========================================================
   Десктоп
   ========================================================= */
@media (min-width: 1080px) {
  .hero { padding: 110px 0 120px; }
  .hero__title { font-size: clamp(3.6rem, 5vw, 5rem); }

  .hero__scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .hero__scroll i {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--ink-mute);
    animation: pulse 2.2s ease-in-out infinite;
    transform-origin: left center;
  }
  @keyframes pulse {
    0%, 100% { transform: scaleX(.4); opacity: .5; }
    50%      { transform: scaleX(1);  opacity: 1; }
  }

  .section { padding: 118px 0; }
  .section__title { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 46px 44px; }
  .section--form { padding: 124px 0 132px; }
}

/* ---------- уважение к настройкам движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__scroll i { animation: none; }
  .sticky-cta { transition: none; }
  .btn { transition: none; }
}
