:root {
  --ink: #12161a;
  --muted: #5c656c;
  --paper: #eef1f3;
  --panel: #f8fafb;
  --line: rgba(18, 22, 26, 0.1);
  --brass: #c56a3c;
  --brass-hot: #e08a55;
  --brass-deep: #9a4d28;
  --ok: #2f6f4e;
  --err: #9b2c2c;
  --shadow: 0 22px 60px rgba(18, 22, 26, 0.12);
  --font: "Figtree", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --gutter: clamp(1rem, 3vw, 1.75rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#quiz,
#works,
#price,
#salon,
#final {
  scroll-margin-top: 5.2rem;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-hot);
  box-shadow: 0 0 10px rgba(224, 138, 85, 0.55);
}

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  font-size: clamp(2.05rem, 5vw, 3.7rem);
}

.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brass-deep);
}

.display--md { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }

.lead {
  margin: 0 0 1.1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn--brass {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 46%),
    linear-gradient(165deg, #ff9a4a 0%, #e56a2e 48%, #c24718 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 22px rgba(194, 71, 24, 0.38),
    0 2px 0 #8f2f0e;
  text-shadow: 0 1px 0 rgba(90, 22, 4, 0.28);
}

.btn--brass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.34) 48%, transparent 68%);
  background-size: 220% 100%;
  background-position: 130% 0;
  pointer-events: none;
}

.btn--brass:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn--brass:hover::after { animation: btnShine 0.7s ease; }
.btn:active { transform: translateY(1px); }

.btn--call {
  background: #fff;
  color: var(--ink);
}

.btn--lg { min-height: 56px; padding: 1rem 1.5rem; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: 0.62rem 1rem; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn--pulse { animation: btnPulse 2.2s ease infinite; }
.btn--pulse::after { animation: btnShine 2.8s ease infinite; }

@keyframes btnPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 22px rgba(194, 71, 24, 0.38), 0 2px 0 #8f2f0e; }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 28px rgba(194, 71, 24, 0.5), 0 0 0 7px rgba(255, 154, 74, 0.22), 0 2px 0 #8f2f0e; }
}

@keyframes btnShine { to { background-position: -40% 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn--pulse,
  .btn--pulse::after,
  .btn--brass:hover::after { animation: none; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(238, 241, 243, 0.9);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(248, 250, 251, 0.96);
  border-bottom-color: var(--line);
}

.header__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 70px;
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo img { width: 42px; height: 42px; border-radius: 12px; }
.logo__text { display: grid; line-height: 1.05; }
.logo__name { font-family: var(--display); font-weight: 800; letter-spacing: 0.08em; font-size: 1.05rem; }
.logo__sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header__phone .pic { width: 22px; height: 22px; }

@media (min-width: 760px) {
  .header__phone { display: inline-flex; }
}

.btn .pic { width: 22px; height: 22px; border-radius: 6px; }

.hero {
  position: relative;
  color: #f7f1e8;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.28), rgba(18, 16, 14, 0.72)),
    linear-gradient(90deg, rgba(18, 16, 14, 0.55), rgba(18, 16, 14, 0.15));
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 1.4rem 0 1.6rem;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    min-height: 640px;
    padding: 2.2rem 0 2.6rem;
  }
}

.hero .eyebrow { color: #ffc49a; }
.hero .display { color: #f7f1e8; max-width: 12ch; }
.hero .display em { color: #ffc49a; }
.hero .lead { color: rgba(247, 241, 232, 0.86); }

.pic {
  width: 1.35em;
  height: 1.35em;
  display: block;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
}

.ico-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  background: #efe6dc;
  box-shadow: 0 8px 18px rgba(18, 22, 26, 0.1);
}

.ico-badge .pic {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

.pills li { display: contents; }

.pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.18rem 0.75rem 0.18rem 0.18rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
}

.pills .pic { width: 28px; height: 28px; border-radius: 999px; }

.quiz {
  border-radius: 22px;
  padding: 1rem 1rem 1.1rem;
  background: rgba(248, 250, 251, 0.98);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.quiz .eyebrow { color: var(--brass-deep); margin-bottom: 0.55rem; }

.quiz__progress {
  height: 6px;
  border-radius: 99px;
  background: #e4e8eb;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.quiz__bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9a4a, #c24718);
  transition: width 0.25s ease;
}

.quiz__meta {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.quiz__q {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.choice {
  min-height: 76px;
  border-radius: 16px;
  border: 1.5px solid rgba(18, 22, 26, 0.1);
  background: #fff;
  padding: 0.4rem 0.6rem 0.4rem 0.4rem;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 0.55rem;
  overflow: visible;
}

.choice:last-child:nth-child(odd) { grid-column: 1 / -1; }

.choice:hover,
.choice:focus-visible {
  border-color: rgba(194, 71, 24, 0.55);
  outline: none;
  background: #fffaf7;
}

.choice__icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #efe6dc;
}

.choice__icon .pic {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.choice__copy { display: grid; gap: 0.08rem; min-width: 0; }
.choice strong { font-size: 0.95rem; }
.choice__copy span { color: var(--muted); font-size: 0.78rem; font-weight: 650; }

.quiz__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.quiz__live {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #fff4ec;
  color: var(--brass-deep);
  font-weight: 800;
}

.quiz__skip {
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brass-deep);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz__nav { margin-top: 0.75rem; }

.quiz__back {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.quiz__sum {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.quiz__note {
  margin: 0.45rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section { padding: clamp(2.4rem, 5vw, 4.2rem) 0; }
.section--soft { background: #e7ecef; }

.block-head { max-width: 40rem; margin-bottom: 1.3rem; }
.block-head .lead { margin-bottom: 0; }

.offer-grid,
.shot-grid,
.step-grid,
.faq {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 800px) {
  .offer-grid,
  .step-grid { grid-template-columns: 1fr 1fr; }
  .shot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.offer,
.step,
.price-card,
.salon-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem 1.15rem 1.2rem;
}

.offer .ico-badge,
.step .ico-badge { margin-bottom: 0.15rem; }

.offer strong,
.step h3,
.price-card h3 {
  display: block;
  margin: 0.55rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.step h3 { margin-top: 0; }

.offer p,
.step p,
.price-card p { margin: 0; color: var(--muted); }

.offer b { color: var(--brass-deep); }

.shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #d5dbe0;
  border: 1px solid var(--line);
}

.shot > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.shot figcaption {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.85rem 0.85rem;
  font-weight: 700;
  background: var(--panel);
}

.shot figcaption .pic { width: 28px; height: 28px; }

.block-head .plans {
  max-width: none;
  margin-top: 1rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 0 0 1.1rem;
}

@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(4, 1fr); }
}

.plans li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.plans .pic { width: 56px; height: 56px; border-radius: 12px; }

.price-layout {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 860px) {
  .price-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.rate {
  margin: 0.4rem 0 0.2rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  letter-spacing: -0.04em;
}

.rate span { font-size: 0.42em; color: var(--muted); letter-spacing: 0; }

.price-list { display: grid; gap: 0.55rem; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.price-list__name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.price-list__name .pic { width: 36px; height: 36px; }
.price-list li > span:last-child { color: var(--ok); text-align: right; }

.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

@media (min-width: 800px) {
  .swatches { grid-template-columns: repeat(4, 1fr); }
}

.swatches figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.swatches img { width: 100%; height: 118px; object-fit: cover; display: block; }

.swatches figcaption {
  padding: 0.55rem 0.75rem 0.75rem;
  font-weight: 800;
}

.swatches figcaption span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.step { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.step__mark { display: grid; justify-items: center; gap: 0.28rem; }
.step__n {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass-deep);
}

.salon {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 860px) {
  .salon { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.salon a { color: var(--brass-deep); font-weight: 800; }
.salon-line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.salon-line .pic { width: 32px; height: 32px; margin-top: 0.05rem; }
.salon dl { margin: 0.4rem 0 0; }
.salon dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.salon dd { margin: 0.15rem 0 0.8rem; }

.map-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--line);
}

.map-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.map-card span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 800;
  font-size: 0.88rem;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq summary .pic { width: 32px; height: 32px; }
.faq p { margin: 0.55rem 0 0; color: var(--muted); }

.final {
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(224, 138, 85, 0.16), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .final { grid-template-columns: 0.9fr 1.1fr; align-items: end; }
}

.final__phone {
  color: #9a4d28;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.final__phone .pic { width: 28px; height: 28px; }

.form { display: grid; gap: 0.75rem; }
.field { display: grid; gap: 0.3rem; }
.field__label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }

.field input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  outline: none;
}

.field input:focus { border-color: rgba(194, 71, 24, 0.55); }

.form__note { margin: 0; font-size: 0.8rem; color: var(--muted); }
.form__note a { color: var(--brass-deep); text-decoration: underline; }
.form__boost { margin: -0.2rem 0 0; font-size: 0.82rem; font-weight: 700; color: var(--brass-deep); }
.form-msg { min-height: 1.2em; font-size: 0.9rem; color: var(--ok); }
.form-msg.err { color: var(--err); }

.footer {
  background: var(--ink);
  color: #f6f0e6;
  padding: 2.2rem 0 6.5rem;
}

.footer__inner {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .footer__inner { grid-template-columns: 1.3fr 1fr auto; }
}

.footer .logo__name,
.footer .logo__sub { color: #f6f0e6; }
.footer p { margin: 0.55rem 0 0; color: rgba(246, 240, 230, 0.68); max-width: 28rem; }
.footer .salon-line { color: #f6f0e6; margin: 0.2rem 0; }
.footer a:hover { color: var(--brass-hot); }
.footer__meta { display: flex; flex-wrap: wrap; gap: 0.9rem; color: rgba(246, 240, 230, 0.55); }

.sticky {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 35;
  display: flex;
  gap: 0.4rem;
  width: min(calc(100% - 20px), 340px);
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(18, 22, 26, 0.94);
  box-shadow: 0 16px 40px rgba(18, 22, 26, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky .btn { flex: 1; }
.sticky.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.55);
}

.lead-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  border-radius: 22px;
  background: #fff;
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: var(--shadow);
}

.lead-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.lead-modal h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.lead-modal p { margin: 0 0 0.85rem; color: var(--muted); }
.lead-modal__phone {
  display: block;
  margin-top: 0.8rem;
  text-align: center;
  font-weight: 800;
  color: var(--brass-deep);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(12px);
  z-index: 80;
  max-width: min(92vw, 420px);
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.page-simple { padding: 4rem 0 6rem; }
.page-simple .display { margin-top: 0.4rem; }

body.lead-open { overflow: hidden; }
