/* ==========================================================================
   Никита — частный массажист. Разумное / Белгород.
   Палитра старого дизайна: тёмно-зелёный #17201e, золото #d6a35b, кремовый.
   Шрифты локальные: Vollkorn (антиква) + Manrope (текст).
   ========================================================================== */

@font-face {
  font-family: "Vollkorn";
  src: url("assets/fonts/Vollkorn-var.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-var.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17201e;
  --ink-2: #1c2523;
  --ink-3: #202b28;
  --gold: #d6a35b;
  --gold-lt: #e8c58e;
  --gold-dp: #b17432;
  --cream: #f0eadf;
  --sand: #e8dfd2;
  --paper: #fffdf9;
  --line: #ded8ce;
  --muted: #8b928b;
  --muted-dark: #9ca199;

  --font-display: "Vollkorn", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", -apple-system, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
  --sec-y: 92px;
  --radius: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  font-variant-numeric: lining-nums;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol, dl { margin: 0; padding: 0; list-style: none; }

b, strong { font-weight: 700; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- шапка */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(214, 163, 91, 0.18);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.top__brand { display: flex; align-items: center; gap: 12px; }

.top__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: url("assets/nikita-logo-photo.jpg") center/cover no-repeat;
  box-shadow: 0 0 0 1px rgba(214, 163, 91, 0.5);
  flex: none;
}

.top__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
  white-space: nowrap;
}
.top__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 2px;
}

.top__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted-dark);
}
.top__nav a { transition: color .2s ease; }
.top__nav a:hover { color: var(--gold-lt); }

.top__right { display: flex; align-items: center; gap: 18px; margin-left: auto; }

.top__phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.top__phone:hover { color: var(--gold-lt); }

/* ---------------------------------------------------------------- кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  text-align: center;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }

.btn--gold { background: var(--gold); color: #241a0e; }
.btn--gold:hover { background: var(--gold-lt); }

.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(240, 234, 223, 0.28); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

.btn--outline { background: transparent; color: var(--ink); border-color: rgba(23, 32, 30, 0.28); }
.btn--outline:hover { border-color: var(--gold-dp); color: var(--gold-dp); }

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta--row { margin-top: 34px; }
.cta--center { justify-content: center; }

/* ---------------------------------------------------------------- секции */

.section { padding: var(--sec-y) 0; position: relative; }

.section--cream { background: var(--cream); color: #22302c; }
.section--sand { background: var(--sand); color: #22302c; }
.section--dark {
  background: var(--ink);
  color: var(--cream);
  background-image: radial-gradient(rgba(214, 163, 91, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
}
.section--dark > .wrap { position: relative; }

.sec-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin: 0 0 14px;
}
.sec-num--light { color: var(--gold); }

.sec-title {
  font-size: clamp(30px, 4.4vw, 50px);
  margin: 0;
}
.sec-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dp);
}
.sec-title--light { color: var(--cream); }
.sec-title--light em { color: var(--gold-lt); }

.sec-lead {
  max-width: 560px;
  color: #55635c;
  font-size: 17px;
  margin: 20px 0 0;
}
.sec-lead--light { color: var(--muted-dark); }
.sec-lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-head { margin-bottom: 44px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-num { text-align: center; }

.sec-more { margin-top: 18px; }

.link {
  color: var(--gold-dp);
  font-weight: 700;
  border-bottom: 1px solid rgba(177, 116, 50, 0.4);
  padding-bottom: 1px;
}
.link:hover { color: var(--ink); border-color: var(--ink); }
.link--light { color: var(--gold-lt); border-color: rgba(232, 197, 142, 0.45); }
.link--light:hover { color: var(--cream); border-color: var(--cream); }

.prose p { margin-bottom: 1em; color: #4d5a54; max-width: 62ch; }
.prose--light p { color: #c3ccc6; }
.prose--light b { color: var(--gold-lt); }

/* ---------------------------------------------------------------- герой */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 74px 0 96px;
  background-image: radial-gradient(rgba(214, 163, 91, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 22%, rgba(214, 163, 91, 0.10), transparent 62%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 8px 16px;
  border: 1px solid rgba(214, 163, 91, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero__kicker {
  font-size: 14px;
  color: var(--muted-dark);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.hero__h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.08;
  color: var(--cream);
}
.hero__h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero__lead {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: 17px;
  color: #c3ccc6;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted-dark);
}
.hero__facts li { position: relative; padding-left: 22px; }
.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.hero__fig { position: relative; margin: 0; }

.arch {
  border-radius: 46% 46% 18px 18px / 34% 34% 4px 4px;
  overflow: hidden;
  border: 1px solid rgba(214, 163, 91, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: var(--ink-2);
}
.arch img { width: 100%; height: auto; display: block; }
.arch--round { border-radius: 46% 46% 18px 18px / 30% 30% 4px 4px; }

.badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  max-width: 290px;
  padding: 14px 18px;
  background: var(--ink-2);
  border: 1px solid rgba(214, 163, 91, 0.3);
  border-radius: 12px;
  color: var(--cream);
}
.badge b { display: block; font-size: 14px; color: var(--gold-lt); font-weight: 700; }
.badge span { font-size: 12px; color: var(--muted-dark); }

/* ---------------------------------------------------------------- карточки услуг */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(177, 116, 50, 0.55); transform: translateY(-3px); }

.card--dark {
  background: var(--ink);
  border-color: rgba(214, 163, 91, 0.28);
  color: var(--cream);
}
.card--dark .card__t { color: var(--cream); }
.card--dark .card__d { color: var(--muted-dark); }

.card__t { font-size: 21px; margin-bottom: 10px; }
.card__d { font-size: 14.5px; color: #66736c; line-height: 1.55; margin: 0 0 18px; }
.card__p {
  margin: auto 0 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-dp);
  font-variant-numeric: lining-nums;
}
.card--dark .card__p { color: var(--gold); }

.notes {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}
.note {
  border-left: 2px solid var(--gold-dp);
  padding: 4px 0 4px 16px;
  font-size: 15.5px;
  color: #4d5a54;
}

/* ---------------------------------------------------------------- обо мне */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.about__media { position: relative; }
.about__media .arch { max-width: 430px; }

.stamp {
  position: absolute;
  right: 0;
  bottom: 40px;
  margin: 0;
  width: 116px;
  padding: 16px 14px;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  border: 1px solid rgba(214, 163, 91, 0.35);
}
.stamp b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--gold); line-height: 1; }
.stamp span { font-size: 12px; color: var(--muted-dark); }

.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:nth-child(odd) { padding-right: 20px; }
.facts dt {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dp);
  font-weight: 700;
  margin-bottom: 4px;
}
.facts dd { margin: 0; font-size: 15.5px; color: #3c4a44; }

/* ---------------------------------------------------------------- сертификат */

.cert {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}
.cert__media { margin: 0; }
.cert__media img {
  border-radius: 16px;
  border: 1px solid rgba(214, 163, 91, 0.3);
  max-width: 380px;
}

.ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.ticks li {
  position: relative;
  padding: 14px 16px 14px 40px;
  background: rgba(240, 234, 223, 0.05);
  border: 1px solid rgba(214, 163, 91, 0.2);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--cream);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.ticks--light { margin-top: 30px; }
.ticks--light li { background: rgba(240, 234, 223, 0.06); }

/* ---------------------------------------------------------------- шаги */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.steps li {
  padding: 26px 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(177, 116, 50, 0.5);
  color: var(--gold-dp);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps__t { font-size: 20px; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: #66736c; margin: 0; }

/* ---------------------------------------------------------------- отзывы */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "”";
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.6;
  color: var(--gold-dp);
  display: block;
  margin-bottom: 14px;
}
.quote p { font-size: 15px; color: #3c4a44; margin: 0 0 18px; }
.quote footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stars { color: var(--gold-dp); font-size: 14px; letter-spacing: 2px; }
.quote__who { font-size: 13px; color: #7a857e; }

/* ---------------------------------------------------------------- где принимаю */

.where {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.mapframe {
  border: 1px solid rgba(214, 163, 91, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.mapframe iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.35);
}
.where__map { margin: 0; }
.where__map figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted-dark);
}

/* ---------------------------------------------------------------- FAQ */

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--gold-dp);
  border-bottom: 2px solid var(--gold-dp);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: #55635c; font-size: 15.5px; }

/* ---------------------------------------------------------------- противопоказания */

.safe { max-width: 820px; }

/* ---------------------------------------------------------------- запись */

.cta-wrap { text-align: center; }
.cta-wrap .sec-num { text-align: center; }
.cta-sub { margin-top: 22px; font-size: 15px; color: #55635c; }
.cta-sub--row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- подвал */

.foot {
  background: var(--ink);
  color: var(--muted-dark);
  padding: 52px 0 40px;
  border-top: 1px solid rgba(214, 163, 91, 0.2);
}
.foot__in {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 32px;
  font-size: 14.5px;
}
.foot__col p { margin: 0 0 8px; }
.foot__name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.foot a { color: var(--gold-lt); }
.foot a:hover { color: var(--cream); }
.foot__col--wide { font-size: 13.5px; color: #7f8a83; }

/* ---------------------------------------------------------------- адаптив */

@media (max-width: 1020px) {
  .top__nav { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__fig { max-width: 460px; }
  .cards, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .cert, .where { grid-template-columns: 1fr; gap: 40px; }
  .about__media .arch { max-width: 380px; }
  .stamp { right: 8px; }
}

@media (max-width: 720px) {
  :root { --sec-y: 62px; --gutter: 18px; }
  body { font-size: 16px; }
  .top__in { min-height: 66px; gap: 14px; }
  .top__name { font-size: 16px; }
  .top__mark { width: 34px; height: 34px; }
  .top__phone { display: none; }
  .hero { padding: 46px 0 64px; }
  .hero__lead { font-size: 16px; }
  .cards, .quotes, .steps, .facts, .ticks { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 22px; }
  .card__p { font-size: 24px; }
  .facts > div:nth-child(odd) { padding-right: 0; }
  .badge { left: 0; bottom: 16px; max-width: 240px; padding: 11px 14px; }
  .stamp { width: 100px; right: 0; bottom: 20px; }
  .stamp b { font-size: 26px; }
  .mapframe iframe { height: 300px; }
  .foot__in { grid-template-columns: 1fr; gap: 24px; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
  .btn--lg { padding: 16px 26px; }
  .sec-head { margin-bottom: 32px; }
}

@media (max-width: 380px) {
  .hero__h1 { font-size: 33px; }
  .card__p { font-size: 22px; }
  .quote p { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
