/* Series 6 «Привычный» — the look people already know from everyday Russian services (Avito, Yandex, banks, СТО networks):
   white page, light-grey blocks and cards without outlines, one accent colour, Roboto, two-row header with a top info bar.
   Structure of «Центр» (series 3, A1) unchanged. Accent: html[data-c] = blue | green | red. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --accent: #1E6FD9; --accent-hover: #1559B3; --accent-soft: #E8F1FC;
  --ink: #1F2329; --graphite: #2C3138; --steel: #6B7280; --line: #E3E6EA; --mist: #F3F4F6; --white: #FFFFFF;
  --signal: var(--accent); --signal-hover: var(--accent-hover); --ok: #21A038; --star: #FFB800;
  --on-dark-muted: rgba(255,255,255,.66); --on-dark-line: rgba(255,255,255,.14);
  --r-btn: 10px; --r-card: 16px; --r-tag: 8px;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-head: var(--font); --font-num: var(--font);
}
html[data-c="green"] { --accent: #21A038; --accent-hover: #1A8530; --accent-soft: #E7F5EA; }
html[data-c="red"]   { --accent: #E53935; --accent-hover: #C62828; --accent-soft: #FDECEB; }

body { background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.5; }
.h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -.005em; }
.h3 { font-size: 19px; font-weight: 500; letter-spacing: 0; }
.lead { font-size: 17px; color: var(--steel); }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--steel); }
.muted { color: var(--steel); }

/* Buttons */
.btn { height: 48px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 500; font-size: 16px; }
.btn--hero { height: 52px; }
.btn--main, .btn--dark { background: var(--accent); color: #fff; }
.btn--main:hover, .btn--dark:hover { background: var(--accent-hover); }
.btn--line { background: var(--mist); color: var(--ink); box-shadow: none; }
.btn--line:hover { background: var(--line); box-shadow: none; }
.btn--light { background: var(--mist); color: var(--ink); }
.field { height: 52px; border: 1px solid transparent; background: var(--mist); border-radius: var(--r-btn); }
.field:focus { border-color: var(--accent); background: #fff; }
.tag { background: var(--mist); border-radius: 6px; font-weight: 500; }
.tag--signal { background: var(--accent-soft); color: var(--accent); }
.check input { accent-color: var(--accent); }

/* Header: grey info bar + white bar */
.topbar { background: var(--mist); font-size: 13px; color: var(--steel); }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; height: 34px; align-items: center; }
@media (max-width: 767px) { .topbar__in span:last-child { display: none; } .topbar__in { font-size: 12px; } }
.hdr { background: #fff; border-bottom: 1px solid var(--line); }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.hdr .hdr__in { height: 72px; }
.hdr__nav a { padding: 8px 10px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.hdr__nav a:hover { background: none; color: var(--accent); }
.hdr__phone { font-weight: 700; font-size: 17px; }
.hdr__phone small { font-weight: 400; color: var(--steel); }
.hdr .btn { height: 44px; }
.logo { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.logo__mark { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); }
.logo__mark::before, .logo__mark::after { background: #fff; }
.logo__mark::before { left: 8px; top: 8px; height: 16px; }
.logo__mark::after { left: 8px; right: 8px; top: 20px; }
.loc-switch { background: var(--mist); border-radius: 10px; }
.loc-switch button { border-radius: 8px; color: var(--steel); font-weight: 500; }
.loc-switch button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.hdr__burger { background: var(--mist); color: var(--ink); border-radius: 10px; }

/* Hero: centred title + familiar search field */
.hero { padding-top: 56px; background: #fff; }
@media (min-width: 1024px) { .hero { padding-top: 72px; } }
.hero__h1 { margin-top: 0; max-width: 20ch; }
.hero__lead { margin-top: 16px; }
.search { margin-top: 32px; max-width: 760px; }
.search__box { height: 64px; padding: 0 6px 0 18px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.search__box > svg circle, .search__box > svg path { stroke: var(--steel); }
.search__input { font-size: 18px; font-weight: 400; }
.search__box .btn { height: 52px; }
.search__list { border: 0; border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.res { border-radius: 8px; }
.res:hover, .res.is-act { background: var(--mist); }
.res mark { background: var(--accent-soft); color: inherit; }
.res .price { font-weight: 700; }
.chips { margin-top: 18px; gap: 8px; }
.chip { height: 36px; border: 0; border-radius: 8px; background: var(--mist); font-size: 14px; font-weight: 400; }
.chip:hover { background: var(--line); }
.chip b { color: var(--ink); font-weight: 500; }
.hero__alt { margin-top: 18px; font-weight: 500; color: var(--accent); border-bottom: 0; }
.hero__alt:hover { color: var(--accent-hover); }

/* Directions: grey cards, accent icons */
.deck-wrap { margin-top: 48px; padding-bottom: 72px; }
.deck { gap: 16px; }
.tile { border: 0; border-radius: var(--r-card); background: var(--mist); padding: 24px; min-height: 200px; transition: background .2s; }
.tile:hover { background: #E9EBEE; }
.tile__art { color: var(--accent); width: 72px; height: 72px; }
.tile--wide .tile__art { width: 132px; height: 132px; margin-top: -66px; }
.tile__art .acc { stroke: var(--accent); }
.tile__art path, .tile__art circle, .tile__art rect, .tile__art polyline, .tile__art line { stroke-width: 2.4; }
.tile h3 { font-size: 19px; font-weight: 500; }
.tile--wide h3 { font-size: 24px; }
.tile__p { color: var(--steel); font-size: 15px; }
.tile__p b { font-weight: 700; color: var(--ink); }
.tile--all { background: var(--accent); }
.tile--all:hover { background: var(--accent-hover); }
.tile--all h3 { color: #fff; font-weight: 700; }
.tile--all .tile__p { color: rgba(255,255,255,.8); }
.tile--all .go { background: #fff; color: var(--accent); border-radius: 50%; width: 48px; height: 48px; font-size: 20px; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 80px 0; } }
.section--mist { background: var(--mist); }
.section__head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
.section__head .lead { max-width: 640px; }
.card { border: 0; border-radius: var(--r-card); background: var(--mist); }
.section--mist .card { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
a.card:hover, .card.is-link:hover { transform: none; }

.symp__list { border-top: 0; display: grid; gap: 8px; }
.symp__list button { padding: 16px 20px; border: 0; border-radius: 12px; background: #fff; font-size: 17px; font-weight: 500; color: var(--ink); }
.symp__list button.is-on { background: var(--accent); color: #fff; }
.symp__list button .arr { color: inherit; }
.symp__card { border: 0; border-radius: var(--r-card); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.symp__card h3 { font-size: 22px; font-weight: 700; }
.symp__price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.symp__price b { font-size: 30px; font-weight: 700; }

.station__item { min-height: 220px; }
.station__item svg { width: 48px; height: 48px; }
.station__item svg * { stroke: var(--accent); stroke-width: 2.4; }
.station__item svg .acc { stroke: var(--accent); }

.steps { gap: 24px; }
.step { padding-top: 0; border-top: 0; }
.step::before { display: none; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; margin-bottom: 16px; }

.brands { gap: 8px; }
.brands a { border: 0; border-radius: 8px; background: var(--mist); padding: 9px 14px; font-size: 15px; font-weight: 400; }
.brands a:hover { background: var(--line); }
.brands a.is-main { background: var(--accent-soft); color: var(--accent); font-weight: 500; }

.stars i { background: var(--star); }
.rating__n { font-size: 72px; font-weight: 700; letter-spacing: -.02em; }
.rev { background: #fff; }
.guar__seal { color: var(--accent); width: 120px; }

.faq { border-top: 0; display: grid; gap: 8px; }
.faq details { border: 0; border-radius: 12px; background: var(--mist); padding: 0 20px; }
.faq summary { padding: 18px 0; font-size: 17px; font-weight: 500; }
.faq summary::after { color: var(--accent); }
.faq details p { padding-bottom: 18px; }

.locs { gap: 16px; }
.loc { background: #fff; }
.loc__map svg circle:first-of-type { fill: var(--accent); }

/* Final: standard form card */
.final { background: var(--mist); color: var(--ink); padding: 64px 0; }
@media (min-width: 1024px) { .final { padding: 80px 0; } }
.final__card { display: grid; gap: 32px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
@media (min-width: 1000px) { .final__card { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px; align-items: center; } }
.final .lead { color: var(--steel); }
.final__list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.final__list li { padding-left: 28px; position: relative; }
.final__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 8px var(--accent); }
.final__form .btn { width: 100%; }
.final__form .small { font-size: 13px; }

/* Footer */
.ftr { background: #1F2329; padding: 56px 0 120px; }
@media (min-width: 1100px) { .ftr { padding-bottom: 40px; } }
.ftr a { color: #D5D9DF; }
.ftr a:hover { color: #fff; }
.ftr h4 { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 500; color: #fff; }
.ftr .logo { color: #fff; }

/* Modal, mobile bar */
.modal__box { border-radius: 16px; }
.modal__x { border-radius: 10px; background: var(--mist); }
.okmark circle { fill: var(--accent); }
.okmark path { stroke: #fff; }
.mbar { background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.16); }
.mbar .btn--light { background: var(--mist); }
.todo { border-radius: 6px; }

/* Mockup colour switcher */
.dirbar { background: #1F2329; border-radius: 12px; }
.dirbar__s { color: #fff; }
.dirbar a { display: inline-flex; align-items: center; gap: 6px; }
.dirbar a.is-on { background: #fff; color: #1F2329; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--blue { background: #1E6FD9; } .dot--green { background: #21A038; } .dot--red { background: #E53935; }
.section__head:has(> .btn) { flex-direction: row; align-items: center; justify-content: space-between; }
/* Phones: popular jobs in one scrollable row instead of six lines */
@media (max-width: 599px) {
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ===== Illustrations: own two-tone drawings instead of photos (client: «не хватает картинок, графики») ===== */
:root { --ill-soft: #CFE0F8; --ill-grey: #CDD3DB; --ill-grey2: #E3E6EA; --ill-dark: #2B3038; }
.ill *, .scene__svg * { stroke: none; }
.tile__art.ill *, .station__item svg.ill * { stroke: none; }
.ill .a, .scene__svg .a { fill: var(--accent); }
.ill .s, .scene__svg .s { fill: var(--ill-soft); }
.ill .g, .scene__svg .g { fill: var(--ill-grey); }
.ill .d, .scene__svg .d { fill: var(--ill-dark); }
.ill .w { fill: #fff; }
.scene__svg .g2 { fill: var(--ill-grey2); }
.scene__svg .w2 { fill: #EAF2FD; }
.scene__svg .y { fill: #FFD666; }
.scene__svg .r { fill: #E53935; }
.scene__svg .sh { fill: #1F2329; opacity: .08; }
.scene__svg .lnw { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 3; }
.tile__art.ill .ln, .station__item svg.ill .ln { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__art.ill .ln--thick { stroke-width: 5; }
.tile__art.ill .lnd, .station__item svg.ill .lnd { fill: none; stroke: var(--ill-dark); stroke-width: 3.5; stroke-linecap: round; }

.tile__art.ill { width: 88px; height: 88px; }
.tile--wide .tile__art.ill { width: 168px; height: 168px; margin-top: -84px; }
@media (max-width: 899px) { .tile--wide .tile__art.ill { width: 120px; height: 120px; margin-top: -60px; } .tile__art.ill { width: 72px; height: 72px; } }
@media (max-width: 479px) { .tile--wide .tile__art.ill { margin-top: 0; width: 96px; height: 96px; } }
.station__item svg.ill { width: 64px; height: 64px; }

/* Hero scene under the search */
.scene { margin: 40px auto 0; width: 100%; max-width: 900px; }
.scene__svg { width: 100%; height: auto; display: block; overflow: visible; }
@media (max-width: 599px) { .scene { margin-top: 28px; } }
@media (max-width: 599px) { .hero__alt { display: block; text-align: center; max-width: 30ch; } }

/* ===== Real photos (Unsplash, free licence; credits in img/CREDITS.md) — client: «нужны настоящие картинки» ===== */
/* Hero on a workshop photo: dark overlay, white title, the white search stays the main tool */
.hero--photo { position: relative; padding-top: 0; background: #1F2329; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 640px; object-fit: cover; object-position: center 40%; }
.hero--photo::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; background: linear-gradient(rgba(16,20,28,.72), rgba(16,20,28,.58) 60%, rgba(16,20,28,.72)); pointer-events: none; }
.hero--photo .hero__in { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 56px; min-height: 640px; justify-content: center; color: #fff; }
.hero--photo .hero__lead { color: rgba(255,255,255,.86); }
.hero--photo .search__box { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero--photo .chip { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: none; }
.hero--photo .chip b { color: #fff; }
.hero--photo .chip:hover { background: rgba(255,255,255,.24); }
.hero--photo .hero__alt { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hero--photo .deck-wrap { position: relative; z-index: 1; background: #fff; margin-top: 0; padding-top: 48px; max-width: none; }
.hero--photo .deck { max-width: var(--container); margin: 0 auto; }
@media (max-width: 599px) { .hero__bg, .hero--photo::after { height: 560px; } .hero--photo .hero__in { min-height: 560px; padding-top: 48px; } }

/* Direction cards: photo on top, title and price below */
.tile { padding: 0; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); min-height: 0; }
.tile:hover { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.tile__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile__img { transform: scale(1.03); }
.tile__txt { padding: 16px 20px 20px; }
.tile h3 { margin-top: 0; }
.tile--wide .tile__img { aspect-ratio: auto; height: 100%; min-height: 260px; }
@media (min-width: 900px) { .tile--wide { grid-row: span 2; flex-direction: column; } .tile--wide .tile__img { flex: 1; } }
.tile--all { padding: 24px; box-shadow: none; }
.deck { grid-auto-flow: dense; }

/* Station cards: photo on top */
.station__item { padding: 0; overflow: hidden; gap: 0; }
.station__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.station__item h3 { margin: 18px 20px 6px; }
.station__item p { margin: 0 20px 22px; }

/* Booking card photo */
.final__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
/* deck grid: wide card = 2 columns × 1 row, so 6 directions + «all» fill two rows of four */
@media (min-width: 900px) { .tile--wide { grid-row: auto; } .tile--wide .tile__img { flex: none; aspect-ratio: 32 / 10.2; min-height: 0; height: auto; } }
.tile--all, .tile--all:hover { background: var(--accent); box-shadow: none; }
.tile--all:hover { background: var(--accent-hover); }
.final .check { color: var(--steel); } .final .check input { accent-color: var(--accent); }
