/* Тема «charming» — Charming Pets. Подключается только салонам с "theme": "charming" в JSON
   (new-company.js добавляет <link> и шрифты Nunito + Manrope). Остальные салоны этот файл не видят.
   Цвета — из JSON (colors), здесь только оттенки палитры логотипа и форма. */

:root {
  --matcha: #8FA332;
  --matcha-l: #B6C857;
  --pista: #EEF2D8;
  --pista-2: #F5F7E6;
  --cream-2: #F8F0E0;
  --olive-d: #3A4710;
  --font-h: Nunito, Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 16px;
  --r: 22px;
  --r-l: 28px;
  --gutter: 16px;
  --header-h: 68px;
  --shadow-s: 0 1px 2px rgba(34, 42, 18, .05), 0 4px 14px -6px rgba(75, 91, 20, .16);
  --shadow: 0 1px 2px rgba(34, 42, 18, .04), 0 16px 40px -18px rgba(75, 91, 20, .32);
  --shadow-l: 0 30px 70px -24px rgba(46, 56, 12, .38);
  --line: rgba(34, 42, 18, .09);
  --line-strong: rgba(34, 42, 18, .18);
  --soft: var(--pista-2);
  --soft-2: var(--pista);
  --accent-soft: #E4EBC2;
  --sunken: var(--cream-2);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 24px; --header-h: 76px; } }

body { font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, h4, .q { font-family: var(--font-h); font-weight: 900; letter-spacing: -.012em; }
h3 { font-weight: 800; }
.wrap { max-width: 1200px; }
::selection { background: var(--matcha-l); color: var(--text); }

/* ---------- Кнопки ---------- */
.btn { font-weight: 700; letter-spacing: -.005em; }
.btn-primary { box-shadow: 0 12px 26px -12px rgba(75, 91, 20, .75); }
.btn-ghost { background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--olive-d); filter: none; }
  .btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--primary); filter: none; }
}
.link { color: var(--primary); }

/* «Метка» над заголовком — фисташковая плашка с сердечком из логотипа */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; justify-self: start; max-width: 100%;
  padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--pista); color: var(--olive-d);
  font: 800 12.5px/1.2 var(--font-h); letter-spacing: .1em;
}
.eyebrow::before {
  content: ""; width: 13px; height: 13px; flex: none; background: var(--matcha);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8.2-5-9.8-10.2C1 6.9 3.6 3.5 7 3.5c2.1 0 3.8 1.1 5 2.9 1.2-1.8 2.9-2.9 5-2.9 3.4 0 6 3.4 4.8 7.3C20.2 16 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8.2-5-9.8-10.2C1 6.9 3.6 3.5 7 3.5c2.1 0 3.8 1.1 5 2.9 1.2-1.8 2.9-2.9 5-2.9 3.4 0 6 3.4 4.8 7.3C20.2 16 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Шапка ---------- */
.hdr-x {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
  transition: background-color var(--t), box-shadow var(--t), border-color var(--t);
}
.hdr-x.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 8px 24px -18px rgba(46, 56, 12, .5); }
.hdr-x .wrap { gap: 8px; }
.hdr-x .brand { margin-right: auto; }
.brand .logo-wide { display: block; height: 54px; width: auto; border-radius: 0; }
.hdr-x .hdr-nav { display: none; }
.hdr .hdr-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.burger { width: 46px; height: 46px; color: var(--olive-d); }
.burger .ico { width: 26px; height: 26px; }
@media (max-width: 359px) { .brand .logo-wide { height: 48px; } .hdr .hdr-cta { padding: 0 14px; } }
@media (min-width: 720px) { .brand .logo-wide { height: 62px; } }
@media (min-width: 1120px) {
  .hdr-x .hdr-nav { display: flex; gap: 2px; }
  .hdr-x .hdr-nav a { padding: 0 12px; font-size: 15px; color: var(--text); font-weight: 600; }
  .hdr-x .hdr-nav a:hover { background: var(--pista); color: var(--olive-d); }
  .burger { display: none; }
}

/* ---------- Бургер-меню ---------- */
.menu { position: fixed; inset: 0; z-index: 80; overflow: hidden; }
.menu[hidden] { display: none; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(34, 42, 18, .48); opacity: 0; transition: opacity .3s ease; }
.menu.open .menu-backdrop { opacity: 1; }
.menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 420px);
  display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: max(10px, env(safe-area-inset-top)) 22px calc(22px + var(--safe-b));
  background: var(--bg); box-shadow: var(--shadow-l);
  transform: translateX(104%); transition: transform .38s cubic-bezier(.16, 1, .3, 1);
}
.menu.open .menu-panel { transform: none; }
.menu-panel::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: min(280px, 100%); height: 240px; z-index: -1;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--pista); pointer-events: none;
}
/* Keep the scrollable drawer within its width, including its decoration and long labels. */
.menu-panel > * { flex-shrink: 0; min-width: 0; max-width: 100%; }
.menu-list a span { min-width: 0; overflow-wrap: anywhere; }
.menu-list a .ico { flex-shrink: 0; }
.menu-foot .btn { white-space: normal; text-align: center; }
.menu-links a { overflow-wrap: anywhere; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.menu-title { font: 800 13px var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu-x { margin-right: -10px; }
.menu-x .ico { width: 26px; height: 26px; }
.menu-list { list-style: none; margin: 6px 0 0; padding: 0; }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
  font: 800 23px/1.2 var(--font-h); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu-list a .ico { color: var(--primary); transition: transform .2s var(--ease); }
.menu-list a:hover .ico, .menu-list a:focus-visible .ico { transform: translateX(4px); }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.menu-links { display: grid; gap: 2px; }
.menu-links a { display: flex; align-items: center; gap: 10px; min-height: 46px; font-weight: 700; color: var(--olive-d); text-decoration: none; }
.menu-links .ico { width: 20px; height: 20px; color: var(--primary); }

/* ---------- Первый экран «с градиентом» ---------- */
.hero-g { --hm: min(125vw, 76svh); position: relative; margin-top: calc(var(--header-h) * -1); padding: 0 0 8px; isolation: isolate; }
.hero-g-media { position: relative; height: var(--hm); min-height: 340px; overflow: hidden; z-index: -1; background: var(--pista); }
.hero-g-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; animation: heroIn 1.2s var(--out) both; }
.hero-g-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(254, 249, 239, .35) 0%, rgba(254, 249, 239, 0) 16%, rgba(238, 242, 216, 0) 40%,
    rgba(238, 242, 216, .55) 60%, rgba(238, 242, 216, .9) 73%, rgba(246, 246, 230, .98) 84%, var(--bg) 100%);
}
.hero-g .wrap { position: relative; margin-top: calc(var(--hm) * -.27); }
.hero-g .hero-text { display: grid; gap: 12px; min-width: 0; }
.hero-g .hero-text > * { min-width: 0; }
.hero-g .eyebrow { margin: 0; background: rgba(255, 255, 255, .7); }
.hero-g h1 { font-size: clamp(38px, 11.2vw, 96px); line-height: .98; color: var(--primary); letter-spacing: -.025em; }
.hero-g .slogan { font: 700 19px/1.35 var(--font-h); color: var(--text); max-width: 26ch; }
.hero-g .hero-badge {
  position: static; justify-self: start; text-decoration: none; color: var(--text); margin-top: 2px;
  background: #fff; box-shadow: var(--shadow-s); padding: 9px 14px 9px 12px; font-size: 14.5px;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hero-g .hero-badge .ico { color: var(--matcha); width: 18px; height: 18px; }
.hero-g .hero-cta { display: grid; gap: 10px; margin-top: 8px; }
.hero-g .hero-cta .btn-primary { justify-content: space-between; padding: 0 22px 0 26px; }
.hero-g .hero-meta { margin-top: 2px; }
@media (min-width: 420px) {
  .hero-g .hero-cta { grid-template-columns: 1fr auto; }
  .hero-g .hero-cta .repeat-btn { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .hero-g { --hm: auto; min-height: min(88vh, 820px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 56px; }
  .hero-g-media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: auto; min-height: 0; }
  .hero-g-media img { object-position: 50% 30%; }
  .hero-g-media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(254, 249, 239, .85) 12%, rgba(238, 242, 216, .35) 32%, rgba(238, 242, 216, 0) 50%),
      linear-gradient(180deg, rgba(254, 249, 239, .4) 0%, rgba(254, 249, 239, 0) 18%, rgba(238, 242, 216, 0) 64%, rgba(238, 242, 216, .7) 86%, var(--bg) 100%);
  }
  .hero-g .wrap { margin-top: 0; width: 100%; }
  .hero-g .hero-text { max-width: 560px; gap: 16px; }
  .hero-g .slogan { font-size: 23px; }
  .hero-g .hero-cta { grid-template-columns: max-content max-content; }
}

/* ---------- Плашки-преимущества ---------- */
.feat-band { padding: 18px 0 0; }
.fband { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fband a, .fband li > div {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-s); border: 1px solid var(--line);
  font-weight: 700; font-size: 14.5px; line-height: 1.3; text-decoration: none; color: var(--text);
  transition: transform .25s var(--out), box-shadow .25s;
}
.fband .ic { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--pista); color: var(--primary); }
.fband .ic .ico { width: 22px; height: 22px; }
@media (hover: hover) { .fband a:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }
@media (max-width: 599px) { .fband a, .fband li > div { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (min-width: 900px) { .fband { grid-template-columns: repeat(4, 1fr); gap: 14px; } .fband a, .fband li > div { padding: 18px; font-size: 15.5px; } }

/* ---------- Секции ---------- */
.sec { padding-top: 64px; position: relative; }
.sec-head { gap: 12px; margin-bottom: 26px; }
.sec h2 { font-size: clamp(32px, 8.6vw, 54px); line-height: 1.04; }
.sec-sub { font-size: 16.5px; max-width: 60ch; }
@media (min-width: 860px) { .sec { padding-top: 104px; } .sec-head { margin-bottom: 36px; } }
/* Секции ниже первого экрана не верстаются, пока до них не доскроллили — быстрее первая отрисовка на телефоне. */
.sec, .foot-x { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
html.cv-all .sec, html.cv-all .foot-x { content-visibility: visible; } /* после перехода из меню — всё сверстано, якоря точные */

/* Органичные «пятна» в цветах палитры */
#programs::before, #reviews::before, #contacts::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--pista);
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
}
#programs::before { width: 320px; height: 280px; right: -140px; top: 40px; }
#reviews::before { width: 260px; height: 240px; left: -150px; top: 70px; background: var(--cream-2); }
#contacts::before { width: 300px; height: 260px; right: -160px; top: 120px; }
main { position: relative; isolation: isolate; overflow-x: clip; }

/* ---------- Прайс карточками ---------- */
.seg { background: var(--pista); box-shadow: none; padding: 5px; }
.seg button { min-height: 46px; padding: 0 20px; color: var(--olive-d); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
.pcards { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pcards.three { grid-template-columns: repeat(3, 1fr); } }
.pcard {
  display: grid; gap: 16px; align-content: start; padding: 22px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pcard-head { display: flex; gap: 14px; align-items: flex-start; }
.pcard-n {
  width: 46px; height: 46px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: var(--pista); color: var(--primary); font: 900 21px var(--font-h);
}
.pcard-n .ico { width: 24px; height: 24px; }
.pcard h3 { font-size: 21px; line-height: 1.2; }
.pcard-head p { color: var(--muted); font-size: 15px; margin-top: 3px; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pcard-sum { font: 900 27px/1.1 var(--font-h); color: var(--primary); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pcard-req { font: 800 18px/1.3 var(--font-h); color: var(--primary); }
.pcard-time { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--pista); color: var(--olive-d); font-weight: 700; font-size: 14px; }
.pcard-time .ico { width: 16px; height: 16px; }
.prows { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 2px; }
.prows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-strong); }
.prows li:last-child { border-bottom: 0; }
.prows b { font: 900 22px var(--font-h); color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pcard-inc .lbl, .prog .lbl, .kid .lbl, .care-lead {
  font: 800 12.5px var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.checks .ico { width: 20px; height: 20px; padding: 3px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--pista); color: var(--primary); stroke-width: 2.6; }
.pcard > .link { min-height: 40px; justify-self: start; }
.pcard > .link .ico { width: 18px; height: 18px; }
.surch { border-radius: var(--r-s); background: var(--cream-2); padding: 14px 16px; display: grid; gap: 8px; }
.surch-t { display: flex; gap: 8px; align-items: center; font: 800 14.5px var(--font-h); color: var(--olive-d); }
.surch-t .ico { width: 18px; height: 18px; color: var(--primary); }
.surch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.surch li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.surch li b { color: var(--olive-d); white-space: nowrap; font-weight: 800; }
.pnote { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-s); background: var(--pista-2); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pnote .ico { color: var(--primary); }
.price-sub { font-size: 21px; margin-top: 30px; }
.price-card { border: 1px solid var(--line); box-shadow: var(--shadow-s); border-radius: var(--r); }
.plist li { padding: 15px 18px; }
.plist li span:last-child { color: var(--primary); font-weight: 800; }
.price-cta {
  margin-top: 26px; display: grid; gap: 12px; justify-items: start; padding: 22px; border-radius: var(--r-l);
  background: var(--primary); color: var(--primary-text); position: relative; overflow: hidden;
}
.price-cta span { opacity: .9; max-width: 52ch; }
.price-cta .btn { background: #fff; color: var(--primary); box-shadow: none; }
.price-cta::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 170px; height: 150px; pointer-events: none;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--matcha); opacity: .45;
}
@media (min-width: 860px) { .price-cta { grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 26px 30px; } }

/* ---------- Комплексы ---------- */
.programs { display: grid; gap: 16px; }
@media (min-width: 1040px) { .programs { grid-template-columns: 1.08fr 1fr; align-items: start; } }
.prog {
  position: relative; overflow: hidden; display: grid; gap: 18px; align-content: start;
  padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 720px) { .prog { padding: 32px; } }
.prog-head { display: flex; gap: 14px; align-items: center; }
.prog-head .eyebrow { margin-bottom: 8px; }
.prog-ic { width: 58px; height: 58px; flex: none; border-radius: 20px; display: grid; place-items: center; background: var(--pista); color: var(--primary); }
.prog-ic .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.prog h3 { font-size: clamp(23px, 6vw, 29px); line-height: 1.15; }
.prog-lead { font-size: 16.5px; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--matcha-l); }
.timeline li:last-child::before { display: none; }
.tl-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-text); font: 900 16px var(--font-h); }
.timeline b { display: block; font: 800 17px/1.3 var(--font-h); margin-top: 7px; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.prog-result { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--pista); }
.prog-result > .ico { width: 26px; height: 26px; color: var(--primary); flex: none; margin-top: 1px; }
.prog-result b { font: 800 16px var(--font-h); color: var(--olive-d); }
.prog-result p { font-size: 15.5px; margin-top: 2px; }
.kid-groups { display: grid; gap: 12px; }
@media (min-width: 600px) and (max-width: 1039px) { .kid-groups { grid-template-columns: 1fr 1fr; } }
.kid { padding: 18px; border-radius: var(--r); background: var(--cream-2); display: grid; gap: 12px; align-content: start; }
.kid-head { display: flex; gap: 12px; align-items: center; }
.kid-head .ic { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--primary); flex: none; }
.kid-head .ic .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.kid-head b { font: 800 18px var(--font-h); display: block; }
.kid-head small { color: var(--muted); font-size: 13.5px; line-height: 1.35; display: block; }
.kid .lbl { margin-bottom: 0; }
.kid .checks li { font-size: 15px; }
.kid .checks .ico { background: var(--surface); }
.prog-note { display: flex; gap: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.prog-note .ico { width: 20px; height: 20px; color: var(--matcha); flex: none; margin-top: 2px; }
.prog-foot { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding-top: 4px; }
.prog-price { font: 800 17px var(--font-h); color: var(--olive-d); }
.prog::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 150px; z-index: 0; pointer-events: none;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--pista-2);
}
.prog > * { position: relative; z-index: 1; }

/* ---------- Декоративные услуги (новинка) ---------- */
.new-badge {
  display: inline-flex; align-items: center; vertical-align: middle; margin-left: 6px; padding: 5px 11px 5px 10px; border-radius: 999px;
  background: #7347A8; color: #fff; font: 800 12.5px/1 var(--font-h); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.new-badge::before { content: "✦"; margin-right: 5px; font-size: 11px; }
h2 .new-badge { position: relative; top: -4px; }
.lbl .new-badge { margin: 0 auto 0 4px; padding: 4px 9px; font-size: 11px; top: 0; align-self: center; }
.decor-cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .decor-cards { grid-template-columns: 1fr 1fr; gap: 16px; } }
.decor-card {
  position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; grid-template-rows: auto 1fr auto;
  padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
@media (min-width: 720px) { .decor-card { padding: 28px; } }
.decor-card::after {
  content: ""; position: absolute; right: -50px; top: -54px; width: 150px; height: 130px; z-index: 0; pointer-events: none;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: #F1E9F8;
}
.decor-card > * { position: relative; z-index: 1; }
.decor-head { display: flex; gap: 14px; align-items: center; }
.decor-head .ic { width: 52px; height: 52px; flex: none; border-radius: 18px; display: grid; place-items: center; background: #EFE6F7; color: #6A3E9E; }
.decor-head .ic .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.decor-card h3 { font-size: clamp(20px, 5.4vw, 23px); line-height: 1.2; }
.decor-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.decor-foot { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding-top: 4px; }
.decor-price { font: 800 16.5px var(--font-h); color: var(--olive-d); }

/* ---------- Уход (SPA) ---------- */
.care { margin: 64px 8px 0; padding: 56px 0 60px; border-radius: 36px; background: var(--pista); overflow: hidden; }
.care .eyebrow { background: var(--surface); }
.care::before, .care::after { content: ""; position: absolute; pointer-events: none; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; }
.care::before { width: 260px; height: 230px; right: -110px; top: -80px; background: var(--matcha-l); opacity: .45; }
.care::after { width: 200px; height: 180px; left: -110px; bottom: -70px; background: var(--surface); opacity: .6; }
.care .wrap { position: relative; z-index: 1; }
@media (min-width: 860px) { .care { margin: 104px 24px 0; padding: 88px 0 92px; border-radius: 48px; } }
.brands { display: grid; gap: 12px; }
@media (min-width: 760px) { .brands { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.brand-card { padding: 22px; border-radius: var(--r-l); background: var(--surface); display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-s); }
.brand-name { font: 900 30px/1.05 var(--font-h); color: var(--primary); letter-spacing: -.02em; }
.brand-name small { display: block; font: 700 13px var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand-origin { justify-self: start; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--matcha-l); font-size: 13px; font-weight: 700; color: var(--olive-d); }
.brand-card p { color: var(--muted); font-size: 15px; }
.tools-card { margin-top: 14px; display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-l); background: rgba(255, 255, 255, .62); }
.tools-card .ic { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: var(--primary-text); }
.tools-card h3 { font-size: 19px; }
.tools-card p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.care .price-sub { margin-top: 34px; }
.results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.results li { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 18px 12px; border-radius: var(--r); background: var(--surface); font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.results li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.results .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pista); color: var(--primary); }
@media (min-width: 900px) { .results { grid-template-columns: repeat(5, 1fr); } .results li:last-child:nth-child(odd) { grid-column: auto; } }

/* ---------- Галерея ---------- */
.ph-item { border-radius: var(--r); }
.lightbox { background: rgba(28, 32, 20, .94); touch-action: pan-y; }

/* ---------- Мастера ---------- */
.mcards { display: grid; gap: 14px; }
@media (min-width: 640px) { .mcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mcards { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); } }
.mcard { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.mcard-ph { width: 104px; flex: none; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--pista); }
.mcard-ph img { width: 100%; height: 100%; object-fit: cover; }
.mcard-mono {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
  background: linear-gradient(145deg, var(--matcha-l), var(--pista));
}
.mcard-mono span { font: 900 46px var(--font-h); color: var(--primary); }
.mcard-paw { position: absolute; right: 2px; bottom: 6px; width: 24px; height: 24px; color: var(--primary); opacity: .55; }
.mcard h3 { font-size: 23px; }
.mcard .exp { display: inline-block; margin-top: 6px; padding: 5px 11px; border-radius: 999px; background: var(--pista); color: var(--olive-d); font-size: 13.5px; font-weight: 700; }
.mcard p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Как проходит запись ---------- */
.step-card { border-radius: var(--r-l); padding: 20px; box-shadow: var(--shadow-s); }
.step-card .ic { border-radius: 18px; background: var(--pista); }
.step-card .ic::after { font-family: var(--font-h); }
.step-card h3 { font-size: 18px; }

/* ---------- Отзывы ---------- */
.rating-sum b { font-family: var(--font-h); font-weight: 900; color: var(--primary); }
.stars { color: var(--matcha); }
.review { border-radius: var(--r-l); padding: 22px; box-shadow: var(--shadow-s); }
.review-top .mono { background: var(--pista); color: var(--primary); font-family: var(--font-h); font-weight: 900; }
.rv-reply { background: var(--pista-2); border-left-color: var(--matcha); }
.car-nav button { background: var(--surface); color: var(--primary); }

/* ---------- Магазин ---------- */
.shop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 720px) { .shop { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.shop-item {
  display: grid; gap: 8px; align-content: start; height: 100%; padding: 18px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); text-decoration: none; color: var(--text);
  transition: transform .25s var(--out), box-shadow .25s;
}
.shop-item .ic { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--pista); color: var(--primary); margin-bottom: 4px; }
.shop-item .ic .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.shop-item b { font: 800 17px/1.25 var(--font-h); }
.shop-item small { color: var(--muted); font-size: 14px; line-height: 1.35; }
@media (hover: hover) { .shop-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.shop-cta { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq details { border-radius: var(--r); box-shadow: var(--shadow-s); }
.faq summary { font: 800 17px/1.3 var(--font-h); min-height: 64px; }
.faq summary .ico { color: var(--primary); }
.faq details[open] { border-color: var(--matcha-l); }

/* ---------- Контакты и партнёр ---------- */
.c-card { border-radius: var(--r-l); box-shadow: var(--shadow-s); }
.c-row .ic { background: var(--pista); }
.hours li.today { background: var(--pista); }
.partner { position: relative; background: var(--pista-2); border-style: dashed; border-color: var(--matcha-l); }
.partner-badge { justify-self: start; padding: 5px 11px; border-radius: 999px; background: var(--matcha-l); color: var(--olive-d); font: 800 12.5px var(--font-h); letter-spacing: .08em; text-transform: uppercase; }
.partner .c-row .ic { background: var(--surface); }
.partner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-actions .btn { min-height: 48px; font-size: 15px; }
.partner-note { display: flex; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.partner-note .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; }
@media (min-width: 860px) { .partner { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 24px; } .partner .partner-note { grid-column: 1 / -1; } }

/* ---------- Подвал ---------- */
.foot-x { margin-top: 72px; padding: 52px 0 calc(116px + var(--safe-b)); background: var(--pista); border-radius: 36px 36px 0 0; color: var(--muted); text-align: center; position: relative; overflow: hidden; }
.foot-x .wrap { display: grid; justify-items: center; gap: 14px; position: relative; z-index: 1; }
.foot-logo { width: 180px; height: auto; }
.foot-tag { font: 800 clamp(19px, 5vw, 24px)/1.3 var(--font-h); color: var(--olive-d); max-width: 26ch; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 700; color: var(--text); text-decoration: none; border-radius: 999px; }
.foot-nav a:hover { background: var(--surface); }
.foot-meta { font-size: 14px; }
.foot-x::before { content: ""; position: absolute; left: -90px; top: -60px; width: 260px; height: 220px; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--matcha-l); opacity: .35; }
@media (min-width: 860px) { .foot-x { margin-top: 104px; padding-bottom: 56px; border-radius: 48px 48px 0 0; } }

/* ---------- Нижняя кнопка на телефоне ---------- */
.dock { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.dock .btn { min-height: 54px; }
.dock .btn-wa { width: 54px; }

/* ---------- Мастер записи ---------- */
.wiz-panel { background: var(--bg); }
.q { font-size: 29px; }
.opt { border-radius: 20px; }
.opt .media { background: var(--pista); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { background: var(--pista-2); }
.svc-groups { display: grid; gap: 20px; }
.svc .meta .price { color: var(--primary); font-weight: 800; font-size: 15px; }
.segbar { background: var(--cream-2); }
.segbar button small { display: block; margin-top: 1px; color: var(--primary); font-weight: 700; }
.segbar button[aria-pressed="true"] small { color: var(--primary); }
.tag.pop { background: var(--accent-soft); color: var(--olive-d); }
.progress i { background: linear-gradient(90deg, var(--matcha), var(--primary)); }
.sum-total .big { font-family: var(--font-h); font-weight: 900; color: var(--primary); }
.resume { border-radius: var(--r-l); }

@media (prefers-reduced-motion: reduce) {
  .menu-panel, .menu-backdrop { transition: none; }
  .hero-g-media img { animation: none; }
}
