/* ==========================================================
   АҚСУ — дизайн-система (токены) + шапка + первый экран
   ========================================================== */

:root {
  /* цвета */
  --bg: #0A0E13;
  --bg-2: #10161D;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --text: #EEF3F6;
  --muted: #93A1AD;
  --water: #5CE1E6;       /* акцент «чистая вода» */
  --water-deep: #0E6B78;
  --brass: #E8A25C;       /* CTA — латунь фитингов */
  --brass-2: #F4C08A;
  --ok: #56D69A;
  --warn: #F2B33D;

  /* типографика */
  --f-display: "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ритм */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --pad: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 72px;

  /* motion */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t-fast: .2s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brass); color: #1a1208; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; border-radius: 6px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--f-body); cursor: pointer; border: 0;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast);
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  color: #1B1207;
  background: linear-gradient(180deg, var(--brass-2), var(--brass));
  box-shadow: 0 10px 30px -10px rgba(232, 162, 92, .6), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--primary svg { fill: currentColor; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(232, 162, 92, .75), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--ghost svg { transition: transform var(--t-fast) var(--ease); }
.btn--ghost:hover svg { transform: translateX(3px); }
.btn--wa { color: #fff; background: #1FA855; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(10, 14, 19, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.header__row { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #BFF6F8, var(--water) 45%, var(--water-deep));
  box-shadow: 0 6px 20px -6px rgba(92, 225, 230, .6);
}
.logo__mark svg { width: 18px; height: 18px; fill: #06343A; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font: 600 17px/1 var(--f-display); letter-spacing: .06em; }
.logo__text small { color: var(--muted); font-size: 11.5px; margin-top: 4px; }

.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color var(--t-fast), background var(--t-fast); }
.nav a:hover { color: var(--text); background: var(--surface); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 700; font-size: 16px; letter-spacing: .01em; white-space: nowrap; }
.header__phone:hover { color: var(--water); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: transform var(--t-fast) var(--ease); }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; fill: #fff; }
.icon-btn--wa { background: #1FA855; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(24px, 4vh, 56px)) 0 clamp(32px, 5vh, 64px);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--a { width: 620px; height: 620px; right: -120px; top: 4%; background: rgba(92, 225, 230, .20); }
.hero__glow--b { width: 520px; height: 520px; left: -220px; bottom: -200px; background: rgba(232, 162, 92, .10); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  opacity: .45;
}

.hero__row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.status {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 20px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.status [data-status-text] { color: var(--text); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; color: var(--ok); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.status--emergency .status__dot, .status--emergency .status__dot::after { background: var(--warn); color: var(--warn); }
.status--emergency .status__dot::after { background: none; }
.status--closed .status__dot { background: var(--muted); }
.status--closed .status__dot::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__title {
  margin: 0; font: 600 clamp(34px, 4.4vw, 62px)/1.05 var(--f-display);
  letter-spacing: -.025em; text-wrap: balance;
}
.accent-num {
  background: linear-gradient(100deg, #D6FDFF, var(--water) 55%, #33B5C0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title-2 { display: block; margin-top: .18em; color: #C9D3DA; font-size: .62em; line-height: 1.15; font-weight: 500; }
.hero__title-2 em { font-style: normal; color: var(--brass-2); }

.hero__lead { margin: 20px 0 0; max-width: 34em; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.trust {
  list-style: none; margin: clamp(24px, 3.5vh, 40px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.trust li { padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.trust li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.trust b { font: 600 clamp(20px, 1.8vw, 26px)/1.1 var(--f-display); letter-spacing: -.01em; }
.trust span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Визуал ---------- */
.hero__visual { position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; justify-self: end; }
.drop { position: absolute; inset: 4% 8% 16% 14%; display: grid; place-items: center; }
.drop__svg { width: 58%; height: auto; filter: drop-shadow(0 30px 60px rgba(92, 225, 230, .35)); animation: float 7s ease-in-out infinite; }
.drop__ring { position: absolute; left: 50%; bottom: 2%; width: 70%; aspect-ratio: 4 / 1; translate: -50% 0; border-radius: 50%; border: 1px solid rgba(92, 225, 230, .35); }
.drop__ring--2 { width: 95%; opacity: .55; }
.drop__ring--3 { width: 120%; opacity: .25; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.ticket {
  position: absolute; left: 0; bottom: 4%; width: min(300px, 70%);
  padding: 20px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(28,38,48,.82), rgba(14,20,27,.78));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6);
  font-size: 14px;
  animation: rise .9s var(--ease) .55s both;
}
.ticket__head { display: flex; gap: 10px; white-space: nowrap; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.ticket__badge { color: var(--ok); background: rgba(86, 214, 154, .12); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.ticket__line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); color: #C9D3DA; }
.ticket__line b { color: var(--text); font-weight: 600; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.ticket__total span { color: var(--muted); }
.ticket__total b { font: 600 22px/1 var(--f-display); color: var(--brass-2); }
.ticket__note { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }

.chip {
  position: absolute; right: 2%; top: 10%;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(16, 22, 29, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600;
  animation: rise .9s var(--ease) .75s both;
}
.chip svg { width: 18px; height: 18px; color: var(--water); }


/* ---------- Секции (общее) ---------- */
.section { padding-block: clamp(44px, 5vw, 72px); position: relative; }
.section__head { max-width: 820px; margin-bottom: clamp(22px, 2.5vw, 36px); }
.eyebrow { margin: 0 0 16px; color: var(--water); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.section__title { margin: 0; font: 600 clamp(28px, 3.6vw, 48px)/1.12 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.muted { color: var(--muted); }

/* ---------- Преимущества (плашки) ---------- */
.perks__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.perk {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.perk:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(92,225,230,.28); }
.perk[data-reveal].is-in:hover { transform: translateY(-3px); }
.perk__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--water); background: linear-gradient(145deg, rgba(92,225,230,.18), rgba(92,225,230,.05)); box-shadow: inset 0 0 0 1px rgba(92,225,230,.2); }
.perk__icon svg { width: 24px; height: 24px; }
.perk h3 { margin: 2px 0 6px; font: 600 17px/1.25 var(--f-display); letter-spacing: -.01em; }
.perk p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- Формы (общее) ---------- */
.form { display: grid; gap: 18px; }
.input {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: var(--r-sm);
  background: #121A22; color: var(--text); font: 400 16px/1.4 var(--f-body);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--t-fast);
}
textarea.input { resize: vertical; min-height: 96px; }
.input::placeholder { color: #5E6B76; }
.input:hover { box-shadow: inset 0 0 0 1px rgba(92,225,230,.35); }
.input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--water); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--water); }
.form__msg { margin: 0; min-height: 1.4em; font-size: 14px; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-err { color: #F08A7C; }
.form__submit { width: 100%; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.form__calc { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(92,225,230,.08); color: #C9D3DA; font-size: 14px; }

/* ---------- Отзывы ---------- */
.reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.review__stars span { color: rgba(255,255,255,.15); font-size: 18px; letter-spacing: 2px; }
.review__stars span.on { color: var(--brass-2); }
.review__text { margin: 0; flex: 1; color: #C9D3DA; line-height: 1.6; }
.review__meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.review__meta span { color: var(--muted); }
.reviews__empty { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.reviews__empty p { margin: 0; max-width: 42em; color: #B9C5CE; }

.modal {
  width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: clamp(22px, 4vw, 36px);
  border: 0; border-radius: var(--r-lg); background: #111920; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -20px rgba(0,0,0,.8);
}
.modal[open] { animation: rise .35s var(--ease); }
.modal::backdrop { background: rgba(5,8,11,.7); backdrop-filter: blur(6px); }
.modal .form { position: relative; }
.modal__close { position: absolute; right: -8px; top: -8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.modal__title { margin: 0; font: 600 24px/1.2 var(--f-display); padding-right: 40px; }
.modal__sub { margin: -8px 0 0; color: var(--muted); font-size: 14px; }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 32px; line-height: 1; color: rgba(255,255,255,.15); cursor: pointer; transition: color var(--t-fast), transform var(--t-fast); }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--brass-2); }
.stars-input input:focus-visible + label { outline: 2px solid var(--water); outline-offset: 2px; border-radius: 4px; }

/* ---------- Контакты ---------- */
.contacts__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contacts__phone { display: inline-block; margin-top: 28px; font: 700 clamp(28px, 3.4vw, 44px)/1 var(--f-display); letter-spacing: -.01em; color: var(--brass-2); }
.contacts__phone:hover { color: var(--brass); }
.contacts__meta { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contacts__meta li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.contacts__meta span { color: var(--muted); }
.contacts__meta a:hover { color: var(--water); }
.contacts__form { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(92,225,230,.18); }

/* ---------- Подвал ---------- */
.footer { padding-block: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.footer__brand { color: var(--text); font: 600 16px var(--f-display); letter-spacing: .06em; }
.footer__row p { margin: 8px 0 0; }
.footer__nav { display: grid; gap: 8px; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { margin: 0 !important; }

/* появление при прокрутке */
[data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Мобильная панель ---------- */
.mobile-bar { display: none; }

/* ---------- Появление (reveal) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-blur { from { opacity: 0; transform: translateY(14px); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }
.reveal, .reveal-list > li { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * .09s + .05s); }
.reveal--blur { animation-name: rise-blur; animation-duration: .95s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 420px; aspect-ratio: 1 / .85; margin-top: 8px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust li:nth-child(n+3) { padding-top: 16px; }
  .perks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .contacts__box, .footer__row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header__phone { display: none; }
  .hero { padding-bottom: 120px; }
  .status { font-size: 13px; margin-bottom: 22px; }
  .status__sep, .status__sep + span { display: none; }
  .chip { display: none; }
  .ticket { width: min(290px, 82%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .mobile-bar {
    position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 14, 19, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -1px 0 var(--line);
  }
  .mobile-bar .btn { min-height: 52px; }
  .perks__grid { grid-template-columns: 1fr; gap: 10px; }
  .perk { padding: 18px; }
  .price-row { flex-wrap: wrap; gap: 4px 12px; }
  .price-row__name { flex: 1 1 100%; font-size: 15px; }
  .price-row__dots { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__empty .btn { width: 100%; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@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, .reveal-list > li, .ticket, .chip { animation: none; }
  [data-reveal] { transform: none; filter: none; }
}

/* ---------- Страница документа (политика) ---------- */
.doc { padding-top: calc(var(--header-h) + 40px); }
.doc__box { max-width: 760px; }
.doc h1 { margin: 0; font: 600 clamp(28px, 3.4vw, 42px)/1.15 var(--f-display); letter-spacing: -.02em; }
.doc__date { margin: 10px 0 36px; color: var(--muted); font-size: 14px; }
.doc h2 { margin: 32px 0 10px; font: 600 19px/1.3 var(--f-display); }
.doc p { margin: 0; color: #B9C5CE; line-height: 1.65; }
.doc__back { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Услуги и цены: каталог + расчёт ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.emergency {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 16px; padding: 20px 24px; border-radius: var(--r-lg);
  background: radial-gradient(80% 140% at 100% 0%, rgba(242,179,61,.12), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px rgba(242,179,61,.22);
}
.emergency__text { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.emergency b { font: 600 18px/1.3 var(--f-display); }
.emergency__note { color: var(--muted); font-size: 14.5px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag--warn { color: var(--warn); background: rgba(242,179,61,.1); box-shadow: inset 0 0 0 1px rgba(242,179,61,.25); }
.tag--warn .status__dot { background: var(--warn); }
.tag--warn .status__dot::after { color: var(--warn); background: none; }

.shop__box { display: block; }
.shop__catalog { display: grid; gap: 10px; }

/* категория-аккордеон */
.cat { border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--t-fast); }
.cat[open] { background: var(--surface-2); }
.cat summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.cat summary::-webkit-details-marker { display: none; }
.cat summary:focus-visible { outline: 2px solid var(--water); outline-offset: -2px; border-radius: var(--r-md); }
.cat__ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(92,225,230,.12); color: var(--water); }
.cat__ico svg { width: 22px; height: 22px; }
.cat__ttl { flex: 1; font: 600 17px/1.3 var(--f-display); }
.cat__ttl small { display: block; margin-top: 2px; color: var(--muted); font: 400 13px var(--f-body); }
.cat__from { text-align: right; white-space: nowrap; }
.cat__from b { display: block; font: 600 20px/1 var(--f-display); color: var(--brass-2); }
.cat__from span { font-size: 12px; color: var(--muted); }
.cat__chev { flex: none; width: 11px; height: 11px; margin-left: 4px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate .25s var(--ease); }
.cat[open] .cat__chev { rotate: -135deg; }
.cat .price-list { padding: 0 22px 16px; animation: rise .35s var(--ease); }
.shop__foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px clamp(16px, 2.5vw, 24px); border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.shop__note { margin: 0; max-width: 44em; color: var(--muted); font-size: 13.5px; }
.shop__foot-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.price-row__name { flex: none; max-width: 60%; }
.price-row__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(255,255,255,.18); transform: translateY(-4px); }
.price-row__val { white-space: nowrap; color: var(--muted); font-size: 14px; }
.price-row__val b { color: var(--text); font-size: 17px; font-weight: 600; }
.price-row__val small { margin-left: 4px; font-size: 13px; }


@media (max-width: 900px) {
  .emergency { flex-direction: column; align-items: stretch; }
  .emergency .btn { width: 100%; }
}
@media (max-width: 640px) {
  .cat summary { padding: 16px; gap: 12px; }
  .cat__ttl { font-size: 15.5px; }
  .cat .price-list { padding: 0 16px 14px; }
  .price-row { flex-wrap: wrap; gap: 4px 12px; }
  .price-row__name { max-width: none; flex: 1 1 100%; font-size: 15px; }
  .price-row__dots { display: none; }
  .shop__foot-btns { width: 100%; }
  .shop__foot-btns .btn { flex: 1 1 100%; }
}

/* ---------- Страница услуги ---------- */
.svc-page { padding-top: calc(var(--header-h) + 28px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--water); }
.crumbs [aria-current] { color: #C9D3DA; }
.svc-page__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-page__title { margin: 0; font: 600 clamp(28px, 3.6vw, 46px)/1.1 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.svc-page__from { margin: 14px 0 24px; color: var(--muted); }
.svc-page__from b { color: var(--brass-2); font-size: 1.15em; }
.svc-page__text { margin: 0 0 14px; max-width: 42em; color: #C9D3DA; line-height: 1.65; }
.svc-page__h2 { margin: 36px 0 12px; font: 600 22px/1.2 var(--f-display); }
.svc-page__prices { margin-bottom: 12px; }
.svc-page__prices .price-row:first-child { border-top: 0; }
.svc-page__side { position: sticky; top: calc(var(--header-h) + 16px); }
.svc-card { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(28,38,48,.92), rgba(14,20,27,.92)); box-shadow: inset 0 0 0 1px rgba(92,225,230,.2); }
.svc-card__title { margin: 0 0 4px; font: 600 19px var(--f-display); }
.svc-card__btn { width: 100%; }
.svc-card .form { gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-card__or { margin: 0; font-size: 14px; color: var(--muted); }
.svc-other { margin-top: 24px; }
.svc-other__list { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-other__list a { padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; transition: background var(--t-fast); }
.svc-other__list a:hover { background: var(--surface-2); }
.svc-other__list span { color: var(--muted); margin-left: 6px; font-size: 13px; }
.cat__more { display: inline-flex; margin: 4px 0 2px; color: var(--water); font-size: 14px; font-weight: 600; }
.cat__more:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .svc-page__row { grid-template-columns: 1fr; }
  .svc-page__side { position: static; }
}

/* ---------- Фото в отзывах ---------- */
.photo-pick {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px; border-radius: var(--r-sm); cursor: pointer;
  background: #121A22; color: #C9D3DA; box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500; transition: box-shadow var(--t-fast), color var(--t-fast);
}
.photo-pick:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(92,225,230,.35); }
.photo-pick:focus-within { box-shadow: inset 0 0 0 2px var(--water); }
.photo-pick svg { width: 20px; height: 20px; color: var(--water); }
/* настоящее поле прозрачное поверх кнопки: работает и клик, и клавиатура */
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photo-previews:empty { display: none; }
.photo-previews__item { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.photo-previews__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-previews__del {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: rgba(10,14,19,.8); color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
}
.review__photos { display: flex; flex-wrap: wrap; gap: 8px; }
.review__photos a { display: block; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.review__photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
.review__photos a:hover img { transform: scale(1.05); }
.photo-error { margin: 8px 0 0; color: #F08A7C; font-size: 13.5px; line-height: 1.45; }
