/* Алена Леонова — лендинг. Палитра снята с фото: серебро, белая рубашка, сливовая глубина. */
:root {
  --paper: #f2eff1;
  --surface: #ffffff;
  --ink: #2a2230;
  --muted: #6b6070;
  --plum: #5b3f66;
  --plum-dark: #46304f;
  --haze: #e6dde9;
  --line: #ddd6df;
  --ok: #2f6b4f;
  --err: #a1323a;

  --sans: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: var(--sans); /* один шрифт на всё: заголовки отличаются весом */

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-dark); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(38px, 5.6vw, 62px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 0.6em; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--white { background: var(--surface); }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.narrow { max-width: 68ch; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid var(--plum); border-radius: 999px;
  background: var(--plum); color: #fff;
  font: 500 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--plum-dark); border-color: var(--plum-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--haze); color: var(--plum-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Главная кнопка: мягкая «волна» раз в несколько секунд и подъём при наведении */
.btn--pulse { position: relative; min-height: 58px; padding: 0 32px; font-size: 18px;
  box-shadow: 0 6px 18px rgba(91, 63, 102, .28);
  transition: transform .2s ease, box-shadow .2s ease, background .15s; }
.btn--pulse::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit;
  border: 2px solid var(--plum); opacity: 0; pointer-events: none;
  animation: cta-wave 3.2s ease-out 1.2s infinite;
}
.btn--pulse:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91, 63, 102, .34); }
.btn--pulse:hover::after { animation: none; }
@keyframes cta-wave {
  0%   { opacity: .55; transform: scale(1); }
  40%  { opacity: 0;   transform: scale(1.12, 1.35); }
  100% { opacity: 0;   transform: scale(1.12, 1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--pulse::after { animation: none; }
  .btn--pulse:hover { transform: none; }
}

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 239, 241, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
.brand__text { font-size: 13.5px; line-height: 1.25; color: var(--muted); white-space: nowrap; }
.brand__text b { font: 700 15px/1.2 var(--sans); color: var(--ink); }
.top__right { display: flex; align-items: center; gap: 14px; }

/* Значки мессенджеров (цвета брендов) */
.social { display: flex; gap: 6px; }
.ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.ico svg { width: 22px; height: 22px; fill: currentColor; }
.ico:hover { background: var(--haze); }
.ico.ico--wa, .brand-ico--wa { color: #25d366; }
.ico.ico--viber, .brand-ico--viber { color: #7360f2; }
.ico.ico--tg, .brand-ico--tg { color: #26a5e4; }
.ico.ico--ig, .brand-ico--ig { color: #e4405f; }
.brand-ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.social--foot { margin: 18px 0 14px; }
.social--foot .ico { background: #fff; width: 40px; height: 40px; }
.social--foot .ico:hover { background: var(--haze); }
@media (max-width: 600px) {
  .brand__text { display: none; }
  .top__right { gap: 8px; }
  .social { gap: 0; }
  .top .social .ico { width: 32px; height: 32px; }
}
@media (max-width: 360px) { .top .social .ico--ig { display: none; } }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--plum); text-decoration: underline; }
.top .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
@media (max-width: 1180px) { .nav { display: none; } }

/* Первый экран */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__titles { list-style: none; padding: 0; margin: 20px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__titles li { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 16px; }
.hero__titles li.is-main { background: var(--plum); border-color: var(--plum); color: #fff; font-weight: 500; }
.hero__role { font-size: 19px; color: var(--muted); margin: 0 0 32px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero__trust { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--muted); }
.hero__trust b { color: var(--plum); font-weight: 600; }

/* Отзыв рядом с кнопкой после блока запросов */
.proof { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.proof__quote { margin: 0; flex: 1 1 340px; max-width: 560px; background: var(--haze); border-radius: var(--radius); padding: 16px; }
.proof__quote .bubble { max-width: 100%; }
.proof__quote footer { margin: 8px 4px 0; font-size: 13.5px; color: var(--muted); }
.hero__photo { border-radius: var(--radius); overflow: hidden; background: var(--haze); aspect-ratio: 3 / 4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 340px; aspect-ratio: 4 / 5; }
}

/* Обо мне */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font: 700 24px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--plum); }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* С чем приходят — голос клиента */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.voice { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.voice:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.voice q {
  display: block; quotes: "«" "»";
  font: 600 23px/1.3 var(--sans); letter-spacing: -0.015em; color: var(--plum);
  margin-bottom: 16px; min-height: 2.5em;
}
.voice h3 { font: 600 16px/1.4 var(--sans); margin-bottom: 6px; }
.voice p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .voices { grid-template-columns: 1fr 1fr; }
  .voice, .voice:not(:nth-child(3n+1)) { padding: 24px 20px 28px 0; border-left: 0; }
  .voice:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .voices { grid-template-columns: 1fr; }
  .voice, .voice:nth-child(2n) { padding: 22px 0 24px; border-left: 0; }
  .voice q { min-height: 0; }
}

/* Методы */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method { background: var(--paper); border-radius: var(--radius); padding: 26px; }
.method h3 { margin-bottom: 4px; }
.method .sub { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.method p:last-child { margin: 0; }
@media (max-width: 860px) { .methods { grid-template-columns: 1fr; } }

/* Как проходит работа — настоящая последовательность, поэтому номера */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  border: 1.5px solid var(--plum); color: var(--plum); font: 700 18px/1 var(--sans);
}
.steps h3 { font: 600 17px/1.35 var(--sans); margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Услуги */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.offer h3 { font-size: 24px; margin-bottom: 4px; }
.offer .sub { color: var(--muted); margin-bottom: 18px; }
.offer ul { padding-left: 1.1em; margin: 0 0 22px; }
.offer li { margin-bottom: 6px; }
.price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 20px; }
.price b { font: 700 28px/1.1 var(--sans); letter-spacing: -0.02em; }
.price small { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* Образование */
.edu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 48px; margin-bottom: 32px; }
.edu h3 { font-size: 19px; margin: 20px 0 8px; }
.edu ul { list-style: none; padding: 0; margin: 0; }
.edu li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.edu li span { color: var(--muted); }
@media (max-width: 760px) { .edu { grid-template-columns: 1fr; } }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.docs[hidden] { display: none; }
.docs button { padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 4; }
.docs img { width: 100%; height: 100%; object-fit: cover; }
.viewer { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); max-height: 94vh; }
.viewer::backdrop { background: rgba(30, 22, 34, .82); }
.viewer img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 6px; }
.viewer p { color: #fff; text-align: center; margin: 10px 0 0; font-size: 15px; }
.viewer .close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; cursor: pointer; }

/* Отзывы — как переписка в мессенджере */
.chats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.chat { margin: 0; }
.chat__feed { background: var(--haze); border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bubble {
  margin: 0; max-width: 94%; padding: 9px 13px 10px;
  background: #fff; border-radius: 16px 16px 16px 4px;
  font-size: 15.5px; line-height: 1.45;
}
.bubble + .bubble { border-top-left-radius: 4px; }
.chat figcaption { margin: 10px 4px 0; font-size: 14px; color: var(--muted); }
.reviews-note { font-size: 14px; color: var(--muted); margin-top: 20px; }
@media (max-width: 900px) { .chats { grid-template-columns: 1fr; max-width: 520px; } }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font: 600 18.5px/1.4 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 30px/1 var(--sans); color: var(--plum); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink); max-width: 68ch; }
.faq .answer p:last-child { margin: 0; }

/* Запись */
.booking { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.quick-write { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 20px 0 24px; color: var(--muted); font-size: 15.5px; }
.social--big .ico { width: 48px; height: 48px; background: var(--paper); }
.social--big .ico svg { width: 26px; height: 26px; }
.social--big .ico:hover { background: var(--haze); }
.contact-line { color: var(--muted); font-size: 15.5px; }
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; font-size: 15.5px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--paper);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 400; margin: 0; }
.choice input { accent-color: var(--plum); }
.choice label:has(input:checked) { border-color: var(--plum); background: var(--haze); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin: 4px 0 20px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--plum); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-msg { margin: 14px 0 0; font-size: 15.5px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }

/* Подвал */
.foot { background: var(--ink); color: #d9d1dc; padding: 48px 0 36px; font-size: 14.5px; }
.foot a { color: #fff; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.payments { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: #b9afbe; }
.payments__label { font-size: 13px; color: #8f8494; width: 100%; }
.pm { display: block; height: 22px; width: auto; fill: currentColor; }
.pm--visa { height: 40px; width: 58px; margin: -9px -6px; }
.pm--mc { height: 24px; width: 38px; }
.pm--text { height: auto; font: 700 14px/1 var(--sans); letter-spacing: .06em; }
.pm--bepaid { letter-spacing: 0; font-size: 16px; }
.pm--name { letter-spacing: 0; font-size: 14.5px; font-weight: 600; }
.foot .copy { grid-column: 1 / -1; color: #a99fae; border-top: 1px solid #45394c; padding-top: 18px; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Внутренние страницы (оплата, оферта, политика) */
.doc { padding: clamp(36px, 6vw, 72px) 0; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 12px; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 15px; }
