/* Base layout of «Центр» (series 3, A1) — structure only; every look lives in skins/*.css */
/* Direction A «Поиск», series 3. Sources per slot: 07-design/principles.md. Pattern map: 07-design/direction.md */

/* Header island (NAV-03 in brandbook shape r16) — navbar.gallery floating bars */
.hdr { position: fixed; top: 12px; left: 0; right: 0; background: none; backdrop-filter: none; border: 0; pointer-events: none; }
.hdr .hdr__in { pointer-events: auto; width: calc(100% - var(--gutter) * 2); max-width: calc(var(--container) + 48px); margin: 0 auto; height: 64px; padding: 0 10px 0 20px; border-radius: 16px; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border: 1px solid rgba(18,20,23,.08); box-shadow: 0 1px 0 rgba(18,20,23,.02); transition: box-shadow .3s var(--ease); }
.hdr.is-scrolled .hdr__in { box-shadow: 0 12px 32px rgba(18,20,23,.10); }
.hdr .btn { height: 44px; }

/* Hero: centered H1 + search as the main tool (unsection → Hero, Glide) */
.hero { position: relative; padding: 124px 0 0; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding-top: 148px; } }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 720px; background:
  radial-gradient(60% 50% at 50% 0%, rgba(255,200,30,.16), rgba(255,200,30,0) 70%),
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(18,20,23,.035) 79px 80px); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.hero__in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pill__hours { margin-left: -10px; }
@media (max-width: 479px) { .pill__hours { display: none; } }
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.hero__h1 { margin-top: 24px; max-width: 18ch; }
.hero__lead { margin-top: 24px; max-width: 620px; }

/* Search with a running highlight on the border (60fps → Uber search border highlight, MOT-43) */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.search { position: relative; width: 100%; max-width: 780px; margin-top: 40px; text-align: left; z-index: 5; }
.search__box { position: relative; display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 10px 0 24px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink), 0 24px 48px rgba(18,20,23,.08); }
.search__ring { position: absolute; inset: -3px; border-radius: 19px; padding: 3px; background: conic-gradient(from var(--a), transparent 0 70%, var(--signal) 82%, #fff3 90%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; pointer-events: none; }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 20px; font-weight: 500; background: none; }
.search__box .btn { height: 56px; }
@media (max-width: 599px) { .search__box { height: 64px; padding-left: 16px; } .search__input { font-size: 17px; } .search__box .btn { width: 48px; padding: 0; } .search__box .btn span:not(.arr) { display: none; } }
.search__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px rgba(18,20,23,.12); padding: 8px; max-height: 400px; overflow: auto; visibility: hidden; }
.search.is-open .search__list { visibility: visible; }
.res { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.res:hover, .res.is-act { background: var(--mist); }
.res small { display: block; color: var(--steel); font-size: 13px; }
.res mark { background: var(--signal); border-radius: 3px; padding: 0 1px; }
.res--empty { display: block; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; max-width: 860px; }
.chip { height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip b { font-weight: 600; color: var(--steel); font-variant-numeric: tabular-nums; }
.hero__alt { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; border-bottom: 2px solid var(--signal); padding-bottom: 2px; }
.hero__alt .arr { transition: transform .2s var(--ease); }
.hero__alt:hover .arr { transform: translateX(4px); }

/* Deck: compact presentational prices (правка 4) — light bento with line drawings (bentogrids), rises on scroll (motionsites) */
.deck-wrap { position: relative; margin-top: 56px; padding-bottom: 96px; }
.deck { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); transform-origin: 50% 0; }
@media (min-width: 900px) { .deck { grid-template-columns: repeat(4, 1fr); } .tile--wide { grid-column: span 2; } }
.tile { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 22px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s var(--ease); }
.tile:hover { border-color: var(--ink); }
.tile__art { width: 96px; height: 96px; margin: 4px 0 18px; color: var(--ink); }
.tile--wide .tile__art { position: absolute; right: 24px; top: 50%; width: 168px; height: 168px; margin: -84px 0 0; }
.tile__art path, .tile__art circle, .tile__art rect, .tile__art polyline, .tile__art line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile__art .acc { stroke: var(--signal); stroke-width: 3; }
.tile h3 { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin-top: auto; }
.tile--wide h3 { font-size: 28px; max-width: 12ch; }
.tile__p { margin-top: 6px; color: var(--steel); font-size: 15px; }
.tile__p b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.tile--all { background: var(--ink); color: var(--white); border-color: var(--ink); justify-content: space-between; }
.tile--all h3 { font-size: 24px; margin-top: 0; }
.tile--all .tile__p { color: var(--on-dark-muted); }
.tile--all .go { width: 52px; height: 52px; border-radius: 12px; background: var(--signal); color: var(--ink); display: grid; place-items: center; font-size: 22px; transition: transform .25s var(--ease); }
.tile--all:hover .go { transform: translateX(6px); }
@media (max-width: 899px) { .tile--wide { grid-column: span 2; } .tile--wide .tile__art { width: 120px; height: 120px; margin-top: -60px; } .tile { min-height: 190px; } .tile__art { width: 72px; height: 72px; } }
@media (max-width: 479px) { .tile--wide .tile__art { position: static; margin: 0 0 12px; width: 96px; height: 96px; } }

/* Symptoms (SEC-PRODUCT-10 in SEC-PRODUCT-06 form) */
.symp { display: grid; gap: 32px; }
@media (min-width: 1000px) { .symp { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.symp__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.symp__list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--steel); transition: color .2s; }
.symp__list button .arr { opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s var(--ease); }
.symp__list button.is-on, .symp__list button:hover, .symp__list button:focus-visible { color: var(--ink); }
.symp__list button.is-on .arr { opacity: 1; transform: none; }
.symp__card { position: sticky; top: 100px; padding: 32px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.symp__card h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 12px 0 10px; }
.symp__price { margin: 24px 0; padding: 20px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.symp__price b { display: block; font-size: 32px; letter-spacing: -.02em; }
.symp__price span { color: var(--steel); font-size: 14px; }
.symp__card .btn { width: 100%; }
@media (max-width: 999px) { .symp__card { position: static; } }

/* Station (правка 5: neutral, no claims we cannot confirm) */
.station { display: grid; gap: 12px; }
@media (min-width: 700px) { .station { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .station { grid-template-columns: repeat(4, 1fr); } }
.station__item { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.station__item svg { width: 64px; height: 64px; }
.station__item svg * { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.station__item svg .acc { stroke: var(--signal); stroke-width: 3; }
.station__item h3 { margin-top: auto; }
.station__item p { color: var(--steel); }

.brandfind { display: grid; gap: 40px; }
@media (min-width: 1000px) { .brandfind { grid-template-columns: 1fr 1.4fr; align-items: start; } }

/* Final CTA as a sentence with inline fields (cta.gallery → plnty) + footer in one dark zone (footer.design) */
.final { background: var(--ink); color: var(--white); padding: 96px 0 72px; }
@media (min-width: 1024px) { .final { padding: 140px 0 96px; } }
.final .kicker { color: var(--on-dark-muted); }
.sentence { margin-top: 28px; font-size: clamp(32px, 5.2vw, 76px); line-height: 1.18; font-weight: 600; letter-spacing: -.03em; max-width: 20ch; }
.sentence { max-width: 22ch; }
.sentence .nw { white-space: nowrap; }
.sentence input { font: inherit; letter-spacing: inherit; color: var(--signal); background: none; border: 0; outline: 0; padding: 0 .05em; border-bottom: 3px solid var(--on-dark-line); width: 3.4ch; transition: border-color .2s; field-sizing: content; min-width: 2.6ch; max-width: 100%; }
.sentence input[type=tel] { width: 5ch; min-width: 4.4ch; }
.sentence input::placeholder { color: rgba(255,255,255,.28); }
.sentence input:focus { border-color: var(--signal); }
.final__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
.final .check { color: var(--on-dark-muted); max-width: 420px; }
.final .check input { accent-color: var(--signal); }
.ftr { padding-top: 40px; border-top: 1px solid var(--on-dark-line); }
.wordmark { margin-top: 64px; font-weight: 700; font-size: min(8.6vw, 128px); line-height: .9; letter-spacing: -.05em; white-space: nowrap; color: var(--white); }
.wordmark span { color: var(--signal); }

/* ===== Series 5: removed in every skin — the «AI look» found in series 3 =====
   glow + grid behind the hero, floating glass island header, running highlight on the search,
   arrow glyph on every button. Skins below decide everything else (type, colour, shape). */
:root { --font-head: var(--font); --font-num: var(--font); }
.hero::before { display: none; }
.search__ring { display: none; }
.btn .arr { display: none; }
.hdr { position: sticky; top: 0; left: auto; right: auto; pointer-events: auto; }
.hdr .hdr__in { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); height: 68px; padding: 0 var(--gutter); border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.is-scrolled .hdr__in { box-shadow: none; }
.hero { padding-top: 64px; }
@media (min-width: 1024px) { .hero { padding-top: 88px; } }
.h1, .h2, .h3, .hero__h1, .tile h3, .symp__card h3, .symp__list button, .faq summary, .sentence, .wordmark,
.rating__n, .why__big, .step h3, .guar__items h3, .loc h3, .ftr__addr b { font-family: var(--font-head); }
.price, .chip b, .tile__p b, .symp__price b, .num, .hdr__phone, .step__n, .rating__n { font-family: var(--font-num); }
.okmark circle { fill: var(--signal); }
.loc__map rect { fill: var(--mist); }
.dirbar a.is-on { background: #fff; color: #111; }
.dirbar { background: #111; }
.dirbar__s { color: #fff; }
.step::before { content: ""; }
@media (max-width: 599px) { .search__box .btn .arr { display: inline; font-size: 20px; } }
