/* =========================================================
   Алиса Матухно — колорист
   Единая таблица стилей. Bootstrap не используется.
   ========================================================= */

/* ---------- 1. Токены ---------- */
:root {
  --ink:        #1b1613;
  --ink-2:      #2b2320;
  --ink-3:      #4a3f38;
  --muted:      #7d6f64;

  --cream:      #faf7f3;
  --sand:       #efe7db;
  --sand-2:     #e2d5c3;
  --line:       #ddd0be;

  --gold:       #b18b5a;
  --gold-deep:  #8d6c40;
  --gold-soft:  #f2e7d7;

  --white:      #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 2px;

  --shadow-sm: 0 2px 12px rgba(27, 22, 19, .06);
  --shadow-md: 0 12px 40px rgba(27, 22, 19, .10);
  --shadow-lg: 0 24px 70px rgba(27, 22, 19, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* overflow-x на html обязателен: без него закрытое мобильное меню
   (position:fixed, сдвинутое за правый край) растягивает прокрутку страницы */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }

::selection { background: var(--gold); color: #fff; }

/* ---------- 3. Каркас ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section        { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--ink   { background: var(--ink); color: var(--sand-2); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--cream); }
/* Светлые карточки внутри тёмной секции сохраняют тёмный текст */
.section--ink .card,
.section--ink .service-card,
.section--ink .quote,
.section--ink .form-card { color: var(--ink-3); }
.section--ink .card h3,
.section--ink .service-card h3,
.section--ink .quote h3,
.section--ink .form-card h3 { color: var(--ink); }

.section-head        { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center{ margin-inline: auto; text-align: center; }

/* Надзаголовок */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
}
.section--ink .eyebrow { color: var(--sand-2); }
.section--ink .eyebrow::before,
.section--ink .eyebrow::after { background: var(--gold); }

.lead { font-size: 1.08rem; color: var(--muted); }
.section--ink .lead { color: var(--sand-2); opacity: .85; }

/* ---------- 4. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }

.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(250,247,243,.4); }
.btn--outline-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn--sm  { padding: 11px 22px; font-size: .7rem; }
.btn--full{ width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Текстовая ссылка со стрелкой */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { border-bottom-color: var(--gold-deep); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- 5. Шапка ---------- */
.topbar {
  background: var(--ink);
  color: var(--sand-2);
  font-size: .78rem;
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--gold); }
.topbar__socials { display: flex; gap: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 243, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

/* Логотип */
.logo { display: flex; align-items: center; gap: 14px; }
.logo__mark {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--gold-deep);
}
.logo__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.logo__role {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

/* Меню */
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--ink); }

.header__cta { display: flex; align-items: center; gap: 16px; }

/* Бургер */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: all .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 6. Первый экран ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: .55;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(27,22,19,.92) 0%,
    rgba(27,22,19,.72) 42%,
    rgba(27,22,19,.32) 100%);
}
/* padding-block, а не shorthand: иначе обнулится padding-inline от .wrap
   и на узких экранах текст упрётся в край экрана */
.hero__inner { position: relative; z-index: 2; padding-block: 100px; }
.hero__content { max-width: 660px; }
.hero__title { color: var(--cream); margin-bottom: .3em; }
.hero__title em {
  display: block;
  font-style: italic;
  color: var(--gold);
}
.hero__text {
  font-size: 1.1rem;
  color: var(--sand-2);
  max-width: 500px;
  margin-bottom: 2.2em;
}
.hero__eyebrow { color: var(--gold); }
.hero__eyebrow::before { background: var(--gold); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 60px);
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 34px;
  border-top: 1px solid rgba(239,231,219,.18);
}
.fact__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
}
.fact__label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand-2);
  opacity: .8;
}

/* ---------- 7. Заголовок внутренней страницы ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  padding: clamp(72px, 10vw, 130px) 0;
  overflow: hidden;
  text-align: center;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: .38;
}
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,22,19,.75), rgba(27,22,19,.9));
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); margin-bottom: .2em; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--gold); }

.crumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sand-2);
  opacity: .75;
  margin-top: 16px;
}
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.crumbs a:hover { color: var(--gold); }

/* ---------- 8. Сетки ---------- */
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split--wide-right { grid-template-columns: 5fr 7fr; }
.split--wide-left  { grid-template-columns: 7fr 5fr; }

/* Фото с золотой рамкой */
.framed { position: relative; }
.framed img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.framed::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  z-index: 1;
}
.framed--flip::before { inset: 22px 22px -22px -22px; }

/* Плашка «стаж» поверх фото */
.badge-years {
  position: absolute;
  right: -18px;
  bottom: 38px;
  z-index: 3;
  background: var(--ink);
  color: var(--cream);
  padding: 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-years strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
}
.badge-years span {
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
}

/* ---------- 9. Карточки ---------- */
.card {
  background: var(--white);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand-2);
}
.card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-bottom: 22px;
  color: var(--gold-deep);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card--num { position: relative; }
.card--num .card__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sand-2);
  display: block;
  margin-bottom: 14px;
}

/* Карточка услуги с фото */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__media { overflow: hidden; aspect-ratio: 4 / 3; }
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body p { flex: 1; font-size: .95rem; }
.service-card__price {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-deep);
  margin-bottom: .5em;
}

/* ---------- 10. Список техник ---------- */
.tech-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 60px); }
.tech-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.tech-item__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  flex: none;
  width: 32px;
  padding-top: 2px;
}
.tech-item__body h3 { font-size: 1.18rem; margin-bottom: .25em; }
.tech-item__body p { font-size: .93rem; margin: 0; color: var(--muted); }

/* ---------- 11. Прайс ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); }
.price-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 14px;
  font-size: .8rem;
  color: var(--muted);
}
.price-table th, .price-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: none;
}
.price-table tbody tr { transition: background .25s var(--ease); }
.price-table tbody tr:hover { background: var(--gold-soft); }
.price-table .col-num  { width: 56px; color: var(--gold); font-family: var(--serif); font-size: 1.05rem; }
.price-table .col-name { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); white-space: nowrap; }
.price-table .col-desc { color: var(--muted); font-size: .93rem; }
.price-table .col-time { white-space: nowrap; font-size: .9rem; color: var(--muted); }
.price-table .col-price{ white-space: nowrap; font-family: var(--serif); font-size: 1.22rem; color: var(--gold-deep); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }

.price-note {
  margin-top: 24px;
  padding: 22px 26px;
  background: var(--gold-soft);
  border-left: 2px solid var(--gold);
  font-size: .93rem;
  color: var(--ink-3);
}
.price-note p:last-child { margin-bottom: 0; }

/* ---------- 12. Галерея ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand-2);
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(27,22,19,.85));
  opacity: 0;
  transition: opacity .35s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: left;
}

/* Фильтр */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.is-hidden { display: none !important; }

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 12, 10, .95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  text-align: center;
  color: var(--sand-2);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lightbox__btn {
  position: absolute;
  background: rgba(250,247,243,.1);
  border: 1px solid rgba(250,247,243,.28);
  color: var(--cream);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(250,247,243,.24); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- 13. До / после ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 36px); }
.ba-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.ba-card__media { position: relative; }
.ba-card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ba-card__tags {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.ba-tag {
  background: rgba(27,22,19,.82);
  color: var(--cream);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 9px 18px;
}
.ba-card__body { padding: 24px 28px; }
.ba-card__body h3 { font-size: 1.3rem; margin-bottom: .2em; }
.ba-card__body p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- 13b. Частые вопросы ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  transition: border-color .25s var(--ease);
}
.faq__item[open] { border-color: var(--gold); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 26px;
  position: relative;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--gold-deep); }
.faq__item p {
  padding: 0 26px 24px;
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

/* ---------- 14. Отзывы ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 38px);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: .6;
  color: var(--sand-2);
  margin-bottom: 18px;
}
.quote__text { flex: 1; font-size: 1rem; color: var(--ink-3); font-style: italic; }
.quote__author { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  flex: none;
}
.quote__name { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.quote__meta { font-size: .78rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: .18em; font-size: .82rem; margin-bottom: 12px; }

/* ---------- 15. Призыв к записи ---------- */
.cta {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .28; }
.cta__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27,22,19,.94), rgba(27,22,19,.7));
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-block: clamp(56px, 7vw, 90px);
}
.cta__text { max-width: 620px; }
.cta__text h2 { color: var(--cream); margin-bottom: .3em; }
.cta__text p { color: var(--sand-2); opacity: .85; margin: 0; }

/* ---------- 16. Формы ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--ink);
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field input:invalid:not(:placeholder-shown) { border-color: #c25b4a; }
.field__hint { font-size: .78rem; color: var(--muted); }

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold-deep); }
.checkbox a { color: var(--gold-deep); text-decoration: underline; }

.form-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: var(--gold-soft);
  font-size: .92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #c25b4a; background: #fbeceb; }

/* Способы связи */
.contact-methods { display: grid; gap: 14px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.contact-method:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-method__icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.contact-method__icon svg { width: 20px; height: 20px; }
.contact-method__label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-method__value { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.4; }

/* ---------- 17. Подвал ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sand-2);
  padding-top: clamp(56px, 7vw, 88px);
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: 56px;
}
.site-footer .logo__name { color: var(--cream); }
.site-footer p { font-size: .93rem; opacity: .8; }
.site-footer a { opacity: .85; }
.site-footer a:hover { color: var(--gold); opacity: 1; }
.footer-list li { margin-bottom: 12px; font-size: .93rem; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .93rem;
  align-items: flex-start;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--gold); }

.socials { display: flex; gap: 12px; margin-top: 22px; }
.social-btn {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239,231,219,.22);
  border-radius: 50%;
  color: var(--sand-2);
  transition: all .3s var(--ease);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(239,231,219,.13);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  opacity: .65;
}

/* ---------- 18. Плавающие кнопки записи ---------- */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn--wa { background: #25d366; }
.float-btn--tg { background: #2aabee; }
.float-btn--book {
  background: var(--gold);
  border: 0;
  cursor: pointer;
}
.float-btn--book:hover { background: var(--gold-deep); }

/* ---------- 19. Появление при прокрутке ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 20. Адаптив ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-right, .split--wide-left { grid-template-columns: 1fr; }
  .split .framed { max-width: 520px; margin-inline: auto; }
  .badge-years { right: 12px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 340px);
    background: var(--cream);
    border-left: 1px solid var(--line);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__link { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
  .nav__link::after { display: none; }
  .burger { display: block; z-index: 110; }
  .header__cta .btn { display: none; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(27,22,19,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
    z-index: 99;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tech-list { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: center; }
  .topbar__hours { display: none; }
}

@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ba-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero__facts { gap: 26px 40px; }
  .framed::before { inset: 14px -14px -14px 14px; }
  .badge-years { right: 0; bottom: 20px; padding: 14px 18px; }
  .badge-years strong { font-size: 1.9rem; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-btn { width: 48px; height: 48px; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .logo__name { font-size: 1.1rem; }
}

/* ---------- 21. Печать ---------- */
@media print {
  .site-header, .topbar, .site-footer, .float-actions, .cta, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; }
}

/* ---------- 22. Форма записи: услуги, цена, фото ---------- */
.service-picker {
  display: grid;
  gap: 9px;
  max-height: 320px;
  overflow-y: auto;
  padding: 2px 6px 2px 2px;
}
.service-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.service-check:hover { border-color: var(--gold); }
.service-check.is-checked { border-color: var(--gold); background: var(--gold-soft); }
.service-check input {
  width: 18px; height: 18px;
  flex: none;
  accent-color: var(--gold-deep);
}
.service-check__name { flex: 1; min-width: 0; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.service-check__price {
  flex: none;
  font-family: var(--serif);
  font-size: .88rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.price-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--cream);
}
.price-estimate__label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}
.price-estimate__value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  white-space: nowrap;
}

.photo-upload__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-3);
  font-size: .86rem;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
  width: 100%;
}
.photo-upload__btn:hover { border-color: var(--gold); color: var(--ink); }
.photo-upload__btn svg { width: 20px; height: 20px; flex: none; color: var(--gold-deep); }
.photo-upload__btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.photo-upload__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.photo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: .78rem;
  color: var(--ink-3);
  max-width: 220px;
}
.photo-chip img { width: 28px; height: 28px; object-fit: cover; border-radius: 50%; flex: none; }
.photo-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-chip button {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 2px;
  flex: none;
}
.photo-chip button:hover { color: #c25b4a; }

/* ---------- 23. Модальное окно записи ---------- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(15, 12, 10, .62);
}
.booking-modal.is-open { display: flex; }
.booking-modal__dialog {
  width: 100%;
  max-width: 720px;
  margin: auto 0;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.booking-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}
.booking-modal__head h3 { margin: 0 0 .2em; }
.booking-modal__head p { margin: 0; font-size: .88rem; color: var(--muted); }
.booking-modal__close {
  width: 38px; height: 38px;
  flex: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
}
.booking-modal__close:hover { border-color: var(--ink); color: var(--ink); }
.booking-modal__body { padding: 26px 28px 28px; }

@media (max-width: 560px) {
  .booking-modal { padding: 0; }
  .booking-modal__dialog { max-width: none; min-height: 100%; margin: 0; }
  .booking-modal__body { padding: 20px 16px 24px; }
  /* На телефоне не делаем прокрутку внутри прокрутки — список услуг
     просто течёт вместе со всей модалкой, скроллится только она целиком */
  .service-picker { max-height: none; overflow-y: visible; }

  /* Длинные названия услуг ломали строку "чекбокс — имя — цена":
     цена то оказывалась вровень с именем, то съезжала ниже — список
     выглядел неровным. На узком экране переходим на сетку: чекбокс
     слева, а имя и цена — второй колонкой друг под другом. */
  .service-check {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    padding: 12px;
  }
  .service-check input { margin-top: 1px; }
  .service-check__name,
  .service-check__price { grid-column: 2; }
  .service-check__price { white-space: normal; }
}
