/* ============================================================
   ПЕРЕМЕННЫЕ И БАЗА
   Палитра по референсу: чернильный фон, крем, шампань
   ============================================================ */
:root {
  --ink: #0D0C0B;
  --ink-soft: #15110E;
  --cream: #F7EFE4;
  --cream-60: rgba(247, 239, 228, 0.62);
  --cream-40: rgba(247, 239, 228, 0.4);
  --champagne: #D8B98C;
  --champagne-soft: rgba(216, 185, 140, 0.35);
  --champagne-faint: rgba(216, 185, 140, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --pad-x: clamp(20px, 4vw, 72px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--cream);
  background: var(--ink);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--champagne); color: var(--ink); }

.shell {
  width: min(100% - var(--pad-x) * 2, 1536px);
  margin-inline: auto;
}

section { padding: clamp(72px, 9vw, 130px) 0; }

.eyebrow {
  display: block;
  font-size: clamp(11px, 0.8vw, 12px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h2 { font-size: clamp(32px, 3.8vw, 58px); margin-bottom: clamp(16px, 1.8vw, 24px); }

.lead { color: var(--cream-60); max-width: 46em; }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: clamp(14px, 0.95vw, 16px);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-gold {
  background: var(--champagne);
  color: var(--ink);
  font-weight: 600;
}
.btn-gold:hover { background: #E8CCA0; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(216, 185, 140, 0.25); }
.btn-line {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 239, 228, 0.3);
}
.btn-line:hover { border-color: var(--champagne); color: var(--champagne); transform: translateY(-2px); }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 12, 11, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; gap: clamp(16px, 2vw, 36px); }

.logo { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; line-height: 1.25; }
.logo b { font-family: var(--font-serif); font-weight: 600; font-size: clamp(17px, 1.25vw, 21px); letter-spacing: 0.02em; }
.logo small { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--champagne); }

.main-nav ul { display: flex; gap: clamp(12px, 1.4vw, 26px); list-style: none; }
.main-nav a {
  text-decoration: none;
  font-size: clamp(13px, 0.85vw, 15px);
  color: var(--cream-60);
  padding: 6px 2px;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--champagne); }

.header-cta { padding: 11px 24px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid rgba(247, 239, 228, 0.25);
  border-radius: 50%;
  position: relative;
  z-index: 210;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 38px);
  text-decoration: none;
  padding: 8px 20px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--champagne); }
.mobile-menu .mobile-phone { font-family: var(--font-sans); font-size: 16px; margin-top: 18px; color: var(--cream-60); }

/* ============================================================
   ПЕРВЫЙ ЭКРАН: вертикальные ленты фото + заголовок
   ============================================================ */
.hero { padding: var(--header-h) 0 clamp(56px, 7vh, 80px); position: relative; }

/* Полоса с движущимися колонками фотографий */
.hero-band {
  position: relative;
  height: 54svh;
  min-height: 400px;
  overflow: hidden;
}

/* Пунктирные направляющие за фото */
.hero-guides {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding-inline: 4vw;
  opacity: 0.25;
  pointer-events: none;
}
.hero-guides span { height: 100%; width: 1px; border-right: 1px dashed var(--champagne-soft); }

.hero-cols {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(100% - 24px, 1536px);
  margin-inline: auto;
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
}
.hero-col { flex: 1; min-width: 0; overflow: hidden; }
.hero-col-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
  animation: colUp var(--dur, 34s) linear infinite;
}
.hero-col-down .hero-col-inner { animation-name: colDown; }
@keyframes colUp   { to   { transform: translateY(calc(-50% - clamp(6px, 0.7vw, 10px))); } }
@keyframes colDown { from { transform: translateY(calc(-50% - clamp(6px, 0.7vw, 10px))); } to { transform: translateY(0); } }

.hero-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  flex-shrink: 0;
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 12, 11, 0.45), transparent 45%, rgba(255, 255, 255, 0.05));
}

/* Затемнение краев полосы */
.hero-band::before, .hero-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}
.hero-band::before { top: 0; background: linear-gradient(to bottom, var(--ink), transparent); }
.hero-band::after { bottom: 0; background: linear-gradient(to top, var(--ink), transparent); }

/* Текстовая часть под полосой */
.hero-body {
  text-align: center;
  padding-top: clamp(36px, 5vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--champagne-soft);
  background: var(--champagne-faint);
  color: var(--champagne);
  font-size: clamp(12px, 0.85vw, 14px);
  letter-spacing: 0.06em;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 104px);
  max-width: 15em;
  margin-bottom: clamp(16px, 2vw, 26px);
}
.hero-sub {
  color: var(--cream-60);
  font-size: clamp(15px, 1.2vw, 19px);
  max-width: 38em;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ============================================================
   ОБО МНЕ
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 4.5vw, 80px);
  align-items: start;
}
.about-photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.about-text h2 { margin-bottom: clamp(18px, 2vw, 26px); }
.about-text > p { color: var(--cream-60); margin-bottom: 1.1em; }

.why-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.8vw, 30px);
  margin: clamp(24px, 2.6vw, 36px) 0 14px;
}
.why-list { list-style: none; margin-bottom: clamp(24px, 2.6vw, 36px); }
.why-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--cream-60);
  border-bottom: 1px solid var(--line);
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.15em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--champagne);
}
.why-list b { color: var(--cream); font-weight: 600; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 24px);
}
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 1.8vw, 28px);
}
.about-card h3 { font-size: clamp(19px, 1.5vw, 25px); margin-bottom: 10px; color: var(--champagne); }
.about-card p { font-size: clamp(13px, 0.9vw, 15px); color: var(--cream-60); }

/* ============================================================
   БЕГУЩАЯ СТРОКА
   ============================================================ */
.ribbon {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--ink-soft);
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon 36s linear infinite;
}
.ribbon-track span {
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: 0.08em;
  color: var(--cream-40);
  padding-right: 12px;
}
.ribbon-track .dot { color: var(--champagne); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ============================================================
   УСЛУГИ: нумерованные строки
   ============================================================ */
.service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.6fr auto;
  gap: clamp(16px, 2vw, 40px);
  align-items: center;
  padding: clamp(24px, 2.6vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-num {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.9vw, 30px);
  color: var(--champagne);
}
.service-name { font-size: clamp(24px, 2.2vw, 36px); }
.service-desc { color: var(--cream-60); font-size: clamp(14px, 0.95vw, 16px); }
.service-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.service-price {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.5vw, 26px);
  color: var(--cream);
  white-space: nowrap;
}
.service-side .btn { padding: 11px 26px; }

/* ============================================================
   ПОРТФОЛИО
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.2vw, 48px); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 2.8vw, 40px); }
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(247, 239, 228, 0.22);
  background: transparent;
  color: var(--cream-60);
  font-size: clamp(13px, 0.9vw, 15px);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter-btn:hover { border-color: var(--champagne); color: var(--champagne); }
.filter-btn.active { background: var(--champagne); border-color: var(--champagne); color: var(--ink); font-weight: 600; }
.filter-btn i { font-style: normal; opacity: 0.65; margin-left: 6px; font-size: 0.85em; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: var(--card);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s ease; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 12, 11, 0.4), transparent 40%);
  pointer-events: none;
}
.tile:hover { border-color: var(--champagne-soft); }
.tile:hover img { transform: scale(1.04); }
.tile.tile-out { opacity: 0; transform: scale(0.96); }
.tile[hidden] { display: none; }

/* ============================================================
   КАК ПРОХОДИТ СЪЕМКА
   ============================================================ */
.process { background: var(--ink-soft); border-block: 1px solid var(--line); }
.step-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.8fr;
  gap: clamp(16px, 2vw, 40px);
  padding: clamp(20px, 2.2vw, 32px) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.step-row:last-of-type { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-serif); font-size: clamp(20px, 1.7vw, 28px); color: var(--champagne); }
.step-name { font-family: var(--font-serif); font-size: clamp(20px, 1.8vw, 30px); }
.step-text { color: var(--cream-60); font-size: clamp(14px, 0.95vw, 16px); }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.4vw, 20px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.review:hover { border-color: var(--champagne-soft); transform: translateY(-3px); }
.review { cursor: pointer; }
.review-shot { width: 100%; display: block; border-radius: var(--radius-sm); }

/* ============================================================
   БРОНИРОВАНИЕ
   ============================================================ */
.booking-head { text-align: center; max-width: 680px; margin: 0 auto clamp(28px, 3vw, 44px); }


.booking-form {
  max-width: 720px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 48px);
  display: grid;
  gap: 20px;
}
.field label { display: block; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 7px; color: var(--cream-60); }
.field .req { color: var(--champagne); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  font-size: 16px; /* не меньше 16px - иначе iOS Safari зумит экран при фокусе */
  padding: 13px 16px;
  border: 1px solid rgba(247, 239, 228, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  color: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select option { background: var(--ink-soft); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-40); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(216, 185, 140, 0.15);
}
.field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 110px; resize: vertical; }

.field.invalid input, .field.invalid select { border-color: #C4746A; }
.field-error { display: none; font-size: 13px; color: #DE9A90; margin-top: 6px; }
.field.invalid .field-error { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(247, 239, 228, 0.2);
  font-size: 14px;
  color: var(--cream-60);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.radio-pill input:checked + span { background: var(--champagne); border-color: var(--champagne); color: var(--ink); font-weight: 600; }
.radio-pill input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cream-60); }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--champagne); flex-shrink: 0; }
.consent a { color: var(--champagne); }

.form-success {
  display: none;
  background: rgba(216, 185, 140, 0.12);
  border: 1px solid var(--champagne-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
}
.form-success.visible { display: block; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
  padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
  font-size: 14px;
  color: var(--cream-60);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  padding-bottom: clamp(28px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.footer-brand b { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--cream); margin-bottom: 4px; }
.footer-brand small { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--champagne); margin-bottom: 14px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-40); margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { text-decoration: none; color: var(--cream-60); transition: color 0.2s; }
.footer-col a:hover { color: var(--champagne); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--cream-40); }
.footer-legal button {
  background: none; border: none; padding: 0;
  color: var(--cream-40);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}
.footer-legal button:hover { color: var(--champagne); }

/* ============================================================
   ПЛАВАЮЩАЯ КНОПКА (мобильные)
   ============================================================ */
.fab {
  display: none;
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--champagne);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(216, 185, 140, 0.35);
}

/* ============================================================
   ПЛАВАЮЩИЙ ВИДЖЕТ "СПОСОБЫ СВЯЗИ" (правый нижний угол)
   ============================================================ */
@keyframes fabPulse {
  0% { box-shadow: 0 12px 30px rgba(216, 185, 140, 0.35), 0 0 0 0 rgba(216, 185, 140, 0.45); }
  70% { box-shadow: 0 12px 30px rgba(216, 185, 140, 0.35), 0 0 0 16px rgba(216, 185, 140, 0); }
  100% { box-shadow: 0 12px 30px rgba(216, 185, 140, 0.35), 0 0 0 0 rgba(216, 185, 140, 0); }
}

.contact-fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
}

.contact-fab-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.contact-fab.open .contact-fab-menu { pointer-events: auto; }

.contact-fab-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--cream);
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease;
}
.contact-fab-item:hover { border-color: var(--champagne-soft); transform: translateX(-3px) scale(1); }
.contact-fab-item svg { width: 30px; height: 30px; flex-shrink: 0; }

.contact-fab.open .contact-fab-item { opacity: 1; transform: translateY(0) scale(1); }
.contact-fab.open .contact-fab-item:nth-child(1) { transition-delay: 0.16s; }
.contact-fab.open .contact-fab-item:nth-child(2) { transition-delay: 0.09s; }
.contact-fab.open .contact-fab-item:nth-child(3) { transition-delay: 0.02s; }

.contact-fab-toggle {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--champagne);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(216, 185, 140, 0.35);
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, color 0.25s ease;
  animation: fabPulse 2.6s ease-out infinite;
}
.contact-fab-toggle:hover { transform: translateY(-3px) scale(1.06) rotate(-6deg); }
.contact-fab.open .contact-fab-toggle {
  background: var(--ink-soft);
  border: 1px solid var(--champagne-soft);
  color: var(--champagne);
  animation: none;
  transform: rotate(90deg);
}
.contact-fab.open .contact-fab-toggle:hover { transform: rotate(90deg) scale(1.06); }

.contact-fab-toggle svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 24px;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.contact-fab-toggle .icon-close {
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.4);
  opacity: 0;
}
.contact-fab.open .contact-fab-toggle .icon-chat {
  transform: translate(-50%, -50%) rotate(90deg) scale(0.4);
  opacity: 0;
}
.contact-fab.open .contact-fab-toggle .icon-close {
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  opacity: 1;
}


/* ============================================================
   ЛАЙТБОКС И МОДАЛЬНЫЕ ОКНА
   ============================================================ */
.lightbox, .modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 5, 5, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open, .modal.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 86svh;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.modal-box {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 84svh;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 44px);
  position: relative;
}
.modal-box h3 { font-size: clamp(24px, 2vw, 32px); margin-bottom: 16px; }
.modal-box h4 { font-family: var(--font-serif); font-size: 19px; margin: 18px 0 8px; color: var(--champagne); }
.modal-box p, .modal-box li { font-size: 14px; color: var(--cream-60); margin-bottom: 10px; }
.modal-box ol { padding-left: 20px; }
.close-x {
  position: absolute;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.close-x:hover { background: var(--champagne); color: var(--ink); }
.close-x svg { width: 15px; height: 15px; }
.lightbox .close-x { position: fixed; top: 20px; right: 20px; }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
  .hero-col-4 { display: none; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .service-row { grid-template-columns: 60px 1fr auto; }
  .service-desc { grid-column: 2 / 3; grid-row: 2; }
  .service-side { grid-column: 3 / 4; grid-row: 1 / 3; }
  .step-row { grid-template-columns: 60px 1fr; }
  .step-text { grid-column: 2; }
}

@media (max-width: 900px) {
  .hero-col-3 { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 440px; }
}

@media (max-width: 768px) {
  .header-cta { display: none; }
  .contact-fab { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .contact-fab-toggle { width: 52px; height: 52px; }
  .fab { display: inline-flex; }
  .hero-band { height: 44svh; min-height: 320px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-num { font-size: 18px; }
  .service-desc { grid-column: 1; grid-row: auto; }
  .service-side { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .about-cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .radio-row { flex-direction: column; }
}

/* Отключение анимаций по запросу системы */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-col-inner, .ribbon-track { animation: none !important; }
}

/* ============================================================
   ДОБАВЛЕНО ПРИ РАЗДЕЛЕНИИ НА СТРАНИЦЫ
   ============================================================ */
.tile picture, .hero-shot picture, .about-photo picture, .review picture { display: block; width: 100%; height: 100%; }
.main-nav a[aria-current="page"] { color: var(--champagne); }
.mobile-menu a[aria-current="page"] { color: var(--champagne); }

/* Хлебные крошки */
.breadcrumbs { font-size: 13px; color: var(--cream-40); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--cream-40); }
.breadcrumbs a { color: var(--cream-60); text-decoration: none; }
.breadcrumbs a:hover { color: var(--champagne); }

/* Первый экран страницы жанра */
.page-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 90px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.page-hero h1 { font-size: clamp(38px, 5vw, 76px); margin-bottom: clamp(16px, 1.8vw, 26px); }
.page-hero .lead { font-size: clamp(15px, 1.15vw, 19px); margin-bottom: 28px; }
.page-hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 520px;
  justify-self: end;
}
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.facts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--cream-60);
}
.facts b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(19px, 1.5vw, 24px); color: var(--cream); margin-bottom: 2px; }

/* Текстовый блок */
.text-block { max-width: 820px; }
.text-block h2 { margin-bottom: 20px; }
.text-block p { color: var(--cream-60); margin-bottom: 14px; }
.text-block ul { margin: 0 0 14px 1.2em; color: var(--cream-60); }
.text-block li { margin-bottom: 6px; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.6vw, 26px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--champagne);
  font-size: 26px;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--cream-60); padding: 0 0 22px; max-width: 46em; }

/* Карточки жанров (ссылки на страницы) */
.genre-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.genre-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
}
.genre-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s ease; }
.genre-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,12,11,0.85), transparent 55%); }
.genre-card span {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  font-family: var(--font-serif); font-size: clamp(20px, 1.7vw, 28px); line-height: 1.15;
}
.genre-card small { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--champagne); margin-top: 4px; }
.genre-card:hover { border-color: var(--champagne-soft); }
.genre-card:hover img { transform: scale(1.04); }

.service-name a { text-decoration: none; }
.service-name a:hover { color: var(--champagne); }
.service-more { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--champagne); text-decoration: none; }
.service-more:hover { text-decoration: underline; text-underline-offset: 3px; }

.portfolio-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 2.6vw, 36px); }

/* Ошибка отправки формы */
.form-error-msg {
  display: none;
  background: rgba(196, 116, 106, 0.12);
  border: 1px solid rgba(196, 116, 106, 0.5);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
}
.form-error-msg.visible { display: block; }
.form-error-msg a { color: var(--champagne); }
.booking-form button[type="submit"][disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; text-align: center; padding-top: calc(var(--header-h) + 40px); }
.notfound .shell { max-width: 640px; }
.notfound h1 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 18px; }

@media (max-width: 1024px) {
  .genre-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-photo { justify-self: start; max-width: 440px; }
}
@media (max-width: 480px) {
  .facts { gap: 8px; }
  .facts li { padding: 10px 12px; font-size: 12px; line-height: 1.35; }
  .facts b { font-size: 17px; }
}
