:root {
  /* Палитра со старого сайта галереякрасоты55.рф и логотипа:
     фиолетовый #A159B3 — их заголовки и кнопки (пиксели лотоса #A058B0),
     градиент первого экрана #F0DCB8 → #FDE4CC → #DD9570 → #B37D5B, текст #1E2323.
     Свои добавки: тёмный фиолетовый для наведения, слива для подвала (белый текст), светлые тона градиента для фонов */
  --bg: #FFFBF7;
  --paper: #FFFFFF;
  --cream: #FCF3EA;
  --cream-2: #F8EADD;
  --sand: #F0DCB8;
  --peach: #FDE4CC;
  --terra: #DD9570;
  --caramel: #B37D5B;
  --violet: #A159B3;
  --violet-deep: #85449A;
  --violet-soft: #F4EAF6;
  --plum: #3A2340;
  --plum-deep: #2C1A31;
  --ink: #1E2323;
  --ink-2: #4F5352;
  --mute: #7C807F;
  --line: rgba(30, 35, 35, .09);
  --stroke: #A159B3;
  --grad: linear-gradient(140deg, #F0DCB8 0%, #FDE4CC 30%, #DD9570 58%, #B37D5B 100%);
  --grad-soft: linear-gradient(150deg, #FBEEDD 0%, #FDE4CC 45%, #F3C7AC 100%);
  /* Единый стандарт линий: фон и первый экран — 1px и .5, внутри карточек — тише */
  --line-op: .5;
  --line-op-card: .3;
  --display: "Forum", "Onest", serif;
  --font: "Onest", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 6vw, 96px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(58, 35, 64, .06);
  --shadow: 0 12px 32px rgba(58, 35, 64, .1);
  --header-h: 120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.sprite { position: absolute; }
.wrap { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }

/* Подпись бренда: маленькая арка — рамка галереи */
.arch-mark { flex: none; display: inline-block; width: 10px; height: 12px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--violet-deep); }
.eyebrow .arch-mark { color: var(--violet); }
.title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.08; letter-spacing: 0; color: var(--plum); }
.intro { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }

.ico { flex: none; width: 18px; height: 18px; transition: transform .5s var(--ease); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: background-color .3s, color .4s var(--ease), border-color .4s var(--ease), transform .15s; }
.btn:active { transform: scale(.98); }
.btn--lg { height: 52px; padding: 0 26px; }
.btn--main { background: var(--violet); color: #fff; }
.btn--main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet-deep); transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn--main:hover::before { transform: none; }
.btn--main:hover .ico { transform: translate(2px, -2px); }
.btn--soft { background: var(--violet-soft); color: var(--violet-deep); border-color: rgba(161, 89, 179, .14); }
.btn--soft:hover { background: #EDDDF1; }
.btn--soft .arch-mark { transition: transform .5s var(--ease); }
.btn--soft:hover .arch-mark { transform: translateY(-2px); }
.btn--ghost { color: var(--violet-deep); border-color: rgba(161, 89, 179, .4); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet); clip-path: circle(0 at 0 100%); transition: clip-path .6s var(--ease); }
.btn--ghost:hover { color: #fff; border-color: var(--violet); }
.btn--ghost:hover::before { clip-path: circle(150% at 0 100%); }
.btn--ghost:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 247, .92); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(58, 35, 64, .22); transition: box-shadow .3s, transform .45s var(--ease); will-change: transform; }
/* Верхняя строка уезжает сдвигом, а не схлопыванием высоты — раскладка страницы не прыгает */
.header.is-scrolled { transform: translateY(-40px); box-shadow: 0 1px 0 var(--line), 0 16px 40px -18px rgba(58, 35, 64, .28); }
.header-util { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); overflow: hidden; transition: opacity .3s var(--ease); }
.header.is-scrolled .header-util { opacity: 0; pointer-events: none; }
.util-info { display: flex; align-items: center; gap: 24px; }
.util-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.util-item .arch-mark { color: var(--violet); }
a.util-addr { transition: color .3s; }
a.util-addr:hover { color: var(--violet-deep); }

.header-main { height: 80px; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.brand { flex: none; display: flex; align-items: center; gap: 12px; color: var(--plum); }
.brand-lotus { width: 52px; height: 42px; color: var(--violet); }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0; }
.brand-text span { margin-top: 6px; font-size: 11px; letter-spacing: .04em; color: var(--mute); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-size: 15px; }
.nav a { position: relative; padding: 4px 0; white-space: nowrap; transition: color .3s; }
.nav a:not(.phone)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--violet-deep); }
.nav a:hover::after { transform: scaleX(1); }
.nav .phone { font-weight: 500; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.socials { display: flex; gap: 8px; }
.social { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--violet-deep); border: 1px solid rgba(161, 89, 179, .3); overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s var(--ease); }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--violet); transform: scale(0); transition: transform .6s var(--ease); }
.social svg { width: 14px; height: 14px; }
.social:hover { color: #fff; border-color: var(--violet); }
.social:hover::before { transform: scale(1); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); position: relative; transition: border-color .3s; }
.burger:hover { border-color: rgba(161, 89, 179, .45); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer { padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); }
.drawer-nav { display: grid; }
.drawer-nav a { font-family: var(--display); font-size: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.drawer-nav a:hover { color: var(--violet-deep); }
.drawer-phone { display: block; margin-top: 16px; font-weight: 500; font-size: 18px; }
.drawer-hours { color: var(--ink-2); font-size: 14px; margin: 4px 0 20px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.drawer .social { width: 40px; height: 40px; }
.drawer .social svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
/* Тёплое пятно из их градиента за аркой */
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(253, 228, 204, .9), rgba(253, 228, 204, 0)); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 80px); min-height: min(calc(100vh - var(--header-h)), 820px); padding-block: clamp(40px, 5vw, 72px); }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 68px); line-height: 1.06; letter-spacing: 0; max-width: 720px; color: var(--plum); }
.lead { margin: 24px 0 32px; max-width: 480px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.hero-proof { display: flex; align-items: stretch; gap: 12px; margin-top: 48px; }
.team-card { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 20px; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.team-card:hover { background: var(--paper); border-color: rgba(161, 89, 179, .28); }
.avatars { display: flex; align-items: center; }
.avatars > * { flex: none; }
.avatars > * + * { margin-left: -14px; }
.avatars img, .avatars .more { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid var(--paper); }
.avatars .more { display: grid; place-items: center; background: var(--violet); color: #fff; transition: background-color .5s var(--ease); }
.avatars .more svg { width: 20px; height: 20px; }
.team-card:hover .more { background: var(--violet-deep); }
.team-text { display: block; max-width: 210px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.team-text b { display: block; font-weight: 400; font-size: 28px; line-height: 1; color: var(--ink); margin-bottom: 6px; }

.map-mini { position: relative; flex: none; width: 104px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 3px solid var(--paper); box-shadow: var(--shadow); }
.map-mini img, .studio-map img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) sepia(.25) hue-rotate(-30deg) saturate(.9) brightness(1.04) contrast(.9); transition: transform .6s var(--ease); }
.map-mini:hover img { transform: scale(1.12); }
.map-mini-label { position: absolute; left: 6px; right: 6px; bottom: 6px; text-align: center; font-size: 10px; font-weight: 500; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--violet-deep); white-space: nowrap; }
.pin { position: absolute; left: 50%; top: 46%; width: 20px; height: 20px; margin: -20px 0 0 -10px; border-radius: 50% 50% 50% 0; background: var(--violet); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(30, 35, 35, .25); }
.pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }

.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-lines { position: absolute; left: 50%; top: 50%; width: 126%; max-width: none; transform: translate(-50%, -52%); pointer-events: none; overflow: visible; }
.hl, .bg-lines use, .service-shape use, .review-shape use, .person-shape use { fill: none; stroke: var(--stroke); stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hl { stroke-opacity: var(--line-op); transform-box: fill-box; transform-origin: center; }
.is-loaded .hl { animation: draw 3.2s var(--ease) forwards, drift 24s ease-in-out 3.2s infinite; }
.is-loaded .hl--wave { animation-delay: .6s, 3.8s; animation-duration: 2.6s, 20s; }
.is-loaded .hl--petal { animation-delay: 1s, 4.2s; animation-duration: 3s, 26s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(2deg) translateY(-8px); } }

/* Лотос из логотипа — подпись у арки */
.hero-lotus { position: absolute; z-index: 2; left: calc(50% - min(220px, 44%) - 96px); bottom: 136px; width: 120px; height: 97px; color: var(--violet); opacity: 0; transform: translateY(8px); transition: opacity 1.6s var(--ease) .8s, transform 1.6s var(--ease) .8s; pointer-events: none; }
.is-loaded .hero-lotus { opacity: .85; transform: none; }

.gallery { position: relative; z-index: 1; display: block; width: min(440px, 100%); }
/* Арка-рамка: фото в нише, рядом контур со сдвигом, как паспарту в галерее */
.gallery-frame { position: relative; display: block; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.gallery::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(161, 89, 179, .55); border-radius: 999px 999px 24px 24px; transform: translate(16px, -16px); transition: transform .6s var(--ease), border-color .6s var(--ease); pointer-events: none; }
.gallery:hover::before { transform: translate(22px, -22px); border-color: rgba(161, 89, 179, .8); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 6s linear; }
.slide.is-active { opacity: 1; transform: scale(1); }
/* Карточка направления: название, цена «от» и кнопка записи на него */
.gallery-caption { position: absolute; right: -16px; bottom: 9%; display: inline-flex; align-items: center; gap: 12px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); white-space: nowrap; }
.gallery-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-deep); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.gallery-text { display: grid; gap: 1px; padding-right: 4px; line-height: 1.2; }
.gallery-title { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--plum); }
.gallery-price { font-size: 13px; color: var(--ink-2); }
.gallery-go { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; overflow: hidden; isolation: isolate; }
.gallery-go::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--violet-deep); transform: scale(0); transition: transform .6s var(--ease); }
.gallery-go svg { width: 16px; height: 16px; }
.gallery:hover .gallery-go::before { transform: scale(1); }
.gallery-dots { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 32px; }
.gallery-dots button { width: 44px; height: 20px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.gallery-dots span { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(161, 89, 179, .22); overflow: hidden; transition: background-color .3s; }
.gallery-dots button:hover span { background: rgba(161, 89, 179, .42); }
.gallery-dots span::after { content: ""; position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.gallery-dots .is-active span::after { animation: progress var(--slide-ms, 5000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; pointer-events: none; opacity: 0; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) scale(.4); transition: opacity .25s, transform .25s var(--ease); }
.cursor svg { width: 28px; height: 28px; }
.cursor.is-on { opacity: .94; transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: hover) and (pointer: fine) { .gallery { cursor: none; } }

/* ---------- Background lines (scroll-triggered) ---------- */
.services, .programs, .promo, .about, .team, .reviews { position: relative; overflow: hidden; }
.bg-lines { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.bg-lines use { stroke-opacity: var(--line-op); }
.is-in > .bg-lines use { animation: draw 3.4s var(--ease) forwards; }
.is-in > .bg-lines { animation: float 26s ease-in-out 3.4s infinite; }
@keyframes float { 0%, 100% { transform: rotate(0) translate(0, 0); } 50% { transform: rotate(-3deg) translate(10px, -12px); } }
.services > .wrap, .programs > .wrap, .promo > .wrap, .about > .wrap, .team > .wrap, .reviews > .wrap, .footer > .wrap { position: relative; z-index: 1; }
.bg-lines--services { width: 420px; height: 420px; right: -200px; top: 120px; }
.bg-lines--programs { width: 600px; height: 600px; left: -300px; bottom: -280px; }
.bg-lines--promo { width: 520px; height: 520px; right: -220px; top: -120px; }
.bg-lines--about { width: 360px; height: 360px; right: -140px; top: 20px; }
.bg-lines--team { width: 460px; height: 460px; left: -280px; bottom: -220px; }
.bg-lines--reviews { width: 560px; height: 560px; right: -260px; bottom: -260px; }
.bg-lines--footer { width: 420px; height: 420px; right: -80px; top: -120px; }

/* ---------- Services ---------- */
.services { padding: clamp(72px, 7vw, 112px) 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { position: relative; display: flex; flex-direction: column; padding: 12px 12px 20px; border-radius: 20px; overflow: hidden; isolation: isolate; background: var(--cream); transition: box-shadow .5s var(--ease), background-color .5s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.service:hover { box-shadow: var(--shadow); background: var(--paper); }
/* Фото в арке, как в нише галереи */
.service-photo { display: block; aspect-ratio: 4 / 3.4; border-radius: 999px 999px 12px 12px; overflow: hidden; background: var(--cream-2); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service-photo img { transform: scale(1.05); }
.service-num { margin: 16px 8px 4px; font-size: 13px; font-weight: 500; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
.service h3 { margin: 0 8px 8px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 1.7vw, 26px); line-height: 1.15; color: var(--plum); }
.service p { margin: 0 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 8px 0; padding-top: 20px; }
.service-price { font-weight: 500; font-size: 16px; white-space: nowrap; }
.service--accent { background: var(--violet); color: #fff; padding: 28px 20px 20px; justify-content: flex-end; min-height: 380px; }
/* Текст прижат к низу, арка-линия остаётся сверху и не заходит на него */
.service--accent .service-foot { margin-top: 0; }
.service--accent:hover { background: var(--violet-deep); }
.service--accent .service-num { margin-inline: 0; color: rgba(255, 255, 255, .8); }
.service--accent h3, .service--accent p, .service--accent .service-foot { margin-inline: 0; color: #fff; }
.service--accent p { color: rgba(255, 255, 255, .82); }
.service-shape { position: absolute; right: -24px; top: -40px; width: 200px; height: 200px; z-index: -1; overflow: visible; transition: transform 1.2s var(--ease); }
.service-shape use { stroke: #fff; stroke-opacity: .4; }
.service.is-in .service-shape use { animation: draw 2.6s var(--ease) .2s forwards; }
.service--accent:hover .service-shape { transform: translateY(-6px); }

.arrow-btn { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(161, 89, 179, .4); display: grid; place-items: center; color: var(--violet-deep); overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease); }
.arrow-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.arrow-btn svg { width: 18px; height: 18px; }
.service:hover .arrow-btn, .offer:hover .arrow-btn, .person--book:hover .arrow-btn, .review--all:hover .arrow-btn { color: #fff; border-color: var(--violet); }
.service:hover .arrow-btn::before, .offer:hover .arrow-btn::before, .person--book:hover .arrow-btn::before, .review--all:hover .arrow-btn::before { transform: scale(1); }
.service--accent .arrow-btn, .review--all .arrow-btn { color: #fff; border-color: rgba(255, 255, 255, .55); }
.service--accent .arrow-btn::before, .review--all .arrow-btn::before { background: #fff; }
.service--accent:hover .arrow-btn, .review--all:hover .arrow-btn { color: var(--violet-deep); border-color: #fff; }

.consult { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 24px 28px; border-radius: 20px; border: 1px solid rgba(161, 89, 179, .3); background: var(--paper); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.consult h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--plum); }
.consult p { margin: 0; max-width: 680px; font-size: 15px; color: var(--ink-2); }

/* ---------- Programs ---------- */
.programs { padding: clamp(72px, 7vw, 112px) 0; background: var(--cream); }
.programs-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.programs-text { margin: 20px 0 40px; max-width: 420px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
/* Фото в арке с отступающим контуром — та же рамка, что на первом экране */
.arch-photo { position: relative; margin: 0; }
.arch-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 20px 20px; box-shadow: var(--shadow); }
.arch-photo::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(161, 89, 179, .5); border-radius: 999px 999px 20px 20px; transform: translate(14px, -14px); }
.programs-photo { width: min(360px, 82%); aspect-ratio: 3 / 4; }
.pg-list { display: grid; gap: 12px; }
.pg { display: grid; grid-template-columns: 1fr auto 48px; align-items: center; gap: 20px; padding: 20px 20px 20px 24px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.pg h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--plum); }
.pg h3 span { margin-left: 8px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--violet-deep); white-space: nowrap; }
.pg p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.pg-price { display: grid; justify-items: end; gap: 2px; margin: 0; text-align: right; white-space: nowrap; }
.pg-price b { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pg-price s { font-size: 13px; color: var(--mute); }
.pg--accent { background: var(--plum); color: #fff; }
.pg--accent h3 { color: #fff; }
.pg--accent h3 span { color: var(--peach); }
.pg--accent p, .pg--accent .pg-price s { color: rgba(255, 255, 255, .72); }
.pg-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(161, 89, 179, .4); color: var(--violet-deep); position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease); }
.pg-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.pg-btn svg { width: 18px; height: 18px; }
.pg-btn:hover { color: #fff; border-color: var(--violet); }
.pg-btn:hover::before { transform: scale(1); }
.pg--accent .pg-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.pg--accent .pg-btn::before { background: #fff; }
.pg--accent .pg-btn:hover { color: var(--plum); border-color: #fff; }
.pg-more { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 12px; font-weight: 500; color: var(--violet-deep); background: linear-gradient(var(--violet), var(--violet)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.pg-more:hover { background-size: 100% 1px; }
.pg-more:hover .ico { transform: translateX(3px); }

/* ---------- Promo ---------- */
.promo { padding: clamp(72px, 7vw, 112px) 0; }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* Карточки акций — в тёплом градиенте их первого экрана */
.offer { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 24px 24px 24px; border-radius: 20px; background: var(--grad-soft); overflow: hidden; isolation: isolate; transition: box-shadow .5s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .6s var(--ease); }
.offer:hover { box-shadow: var(--shadow); }
.offer:hover::after { opacity: .35; }
.offer--main { background: var(--grad); }
.offer--main:hover::after { opacity: 0; }
.offer-tag { font-size: 14px; font-weight: 500; color: var(--plum); }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.offer-price b { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 3.2vw, 48px); line-height: 1; color: var(--plum); }
.offer-price s, .offer-price span { font-size: 15px; color: rgba(58, 35, 64, .6); }
.offer-text { margin-top: auto; padding-right: 56px; font-size: 14px; line-height: 1.55; color: rgba(30, 35, 35, .78); }
.offer .arrow-btn { position: absolute; right: 20px; bottom: 20px; border-color: rgba(58, 35, 64, .3); color: var(--plum); }
.offer--main .offer-text { color: var(--plum-deep); }

/* ---------- About ---------- */
.about { padding: clamp(72px, 7vw, 112px) 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); gap: 12px; aspect-ratio: 1 / 1.06; }
.frame { position: relative; overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow); border-radius: 18px; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease), transform 6s linear; }
.frame img.is-active { opacity: 1; transform: scale(1); }
.frame--tall { grid-column: 1 / 7; grid-row: 1 / 9; border-radius: 999px 999px 18px 18px; }
.frame--top { grid-column: 7 / 13; grid-row: 1 / 5; }
.frame--mid { grid-column: 7 / 13; grid-row: 5 / 9; }
.frame--low { grid-column: 1 / 5; grid-row: 9 / 13; }
.frame--arch { grid-column: 5 / 9; grid-row: 9 / 13; border-radius: 999px 999px 18px 18px; }
.about-copy .title { margin-bottom: 20px; }
.about-text { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.why-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; }
.why-list li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.why-list b { font-weight: 500; color: var(--plum); }
.why-list span { color: var(--ink-2); line-height: 1.55; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--ink-2); }
.facts svg { width: 16px; height: 16px; color: var(--violet); }
.address { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) auto auto; align-items: end; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.address > div { align-self: start; }
.address > div > span { display: block; margin-bottom: 4px; font-size: 13px; color: var(--mute); }
.address b { font-weight: 400; }
.address a { white-space: nowrap; transition: color .3s; }
.address > div > a:hover { color: var(--violet-deep); }
.map-mini--sq { justify-self: end; }

/* ---------- Team ---------- */
.team { padding: clamp(72px, 7vw, 112px) 0; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* Карточки команды без наведения: они не кликабельны. Три фото — любительские, временные */
.person { margin: 0; padding: 12px 12px 20px; border-radius: 20px; background: var(--cream); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 12px 12px; background: var(--cream-2); }
.person figcaption { display: grid; gap: 2px; padding: 16px 8px 0; }
.person b { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--plum); }
.person figcaption span { font-size: 14px; color: var(--ink-2); }
.person--book { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 24px; overflow: hidden; isolation: isolate; background: var(--violet-soft); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.person--book:hover { background: #EEDFF2; box-shadow: var(--shadow); }
.person-shape { position: absolute; right: -40px; top: -30px; width: 240px; height: 240px; z-index: -1; overflow: visible; }
.person-shape use { stroke-opacity: var(--line-op); }
.person--book.is-in .person-shape use { animation: draw 3s var(--ease) .2s forwards; }
.person-more { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.person-cta { font-family: var(--display); font-size: 26px; line-height: 1.15; color: var(--plum); padding-right: 56px; }
.person--book .arrow-btn { position: absolute; right: 20px; bottom: 20px; }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(72px, 7vw, 112px) 0; background: var(--cream); }
.score { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 16px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease); }
.score:hover { box-shadow: var(--shadow); }
.score-num { font-weight: 300; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.score-meta { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.stars { display: inline-flex; gap: 2px; color: var(--terra); }
.stars svg { width: 15px; height: 15px; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 24px; margin: -4px -2px 0; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; position: relative; margin: 0; padding: 24px; border-radius: 20px; background: var(--paper); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s var(--ease); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--mute); }
.review figcaption b { font-size: 16px; font-weight: 500; color: var(--ink); }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.initial { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-deep); font-family: var(--display); font-size: 22px; line-height: 1; }
.review--all { background: var(--violet); color: #fff; justify-content: flex-end; overflow: hidden; isolation: isolate; min-height: 320px; }
.review--all:hover { box-shadow: var(--shadow); }
.review-shape { position: absolute; right: -40px; top: -30px; width: 220px; height: 220px; z-index: -1; overflow: visible; }
.review-shape use { stroke: #fff; stroke-opacity: .4; }
.review--all.is-in .review-shape use { animation: draw 3s var(--ease) .3s forwards; }
.review-all-num { font-weight: 300; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.review-all-text { font-size: 15px; line-height: 1.55; max-width: 220px; opacity: .92; padding-right: 52px; }
.review--all .arrow-btn { position: absolute; right: 24px; bottom: 24px; }
.review-nav { display: flex; gap: 8px; justify-content: flex-end; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(161, 89, 179, .4); background: transparent; color: var(--violet-deep); display: grid; place-items: center; transition: background-color .4s var(--ease), color .4s var(--ease); }
.round-btn svg { width: 18px; height: 18px; }
.round-btn .flip { transform: scaleX(-1); }
.round-btn:hover { background: var(--violet); color: #fff; }

/* ---------- Gift ---------- */
.gift { padding: clamp(56px, 6vw, 96px) 0; }
.gift-card { position: relative; display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--grad); overflow: hidden; isolation: isolate; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.gift-lotus { flex: none; width: clamp(120px, 14vw, 200px); height: auto; aspect-ratio: 1172 / 944; color: var(--violet-deep); opacity: .85; }
.gift-copy { flex: 1; }
.gift-copy .eyebrow { color: var(--plum); }
.gift-copy .eyebrow .arch-mark { color: var(--plum); }
.gift-copy p:last-child { margin: 12px 0 0; max-width: 460px; font-size: 16px; color: var(--plum-deep); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--plum); color: rgba(255, 255, 255, .72); border-radius: 32px 32px 0 0; padding: clamp(56px, 6vw, 88px) 0 24px; font-size: 15px; }
.footer .bg-lines use { stroke: #D9A9E4; stroke-opacity: .3; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .6fr 1fr 1.1fr; gap: clamp(24px, 3vw, 48px); }
.brand--light { color: #fff; }
.brand--light .brand-lotus { color: #D9A9E4; }
.brand--light .brand-text span { color: rgba(255, 255, 255, .6); }
.footer-brand p { margin: 20px 0; max-width: 280px; line-height: 1.6; }
.footer .social { color: #fff; border-color: rgba(255, 255, 255, .3); width: 40px; height: 40px; }
.footer .social svg { width: 18px; height: 18px; }
.footer .social::before { background: #fff; }
.footer .social:hover { color: var(--plum); border-color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: #fff; }
.footer-col a { width: fit-content; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-phone { font-weight: 500; color: #fff; }
.studio { display: block; align-self: start; border-radius: 20px; overflow: hidden; background: var(--paper); color: var(--ink); }
.studio-map { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.studio:hover .studio-map img { transform: scale(1.06); }
.studio-text { display: grid; gap: 2px; padding: 16px 20px; font-size: 14px; color: var(--ink-2); }
.studio-text b { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--plum); background: linear-gradient(var(--violet), var(--violet)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.studio-text b .ico { width: 16px; height: 16px; color: var(--violet); opacity: .5; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.studio:hover .studio-text b { background-size: 100% 1px; }
.studio:hover .studio-text b .ico { opacity: 1; transform: translate(2px, -2px); }

.rating-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.rating { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background-color .4s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.rating:hover { background: rgba(255, 255, 255, .12); }
.rating-logo { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 17px; line-height: 1; transition: transform .5s var(--ease), background-color .5s var(--ease); }
.rating-logo::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rating:hover .rating-logo { transform: scale(1.06); }
.rating:hover .rating-logo::after { opacity: 1; transform: scale(1); }
.rating-logo--ya { background: #FC3F1D; }
.rating-logo--ya svg { width: 20px; height: 20px; }
.rating-logo--gis { background: #29A35A; }
.rating-logo--book { background: var(--violet); color: #fff; }
.rating-logo--book svg { width: 18px; height: 18px; }
.rating-body { display: grid; gap: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.rating-body b { font-size: 15px; font-weight: 500; color: #fff; }

.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer-legal p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.legal-links a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.legal-links a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-copy { grid-column: 1 / -1; }

/* ---------- Dialogs ---------- */
.sheet { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; padding: 0; border-radius: 24px; background: var(--bg); color: var(--ink); box-shadow: 0 24px 64px rgba(30, 35, 35, .22); }
.sheet--wide { width: min(980px, calc(100% - 32px)); }
.sheet[open] { animation: sheet-in .4s var(--ease); }
.sheet::backdrop { background: rgba(44, 26, 49, .5); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.sheet-inner { position: relative; padding: clamp(24px, 5vw, 48px); }
.sheet-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--violet-deep); display: grid; place-items: center; transition: background-color .4s var(--ease), color .4s var(--ease); }
.sheet-close svg { width: 20px; height: 20px; }
.sheet-close:hover { background: var(--violet); color: #fff; }
.sheet h2 { margin: 0 56px 12px 0; font-family: var(--display); font-size: clamp(30px, 4vw, 40px); font-weight: 400; line-height: 1.12; color: var(--plum); }
.sheet p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.sheet p a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.sheet .eyebrow { margin-bottom: 8px; }
.fields { display: grid; gap: 16px; }
.fields label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.fields input, .fields select { width: 100%; height: 48px; border: 1px solid rgba(30, 35, 35, .14); background: var(--paper); padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); border-radius: 12px; transition: border-color .3s var(--ease); }
.fields select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23A159B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 16px center / 20px no-repeat; }
.fields select:hover, .fields input:hover { border-color: rgba(161, 89, 179, .45); }
.fields input:focus, .fields select:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.check + .check { margin-top: 12px; }
.check:last-of-type { margin-bottom: 24px; }
.check input { flex: none; accent-color: var(--violet); width: 18px; height: 18px; margin: 1px 0 0; cursor: pointer; }
.check label { cursor: pointer; }
.check a { color: var(--violet-deep); text-decoration: underline; text-decoration-color: rgba(161, 89, 179, .4); text-underline-offset: 3px; }
.sheet .feedback { margin: 16px 0 0; color: var(--violet-deep); font-weight: 500; }
.sheet .feedback:empty { display: none; }
.price-groups { columns: 2 340px; column-gap: 48px; margin: 24px 0 8px; }
.price-groups section { break-inside: avoid; margin-bottom: 28px; }
.price-groups h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--plum); }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-list dt { color: var(--ink-2); }
.price-list dd { margin: 0; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet .price-note { font-size: 14px; color: var(--mute); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(4n+2), .promo-grid .reveal:nth-child(3n+2), .pg-list .reveal:nth-child(2), .people .reveal:nth-child(4n+2), .review-track .reveal:nth-child(2), .rating-row .reveal:nth-child(2) { transition-delay: .06s; }
.service-grid .reveal:nth-child(4n+3), .promo-grid .reveal:nth-child(3n), .pg-list .reveal:nth-child(3), .people .reveal:nth-child(4n+3), .review-track .reveal:nth-child(3), .rating-row .reveal:nth-child(3) { transition-delay: .12s; }
.service-grid .reveal:nth-child(4n), .pg-list .reveal:nth-child(4), .people .reveal:nth-child(4n), .review-track .reveal:nth-child(4) { transition-delay: .18s; }
.reveal.is-in:hover { transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1520px) {
  .header-main .nav .phone { display: none; }
}
@media (max-width: 1320px) {
  .header-main { gap: 20px; }
  .nav { gap: 18px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service--accent { min-height: 0; }
}
@media (max-width: 1100px) {
  :root { --header-h: 112px; }
  .header-main .nav { display: none; }
  .header-main .header-actions { margin-left: auto; }
  .burger { display: block; }
  .review-track { grid-auto-columns: calc((100% - 16px) / 2.2); }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .legal-links { justify-content: flex-start; }
  .programs-grid { grid-template-columns: 1fr; }
  .programs-photo { display: none; }
  .why-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 1101px) { .drawer { display: none !important; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { padding: 40px 0 8px; }
  .gallery { width: min(380px, 78%); }
  .hero-lotus { left: 0; bottom: 72px; width: 88px; height: 71px; }
  .section-top { display: block; }
  .intro, .score { margin-top: 20px; }
  .score { display: inline-flex; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
  .consult { flex-direction: column; align-items: flex-start; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .header-main .btn--soft { display: none; }
}
@media (max-width: 650px) {
  :root { --header-h: 108px; }
  .header-main { height: 68px; }
  .util-addr { display: none; }
  .brand-lotus { width: 40px; height: 32px; }
  .brand-text b { font-size: 21px; }
  .brand-text span { font-size: 10px; letter-spacing: .02em; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-proof { flex-wrap: wrap; }
  .team-card { flex: 1 1 100%; }
  .hero-proof > .map-mini { width: 100%; aspect-ratio: 3 / 1; }
  .gallery-caption { right: auto; left: 50%; bottom: -18px; transform: translateX(-50%); }
  .hero-lotus { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .offer { min-height: 220px; }
  .pg { grid-template-columns: 1fr 48px; gap: 12px 16px; padding: 20px; }
  .pg-body { grid-column: 1 / -1; }
  .pg-price { justify-items: start; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .collage { gap: 8px; }
  .address { grid-template-columns: 1fr 1fr; }
  .address > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .map-mini--sq { grid-column: 1 / -1; justify-self: stretch; width: 100%; aspect-ratio: 3 / 1; }
  .people { gap: 12px; }
  .person b { font-size: 20px; }
  .person-cta { font-size: 22px; }
  .review-track { grid-auto-columns: 86%; }
  .footer { border-radius: 24px 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .people { grid-template-columns: 1fr; }
  .person img { aspect-ratio: 1; }
}
/* Мобильная шапка: проверено на 320, 360, 375, 390, 414 — без переноса и горизонтального скролла */
@media (max-width: 480px) {
  .header-main { gap: 12px; }
  .brand { gap: 8px; }
  .brand-lotus { width: 34px; height: 28px; }
  .brand-text b { font-size: 20px; }
  .brand-text span { display: none; }
  .header-main .btn--main { padding: 0 16px; font-size: 14px; }
  .header-main .btn--main .ico { display: none; }
}
@media (max-width: 400px) {
  .burger { width: 40px; height: 40px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 16px; }
  .burger span:last-child { top: 23px; }
  .header-util .socials { gap: 6px; }
  .header-util .social { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  .brand-lotus { display: none; }
  .brand-text b { font-size: 19px; }
  .header-main .btn--main { padding: 0 12px; }
  .hide-xs { display: none; }
}

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