:root {
  --pink: #ED1475; --pink-h: #CC075E; --ink: #18191D; --mute: #707580; --bg: #FFFFFF; --bg2: #F7F7F9; --line: #E5E7ED;
  --pink-soft: #FDEBF3; --r: 18px; --r-s: 14px; --shadow: 0 6px 24px rgba(24, 25, 29, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px; --head-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 6.4vw, 54px); font-weight: 800; }
h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mute { color: var(--mute); font-size: 15px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--pink); color: #fff; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--pink-h); }
.btn:focus-visible { outline-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16px; box-shadow: 0 8px 20px rgba(237, 20, 117, .25); }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--pink); border: 1.5px solid var(--pink); box-shadow: none; }
.btn-ghost:hover { background: var(--pink-soft); }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { background: var(--bg2); }
.btn[aria-disabled="true"] { background: #D9DCE3; color: #6B7080; box-shadow: none; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: #D9DCE3; }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: var(--head-h); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: .02em; font-style: italic; }
.brand-sm .brand-name { font-size: 18px; }
.nav { display: none; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 2px; }
.nav a:hover { color: var(--pink); }
.top-cta { display: none; gap: 8px; }
.burger { width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(var(--head-h) - 1px); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 12px; }
.nav.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.nav.open a:last-child { border-bottom: 0; }

/* hero */
.hero { padding: 24px 0 8px; }
.hero-in { display: grid; gap: 20px; }
.lead { margin-top: 14px; font-size: 17px; color: #3A3D47; max-width: 34em; border-left: 3px solid var(--pink); padding-left: 14px; }
.cta-row { display: grid; gap: 10px; margin-top: 20px; }
.hint { margin-top: 10px; font-size: 14px; color: var(--mute); }
.hero-photo { border-radius: 22px; overflow: hidden; background: var(--bg2); aspect-ratio: 2 / 1; max-height: 190px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

/* секции */
.sec { padding: 28px 0; }
.sec + .sec { padding-top: 12px; }
.promo { display: grid; gap: 12px; }
.promo-card { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 18px; border-radius: var(--r); background: var(--pink-soft); border: 1px solid #F7C6DD; }
.promo-card .ic { width: 28px; height: 28px; color: var(--pink); }
.promo-text { flex: 1 1 240px; font-size: 18px; font-weight: 700; }

/* класс авто */
.classbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.classbar button { min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; font: 600 14px/1.2 var(--font); color: var(--ink); cursor: pointer; text-align: center; }
.classbar button:hover { border-color: var(--pink); }
.classbar button[aria-checked="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
#classHint { margin-bottom: 14px; }

/* карточки */
.cards { display: grid; gap: 12px; margin-top: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 18px; }
.card .short { color: #3A3D47; font-size: 15px; }
.card .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.price { font-weight: 800; font-size: 20px; color: var(--pink); white-space: nowrap; }
.price.ask { font-size: 15px; font-weight: 700; color: var(--mute); white-space: normal; }
.dur { display: inline-flex; align-items: center; gap: 5px; color: var(--mute); font-size: 14px; white-space: nowrap; }
.dur .ic { width: 16px; height: 16px; }
.card .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.skel { min-height: 160px; background: linear-gradient(100deg, var(--bg2) 30%, #fff 50%, var(--bg2) 70%); background-size: 200% 100%; animation: sk 1.2s infinite linear; box-shadow: none; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.more { background: none; border: 0; color: var(--pink); font: 600 15px/1.3 var(--font); cursor: pointer; padding: 10px 0; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; text-align: left; }
.more .ic { width: 18px; height: 18px; transition: transform .15s; }
.more[aria-expanded="true"] .ic { transform: rotate(180deg); }
.desc { white-space: pre-line; font-size: 15px; color: #3A3D47; background: var(--bg2); border-radius: var(--r-s); padding: 12px 14px; }
.more-row { margin-top: 16px; }

/* все услуги */
#allList { margin-top: 8px; }
.grp { margin-top: 22px; }
.grp h3 { font-size: 19px; margin-bottom: 8px; }
.row { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; margin-bottom: 8px; display: grid; gap: 8px; }
.row-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.row-name { font-weight: 700; font-size: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--mute); background: var(--bg2); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.row-side { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.row-side .btn { margin-left: auto; }
.row-side .price { font-size: 18px; }
.row .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

/* шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg2); border-radius: var(--r); padding: 16px; }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps p { color: #3A3D47; font-size: 15px; margin-top: 2px; }

/* о мойке */
.about { display: grid; gap: 22px; }
.about-text { color: #3A3D47; font-size: 17px; max-width: 34em; border-left: 3px solid var(--pink); padding-left: 14px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.clist li { display: flex; gap: 12px; align-items: flex-start; }
.clist .ic { color: var(--pink); margin-top: 2px; }
.clist b { display: block; font-size: 13px; color: var(--mute); font-weight: 600; }
.clist a { text-decoration: none; font-weight: 700; font-size: 18px; }
.cbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.empty { background: var(--bg2); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; }

/* подвал */
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 22px 0 28px; }
.foot-in { display: grid; gap: 12px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.foot-links a { color: var(--mute); min-height: 28px; }

/* липкая кнопка (телефон) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(24, 25, 29, .08); }
body.has-sticky { padding-bottom: 76px; }

/* окно выбора бота */
.sheet { border: 0; padding: 0; border-radius: 22px; width: min(440px, calc(100% - 24px)); max-width: none; color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.sheet::backdrop { background: rgba(24, 25, 29, .5); }
.sheet-in { padding: 20px; display: grid; gap: 14px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.x { width: 44px; height: 44px; margin: -8px -8px 0 0; border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; color: var(--mute); border-radius: 12px; }
.sheet-btns { display: grid; gap: 10px; }
@media (max-width: 639px) {
  .sheet { margin: auto auto 0; width: 100%; border-radius: 22px 22px 0 0; }
  .sheet-in { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* планшет */
@media (min-width: 640px) {
  .classbar { display: flex; flex-wrap: wrap; }
  .classbar button { padding: 8px 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta-row { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .hero-photo { max-height: 260px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
  .row { grid-template-columns: 1fr auto; align-items: center; }
  .row-desc { grid-column: 1 / -1; }
  .row-side { justify-content: flex-end; gap: 4px 16px; }
  .row-side .btn { margin: 0 0 0 4px; }
  .foot-in { grid-template-columns: auto 1fr; align-items: center; }
  .foot-links { grid-column: 1 / -1; flex-direction: row; gap: 20px; }
}
/* компьютер */
@media (min-width: 900px) {
  .wrap { padding: 0 24px; }
  .nav { display: flex; }
  .top-cta { display: flex; }
  .burger { display: none; }
  .hero { padding: 40px 0 16px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
  .cta-row { grid-template-columns: 1fr; max-width: 360px; }
  .hero-photo { max-height: none; aspect-ratio: 6 / 5; border-radius: 26px; box-shadow: var(--shadow); }
  .hero-photo img { object-position: 62% 50%; }
  .sec { padding: 44px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr 1fr; gap: 48px; }
  .foot-in { grid-template-columns: auto 1fr auto; }
  .foot-links { grid-column: auto; flex-direction: column; gap: 4px; }
  .sticky { display: none; }
  body.has-sticky { padding-bottom: 0; }
}
@media (min-width: 1100px) { .cta-row { grid-template-columns: 1fr 1fr; max-width: 520px; } .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .cards { gap: 16px; } }
