:root {
  --bg: #FAF7F5;
  --ink: #332D2E;
  --plum: #965B6C;
  --plum-deep: #704052;
  --rose: #A25D70;
  --eyebrow: #925A69;
  --blush: #F4E7E4;
  --blush-2: #F0E5E3;
  --blush-3: #E8DBDA;
  --linen: #EEE9E5;
  --mute: #74676A;
  --mute-2: #907E80;
  --line: rgba(150, 91, 108, .32);
  --display: "Spectral", Georgia, serif;
  --font: "Ysabeau Office", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 6vw, 96px);
  --r-card: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 124px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; 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; }
a, button { transition: background .25s, color .25s, border-color .25s, opacity .25s, box-shadow .25s; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
.sprite { position: absolute; }

.wrap { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--eyebrow); }
.title { font-family: var(--display); font-weight: 300; letter-spacing: -.015em; font-size: clamp(38px, 4vw, 64px); line-height: 1.08; margin: 0; }
.intro { font-size: 15px; line-height: 1.8; color: #7B6E70; max-width: 330px; margin: 0; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 46px; }

.arrow { flex: none; display: inline-block; width: 20px; height: 20px; vertical-align: middle; transition: transform .3s var(--ease); }
.arrow-small { width: 16px; height: 16px; margin-left: 2px; }

.button { display: inline-flex; align-items: center; gap: 42px; background: var(--plum); color: #fff; border: 0; border-radius: 100px; padding: 19px 26px; font-size: 14px; font-weight: 700; }
.button:hover { background: var(--plum-deep); }
.button:hover .arrow { transform: translate(4px, -4px); }
.button[href="#services"]:hover .arrow { transform: translateY(4px); }
.button--ghost { background: transparent; color: var(--plum-deep); border: 1px solid #B57B8A; }
.button--ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.button--ghost:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 245, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(150, 91, 108, .08), 0 10px 30px -18px rgba(112, 64, 82, .35);
  transition: box-shadow .3s, transform .45s var(--ease);
  will-change: transform;
}
/* Верхняя строка уезжает вверх сдвигом, а не схлопыванием высоты — раскладка страницы не прыгает */
.header.is-scrolled { transform: translateY(-40px); box-shadow: 0 1px 0 rgba(150, 91, 108, .1), 0 14px 40px -16px rgba(112, 64, 82, .4); }

.header-util {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 40px; font-size: 13px; color: var(--mute);
  border-bottom: 1px solid rgba(150, 91, 108, .12);
  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: 28px; margin: 0; }
.util-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7FB08A; box-shadow: 0 0 0 0 rgba(127, 176, 138, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127, 176, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 176, 138, 0); } }

.header-main { height: 84px; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.brand { font-size: 23px; font-weight: 800; letter-spacing: .02em; line-height: .85; white-space: nowrap; }
.brand small { display: block; font-size: 8px; letter-spacing: .35em; margin-top: 8px; font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: 14px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.phone)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--rose); }
.nav a:hover::after { transform: scaleX(1); }
.nav .phone { font-weight: 700; padding-left: clamp(18px, 2.2vw, 34px); border-left: 1px solid rgba(150, 91, 108, .25); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 100px; padding: 13px 20px; font-size: 14px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.pill--soft { background: var(--blush); color: var(--plum-deep); border-color: rgba(150, 91, 108, .18); }
.pill--soft:hover { background: var(--blush-3); border-color: rgba(150, 91, 108, .4); }
.pill-ring { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; transition: transform .6s var(--ease); }
.pill--soft:hover .pill-ring { transform: rotate(360deg); }
.pill--main { background: var(--plum); color: #fff; }
.pill--main:hover { background: var(--plum-deep); }
.pill--main:hover .arrow { transform: translate(3px, -3px); }

.socials { display: flex; gap: 8px; }
.social {
  position: relative; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; color: var(--plum); border: 1px solid rgba(150, 91, 108, .28); overflow: hidden; isolation: isolate;
}
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--plum); transform: scale(0); transition: transform .35s var(--ease); }
.social svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.social:hover { color: #fff; border-color: var(--plum); }
.social:hover::before { transform: scale(1); }
.social:hover svg { transform: translateY(-1px) rotate(-8deg) scale(1.1); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(150, 91, 108, .3); background: transparent; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; 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: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.drawer { padding: 8px var(--gutter) 28px; border-top: 1px solid rgba(150, 91, 108, .12); }
.drawer-nav { display: grid; }
.drawer-nav a { font-family: var(--display); font-size: 26px; letter-spacing: -.01em; padding: 10px 0; border-bottom: 1px solid rgba(150, 91, 108, .12); }
.drawer-phone { display: block; margin-top: 20px; font-weight: 700; font-size: 18px; }
.drawer-hours { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 14px; margin: 6px 0 18px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.drawer .social { width: 40px; height: 40px; }
.drawer .social svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blush); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 4vw, 72px); min-height: min(calc(100vh - var(--header-h)), 860px); padding-block: clamp(40px, 6vw, 80px); }
.hero-copy { max-width: 680px; }
.hero h1 { font-family: var(--display); font-weight: 300; letter-spacing: -.018em; font-size: clamp(44px, 5vw, 80px); line-height: 1.04; margin: 23px 0 22px; }
.hero h1 em { font-weight: 400; color: var(--rose); }
.lead { font-size: 17.5px; line-height: 1.75; max-width: 460px; color: #625659; margin: 0 0 32px; }

.hero-proof { display: flex; align-items: stretch; gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.team-card {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 18px; padding: 14px 22px 14px 14px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(150, 91, 108, .16); border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(112, 64, 82, .45);
}
.team-card:hover { background: #fff; border-color: rgba(150, 91, 108, .3); transform: translateY(-2px); }
.team-card { transition: background .3s, border-color .3s, transform .4s var(--ease); }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars .more, .bubbles img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.avatars > * { flex: none; }
.avatars > * + * { margin-left: -14px; }
.avatars .more { display: grid; place-items: center; background: var(--plum); color: #fff; }
.avatars .more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transform-origin: 50% 50%; transition: transform .5s var(--ease); }
.team-card:hover .more { background: var(--plum-deep); }
.team-card:hover .more svg { transform: rotate(90deg); }
.team-text { display: block; max-width: 175px; font-size: 14px; line-height: 1.45; color: var(--mute); }
.team-text b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; color: var(--ink); letter-spacing: -.01em; margin-bottom: 2px; }

.map-mini { position: relative; flex: 0 0 auto; width: 104px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 18px 40px -28px rgba(112, 64, 82, .45); }
.map-mini img, .footer-map-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) sepia(.28) hue-rotate(300deg) saturate(1.1) brightness(1.04) contrast(.92); 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: 9.5px; font-weight: 700; padding: 4px 4px; border-radius: 8px; background: rgba(255, 255, 255, .88); color: var(--plum-deep); }
.pin { position: absolute; left: 50%; top: 44%; width: 20px; height: 20px; margin: -20px 0 0 -10px; border-radius: 50% 50% 50% 0; background: var(--plum); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(112, 64, 82, .4); }
.pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1.5px solid var(--plum); opacity: 0; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }

.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-lines { position: absolute; left: 50%; top: 50%; width: 136%; max-width: none; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }

.hl, .bg-lines use, .service-shape use, .promo-shape use, .review-shape use {
  fill: none; stroke: var(--rose); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.hl { stroke-opacity: .45; transform-box: fill-box; transform-origin: center; }
.is-loaded .hl { animation: draw 3.2s var(--ease) forwards, drift 22s ease-in-out 3.2s infinite; }
.is-loaded .hl--inf { animation-delay: .5s, 3.7s; animation-duration: 3.4s, 26s; }
.is-loaded .hl--tri { animation-delay: 1s, 4.2s; animation-duration: 2.8s, 18s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(8deg) translateY(-10px); } }

.gallery { position: relative; z-index: 1; display: block; width: min(440px, 100%); }
.gallery::before { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(150, 91, 108, .4); border-radius: 999px 999px 40px 40px; transition: inset .5s var(--ease); pointer-events: none; }
.gallery:hover::before { inset: -20px; }
.gallery-frame { position: relative; display: block; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--blush-3); box-shadow: 0 40px 80px -40px rgba(112, 64, 82, .55); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 6s linear; }
.slide:first-child { object-position: 42% center; }
.slide.is-active { opacity: 1; transform: scale(1); }
.gallery-caption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 100px; background: rgba(250, 247, 245, .9); backdrop-filter: blur(8px); white-space: nowrap; font-size: 14px; font-weight: 700; }
.gallery-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 11px; }
.gallery-title { transition: opacity .4s; }
.gallery-dots { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 30px; }
.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: 3px; border-radius: 3px; background: rgba(150, 91, 108, .22); overflow: hidden; }
.gallery-dots span::after { content: ""; position: absolute; inset: 0; background: var(--plum); transform: scaleX(0); transform-origin: left; }
.gallery-dots .is-active span::after { animation: progress var(--slide-ms, 5000ms) linear forwards; }
.gallery.is-paused ~ .gallery-dots .is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.cursor svg { width: 30px; height: 30px; }
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: rgba(150, 91, 108, .9); 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); backdrop-filter: blur(4px); }
.cursor.is-on { opacity: 1; transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: hover) and (pointer: fine) { .gallery { cursor: none; } }

/* ---------- Services ---------- */
.services { position: relative; padding: clamp(70px, 7vw, 112px) 0; overflow: hidden; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.4vw, 24px); }
.service {
  position: relative; min-height: 300px; padding: clamp(22px, 2.1vw, 32px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--blush-2); border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease);
}
.service:nth-child(2) { background: var(--blush-3); }
.service:nth-child(3) { background: var(--linen); }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(112, 64, 82, .5); }
.service-top { display: grid; gap: 16px; justify-items: start; }
.service-number { font-size: 11px; color: #A58289; font-weight: 700; letter-spacing: .08em; }
.bubbles { display: flex; }
.bubbles img + img { margin-left: -14px; }
.bubbles img { transition: transform .4s var(--ease); }
.service:hover .bubbles img:nth-child(1) { transform: translateX(-3px); }
.service:hover .bubbles img:nth-child(3) { transform: translateX(3px); }
.service h3 { font-family: var(--display); font-size: clamp(24px, 2.15vw, 34px); font-weight: 400; letter-spacing: -.012em; margin: 0 0 12px; }
.service p { font-size: 14px; line-height: 1.65; color: var(--mute); max-width: 270px; margin: 0; padding-right: 56px; }
.service-shape { position: absolute; right: -46px; top: -56px; width: 230px; height: 230px; z-index: -1; overflow: visible; transition: transform 1.2s var(--ease); }
.service-shape use { stroke-opacity: .3; }
.service.is-in .service-shape use { animation: draw 2.6s var(--ease) .2s forwards; }
.service:hover .service-shape { transform: rotate(18deg) scale(1.06); }

.arrow-btn { position: absolute; right: clamp(22px, 2.1vw, 30px); bottom: clamp(22px, 2.1vw, 30px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(150, 91, 108, .45); display: grid; place-items: center; color: var(--plum); overflow: hidden; isolation: isolate; }
.arrow-btn svg { width: 20px; height: 20px; }
.arrow-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--plum); border-radius: 50%; transform: scale(0); transition: transform .45s var(--ease); }
.arrow-btn svg { transition: transform .35s var(--ease), color .3s; }
.service:hover .arrow-btn, .review--all:hover .arrow-btn { color: #fff; border-color: var(--plum); }
.service:hover .arrow-btn::before, .review--all:hover .arrow-btn::before { transform: scale(1); }
.service:hover .arrow-btn svg, .review--all:hover .arrow-btn svg { transform: translate(2px, -2px); }
.services-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Background lines (scroll-triggered) ---------- */
.bg-lines { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.bg-lines use { stroke-opacity: .22; }
.is-in > .bg-lines use { animation: draw 3.4s var(--ease) forwards; }
.is-in > .bg-lines { animation: float 24s ease-in-out 3.4s infinite; }
@keyframes float { 0%, 100% { transform: rotate(0) translate(0, 0); } 50% { transform: rotate(-6deg) translate(12px, -14px); } }
.services > .wrap, .reviews > .wrap, .footer > .wrap { position: relative; z-index: 1; }
.bg-lines--services { width: 560px; height: 560px; left: -200px; top: -110px; }
.bg-lines--services-b { width: 260px; height: 260px; right: 4%; bottom: -80px; }
.is-in > .bg-lines--services-b use { animation-delay: .8s; }
.bg-lines--reviews-a { width: 520px; height: 520px; right: -160px; top: -140px; }
.bg-lines--reviews-b { width: 300px; height: 300px; left: 6%; bottom: -90px; }
.bg-lines--footer { width: 640px; height: 640px; right: -200px; top: -260px; }
.bg-lines--footer-b { width: 240px; height: 240px; left: 32%; bottom: -110px; }
.is-in > .bg-lines--footer-b use { animation-delay: .6s; }

/* ---------- About (без изменений по ТЗ) ---------- */
.about { background: #E9DDDA; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42px, 8vw, 120px); align-items: stretch; }
.about-image { min-height: 570px; margin-left: calc(-1 * var(--gutter)); background: url("assets/about-photo.jpg") center center / cover no-repeat; }
.about-copy { min-width: 0; padding-block: clamp(70px, 7vw, 110px); }
.about-copy .title { margin: 18px 0 25px; max-width: 600px; }
.about-copy p { color: #716366; line-height: 1.85; font-size: 16.5px; max-width: 480px; margin: 0 0 28px; }
.address { border-top: 1px solid #CDBDBD; margin-top: 36px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 55px); font-size: 14px; line-height: 1.7; }
.address a { white-space: nowrap; }
.address span { display: block; color: var(--mute-2); font-size: 11px; margin-bottom: 4px; }

/* ---------- Reviews ---------- */
.reviews { position: relative; padding: clamp(70px, 7vw, 112px) 0; overflow: hidden; background: linear-gradient(180deg, var(--bg), #F7EFEC); }
.reviews-score { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 18px; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -30px rgba(112, 64, 82, .45); }
.score-num { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: -.012em; }
.score-meta { display: grid; gap: 2px; font-size: 13px; color: var(--mute); }
.stars { color: #D69A5B; letter-spacing: 2px; font-size: 14px; }

.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 24px; margin: -6px -2px 0; }
.review-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; position: relative; margin: 0; padding: 26px; border-radius: var(--r-card);
  background: #fff; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 24px 50px -38px rgba(112, 64, 82, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease);
}
.review--all:hover { box-shadow: 0 30px 60px -34px rgba(112, 64, 82, .5); }
.review::after { content: "“"; position: absolute; right: 22px; top: 6px; font-family: var(--display); font-size: 84px; line-height: 1; color: var(--blush-3); }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--blush); }
.review figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--mute-2); }
.review figcaption b { font-size: 15px; color: var(--ink); }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.75; color: #5F5355; }
.review--all { background: var(--plum); color: #fff; justify-content: flex-end; overflow: hidden; isolation: isolate; min-height: 300px; }
.review--all::after { content: none; }
.review-shape { position: absolute; inset: -20% -30% auto auto; width: 120%; height: 90%; z-index: -1; overflow: visible; }
.review-shape use { stroke: #fff; stroke-opacity: .35; }
.review--all.is-in .review-shape use { animation: draw 3s var(--ease) .3s forwards; }
.review-all-num { font-family: var(--display); font-size: 64px; line-height: 1; letter-spacing: -.012em; }
.review-all-text { font-size: 14px; line-height: 1.6; max-width: 210px; opacity: .9; padding-right: 50px; }
.review--all .arrow-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.review--all .arrow-btn::before { background: #fff; }
.review--all:hover .arrow-btn { color: var(--plum); border-color: #fff; }
.review-nav { display: none; gap: 10px; justify-content: flex-end; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(150, 91, 108, .4); background: transparent; color: var(--plum); display: grid; place-items: center; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn .flip { transform: scaleX(-1); }
.round-btn:hover { background: var(--plum); color: #fff; border-color: var(--plum); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: #F1E6E3; border-radius: 40px 40px 0 0; padding: clamp(56px, 6vw, 88px) 0 28px; font-size: 14px; color: var(--mute); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr 1.4fr; gap: clamp(28px, 3.5vw, 56px); }
.footer-brand .brand { color: var(--ink); display: inline-block; }
.footer-brand p { margin: 20px 0 22px; max-width: 260px; line-height: 1.7; }
.footer-brand .social { width: 40px; height: 40px; }
.footer-brand .social svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--eyebrow); }
.footer-col p { margin: 0; line-height: 1.6; }
.footer-col a { width: fit-content; }
.footer-col a:hover { color: var(--rose); }
.footer-phone { font-weight: 700; color: var(--ink); font-size: 16px; }

.footer-map { display: block; border-radius: var(--r-card); overflow: hidden; background: #fff; box-shadow: 0 24px 50px -36px rgba(112, 64, 82, .5); align-self: start; }
.footer-map-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.footer-map:hover .footer-map-img img { transform: scale(1.06); }
.footer-map-text { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 14px; color: var(--plum); font-weight: 700; }
.footer-map-text b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); letter-spacing: -.01em; margin-right: auto; }
.footer-map:hover .arrow { transform: translate(3px, -3px); }

.rating-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 56px); }
.rating { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(150, 91, 108, .12); transition: transform .4s var(--ease), background .3s, opacity .8s var(--ease); }
.rating:hover { transform: translateY(-3px); background: #fff; }
.rating-logo { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 17px; }
.rating-logo--ya { background: #FC3F1D; }
.rating-logo--gis { background: #19AA1E; }
.rating-logo--pd { background: #2E7CF6; }
.rating-body { display: grid; gap: 2px; font-size: 14px; color: var(--ink); }
.rating-badge { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--plum-deep); background: var(--blush); padding: 6px 10px; border-radius: 100px; white-space: nowrap; }
.rating-score { margin-left: auto; font-family: var(--display); font-size: 28px; color: var(--ink); }

.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(150, 91, 108, .18); display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; font-size: 13px; color: var(--mute-2); }
.footer-legal p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
.legal-links a { text-decoration: underline; text-decoration-color: rgba(150, 91, 108, .3); text-underline-offset: 3px; }
.legal-links a:hover { color: var(--rose); 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: 32px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 90px rgba(51, 45, 46, .3); }
.sheet--wide { width: min(820px, calc(100% - 32px)); }
.sheet[open] { animation: sheet-in .45s var(--ease); }
.sheet::backdrop { background: rgba(48, 35, 40, .55); backdrop-filter: blur(4px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-inner { position: relative; padding: clamp(28px, 5vw, 48px); }
.sheet-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(150, 91, 108, .3); background: transparent; font-size: 24px; line-height: 1; color: var(--plum-deep); }
.sheet-close:hover { background: var(--plum); color: #fff; }
.sheet-close { display: grid; place-items: center; padding: 0; }
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .4s var(--ease); }
.sheet-close:hover svg { transform: rotate(90deg); }
.sheet h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); font-weight: 400; letter-spacing: -.012em; margin: 8px 50px 12px 0; line-height: 1.1; }
.sheet p { font-size: 14px; color: #716366; line-height: 1.65; margin: 0 0 24px; }
.fields { display: grid; gap: 14px; }
.fields label { font-size: 13px; font-weight: 700; display: grid; gap: 7px; }
.fields input, .fields select { width: 100%; border: 1px solid #D8C9C8; background: #fff; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink); border-radius: 14px; }
.fields select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23965B6C' 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 { border-color: #B57B8A; }
.fields input:focus, .fields select:focus { outline: 2px solid var(--rose); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; font-size: 13px; line-height: 1.5; color: var(--mute); }
.check input { flex: none; accent-color: var(--plum); width: 18px; height: 18px; margin: 1px 0 0; cursor: pointer; }
.check label { cursor: pointer; }
.check a { color: var(--plum-deep); text-decoration: underline; text-decoration-color: rgba(150, 91, 108, .35); text-underline-offset: 3px; }
.check a:hover { text-decoration-color: currentColor; }
.sheet .feedback { margin: 16px 0 0; color: var(--plum-deep); font-weight: 700; }
.sheet .feedback:empty { display: none; }

.promo { position: relative; display: grid; gap: 6px; padding: 24px 28px; margin: 22px 0 28px; border-radius: 24px; background: var(--plum); color: #fff; overflow: hidden; isolation: isolate; }
.promo-shape { position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; z-index: -1; overflow: visible; }
.promo-shape use { stroke: #fff; stroke-opacity: .35; animation: draw 2.4s var(--ease) .2s forwards; }
.promo-tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.promo b { font-size: 16px; max-width: 360px; }
.promo-price { font-family: var(--display); font-size: 36px; letter-spacing: -.01em; }
.price-groups { display: grid; gap: 24px; margin-bottom: 28px; }
.price-groups h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -.01em; }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(150, 91, 108, .15); font-size: 14px; }
.price-list dt { color: #5F5355; }
.price-list dd { margin: 0; font-weight: 700; white-space: nowrap; }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0 18px; }
.team-grid figure { margin: 0; text-align: center; }
.team-grid img { width: 100%; max-width: 140px; aspect-ratio: 1; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 16px 34px -24px rgba(112, 64, 82, .6); }
.team-grid figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--mute); line-height: 1.4; }
.team-grid b { font-size: 15px; color: var(--ink); }
.team-note { text-align: center; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in:hover { transform: translateY(-6px); }
.rating.reveal.is-in:hover, .review--all.reveal.is-in:hover { transform: translateY(-4px); }
figure.review.reveal.is-in:hover { transform: none; }
.service-grid .reveal:nth-child(2), .review-track .reveal:nth-child(2), .rating-row .reveal:nth-child(2) { transition-delay: .1s; }
.service-grid .reveal:nth-child(3), .review-track .reveal:nth-child(3), .rating-row .reveal:nth-child(3) { transition-delay: .2s; }
.review-track .reveal:nth-child(4) { transition-delay: .3s; }
.reveal.is-in:hover { transition-delay: 0s; }

/* ---------- Responsive ---------- */
.util-phone { display: none; font-weight: 700; color: var(--ink); }
@media (max-width: 1320px) {
  .header-main .nav .phone { display: none; }
  .util-phone { display: inline-flex; }
  .header-main { gap: 20px; }
  .nav { gap: 20px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 116px; }
  .header-main .nav { display: none; }
  .header-main .header-actions { margin-left: auto; }
  .burger { display: block; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2.2); }
  .review-nav { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .legal-links { justify-content: flex-start; }
}
@media (min-width: 1101px) { .drawer { display: none !important; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 620px; }
  .hero-visual { padding: 20px 0 10px; }
  .gallery { width: min(400px, 82%); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:last-child { grid-column: 1 / -1; }
  .section-top { display: block; }
  .intro, .reviews-score { margin-top: 20px; }
  .reviews-score { display: inline-flex; }
  .about-grid { gap: clamp(28px, 5vw, 48px); }
  .about-image { min-height: 100%; }
  .about-copy { padding-block: 64px; }
}
@media (max-width: 720px) {
  .header-util .util-addr { display: none; }
  .header-main .pill--soft { display: none; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  :root { --header-h: 108px; }
  .header-main { height: 68px; }
  .brand { font-size: 20px; }
  .pill { padding: 12px 16px; }
  .hero h1 { font-size: clamp(39px, 10vw, 58px); }
  .hero-proof { flex-wrap: wrap; }
  .team-card { flex: 1 1 100%; }
  .map-mini { width: 100%; aspect-ratio: 3 / 1; }
  .map-mini-label { left: auto; right: 10px; bottom: 10px; padding: 6px 10px; font-size: 11px; }
  .gallery { width: 86%; }
  .service-grid { grid-template-columns: 1fr; }
  .service:last-child { grid-column: auto; }
  .service { min-height: 260px; }
  .review-track { grid-auto-columns: 86%; }
  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-image { margin-inline: calc(-1 * var(--gutter)); min-height: 390px; }
  .about-copy { padding-block: 54px 64px; }
  .footer { border-radius: 28px 28px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-map { grid-column: 1 / -1; }
  .rating-row { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .header-main .pill--main { padding: 11px 14px; font-size: 13px; }
  .brand { font-size: 18px; }
  .brand small { font-size: 7px; letter-spacing: .25em; }
  .team-card { padding-right: 14px; gap: 12px; }
  .avatars img, .avatars .more { width: 46px; height: 46px; }
}

@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; }
}
