/* ==========================================================================
   Александра Махутина — Liquid Glass
   1. Токены и сброс  2. Фон  3. Стекло и линза  4. Элементы
   5. Секции  6. Адаптив  7. Доступность / fallback
   ========================================================================== */

/* Cormorant Garamond — локально, без обращений к Google Fonts (лицензия OFL в assets/fonts/OFL.txt) */
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────────────────────── 1. ТОКЕНЫ И СБРОС ───────────────────────── */

:root {
  color-scheme: light;

  /* Палитра: жемчужный, молочный, нюдово-розовый, сиреневый, персиковый */
  --bg: #f9f3f0;
  --bg-warm: #f5ebe6;
  --text: #2f2733;          /* контраст ~11:1 на светлом стекле */
  --text-soft: #574c59;
  --text-muted: #645767;
  --accent: #a6476b;        /* белый текст по этой заливке — AA */
  --accent-hover: #8d3659;
  --accent-tint: rgba(166, 71, 107, .10);
  --gold: #b98055;

  /* Стекло: значения по умолчанию — аккуратный fallback без backdrop-filter */
  --glass-bg: rgba(255, 255, 255, .84);
  --glass-strong: rgba(255, 255, 255, .92);
  --glass-border: rgba(255, 255, 255, .9);
  --glass-stroke: rgba(93, 68, 90, .10);
  --glass-shadow: 0 22px 55px rgba(105, 70, 95, .10), 0 4px 14px rgba(105, 70, 95, .06);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(93, 68, 90, .10);
  --blur: blur(26px) saturate(170%);
  --blur-soft: blur(14px) saturate(150%);

  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --pill: 999px;

  --mx: 50%;
  --my: 50%;
  --ease-liquid: cubic-bezier(.22, 1.35, .36, 1);
  --ease-soft: cubic-bezier(.22, .8, .28, 1);

  --container: 1180px;
  --header-h: 76px;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", Georgia, serif;
}

/* Улучшенное стекло только там, где реально есть backdrop-filter */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-bg: rgba(255, 255, 255, .22);
    --glass-strong: rgba(255, 255, 255, .34);
    --glass-border: rgba(255, 255, 255, .66);
    --glass-shadow: 0 26px 60px rgba(96, 62, 88, .13), 0 4px 16px rgba(96, 62, 88, .07);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, .62), inset 0 -1px 0 rgba(93, 68, 90, .12);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--text);
  box-shadow: var(--glass-shadow);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ───────────────────────── 2. ЖИВОЙ ФОН ───────────────────────── */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #fffdfb 0%, rgba(255, 253, 251, 0) 60%),
    linear-gradient(160deg, #fbf7f4 0%, #f6eee9 45%, #f4edf3 100%);
}

.ambient__blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .58;
  will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}

.ambient__blob--1 { width: 62vw; height: 62vw; top: -22vw; left: -14vw; background: radial-gradient(circle at 40% 40%, #f7d3dc, rgba(247, 211, 220, 0) 70%); }
.ambient__blob--2 { width: 58vw; height: 58vw; top: 8vh; right: -18vw; background: radial-gradient(circle at 50% 50%, #dcd0f5, rgba(220, 208, 245, 0) 70%); animation-duration: 32s; animation-delay: -6s; }
.ambient__blob--3 { width: 54vw; height: 54vw; bottom: -18vw; left: 8vw; background: radial-gradient(circle at 50% 50%, #f9d9c4, rgba(249, 217, 196, 0) 70%); animation-duration: 29s; animation-delay: -12s; }
.ambient__blob--4 { width: 46vw; height: 46vw; top: 42vh; left: -20vw; background: radial-gradient(circle at 50% 50%, #d8e9f5, rgba(216, 233, 245, 0) 70%); animation-duration: 36s; animation-delay: -3s; }
.ambient__blob--5 { width: 42vw; height: 42vw; top: -10vh; right: 14vw; background: radial-gradient(circle at 50% 50%, #fbe7d6, rgba(251, 231, 214, 0) 70%); animation-duration: 24s; animation-delay: -18s; }
.ambient__blob--6 { width: 50vw; height: 50vw; bottom: -12vh; right: -10vw; background: radial-gradient(circle at 50% 50%, #eadcf3, rgba(234, 220, 243, 0) 70%); animation-duration: 34s; animation-delay: -9s; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
  100% { transform: translate3d(-5vw, 4vh, 0) scale(.95); }
}

@keyframes chip-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}

/* ───────────────────────── 3. СТЕКЛО И ЛИНЗА ───────────────────────── */

.glass {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  color: var(--text);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
  }
  .glass--lite {
    -webkit-backdrop-filter: var(--blur-soft);
    backdrop-filter: var(--blur-soft);
  }
}

.glass > * { position: relative; z-index: 1; }

.glass--lite { border-radius: var(--radius-md); }

/* Блик под курсором / пальцем */
.glass--shine { overflow: hidden; }
.glass--shine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%);
  opacity: .65;
}

/* SVG-линза: улучшение для Chromium, включается JS + @supports */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @supports (filter: url("#lens")) {
    .lens-ready .glass--lens { filter: url(#lens); }
  }
}

/* ───────────────────────── 4. ЭЛЕМЕНТЫ ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .45s var(--ease-liquid), background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-liquid); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.94); }          /* «жидкое» нажатие с overshoot */
.btn.is-pop { animation: btn-pop .42s var(--ease-liquid); }
@keyframes btn-pop {
  0%   { transform: scale(.94); }
  60%  { transform: scale(1.045); }
  100% { transform: scale(1); }
}

.btn--primary {
  background: linear-gradient(135deg, #b25276 0%, var(--accent) 55%, #963c60 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(166, 71, 107, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary:hover { background: linear-gradient(135deg, #a8466b, var(--accent-hover)); box-shadow: 0 18px 36px rgba(166, 71, 107, .34), inset 0 1px 0 rgba(255, 255, 255, .3); }

.btn--glass {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: var(--glass-inset), 0 10px 26px rgba(105, 70, 95, .08);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .btn--glass { background: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.btn--glass:hover { background: rgba(255, 255, 255, .8); }

.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 15px 30px; font-size: 16px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-tint); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0;
}
h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .92; }
h1 em { color: var(--accent); font-style: italic; font-weight: 400; }
h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; }
h3 { font-size: 26px; line-height: 1.15; }

.section-lead { max-width: 620px; margin: 16px 0 0; color: var(--text-soft); font-size: 16px; }
.section-head { margin-bottom: 42px; }

/* Все незаполненные данные явно видны, но не кричат */
.todo-inline {
  color: #84506a;
  font-size: .78em;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
[data-todo] { cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--accent); font-weight: 700; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease-liquid); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Появление при скролле (только если включён JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ───────────────────────── 5. СЕКЦИИ ───────────────────────── */

.section { position: relative; padding: 88px 0; }
.section--booking { padding-bottom: 110px; }

/* Шапка */
.topbar {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--container), calc(100% - 40px));
  height: var(--header-h);
  padding: 8px 9px 8px 20px;
  border-radius: var(--pill);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand__name { font-family: var(--font-display); font-size: 21px; line-height: .95; letter-spacing: -.01em; }
.brand__name span { display: block; color: var(--accent); }

.nav {
  position: fixed;
  top: calc(20px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 51;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--pill);
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: var(--pill);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.nav__link svg { width: 16px; height: 16px; opacity: .75; }
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .35); }
.nav__link.is-active {
  color: var(--accent);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(105, 70, 95, .10);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__link.is-active { background: rgba(255, 255, 255, .48); }
}
.topbar__cta { flex: 0 0 auto; }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 70px); }
.hero__inner { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(32px, 5vw, 76px); }
.hero__subtitle { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-style: italic; color: var(--text-soft); }
.hero__lead { max-width: 540px; margin: 22px 0 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--text-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; list-style: none; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 14px; }
.hero__points svg { width: 17px; height: 17px; color: var(--accent); }

.hero__visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-card {
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  padding: 10px;
  border-radius: var(--radius-xl);
}
.hero-card img { width: 100%; height: 100%; border-radius: 32px; object-fit: cover; }
.hero-card__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .82);
  border: 1px solid #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(105, 70, 95, .12);
}
.hero-card__chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .86);
  border: 1px solid #fff;
  box-shadow: 0 12px 30px rgba(105, 70, 95, .16), inset 0 1px 0 #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chip { background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }
.chip--1 { top: 16%; left: 4%; }
.chip--2 { top: 48%; right: 3%; animation-delay: -2.4s; }
.chip--3 { bottom: 12%; left: 8%; animation-delay: -4.8s; }
.hero__note { max-width: 440px; margin: 0; text-align: center; color: var(--text-muted); font-size: 13px; }

/* 3D-флакон лака в герое — только сцена, без фотографии */
.polish { --pad: 10px; position: relative; width: min(100%, 460px); aspect-ratio: 4 / 5; }
.polish__stage { position: absolute; inset: var(--pad); border-radius: 32px; overflow: hidden; background: radial-gradient(120% 85% at 50% 32%, rgba(255, 255, 255, .88), rgba(255, 233, 243, .6) 58%, rgba(232, 214, 240, .5)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.polish__stage::before { content: ""; position: absolute; left: 31%; right: 31%; bottom: 23.5%; height: 3.2%; background: radial-gradient(closest-side, rgba(130, 60, 95, .30), transparent); filter: blur(5px); }
.polish canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; pointer-events: auto; -webkit-tap-highlight-color: transparent; outline-offset: -4px; }
.polish canvas:active { cursor: grabbing; }
.polish__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 11px; letter-spacing: .04em; color: var(--text-muted); white-space: nowrap; transition: opacity .5s; pointer-events: none; }
.polish__stage.is-used .polish__hint { opacity: 0; }
@media (max-width: 1023px) { .polish { width: 100%; } }
@media (max-width: 767px) { .polish { --pad: 8px; width: min(100%, 420px); } .polish__stage { border-radius: 28px; } }

/* Услуги */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 26px;
  transition: transform .45s var(--ease-liquid), box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--glass-inset), 0 30px 60px rgba(105, 70, 95, .14); }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--accent-tint);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.service-card__icon svg { width: 23px; height: 23px; }
.service-card p { margin: 0; color: var(--text-soft); font-size: 14px; }
.service-card h3 { font-size: 27px; }
.service-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--glass-stroke); }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.duration { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.duration svg { width: 15px; height: 15px; }

/* Работы */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.gallery li { min-width: 0; }
.tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .55);
  box-shadow: var(--glass-inset), 0 12px 30px rgba(105, 70, 95, .08);
  cursor: zoom-in;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .45s var(--ease-liquid), box-shadow .3s ease;
}
/* Лайтбокс-сетка не использует backdrop-filter: экономим слои на телефоне */
.tile.glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* На сенсорных устройствах :hover залипает после касания — плитка «съезжает». */
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-4px); box-shadow: var(--glass-inset), 0 24px 46px rgba(105, 70, 95, .16); }
  .tile:hover img { transform: scale(1.045); }
}
.tile img {
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  left: 6px;
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border-radius: 19px;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.tile__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 9px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .9);
  border: 1px solid #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 6px 14px rgba(105, 70, 95, .12);
}

/* Обо мне */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); padding: clamp(30px, 4.5vw, 60px); border-radius: var(--radius-xl); }
.about__text p { max-width: 560px; margin: 16px 0 0; color: var(--text-soft); }
.about__text p:first-of-type { margin-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; align-self: center; }
.stat { padding: 20px 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .34); border: 1px solid var(--glass-border); }
.stat dt { color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stat dd { margin: 0; }
.stat__value { margin: 8px 0 4px !important; font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--accent); }
.stat__note { color: var(--text-muted); font-size: 12px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step { padding: 26px; transition: transform .45s var(--ease-liquid); }
.step:hover { transform: translateY(-4px); }
.step__num { display: block; margin-bottom: 18px; font-family: var(--font-display); font-size: 30px; color: var(--accent); }
.step h3 { font-size: 24px; }
.step p { margin: 8px 0 0; color: var(--text-soft); font-size: 14px; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 28px; border-radius: var(--radius-md); }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.review blockquote { margin: 18px 0 22px; font-family: var(--font-display); font-size: 23px; font-style: italic; line-height: 1.32; }
.review figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--glass-stroke); color: var(--text-muted); font-size: 13px; }
.review__label { margin: 0; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 26px;
}
.reviews-cta__copy { flex: 1 1 260px; }
.reviews-cta__title { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.reviews-cta__note { margin: 6px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.45; }
.reviews-cta .btn { flex: 0 0 auto; }

/* Запись и контакты */
.booking {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  grid-template-areas: "intro channels" "details map";
  gap: 28px clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: var(--radius-xl);
}
.booking__intro { grid-area: intro; }
.booking__intro > p:not(.eyebrow):not(.booking__hint) { max-width: 480px; margin: 16px 0 0; color: var(--text-soft); }
.booking__main { margin-top: 26px; }
.booking__hint { margin: 14px 0 0; color: var(--text-muted); font-size: 13px; }
.booking__channels { grid-area: channels; display: grid; gap: 10px; align-content: center; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .38);
  transition: transform .35s var(--ease-liquid), background-color .25s ease;
}
.channel:hover { transform: translateX(4px); background: rgba(255, 255, 255, .66); }
.channel__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; background: var(--accent-tint); color: var(--accent); }
.channel__icon svg { width: 21px; height: 21px; }
.channel strong { display: block; font-size: 15px; }
.channel small { display: block; color: var(--text-muted); font-size: 12px; }
.channel__arrow { width: 17px; height: 17px; margin-left: auto; color: var(--accent); }
.contact-details { grid-area: details; display: grid; gap: 14px; margin: 0; align-self: end; }
.contact-details div { padding: 14px 18px; border-left: 2px solid var(--accent); }
.contact-details dt { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-details dt svg { width: 16px; height: 16px; color: var(--accent); }
.contact-details dd { margin: 6px 0 0; font-size: 15px; }
.map { grid-area: map; display: grid; place-content: center; justify-items: center; min-height: 190px; padding: 24px; text-align: center; border-style: dashed; border-color: rgba(166, 71, 107, .35); background: rgba(255, 255, 255, .28); }
.map svg { width: 34px; height: 34px; color: var(--accent); }
.map p { margin: 8px 0 2px; font-family: var(--font-display); font-size: 24px; }
.map small { color: var(--text-muted); font-size: 12px; }

/* Footer */
.footer { padding: 38px 0 calc(46px + env(safe-area-inset-bottom)); border-top: 1px solid var(--glass-stroke); background: rgba(255, 255, 255, .22); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__name { margin: 0; font-family: var(--font-display); font-size: 22px; }
.footer__muted { margin: 4px 0 0; color: var(--text-muted); font-size: 13px; }
.footer__links { display: flex; gap: 20px; font-size: 14px; color: var(--text-soft); }
.footer__links a:hover { color: var(--accent); }

/* Плавающая кнопка */
.floating-cta { display: none; }

/* Лайтбокс */
.lightbox {
  width: min(92vw, 860px);
  max-width: none;
  max-height: 92vh;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .82);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(47, 39, 51, .38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { max-width: 100%; max-height: 70vh; width: auto; height: auto; border-radius: var(--radius-md); object-fit: contain; }
.lightbox__figure figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 4px 54px 6px; color: var(--text-soft); font-size: 14px; text-align: center; }
.lightbox__close, .lightbox__nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--glass-inset), 0 8px 20px rgba(105, 70, 95, .14);
  color: var(--accent);
  cursor: pointer;
  transition: transform .4s var(--ease-liquid), background-color .2s ease;
}
.lightbox__close:hover, .lightbox__nav button:hover { transform: scale(1.08); background: #fff; }
.lightbox__close { position: absolute; top: -16px; right: -16px; z-index: 3; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; pointer-events: none; }
.lightbox__nav button { pointer-events: auto; }
.lightbox__nav svg { width: 22px; height: 22px; }

/* ───────────────────────── 6. АДАПТИВ ───────────────────────── */

/* Планшеты */
@media (max-width: 1023px) {
  .nav__link { padding: 9px 10px; font-size: 13px; }
  .nav__link svg { display: none; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-card { width: 100%; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review:last-child { grid-column: 1 / -1; }
  .review:last-child:nth-child(even) { grid-column: auto; }
  .reviews-cta { flex-wrap: wrap; }
  .booking { grid-template-columns: 1fr; grid-template-areas: "intro" "channels" "details" "map"; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
}

/* Телефоны: нижний tab-bar как в iOS */
@media (max-width: 767px) {
  :root { --header-h: 62px; }
  body { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }

  .container { width: calc(100% - 32px); }
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 30px; }
  .section-lead { font-size: 15px; }

  .ambient__blob { filter: blur(52px); opacity: .48; }
  .ambient__blob--5, .ambient__blob--6 { display: none; }

  .topbar {
    top: calc(10px + env(safe-area-inset-top));
    width: calc(100% - 24px);
    height: var(--header-h);
    padding: 6px 8px 6px 14px;
  }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: 18px; }
  .topbar__cta { display: none; }

  .nav {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    width: calc(100% - 24px);
    max-width: 430px;
    height: 66px;
    margin: 0;
    padding: 6px;
    border: 1px solid var(--glass-border);
    border-radius: var(--pill);
    background: var(--glass-bg);
    box-shadow: var(--glass-inset), var(--glass-shadow);
  }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
  }
  .nav__link {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 20px;
    font-size: 10px;
    line-height: 1;
  }
  .nav__link svg { display: block; width: 19px; height: 19px; opacity: 1; }
  .nav__link.is-active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 12px rgba(105, 70, 95, .12); }

  /* Экономим число backdrop-filter-слоёв на телефоне */
  .glass--lite {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(255, 255, 255, .84);
  }
  .glass--shine::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 48%); }

  .hero { padding-top: calc(var(--header-h) + 54px); padding-bottom: 50px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: clamp(46px, 12.5vw, 68px); }
  .hero__subtitle { margin-top: 14px; }
  .hero__lead { margin-top: 18px; font-size: 16px; }
  .hero__actions { gap: 10px; margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 auto; padding-inline: 18px; }
  .hero__points { margin-top: 26px; gap: 8px 16px; }
  .hero__points li { font-size: 13px; }
  .hero-card { width: min(100%, 420px); padding: 8px; }
  .hero-card img { border-radius: 28px; }
  .hero-card__badge { top: 20px; left: 20px; font-size: 10px; }
  .chip { padding: 7px 11px; font-size: 11px; }
  .chip svg { width: 14px; height: 14px; }
  .chip--1 { top: 12%; left: 3%; }
  .chip--2 { top: 47%; right: 2%; }
  .chip--3 { bottom: 10%; left: 5%; }

  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 22px; }
  .service-card h3 { font-size: 25px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* Девятая работа в двухколоночной сетке не должна торчать слева в одиночку. */
  .gallery li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
  .tile { padding: 4px; border-radius: 20px; }
  .tile img { top: 4px; right: 4px; bottom: 4px; left: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 16px; }
  .tile__badge { top: 11px; right: 11px; padding: 3px 7px; font-size: 9px; }

  .about { grid-template-columns: 1fr; padding: 26px; border-radius: var(--radius-lg); }
  .about__text h2 { font-size: 38px; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: baseline; gap: 2px 12px; }
  .stat dt { grid-column: 1; grid-row: 1; }
  .stat__value { grid-column: 2; grid-row: 1 / 3; margin: 0 !important; font-size: 34px; }
  .stat__note { grid-column: 1; grid-row: 2; }

  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { padding: 22px; }
  .step__num { margin-bottom: 10px; }

  .reviews { grid-template-columns: 1fr; gap: 12px; }
  .review { padding: 22px; }
  .review:last-child { grid-column: auto; }
  .review blockquote { font-size: 22px; }
  .reviews-cta { padding: 20px; gap: 16px; }
  .reviews-cta__title { font-size: 20px; }
  .reviews-cta .btn { width: 100%; }

  .booking { padding: 26px 22px; gap: 22px; border-radius: var(--radius-lg); }
  .booking__intro h2 { font-size: 38px; }
  .booking__main { width: 100%; }
  .channel { padding: 12px 13px; }
  .map { min-height: 160px; }

  .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .footer__inner { align-items: flex-start; flex-direction: column; gap: 12px; }

  .floating-cta {
    position: fixed;
    right: 14px;
    bottom: calc(94px + env(safe-area-inset-bottom));
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--pill);
    background: linear-gradient(135deg, #b25276, var(--accent));
    box-shadow: 0 14px 30px rgba(166, 71, 107, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: transform .4s var(--ease-liquid);
  }
  .floating-cta svg { width: 18px; height: 18px; }
  .floating-cta:active { transform: scale(.93); }

  .lightbox { width: calc(100% - 24px); padding: 12px; border-radius: var(--radius-md); }
  .lightbox__figure img { max-height: 66vh; border-radius: 20px; }
  .lightbox__figure figcaption { padding: 2px 50px 4px; font-size: 12px; }
  .lightbox__close { top: -14px; right: -2px; width: 40px; height: 40px; }
  .lightbox__nav { padding: 0 2px; }
  .lightbox__nav button { width: 38px; height: 38px; background: rgba(255, 255, 255, .72); }
}

/* Маленькие телефоны (360 px) */
@media (max-width: 374px) {
  .container { width: calc(100% - 24px); }
  .brand__logo { width: 30px; height: 30px; }
  .brand__name { font-size: 16px; }
  .nav__link { font-size: 9px; }
  .hero__actions .btn { font-size: 14px; min-height: 52px; }
  .chip { font-size: 10px; padding: 6px 9px; }
  .stat dd { font-size: 30px; }
  .booking__intro h2, .about__text h2 { font-size: 34px; }
}

/* ───────────────────────── 7. ДОСТУПНОСТЬ / FALLBACK ───────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ambient__blob { animation: none !important; }
  .lens-ready .glass--lens { filter: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .btn:active, .btn.is-pop { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-bg: #fffdfb;
    --glass-strong: #ffffff;
    --glass-border: rgba(93, 68, 90, .16);
    --glass-shadow: 0 12px 30px rgba(105, 70, 95, .10);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, .9);
  }
  .glass, .glass--lite, .nav, .btn--glass, .chip, .lightbox, .contact-details, .stat, .channel {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .glass--shine::before { display: none; }
  .ambient { opacity: .4; }
}
