/* ================= AnStudio Minsk — премиум лендинг (золото на чёрном) ================= */

:root {
  --bg:        #0d0d0d;
  --bg-soft:   #141311;
  --bg-muted:  #17150f;
  --surface:   #1a1814;
  --ink:       #f3ede1;
  --ink-soft:  #b3a793;
  --ink-dim:   #7d715f;
  --gold:      #c9a15a;
  --gold-lt:   #e6c583;
  --gold-dk:   #a07c3a;
  --line:      #2e2a20;
  --shadow:    0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --glow:      0 0 0 1px rgba(201,161,90,.25), 0 20px 50px -24px rgba(201,161,90,.35);
  --radius:    16px;
  --maxw:      1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .logo__text, .hero__title { font-family: "Cormorant Garamond", Georgia, serif; }

/* ---------- Служебные ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .7rem;
}

.placeholder {
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-dim);
  font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-style: italic;
  background: repeating-linear-gradient(45deg, #17150f 0 14px, #1c1913 14px 28px);
  border: 1px dashed #35301f;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 14px 28px; border-radius: 999px; font-family: "Manrope", sans-serif;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .25s ease, background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold-dk));
  color: #1a1408; box-shadow: var(--glow);
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { border-color: var(--gold); color: var(--gold-lt); background: transparent; }
.btn--ghost:hover { background: var(--gold); color: #1a1408; }
.btn--sm { padding: 10px 20px; font-size: .86rem; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 13, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.8rem; font-weight: 700; color: var(--gold);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.4px solid var(--gold-dk); transform: rotate(45deg); border-radius: 6px;
}
.logo__mark { line-height: 1; }
.logo__text {
  font-size: 1.3rem; letter-spacing: .22em; color: var(--ink); font-weight: 600;
  transform: none;
}
.logo__mark > * { transform: rotate(-45deg); }
.logo__text small {
  display: block; font-family: "Manrope", sans-serif; font-weight: 400;
  font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-dim); margin-top: 1px;
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-family: "Manrope", sans-serif; font-weight: 500; font-size: .9rem; letter-spacing: .04em; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--gold-lt); }
.header__cta { margin-left: 6px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(201,161,90,.14) 0%, rgba(201,161,90,0) 55%),
    var(--bg);
  padding: 72px 0 90px;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero__title {
  font-size: clamp(3.4rem, 8vw, 6rem); line-height: .95; font-weight: 700;
  color: var(--gold); letter-spacing: .01em; margin-bottom: 6px;
}
.hero__title span { font-style: italic; color: var(--ink); }
.hero__tagline { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.5rem; color: var(--gold-lt); margin-bottom: 20px; }
.hero__lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 32em; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: var(--ink-soft); }
.hero__badges a { color: var(--gold-lt); font-weight: 600; }

/* ---------- Мессенджеры ---------- */
.messengers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.messengers__label { font-size: .82rem; color: var(--ink-dim); margin-right: 2px; width: 100%; }
.messengers--contacts { margin: 18px 0 0; }
.msg {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  color: #fff; transition: transform .15s ease, filter .2s ease; line-height: 1;
}
.msg:hover { transform: translateY(-2px); filter: brightness(1.08); }
.msg svg { width: 17px; height: 17px; fill: currentColor; }
.msg--wa { background: #25d366; color: #072a12; }
.msg--tg { background: #2aabee; color: #04263a; }
.msg--vb { background: #7360f2; color: #fff; }

.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 3/4; width: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero__chip {
  position: absolute; left: -14px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--gold-dk); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero__chip strong { font-family: "Cormorant Garamond", serif; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.hero__chip span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section--muted { background: var(--bg-muted); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.section__title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--ink); }
.section__title::after { content: "✦"; display: block; color: var(--gold); font-size: .9rem; margin-top: 10px; }
.section__sub { color: var(--ink-soft); margin-top: 6px; }
.section__sub a, .section__head a { color: var(--gold-lt); font-weight: 600; }
.section__cta { text-align: center; margin-top: 40px; }

/* ---------- Карточки услуг ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-dk); }
.card__num {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.6rem;
  color: var(--gold-dk); display: block; margin-bottom: 10px;
}
.card__title { font-size: 1.3rem; font-weight: 600; line-height: 1.15; margin-bottom: 8px; color: var(--ink); }
.card__text { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.card__price { font-family: "Manrope", sans-serif; font-weight: 700; color: var(--gold-lt); font-size: 1rem; }

/* ---------- Преимущества ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature { text-align: center; padding: 8px; }
.feature__icon { font-size: 1.4rem; color: var(--gold); display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.feature p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { aspect-ratio: 1/1; width: 100%; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }

/* ---------- О салоне ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.about__media { aspect-ratio: 4/5; width: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about__content p { color: var(--ink-soft); margin-bottom: 14px; }
.about__list { list-style: none; margin: 20px 0 28px; display: grid; gap: 11px; }
.about__list li { position: relative; padding-left: 28px; color: var(--ink); }
.about__list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: 3px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contacts__info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contacts__row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contacts__row:last-of-type { border-bottom: 0; }
.contacts__label { color: var(--ink-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.contacts__row a { color: var(--gold-lt); font-weight: 600; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contacts__map { border-radius: var(--radius); min-height: 330px; font-size: 1.25rem; line-height: 1.5; }
.contacts__map small { color: var(--ink-soft); font-size: .82rem; }

/* ---------- Подвал ---------- */
.footer { background: #080808; color: var(--ink-soft); padding: 44px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer__addr { font-size: .9rem; color: var(--ink-soft); }
.footer__addr a { color: var(--gold-lt); }
.footer__copy { font-size: .8rem; color: var(--ink-dim); }

/* ---------- Плавающая кнопка ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold-dk)); color: #1a1408;
  font-weight: 700; font-size: .9rem; padding: 14px 22px; border-radius: 999px;
  box-shadow: var(--glow); display: none;
}

/* ================= Адаптив ================= */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }

  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 8px 0;
    transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 24px; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .fab { display: inline-flex; }
}
@media (max-width: 560px) {
  .cards, .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .contacts__row { grid-template-columns: 1fr; gap: 2px; }
}
