/* ============================================================= */
/*  Сатори — салон красоты. Редакционный («журнальный») стиль.    */
/*  Кремово-золотая база, изумруд как сильный второй цвет,        */
/*  крупная антиква, фото в арках, золотые линии и искры.         */
/*  Тексты — в index.html; оформление — здесь.                    */
/* ============================================================= */

:root {
  --cream: #F1EBDF;        /* основной тёплый фон */
  --cream-deep: #E7DDCB;   /* альтернативные полосы, карточки */
  --ink: #2B2620;          /* основной текст — тёплый эспрессо-чёрный */
  --gold: #A98A4E;         /* акцент: курсив-заголовки, линии, арки, метки, искры */
  --gold-soft: rgba(169, 138, 78, 0.4);
  --emerald: #1E5345;      /* сильный второй цвет: кнопки, полоса «Мастерам» */
  --emerald-deep: #142821; /* тёмный изумруд */
  --sage: #9ECBA7;         /* мягкие заливки при необходимости */

  --maxw: 1200px;
  --radius: 14px;
  --arch: 50vw 50vw 14px 14px; /* арка: круглый верх, прямой низ */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-label: "Jost", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Единая типографическая шкала (используются ТОЛЬКО эти значения) ---- */
  /* Заголовки — Playfair Display */
  --fs-h1: 56px;   --lh-h1: 1.15;   /* главный заголовок hero */
  --fs-h2: 40px;   --lh-h2: 1.2;    /* заголовки секций */
  --fs-h3: 26px;   --lh-h3: 1.3;    /* названия карточек/направлений, подзаголовки */
  /* Метки, навигация, кнопки — Jost, CAPS */
  --fs-eyebrow: 13px;  --ls-eyebrow: 0.30em;
  --fs-nav: 14px;      --ls-nav: 0.14em;
  --fs-btn: 14px;      --ls-btn: 0.16em;
  /* Текст — Inter */
  --fs-body: 17px;   --lh-body: 1.7;
  --fs-small: 15px;  --lh-small: 1.6;
  /* Акцент/цена — Playfair Display Italic, золото */
  --fs-price: 22px;
}

/* ---------- Сброс / база ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-padding-top = высоте фиксированной шапки (100px), чтобы при переходе
   по якорям секция вставала вплотную под шапку — без полоски предыдущего экрана */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

/* ---------- Метки / эйбрау ---------- */
.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow-gold { color: var(--gold); }

/* ---------- Заголовки-антиква (H2) ---------- */
.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: var(--lh-h2);
  font-size: var(--fs-h2);
  color: var(--ink);
  letter-spacing: -0.015em;
}
/* Золотой курсив-акцент внутри заголовков (ключевые слова) */
.section-title em,
.hero-slogan em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.section-title-light { color: var(--cream); }
.section-lead {
  margin-top: 22px;
  max-width: 640px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  opacity: 0.9;
}
/* Важный акцент во вступлении (например: цены — ориентировочные).
   Жирный изумрудный + мягкая подсветка-«маркер», чтобы бросалось в глаза. */
.lead-note {
  color: var(--emerald);
  font-weight: 700;
  background: linear-gradient(transparent 58%, rgba(158, 203, 167, 0.6) 0);
  padding: 0 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section-head { max-width: 760px; margin-bottom: 60px; }

/* ============================================================= */
/*  КНОПКИ                                                        */
/* ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  font-size: var(--fs-btn);
  padding: 15px 34px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

/* Основная — изумрудная пилюля */
.btn-accent {
  background: var(--emerald);
  color: var(--cream);
  box-shadow: 0 12px 30px -14px rgba(30, 83, 69, 0.75);
}
.btn-accent:hover { background: var(--emerald-deep); }

/* Второстепенная — контур с золотой обводкой (на светлом) */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--cream); border-color: var(--gold); }

/* Кнопка с золотым контуром на изумрудной полосе */
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}
.btn-outline-light:hover { background: var(--gold); color: var(--emerald-deep); border-color: var(--gold); }

/* ============================================================= */
/*  ДЕКОР: искры (4 луча) и завитки                              */
/* ============================================================= */
.spark {
  position: absolute;
  width: 30px; height: 30px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.1 8 3 9.9 12 12-9 2.1-10.9 4-12 12-1.1-8-3-9.9-12-12 9-2.1 10.9-4 12-12z' fill='%23A98A4E'/%3E%3C/svg%3E");
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
}
.spark-tl { top: -14px; left: -10px; }
.spark-tr { top: -14px; right: -6px; }
.curl {
  position: absolute;
  width: 84px; height: 40px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 56'%3E%3Cpath d='M2 40c26 18 60-4 60-22 0-10-8-14-14-10-8 6-2 22 14 24 20 2 34-12 42-26' fill='none' stroke='%23A98A4E' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0.8;
  z-index: 3;
  pointer-events: none;
}
.curl-br { right: -18px; bottom: 26px; }

/* ============================================================= */
/*  ФОТО-РАМКИ И ПЛЕЙСХОЛДЕРЫ                                     */
/* ============================================================= */
.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 30% 15%, rgba(169, 138, 78, 0.18), transparent 60%),
    linear-gradient(135deg, var(--cream-deep), var(--cream));
  aspect-ratio: 4 / 5;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Арка: круглый верх, прямой низ + смещённый золотой контур-арка */
.ph-arch { border-radius: var(--arch); overflow: visible; }
.ph-arch > img,
.ph-arch.img-missing,
.ph-arch::after { border-radius: var(--arch); }
.ph-arch > img { position: relative; z-index: 1; }
.ph-arch::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px -14px;   /* смещение контура за фото */
  border: 1.5px solid var(--gold);
  border-radius: var(--arch);
  z-index: 0;
  pointer-events: none;
}
/* у арки убираем прямоугольный фон — форму задаёт сам элемент */
.ph-arch { background: none; }

/* когда фото ещё не загружено — мягкая подпись поверх рамки */
.img-missing { opacity: 0; }
.ph:has(.img-missing) {
  background:
    radial-gradient(120% 120% at 30% 15%, rgba(169, 138, 78, 0.2), transparent 60%),
    linear-gradient(135deg, var(--cream-deep), var(--cream));
}
.ph:has(.img-missing)::after {
  content: "Фото скоро появится";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-size: var(--fs-eyebrow);
  color: var(--gold);
  padding: 16px;
  text-align: center;
  z-index: 1;
}

/* ============================================================= */
/*  ШАПКА                                                        */
/* ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(241, 235, 223, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-soft);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 34px -24px rgba(43, 38, 32, 0.55); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px; /* выше — чтобы знак 78px помещался с воздухом */
}
/* Логотип шапки: знак + золотая линия-разделитель + надпись, по центру */
.brand { display: flex; align-items: center; }
.brand-mark { height: 78px; width: auto; display: block; flex: none; }
.brand-divider {
  flex: none;
  width: 1px;
  height: 64px;              /* ~64% высоты шапки */
  background: var(--gold);
  margin: 0 20px;            /* по 20px слева и справа */
}
.brand-word { height: 48px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav > a:not(.btn) {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-nav);
  font-size: var(--fs-nav);
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--gold); }
.nav > a:not(.btn):hover::after { width: 100%; }
.nav-cta { padding: 11px 26px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================= */
/*  HERO (сплит)                                                 */
/* ============================================================= */
.hero {
  padding: 120px 0 0; /* верх — под более высокую шапку; низ без отступа (фото стоит на кромке) */
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(169, 138, 78, 0.1), transparent 55%),
    var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center; /* текст по центру по вертикали, вровень с аркой */
  min-height: calc(100svh - 220px);
}
/* Главный заголовок hero (H1) */
.hero-slogan {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--ink);
  max-width: 18ch;
}
.hero-subtitle {
  margin-top: 16px;
  max-width: 44ch;
  opacity: 0.85;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Правая часть hero: фото девушки с цитатой (прозрачный PNG).
   Выровнено по правому краю и по низу секции, без рамок и обрезки. */
.hero-figure {
  align-self: stretch;        /* колонка тянется на всю высоту ряда */
  display: flex;
  align-items: flex-end;      /* по низу секции */
  justify-content: flex-end;  /* по правому краю контейнера */
}
.hero-girl {
  display: block;
  width: auto;
  height: auto;
  /* крупнее и вплотную к правому краю окна (bleed за пределы контейнера),
     но не шире половины экрана — чтобы не налезать на текст слева */
  max-width: 50vw;
  max-height: calc(100svh - 96px);
  object-fit: contain;        /* пропорции сохраняются, ничего не обрезается */
  margin-right: calc((min(100vw, 1200px) - 100vw) / 2 - 26px);
}

/* ============================================================= */
/*  СЕКЦИИ (единая кремовая база)                                 */
/* ============================================================= */
.section { padding: clamp(72px, 10vw, 130px) 0; }

/* ---------- О салоне (изумрудная секция — как «Мастерам») ---------- */
.about { background: var(--emerald); color: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-text p { margin-bottom: 18px; font-size: var(--fs-body); line-height: var(--lh-body); color: rgba(241, 235, 223, 0.9); }
/* золотой курсив-акцент (Playfair Italic) для выделенной фразы «О салоне» */
.about-text em { font-family: var(--font-head); color: var(--gold); font-style: italic; }
.about-text .section-title { margin-bottom: 26px; }
.about-text p:last-child { margin-bottom: 0; }
.about-figure { position: relative; }
.about-photo { max-width: 440px; margin: 0 auto; aspect-ratio: 3 / 4; }
/* заглушка фото на изумрудном фоне — мягкая, а не яркий кремовый блок */
.about .ph:has(.img-missing) { background: rgba(241, 235, 223, 0.08); }
.about .ph:has(.img-missing)::after { color: var(--sage); }

/* ---------- Услуги (светлые карточки на кремовом) ---------- */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--cream-deep);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -34px rgba(43, 38, 32, 0.5);
}
.service-photo { aspect-ratio: 4 / 3; margin: 6px 6px 34px; }
.service-photo.ph-arch::before { inset: -11px -11px 11px -11px; }
.service-eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-size: var(--fs-eyebrow);
  color: var(--gold);
  margin-bottom: 10px;
}
.service-cat {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  /* резервируем 2 строки, чтобы заголовки категорий были одной высоты
     и строки услуг (и цены) стояли на одном уровне во всех карточках */
  min-height: 2.3em;
  color: var(--ink);
  margin-bottom: 16px;
}
.service-list { list-style: none; }
.service-list li {
  padding: 15px 0;
  border-top: 1px solid var(--gold-soft);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.s-name { font-weight: 600; color: var(--ink); font-size: var(--fs-body); line-height: 1.3; }
/* резерв под 2 строки описания — выравнивает цены между карточками */
.s-desc { font-size: var(--fs-small); line-height: var(--lh-small); opacity: 0.72; min-height: 3rem; }
/* Цена — Playfair Display Italic, золото (одинаково во всех карточках) */
.price {
  align-self: flex-start;
  font-family: var(--font-head);
  font-style: italic;
  font-size: var(--fs-price);
  color: var(--gold);
  margin-top: 8px;
}
.services-cta { text-align: center; margin-top: 56px; }

/* ---------- Мастерам (единственная изумрудная полоса) ---------- */
.rent { background: var(--emerald); color: var(--cream); }
.rent-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.rent-text .section-title { margin-bottom: 26px; }
.rent-text p { margin-bottom: 16px; font-size: var(--fs-body); line-height: var(--lh-body); color: rgba(241, 235, 223, 0.9); }
.rent-benefits-title {
  font-family: var(--font-head);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--gold);
  margin-top: 24px !important;
}
.rent-benefits { list-style: none; margin-top: 10px; }
.rent-benefits li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid rgba(169, 138, 78, 0.3);
  color: rgba(241, 235, 223, 0.92);
}
.rent-benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 14px; height: 14px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.1 8 3 9.9 12 12-9 2.1-10.9 4-12 12-1.1-8-3-9.9-12-12 9-2.1 10.9-4 12-12z' fill='%23A98A4E'/%3E%3C/svg%3E");
}
.rent-cta { margin-top: 32px; }
.rent-note {
  margin-top: 16px;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: rgba(241, 235, 223, 0.8);
}
.rent-gallery { position: relative; display: grid; gap: 22px; grid-template-columns: 1fr 1fr; align-items: start; }
.rent-photo-a { aspect-ratio: 3 / 4; margin-top: 26px; }
.rent-photo-b { aspect-ratio: 3 / 4; }
.rent-gallery .ph { background: rgba(241, 235, 223, 0.08); }
.rent-gallery .ph:has(.img-missing) {
  background: rgba(241, 235, 223, 0.08);
}
.rent-gallery .ph:has(.img-missing)::after { color: var(--sage); }

/* ---------- Контакты (кремовый) ---------- */
.contacts { background: var(--cream-deep); }
.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.contact-list { list-style: none; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gold-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.c-label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-size: var(--fs-eyebrow);
  color: var(--gold);
}
.c-value { font-size: var(--fs-body); color: var(--ink); transition: color 0.25s var(--ease); }
a.c-value:hover { color: var(--gold); }

.socials { margin-top: 26px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-nav);
  font-size: var(--fs-nav);
  padding: 9px 18px;
  border: 1px solid var(--gold-soft);
  border-radius: 100px;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.social-links a:hover { background: var(--gold); color: var(--cream); border-color: var(--gold); }
/* Иконки соцсетей (Telegram/WhatsApp) — цвет наследуется от ссылки */
.soc-ic { width: 18px; height: 18px; flex: none; display: block; }

.contacts-sign { margin-top: 30px; aspect-ratio: 16 / 10; max-width: 420px; }

.contacts-yandex { display: grid; gap: 22px; }
.yandex-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
  background: var(--cream);
  min-height: 240px;
}
.yandex-box iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.yandex-card { min-height: 300px; }
.yandex-card iframe { min-height: 300px; }
.yandex-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: inherit;
  padding: 32px;
  color: var(--ink);
}
.yandex-placeholder strong {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--ink);
}
.yandex-placeholder span { font-size: var(--fs-small); line-height: var(--lh-small); opacity: 0.7; }

/* ============================================================= */
/*  ПОДВАЛ (изумрудный)                                          */
/* ============================================================= */
.site-footer { background: var(--emerald-deep); color: var(--cream); padding: 46px 0 26px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(169, 138, 78, 0.3);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
/* Надпись в подвале — тот же logo-wordmark.png, но осветлён под тёмный фон.
   align-self: flex-start — чтобы флекс-колонка не растягивала картинку по ширине. */
.footer-wordmark {
  height: 42px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-brand .brand-sub {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-size: var(--fs-eyebrow);
  color: var(--gold);
}
.footer-nav, .footer-social { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a, .footer-social a {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-nav);
  font-size: var(--fs-nav);
  color: rgba(241, 235, 223, 0.75);
  transition: color 0.25s var(--ease);
}
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-nav a:hover, .footer-social a:hover { color: var(--gold); }
/* Реквизиты (юридический блок) */
.footer-legal { padding: 22px 0 4px; }
.footer-legal-title {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}
.legal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 40px;
}
.legal-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(169, 138, 78, 0.18);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}
.legal-row dt {
  color: var(--gold);
  font-family: var(--font-label);
}
.legal-row dd { color: rgba(241, 235, 223, 0.82); }
.legal-row dd a { color: rgba(241, 235, 223, 0.82); transition: color 0.25s var(--ease); }
.legal-row dd a:hover { color: var(--gold); }

.footer-bottom { padding-top: 24px; }
.footer-bottom p { font-size: var(--fs-small); color: rgba(241, 235, 223, 0.55); }

/* ============================================================= */
/*  АНИМАЦИИ ПОЯВЛЕНИЯ                                            */
/* ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
/* Уже видимое при загрузке — без анимации (не «прыгает» при обновлении) */
.reveal-static { transition: none; }

/* ============================================================= */
/*  АДАПТИВ                                                       */
/* ============================================================= */
/* На мобильном уменьшаем только заголовки, остальное — без изменений */
@media (max-width: 768px) {
  :root { --fs-h1: 36px; --fs-h2: 28px; --fs-h3: 22px; }
}

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; min-height: 0; text-align: left; }
  /* Мобильная версия: фото под текстом, по центру, на всю ширину, без обрезки */
  .hero-figure { align-self: auto; justify-content: center; }
  .hero-girl { width: 100%; max-width: 460px; max-height: none; margin: 0 auto; }
  .about-grid, .rent-grid, .contacts-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-figure { order: -1; }
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .legal-list { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 100px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    padding: 18px 26px 28px;
    border-bottom: 1px solid var(--gold-soft);
    transform: translateY(-135%);
    transition: transform 0.45s var(--ease);
    box-shadow: 0 22px 44px -26px rgba(43, 38, 32, 0.6);
  }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--gold-soft); }
  .nav-cta { margin-top: 14px; }
  /* На мобильном логотип компактнее, но со знаком, линией и надписью */
  .brand-mark { height: 56px; }
  .brand-divider { height: 44px; margin: 0 14px; }
  .brand-word { height: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-logo-row { gap: 14px; }
  .rent-gallery { grid-template-columns: 1fr; }
  .rent-photo-a { margin-top: 0; }
  .legal-row { grid-template-columns: 1fr; gap: 2px; padding: 9px 0; }
}

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