/* Chisto — одностраничник. Mobile-first, без фреймворков. */
:root {
  --bg: #ffffff;
  --tint: #fbf6f8;
  --blush: #fff0f4;
  --pink: #ff82aa;      /* логотип */
  --accent: #d1356f;    /* футболки, кнопки (AA на белом) */
  --accent-2: #b52a5e;
  --ink: #1e1a1c;
  --ink-2: #3d3539;
  --muted: #6c6267;
  --line: #efe6ea;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(30, 26, 28, .04), 0 12px 32px -12px rgba(30, 26, 28, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* Типографика */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.h2 {
  font: 500 clamp(28px, 6.4vw, 52px)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance;
}
.h3 { font: 500 clamp(20px, 3.6vw, 26px)/1.2 var(--display); letter-spacing: -.02em; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 6vw, 56px); display: grid; gap: 16px; }
.section__sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); max-width: 600px; }

/* Кнопки */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 8px 24px -10px rgba(209, 53, 111, .55);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(209, 53, 111, .6); }
.btn:active { transform: translateY(0); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px currentColor; --h: 46px; }
.btn--ghost:hover { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--dark { background: var(--ink); box-shadow: none; }
.btn--dark:hover { background: #000; box-shadow: none; }
.link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none;
}
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.header.is-scrolled { border-color: var(--line); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo__mark { width: 34px; height: 22px; fill: var(--pink); }
.logo__word { width: 86px; height: 21px; fill: var(--ink); }
.nav { display: none; }
.header__cta { display: none; }

/* Переключатель города */
.city {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px;
  background: var(--blush); border-radius: 999px; isolation: isolate;
}
.city__btn {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .35s var(--ease);
}
.city__btn[aria-checked="true"] { color: var(--ink); }
.city__pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: #fff; border-radius: 999px; box-shadow: 0 1px 2px rgba(30, 26, 28, .08), 0 4px 12px -4px rgba(209, 53, 111, .25);
  transition: transform .5s var(--ease-out);
}
[data-city="almaty"] .city__pill { transform: translateX(100%); }

/* Смена города: мягкое мигание текста */
[data-c] { transition: opacity .25s var(--ease); }
.is-switching [data-c] { opacity: 0; }
[data-city="almaty"] [data-only="astana"] { display: none !important; }

/* HERO */
.hero { padding: 16px 0 clamp(64px, 10vw, 120px); }
.hero__in { display: grid; gap: 20px; }
.hero__text { display: contents; }
.hero__title { order: 1; }
.hero__media { order: 2; }
.hero__actions { order: 3; }
.hero__facts { order: 4; margin-top: 0; }
.hero__lead { order: 5; }
.hero__title {
  font: 500 clamp(34px, 9.6vw, 76px)/1.02 var(--display); letter-spacing: -.045em; text-wrap: balance;
  animation: rise .9s var(--ease-out) both;
}
.hero__lead, .hero__actions, .hero__facts { animation: fade-up .9s var(--ease-out) both; }
.hero__lead { animation-delay: .35s; }
.hero__actions { animation-delay: .45s; }
.hero__facts { animation-delay: .55s; }
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__kicker {
  display: block; margin-bottom: 14px;
  font: 500 clamp(17px, 4.4vw, 22px)/1.3 var(--text); letter-spacing: 0; color: var(--accent);
}
.hero__lead { color: var(--ink-2); font-size: clamp(17px, 2.4vw, 19px); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.hero__actions .btn { width: 100%; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px;
  padding: 6px 2px; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.rating-chip:hover { border-color: var(--ink-2); }
.rating-chip b { font-weight: 600; color: var(--ink); font-size: 17px; }
.rating-chip__star { width: 20px; height: 20px; fill: #ffb400; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.hero__facts li { display: grid; gap: 2px; }
.hero__facts b { font: 500 clamp(17px, 4.6vw, 24px)/1.2 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.hero__facts span { font-size: 13px; line-height: 1.35; color: var(--muted); }

.hero__media {
  position: relative; overflow: hidden; background: var(--blush); aspect-ratio: 5/4;
  margin: 4px calc(var(--gutter) * -1);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: settle 1.8s var(--ease-out) both; }
/* «Протёрли стекло»: поверх фото — его тусклая мутная копия, мягкий край маски стирает её слева направо */
@property --wipe { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.hero__media .hero__dirty {
  position: absolute; inset: 0; pointer-events: none;
  filter: grayscale(.75) sepia(.2) brightness(.84) contrast(.9) blur(3px);
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--wipe) - 14%), #000 var(--wipe));
  mask-image: linear-gradient(90deg, transparent calc(var(--wipe) - 14%), #000 var(--wipe));
  animation: settle 1.8s var(--ease-out) both, wipe-clean 1.5s .45s cubic-bezier(.45, 0, .2, 1) both;
}
@keyframes wipe-clean { 0% { --wipe: 0%; opacity: 1; } 92% { opacity: 1; } 100% { --wipe: 118%; opacity: 0; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.hero__badge {
  position: absolute; left: 12px; bottom: 12px; max-width: 250px;
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13px !important;
  background: rgba(255, 255, 255, .95);
  border-radius: 16px; font-size: 14px; line-height: 1.35; font-weight: 500; box-shadow: var(--shadow);
}
.hero__badge svg { width: 30px; height: 20px; flex: none; fill: var(--pink); }

/* Секции */
.section { padding: clamp(72px, 11vw, 140px) 0; content-visibility: auto; contain-intrinsic-size: auto 1100px; }
.section--tint { background: var(--tint); }
.section--line { border-top: 1px solid var(--line); }

/* Услуги */
.services { display: grid; gap: 14px; }
.svc {
  display: flex; flex-direction: column; gap: 18px; padding: 26px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.svc:hover { border-color: #f4d3df; box-shadow: var(--shadow); transform: translateY(-2px); }
.svc__title { font: 500 20px/1.25 var(--display); letter-spacing: -.02em; }
.svc__text { color: var(--muted); margin-top: -8px; }
.svc__price { font: 500 26px/1 var(--display); letter-spacing: -.03em; color: var(--accent); margin-top: auto; }
.svc__price small, .panel__price small { font: 500 max(12px, .5em) var(--text); color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price small { font: 500 12px var(--text); color: var(--muted); margin-left: 2px; }
.price em { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
.svc--accent { background: var(--blush); border-color: transparent; }
.svc__note { display: block; margin-top: 6px; font: 600 13px/1.3 var(--text); color: var(--accent); letter-spacing: 0; }
.price { display: grid; }
.price li {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.price li:first-child { padding-top: 0; }
.price li:last-child { border-bottom: 0; padding-bottom: 0; }
.price span { flex: 1; color: var(--ink-2); }
.price b { font-weight: 600; white-space: nowrap; }
.price--light li { border-color: #f6d4df; }

/* Табы */
.tabs { display: grid; gap: 24px; }
.tabs__list {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; max-width: 560px; isolation: isolate;
}
.tabs__btn {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 12px 6px; border-radius: 999px;
  font-weight: 600; font-size: clamp(12.5px, 3.3vw, 15px); color: var(--muted); transition: color .35s var(--ease); white-space: nowrap;
}
.tabs__btn[aria-selected="true"] { color: #fff; }
.tabs__pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3);
  background: var(--ink); border-radius: 999px; transition: transform .5s var(--ease-out);
  transform: translateX(calc(var(--i, 0) * 100%));
}
.tabs__panel { display: grid; gap: 20px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-in { animation: panel-in .5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.panel__price { font: 500 clamp(26px, 6vw, 36px)/1 var(--display); letter-spacing: -.03em; color: var(--accent); }

.acc { display: grid; gap: 10px; }
.acc__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc__item summary {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary span { flex: 1; }
.acc__item summary em {
  font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--blush);
  border-radius: 999px; padding: 2px 10px;
}
.acc__item summary .ico { width: 22px; height: 22px; color: var(--muted); transition: transform .4s var(--ease-out); }
.acc__item[open] summary .ico { transform: rotate(45deg); }
.acc__body { overflow: hidden; }
.acc__note { padding: 0 20px 6px; color: var(--muted); font-size: 15px; font-style: italic; }
.checks { display: grid; gap: 2px; padding: 0 20px 18px; }
.checks li {
  position: relative; padding: 9px 0 9px 34px; line-height: 1.45; color: var(--ink-2);
  border-top: 1px solid #f6f0f2;
}
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d1356f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m6.5 12.5 3.6 3.6L17.5 8.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.acc__item[open] .checks li { animation: check-in .45s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 35ms); }
@keyframes check-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* Почему мы */
.why-wrap { display: grid; gap: 40px; }
.why { display: grid; border-top: 1px solid var(--line); }
.why__item {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.why__num { grid-row: span 2; font: 500 14px/1.9 var(--display); color: var(--accent); }
.why__item h3 { font: 500 clamp(19px, 4.6vw, 24px)/1.25 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.why__item p { color: var(--muted); grid-column: 2; }
.vwide { display: grid; gap: 12px; align-content: start; }
.vcard__media.vwide__media { aspect-ratio: 720/426; }
.vwide figcaption { font-weight: 500; font-size: 15px; color: var(--ink-2); }

.reel-wrap { margin-top: clamp(56px, 9vw, 96px); }
.reel-head { display: grid; gap: 6px; margin-bottom: 24px; align-content: start; }
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.vcard { scroll-snap-align: start; display: grid; gap: 12px; }
.vcard__media { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard figcaption { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.vcard__sound {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .3s var(--ease), background-color .3s;
}
.vcard__sound:hover { transform: scale(1.06); }
.vcard__sound svg { width: 22px; height: 22px; }
.vcard__sound .on, .vcard__sound[aria-pressed="true"] .off { display: none; }
.vcard__sound[aria-pressed="true"] .on { display: block; }
.vcard__sound[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* До / после */
.ba-grid { display: grid; gap: 28px; }
.ba-card { display: grid; gap: 12px; }
.ba-card figcaption { font-weight: 500; color: var(--ink-2); }
.ba-card .ba { aspect-ratio: var(--ar); }
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blush);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba--static { cursor: default; touch-action: auto; }
.ba--static img { position: absolute; inset: 0; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none;
}
.ba__handle i {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  transition: transform .3s var(--ease);
}
.ba__handle i::before, .ba__handle i::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border: solid var(--accent); border-width: 0 0 2px 2px;
}
.ba__handle i::before { left: 13px; transform: rotate(45deg); }
.ba__handle i::after { right: 13px; transform: rotate(-135deg); }
.ba.is-drag .ba__handle i { transform: scale(1.1); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.ba__range:focus-visible + * , .ba:focus-within .ba__handle i { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba__tag {
  position: absolute; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; pointer-events: none;
}
.ba__tag--b { left: 14px; background: rgba(30, 26, 28, .72); color: #fff; }
.ba__tag--a { right: 14px; background: #fff; color: var(--accent); }
.ba__tag--top { top: 14px; left: 14px; right: auto; }
.ba__tag--bottom { top: auto; bottom: 14px; left: 14px; }
.ba.is-hint .ba__before, .ba.is-hint .ba__handle { transition: clip-path 1.1s var(--ease-out), left 1.1s var(--ease-out); }

.gallery-head { margin: clamp(56px, 9vw, 96px) 0 24px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g { border-radius: var(--radius-sm); overflow: hidden; background: var(--blush); aspect-ratio: 4/5; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.g:hover img { transform: scale(1.04); }
.g:first-child { grid-column: span 2; aspect-ratio: 4/3; }

/* Отзывы */
.score { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(36px, 6vw, 60px); }
.score__num {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em;
  font: 500 clamp(64px, 18vw, 128px)/1 var(--display); letter-spacing: -.06em;
}
.score__count { font-size: .3em; letter-spacing: -.03em; color: var(--ink-2); }
.score__src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); }
.score__src .link { margin-left: 0; }
@media (min-width: 600px) { .score__src .link { margin-left: 14px; } }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: #ffb400; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; }
.reviews { align-items: start; }
.review p { flex: none; }
.review {
  display: flex; flex-direction: column; gap: 20px; padding: 26px 22px; border-radius: var(--radius);
  background: var(--tint); border: 1px solid transparent; transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.review:hover { background: #fff; border-color: var(--line); }
.review p { font-size: 16px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.review p::before { content: "“"; display: block; font: 500 44px/0.6 var(--display); color: var(--pink); margin: 10px 0 6px; }
.review footer { display: grid; gap: 2px; font-size: 14px; }
.review footer b { font-size: 15px; }
.review footer span { color: var(--muted); }
[data-city="almaty"] .review[data-review-city="almaty"],
[data-city="astana"] .review[data-review-city="astana"] { order: -1; }

/* Калькулятор */
.section--calc { background: var(--blush); }
.calc { display: grid; gap: 32px; }
.calc__intro { display: grid; gap: 16px; align-content: start; }
.calc__facts { display: grid; gap: 10px; margin-top: 8px; color: var(--ink-2); }
.calc__facts li { display: flex; align-items: center; gap: 10px; }
.calc__facts .ico { color: var(--accent); }
.calc__facts .ico--star { color: #ffb400; }
.calc__form {
  display: grid; gap: 26px; padding: 24px 20px; background: #fff; border-radius: 28px; box-shadow: var(--shadow);
}
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.field__label { font-weight: 600; font-size: 15px; padding: 0; }
.field__err { color: #b3261e; font-size: 14px; }
.opts { display: grid; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.opt b { font-weight: 600; }
.opt small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.opt:hover span { border-color: #f1c4d4; }
.opt input:checked + span { border-color: var(--accent); background: var(--blush); }
.opt input:checked + span small { color: var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.area { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; }
.area__step {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm); font-size: 22px; cursor: pointer;
  transition: border-color .3s var(--ease), color .3s;
}
.area__step:hover { border-color: var(--accent); color: var(--accent); }
.area__input { position: relative; }
.area__input input {
  width: 100%; height: 56px; padding: 0 56px 0 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: 500 24px var(--display); letter-spacing: -.02em; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.area__input input::-webkit-outer-spin-button, .area__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area__input input:focus { outline: none; border-color: var(--accent); }
.area__input span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; }
.area__input input[aria-invalid="true"] { border-color: #b3261e; }

.area__range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; cursor: pointer; }
.area__range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--accent) var(--fill, 20%), var(--line) var(--fill, 20%));
}
.area__range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
.area__range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
.area__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(209, 53, 111, .3);
}
.area__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; transition: all .3s var(--ease);
}
.chip span::before {
  content: ""; width: 0; height: 14px; overflow: hidden; transition: width .3s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.chip:hover span { border-color: #f1c4d4; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:checked + span::before { width: 14px; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.note {
  width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 15px;
}
.note:focus { outline: none; border-color: var(--accent); }
.note::placeholder { color: #9b9096; }

.total { padding: 22px 20px; border-radius: 20px; background: var(--ink); color: #fff; display: grid; gap: 4px; }
.total__label { font-size: 14px; color: rgba(255, 255, 255, .7); }
.total__sum { font: 500 clamp(34px, 9vw, 48px)/1.1 var(--display); letter-spacing: -.04em; }
.total__sum output { font-variant-numeric: tabular-nums; }
.total__hint { font-size: 14px; color: var(--pink); }
.calc__to { font-size: 14px; color: var(--muted); text-align: center; margin-top: -12px; }

/* Контакты */
.contacts { padding-top: 24px; background: var(--blush); }
.contacts__card {
  display: grid; gap: 28px; padding: 32px 22px; border-radius: 32px; background: var(--pink); color: var(--ink);
}
.contacts__logo { width: 190px; height: auto; }
.contacts__body { display: grid; gap: 22px; justify-items: start; }
.contacts__list { display: grid; gap: 14px; font-size: 17px; }
.contacts__list li { display: flex; align-items: center; gap: 12px; }
.contacts__list .ico { width: 22px; height: 22px; }
.contacts__list a { text-decoration: none; font-weight: 600; border-bottom: 1.5px solid rgba(30, 26, 28, .3); transition: border-color .3s; }
.contacts__list a:hover { border-color: var(--ink); }
.contacts .h2 { font-size: clamp(26px, 5.5vw, 40px); }

.footer { padding: 28px 0 120px; background: var(--blush); color: var(--muted); font-size: 14px; }
.footer__in { display: grid; gap: 6px; }

/* Липкая кнопка (мобильные) */
.sticky-wa {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 32px -10px rgba(209, 53, 111, .7);
  transform: translateY(150%); transition: transform .5s var(--ease-out);
}
.sticky-wa.is-on { transform: none; }

/* Появление */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ≥ 600 */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero__actions .btn { width: auto; }
  .services { grid-template-columns: 1fr 1fr; }
  [data-city="almaty"] .svc--more { grid-column: span 2; }
  .reel { grid-auto-columns: 40%; }
  .reviews { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; align-items: stretch; }
  .review p { flex: 1; }
  .hero__media { margin: 0; border-radius: var(--radius); }
  .hero__badge { left: 16px; bottom: 16px; font-size: 14px !important; max-width: 300px; padding: 12px 16px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .g:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .calc__form { padding: 32px; }
  .opts { grid-template-columns: repeat(3, 1fr); }
  .opt span { flex-direction: column; align-items: flex-start; gap: 2px; }
  .contacts__card { padding: 48px; }
  .sticky-wa { left: auto; right: 24px; padding: 0 26px; }
}

/* ≥ 960 */
@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .logo__mark { width: 40px; height: 26px; }
  .logo__word { width: 100px; height: 24px; }
  .logo { margin-right: 0; }
  .nav { display: flex; gap: 28px; margin: 0 auto; font-size: 15px; font-weight: 500; }
  .nav a { text-decoration: none; color: var(--ink-2); position: relative; padding: 6px 0; }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
  }
  .nav a:hover::after { transform: scaleX(1); }
  .header__cta { display: inline-flex; }

  .hero { padding-top: 32px; }
  .hero__in { grid-template-columns: 1.08fr 1fr; gap: 0 64px; align-items: center; }
  .hero__text { display: grid; gap: 22px; align-content: center; grid-column: 1; grid-row: 1; }
  .hero__media { grid-column: 2; grid-row: 1; aspect-ratio: 4/5; max-height: calc(100vh - var(--header-h) - 48px); }
  .hero__media img { object-position: 50% 50%; }
  .hero__badge { left: 24px; bottom: 24px; }

  .services { gap: 18px; }
  .svc { padding: 34px 32px; }

  .tabs { grid-template-columns: 1fr; }
  .acc { grid-template-columns: 1.25fr 1fr 1fr; align-items: start; gap: 16px; }
  .acc__item summary { pointer-events: none; cursor: default; }
  .acc__item summary em, .acc__item summary .ico { display: none; }

  .why-wrap { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
  .why__item { grid-template-columns: 64px 1fr; column-gap: 16px; padding: 26px 0; }
  .why__item h3 { font-size: 22px; }
  .vwide { position: sticky; top: calc(var(--header-h) + 32px); }

  .reel-wrap { display: grid; grid-template-columns: 1fr 2.6fr; gap: 64px; align-items: start; }
  .reel { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; overflow: visible; }

  .ba-grid { grid-template-columns: 1fr 1.5fr .75fr; align-items: stretch; gap: 24px; }
  .ba-card { grid-template-rows: 460px auto; }
  .ba-card .ba { aspect-ratio: auto; height: 460px; }

  .gallery { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .g:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4/5; }

  .reviews { grid-template-columns: 1fr 1fr; gap: 18px; }
  .review { padding: 34px 36px; }
  .review p { font-size: 17px; }
  .score { grid-template-columns: 1fr auto; align-items: end; justify-items: stretch; }
  .score .eyebrow, .score__num, .score__src { grid-column: 1; }


  .calc { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
  .calc__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .calc__form { padding: 40px; }

  .contacts__card { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 72px; gap: 56px; }
  .contacts__logo { width: 300px; justify-self: center; }

  .footer { padding-bottom: 40px; }
  .footer__in { grid-template-columns: 1fr auto; }
  .sticky-wa { display: none; }
}

@media (min-width: 1280px) {
  .acc__item summary { padding: 20px 22px; }
}

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