/* Общая основа лендингов Topweek.ru: адаптивность от 360 px, без внешних шрифтов и CDN. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.55;color:var(--c-text);background:var(--c-bg)}
img{max-width:100%;height:auto;display:block}
a{color:var(--c-primary)}
h1,h2,h3{line-height:1.2;margin:0 0 .5em;font-weight:700}
h1{font-size:clamp(1.75rem,6vw,2.75rem)}
h2{font-size:clamp(1.4rem,4.5vw,2rem)}
h3{font-size:1.125rem}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
.ic{flex:none;vertical-align:middle}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}
.wrap--narrow{max-width:760px}
.muted{color:var(--c-muted)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:48px;padding:.75em 1.4em;border:0;border-radius:10px;background:var(--c-accent);color:var(--c-on-accent);font:600 1rem/1.2 inherit;text-decoration:none;cursor:pointer;transition:filter .15s,transform .15s}
.btn:hover{filter:brightness(.95)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,.linklike:focus-visible{outline:3px solid var(--c-primary);outline-offset:2px}
.btn--sm{min-height:40px;padding:.5em 1em;font-size:.9rem}
.btn--block{width:100%}
.btn--ghost{background:transparent;color:var(--c-text);box-shadow:inset 0 0 0 2px var(--c-border)}
.btn[disabled]{opacity:.6;cursor:wait}
.linklike{background:none;border:0;padding:0;color:var(--c-primary);text-decoration:underline;cursor:pointer;font:inherit}

/* шапка */
.hdr{position:sticky;top:0;z-index:20;background:var(--c-surface);border-bottom:1px solid var(--c-border)}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--c-text);font-weight:700;min-width:0}
.brand__mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--c-primary);color:var(--c-on-primary)}
.brand__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34vw}
.brand__logo{height:36px;width:auto;max-width:160px;object-fit:contain}
.hdr__nav{display:none;gap:18px}
.hdr__nav a{color:var(--c-muted);text-decoration:none;font-size:.95rem}
.hdr__nav a:hover{color:var(--c-primary)}
.hdr__act{display:flex;align-items:center;gap:12px}
.hdr__phone{display:none;align-items:center;gap:6px;color:var(--c-text);text-decoration:none;font-weight:600;white-space:nowrap}

/* первый экран */
.hero{padding:28px 0 36px}
.hero__in{display:grid;gap:24px}
.eyebrow{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:4px 12px;border-radius:999px;background:var(--c-surface);box-shadow:inset 0 0 0 1px var(--c-border);font-size:.9rem;color:var(--c-muted)}
.hero__sub{font-size:1.1rem;color:var(--c-muted)}
.ticks{list-style:none;display:grid;gap:10px;margin:0 0 18px}
.ticks li{display:flex;gap:10px;align-items:flex-start}
.ticks .ic{color:var(--c-primary);margin-top:2px}
.offer{display:inline-block;margin:0 0 14px;padding:10px 16px;border-radius:12px;background:var(--c-accent);color:var(--c-on-accent);font-weight:700}
.offer small{display:block;font-weight:400;opacity:.85}
.notice{padding:10px 14px;border-radius:10px;background:var(--c-surface);box-shadow:inset 0 0 0 1px var(--c-border);font-size:.9rem;color:var(--c-muted)}
.hero__side{display:grid;gap:16px;align-content:start}
.hero__img{width:100%;border-radius:16px;object-fit:cover;aspect-ratio:4/3}
.hero__plate{display:grid;place-items:center;min-height:120px;border-radius:16px;background:var(--c-primary);color:var(--c-on-primary)}

/* форма */
.lead{background:var(--c-surface);border-radius:16px;padding:20px;box-shadow:0 8px 30px rgba(18,24,39,.10);color:var(--c-text)}
.lead__title{margin-bottom:12px}
.field{display:block;margin-bottom:12px}
.field__label{display:block;font-size:.85rem;color:var(--c-muted);margin-bottom:4px}
.field input{width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--c-border);border-radius:10px;background:#fff;color:#121827;font:inherit}
.check{display:flex;gap:10px;align-items:flex-start;margin:4px 0 14px;font-size:.88rem;color:var(--c-muted)}
.check input{width:20px;height:20px;margin-top:2px;flex:none}
.lead__msg{margin:12px 0 0;padding:10px 12px;border-radius:10px;font-size:.92rem}
.lead__msg.is-ok{background:#E3F6EA;color:#0D5F2E}
.lead__msg.is-err{background:#FDE8E8;color:#9B1C1C}
.lead__note{margin:12px 0 0;font-size:.8rem;color:var(--c-muted)}

/* секции */
.sec{padding:44px 0}
.sec--alt{background:var(--c-surface)}
.sec__title{margin-bottom:24px}
.grid{display:grid;gap:16px}
.card,.feat,.review{background:var(--c-surface);border:1px solid var(--c-border);border-radius:16px;padding:20px}
.sec--alt .card,.sec--alt .feat,.sec--alt .review{background:var(--c-bg)}
.card__icon,.feat__icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:12px;border-radius:14px;background:var(--c-primary);color:var(--c-on-primary)}
.price{color:var(--c-muted)}
.price strong{font-size:1.4rem;color:var(--c-text)}
.card__link{display:inline-flex;align-items:center;gap:4px;font-weight:600;text-decoration:none}
.steps{list-style:none;display:grid;gap:16px}
.step{display:flex;gap:16px;align-items:flex-start}
.step__n{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--c-primary);color:var(--c-on-primary);font-weight:700}
.step h3{margin-bottom:4px}
.review{margin:0;color:var(--c-text)}
.review .ic{color:var(--c-primary);opacity:.5}
.review blockquote{margin:8px 0 12px}
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.qa{border:1px solid var(--c-border);border-radius:12px;background:var(--c-bg);margin-bottom:10px;padding:0 16px}
.qa summary{cursor:pointer;padding:14px 0;font-weight:600;list-style:none}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+";float:right;font-size:1.3rem;line-height:1;color:var(--c-primary)}
.qa[open] summary::after{content:"–"}
.qa p{color:var(--c-muted)}
.contacts{display:grid;gap:12px}
.contact{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--c-border);border-radius:14px;background:var(--c-surface);color:var(--c-text);text-decoration:none}
.contact small{display:block;color:var(--c-muted);font-size:.8rem}
.contact .ic{color:var(--c-primary)}
.contact--main{font-weight:700;font-size:1.15rem}
.cta{background:var(--c-primary);color:var(--c-on-primary)}
.cta a{color:inherit}
.cta__in{display:grid;gap:20px;align-items:center}
.cta h2{color:inherit}
.ftr{padding:28px 0;background:var(--c-surface);border-top:1px solid var(--c-border);font-size:.9rem}
.ftr__in{display:grid;gap:16px}
.ftr__links{display:grid;gap:8px;justify-items:start}
.ftr p{margin:6px 0}
.age{display:inline-block;padding:2px 10px;border:2px solid var(--c-muted);border-radius:8px;font-weight:700}

/* cookie */
.cookie{position:fixed;left:12px;right:12px;bottom:12px;z-index:50;max-width:560px;margin:0 auto;padding:16px;border-radius:14px;background:var(--c-surface);color:var(--c-text);box-shadow:0 10px 40px rgba(18,24,39,.25);font-size:.9rem}
.cookie[hidden]{display:none}
.cookie p{margin:0 0 12px}
.cookie__act{display:flex;gap:8px;flex-wrap:wrap}

/* юридические страницы */
.legal__in{padding-top:24px;padding-bottom:48px}
.legal h2{margin-top:1.6em;font-size:1.2rem}

@media (min-width:640px){
  .gallery{grid-template-columns:repeat(3,1fr)}
  .grid--2{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .contacts{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:900px){
  .hdr__nav{display:flex}
  .hdr__phone{display:inline-flex}
  .brand__name{max-width:none}
  .hero{padding:48px 0 56px}
  .hero__in{grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .contacts{grid-template-columns:repeat(3,1fr)}
  .cta__in{grid-template-columns:1fr 420px}
  .ftr__in{grid-template-columns:1fr auto}
  .steps{grid-template-columns:repeat(4,1fr)}
  .step{flex-direction:column}
  .sec{padding:64px 0}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* Шаблон «Барбер» — по template/LP/6. responsive-barbershop-website-main (Bedimcode). В архиве автора только заготовка
   (пустые секции, CSS-переменные, тексты), композиция взята с его preview.png: тёмный первый экран с эмблемой и заголовком
   капсом по центру, коричневая секция «о нас» с оранжевыми счётчиками, бежевые «работы» и прайс строками, оранжевые карточки
   отзывов, бежевые карточки «мастеров» (у нас — этапы), контакты «карта + список с тёмными значками», светлый подвал в колонки.
   Фото исходника заменены фото клиента или абстрактными полосами в цветах палитры с крупной иконкой (правило 11).
   Chakra Petch без кириллицы → Tektur (OFL, близкий «техно»-гротеск); основной текст — Montserrat (OFL), всё в архиве, без CDN. */
@font-face{font-family:"Tektur";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/tektur-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Tektur";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/tektur-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/montserrat-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/montserrat-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* --bb-ink — почти чёрный первый экран и шапка; --bb-deep — «коричневые» секции (основной цвет палитры);
   --bb-sand — «бежевые» секции (поверхность с оттенком акцента); --bb-light — светлый текст на тёмном */
.tpl-barber{--bb-ink:color-mix(in srgb,var(--c-primary-dark) 22%,#0a0a0a);--bb-deep:var(--c-primary);--bb-sand:color-mix(in srgb,var(--c-accent) 16%,var(--c-surface));--bb-light:#FAFAFA;--bb-light-muted:rgba(250,250,250,.8);--bb-header:3.5rem;--bb-head-font:"Tektur","Montserrat",system-ui,sans-serif;
  font-family:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:.938rem;background:var(--c-bg);color:var(--c-text)}
.tpl-barber h1,.tpl-barber h2,.tpl-barber h3{font-family:var(--bb-head-font);font-weight:700;line-height:1.2;color:var(--c-text)}
.tpl-barber .wrap{max-width:1120px;padding:0 16px}
.tpl-barber .wrap--narrow{max-width:820px}
.tpl-barber p a,.tpl-barber .check a,.tpl-barber .lead a{color:inherit;text-decoration:underline}

/* кнопка исходника: оранжевая, малое скругление, полужирный текст */
.tpl-barber .btn{border-radius:.25rem;padding:1rem 1.75rem;min-height:auto;font-weight:600;font-size:.938rem;background:var(--c-accent);color:var(--c-on-accent);transition:background-color .3s,filter .3s}
.tpl-barber .btn:hover{filter:brightness(.92)}
.tpl-barber .btn--sm{padding:.65rem 1.25rem;font-size:.813rem}
.tpl-barber .btn--ghost{background:transparent;color:var(--c-text)}
.tpl-barber .bb-btn-dark{background:var(--bb-ink);color:var(--bb-light)}

/* заголовки секций: капсом, «техно»-шрифт */
.tpl-barber .bb-title{font-size:clamp(1.5rem,4.2vw,3rem);text-transform:uppercase;margin-bottom:1.25rem;overflow-wrap:anywhere}
.tpl-barber .bb-title--center,.tpl-barber .bb-desc--center{text-align:center}
.tpl-barber .bb-desc{color:var(--c-muted);margin-bottom:2rem;max-width:34rem}
.tpl-barber .bb-desc--center{margin-left:auto;margin-right:auto}

/* шапка: прозрачная поверх тёмного первого экрана, тёмная при прокрутке */
.tpl-barber .bb-header{position:fixed;top:0;left:0;right:0;z-index:100;background:transparent;border-bottom:0;transition:background-color .4s,box-shadow .4s}
.tpl-barber .bb-header.is-scrolled{background:var(--bb-ink);box-shadow:0 2px 16px rgba(0,0,0,.3)}
.tpl-barber .bb-nav{display:flex;align-items:center;gap:16px;height:var(--bb-header)}
.tpl-barber .bb-logo{flex:0 1 auto;min-width:9rem;margin-right:auto;color:var(--bb-light);font-family:var(--bb-head-font);font-weight:700;text-transform:uppercase;letter-spacing:.02em;text-decoration:none}
.tpl-barber .bb-logo .brand__name{max-width:60vw}
.tpl-barber .bb-list{list-style:none;display:flex;flex-direction:column;gap:2rem;margin:0;padding:0}
.tpl-barber .bb-link{color:var(--bb-light);font-weight:600;text-decoration:none;white-space:nowrap;transition:color .3s}
.tpl-barber .bb-link:hover,.tpl-barber .bb-link.is-active{color:var(--c-accent)}
.tpl-barber .bb-toggle{display:inline-grid;place-items:center;width:40px;height:40px;border:0;background:none;color:var(--bb-light);cursor:pointer}
.tpl-barber .bb-header__btn{display:none;white-space:nowrap}
@media (max-width:1149px){
  .tpl-barber .bb-menu{position:fixed;top:-110%;left:0;right:0;padding:5rem 1.5rem 3rem;background:color-mix(in srgb,var(--bb-ink) 94%,transparent);backdrop-filter:blur(12px);transition:top .4s;z-index:-1}
  .tpl-barber .bb-menu.is-open{top:0}
  .tpl-barber .bb-list{align-items:center}
}

/* первый экран: тёмный, на всю ширину, всё по центру */
.tpl-barber .bb-home{position:relative;display:grid;align-items:center;min-height:clamp(600px,100svh,820px);padding:calc(var(--bb-header) + 3rem) 0 4rem;background:var(--bb-ink);color:var(--bb-light-muted);overflow:hidden;isolation:isolate}
.tpl-barber .bb-home__bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.tpl-barber .bb-home--photo::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,10,10,.82) 0%,rgba(10,10,10,.62) 45%,rgba(10,10,10,.88) 100%)}
.tpl-barber .bb-home__deco{position:absolute;inset:0;z-index:-1;width:100%;height:100%}
.tpl-barber .bb-deco-ring{fill:none;stroke:var(--c-accent);stroke-width:2;opacity:.28}
.tpl-barber .bb-deco-stripe{fill:var(--c-accent);opacity:.14}
.tpl-barber .bb-home__in{display:flex;flex-direction:column;align-items:center;text-align:center}
.tpl-barber .bb-emblem{display:grid;place-items:center;width:96px;height:96px;margin-bottom:1.5rem;border-radius:50%;border:2px solid var(--bb-light);color:var(--c-accent);box-shadow:inset 0 0 0 6px var(--bb-ink),inset 0 0 0 8px color-mix(in srgb,var(--c-accent) 60%,transparent)}
.tpl-barber .bb-home .eyebrow{background:rgba(255,255,255,.1);box-shadow:none;color:var(--bb-light)}
.tpl-barber .bb-home__title{max-width:16ch;margin-bottom:1rem;font-size:clamp(1.875rem,6vw,4rem);text-transform:uppercase;color:var(--bb-light);overflow-wrap:anywhere}
.tpl-barber .bb-home__desc{max-width:36rem;margin-bottom:1.5rem}
.tpl-barber .bb-home__ticks{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem;margin-bottom:1.5rem;font-size:.875rem;color:var(--bb-light)}
.tpl-barber .bb-home__ticks li{align-items:center;text-align:left}
.tpl-barber .ticks .ic{color:var(--c-accent)}
.tpl-barber .offer{border-radius:.25rem;background:transparent;color:var(--c-accent);box-shadow:inset 0 0 0 1px var(--c-accent);font-family:var(--bb-head-font);font-weight:600}
.tpl-barber .bb-home .notice{max-width:36rem;background:rgba(255,255,255,.08);box-shadow:none;color:var(--bb-light)}

/* секции */
.tpl-barber .sec{padding:5rem 0 4rem}

/* «о нас»: коричневый фон, фото слева, счётчики */
.tpl-barber .bb-about{background:var(--bb-deep);color:var(--bb-light-muted)}
.tpl-barber .bb-about .bb-title{color:var(--bb-light)}
.tpl-barber .bb-about .bb-desc{color:var(--bb-light-muted)}
.tpl-barber .bb-about__in{display:grid;gap:3rem;align-items:center}
.tpl-barber .bb-counters{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1.5rem;margin:0;padding:0}
.tpl-barber .bb-counters__n{display:block;margin-bottom:.5rem;font-family:var(--bb-head-font);font-weight:700;font-size:clamp(1.75rem,4vw,3rem);line-height:1;color:var(--c-accent)}
.tpl-barber .bb-counters__title{margin:0 0 .25rem;font-size:.875rem;text-transform:uppercase;color:var(--bb-light)}
.tpl-barber .bb-counters p{margin:0;font-size:.813rem}

/* медиа: скруглённая вертикальная карточка */
.tpl-barber .bb-media{position:relative;display:grid;place-items:center;width:100%;max-width:400px;justify-self:center;aspect-ratio:4/5;border-radius:1.5rem;overflow:hidden;background:var(--bb-ink)}
.tpl-barber .bb-media__photo{width:100%;height:100%;object-fit:cover}
.tpl-barber .bb-media__deco{position:absolute;inset:0;width:100%;height:100%}
.tpl-barber .bb-media__icon{position:relative;display:grid;place-items:center;color:var(--c-accent)}

/* «работы»: бежевый фон, лента вертикальных фото */
.tpl-barber .bb-work{background:var(--bb-sand)}
.tpl-barber .bb-work__in{display:grid;gap:2rem;align-items:center}
.tpl-barber .bb-work__nav{display:flex;align-items:center;gap:.75rem}
.tpl-barber .bb-work__count{margin-right:.5rem;font-family:var(--bb-head-font);font-weight:700}
.tpl-barber .bb-arrow{display:inline-grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:var(--c-text);color:var(--c-bg);cursor:pointer}
.tpl-barber .bb-arrow--prev .ic{transform:rotate(-90deg)}
.tpl-barber .bb-arrow--next .ic{transform:rotate(90deg)}
.tpl-barber .bb-work__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;min-width:0}
.tpl-barber .bb-work__track::-webkit-scrollbar{display:none}
.tpl-barber .bb-work__img{flex:none;width:min(72%,300px);aspect-ratio:600/764;object-fit:cover;border-radius:1.5rem;scroll-snap-align:start}

/* «услуги»: бежевый фон, прайс строками, оранжевая карточка */
.tpl-barber .bb-service{background:var(--bb-sand);padding-top:3rem}
.tpl-barber .bb-about + .bb-service{padding-top:5rem}
.tpl-barber .bb-service__in{display:grid;gap:2.5rem;align-items:center}
.tpl-barber .bb-price{list-style:none;margin:0;padding:0}
.tpl-barber .bb-price__row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 0;border-bottom:1px solid color-mix(in srgb,var(--c-text) 18%,transparent)}
.tpl-barber .bb-price__name{margin:0;font-size:1rem;text-transform:uppercase}
.tpl-barber .bb-price__desc{margin:.25rem 0 0;font-size:.813rem;color:var(--c-muted)}
.tpl-barber .bb-price__val{flex:none;margin:0;font-family:var(--bb-head-font);font-weight:700;font-size:1.125rem;text-align:right;white-space:nowrap}
.tpl-barber .bb-price__val small{display:block;font-family:"Montserrat",sans-serif;font-weight:400;font-size:.75rem;color:var(--c-muted)}
.tpl-barber .bb-service__card{display:grid;gap:1rem;justify-items:start;padding:2rem 1.75rem;border-radius:1.5rem;background:var(--c-accent);color:var(--c-on-accent)}
.tpl-barber .bb-service__card h3{margin:0;font-size:1.375rem;text-transform:uppercase;color:var(--c-on-accent)}
.tpl-barber .bb-service__card p{margin:0}
.tpl-barber .bb-service__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:.75rem;background:var(--bb-ink);color:var(--c-accent)}
.tpl-barber .bb-service__list{list-style:none;display:grid;gap:.5rem;margin:0;padding:0;font-size:.875rem}
.tpl-barber .bb-service__list li{display:flex;gap:.5rem;align-items:flex-start}

/* отзывы: оранжевые карточки как «testimonial» исходника */
.tpl-barber .bb-reviews{background:var(--bb-sand);padding-top:1rem}
.tpl-barber .bb-reviews__grid{display:grid;gap:1.5rem}
.tpl-barber .bb-review{border:0;border-radius:1.5rem;padding:2rem 1.75rem;background:var(--c-accent);color:var(--c-on-accent)}
.tpl-barber .bb-review .ic{color:var(--c-on-accent);opacity:.6}
.tpl-barber .bb-review figcaption strong{font-family:var(--bb-head-font)}
.tpl-barber .bb-review a{color:inherit}

/* «как работаем» — карточки «мастеров» исходника */
.tpl-barber .bb-expert{background:var(--c-bg)}
.tpl-barber .bb-expert__grid{list-style:none;display:grid;gap:1.5rem;margin:0;padding:0}
.tpl-barber .bb-expert__card{display:flex;flex-direction:column;gap:.75rem;padding:1.5rem 1.5rem 0;border-radius:1.5rem;background:var(--bb-sand);overflow:hidden}
.tpl-barber .bb-expert__head{display:flex;justify-content:space-between;gap:1rem}
.tpl-barber .bb-expert__name{margin:0 0 .25rem;font-size:1.125rem}
.tpl-barber .bb-expert__role{font-size:.813rem;color:var(--c-muted)}
.tpl-barber .bb-expert__n{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:.4rem;background:var(--c-text);color:var(--c-bg);font-family:var(--bb-head-font);font-weight:700;font-size:.875rem}
.tpl-barber .bb-expert__text{margin:0;font-size:.875rem;color:var(--c-muted)}
.tpl-barber .bb-expert__img{display:grid;place-items:center;margin-top:auto;height:150px;border-radius:1.25rem 1.25rem 0 0;background:var(--bb-deep);color:var(--c-accent);background-image:repeating-linear-gradient(135deg,transparent 0 22px,color-mix(in srgb,var(--c-accent) 14%,transparent) 22px 34px)}

/* вопросы: строки с разделителями */
.tpl-barber .bb-faq{background:var(--c-bg);padding-top:2rem}
.tpl-barber .bb-qa{margin:0;padding:0;border:0;border-bottom:1px solid var(--c-border);border-radius:0;background:transparent}
.tpl-barber .bb-qa summary{padding:1.1rem 0;font-family:var(--bb-head-font);text-transform:uppercase;font-size:.938rem}
.tpl-barber .bb-qa summary::after{color:var(--c-accent);font-size:1.5rem}
.tpl-barber .bb-qa p{margin-top:0}

/* заявка: коричневая секция как «о нас» */
.tpl-barber .bb-cta{background:var(--bb-deep);color:var(--bb-light-muted)}
.tpl-barber .bb-cta .bb-title{color:var(--bb-light)}
.tpl-barber .bb-cta .bb-desc{color:var(--bb-light-muted)}
.tpl-barber .bb-cta .ticks{color:var(--bb-light)}
.tpl-barber .bb-cta__in{display:grid;gap:2.5rem;align-items:center}
.tpl-barber .lead{border-radius:1.5rem;padding:1.75rem;background:var(--c-bg);box-shadow:0 16px 40px rgba(0,0,0,.25)}
.tpl-barber .lead__title{text-transform:uppercase}
.tpl-barber .field input{border-radius:.25rem}

/* контакты: текст + «карта» + список */
.tpl-barber .bb-contact{background:var(--c-bg)}
.tpl-barber .bb-contact__in{display:grid;gap:2.5rem;align-items:center}
.tpl-barber .bb-contact .btn .ic{margin-right:.1rem}
.tpl-barber .bb-map{position:relative;display:grid;place-items:center;width:100%;max-width:340px;justify-self:center;aspect-ratio:4/5;border-radius:1.5rem;overflow:hidden;background:var(--bb-sand);color:var(--c-text);text-decoration:none}
.tpl-barber .bb-map__deco{position:absolute;inset:0;width:100%;height:100%}
.tpl-barber .bb-map__road{fill:none;stroke:var(--c-bg);stroke-width:10;opacity:.9}
.tpl-barber .bb-map__road--thin{stroke-width:4;opacity:.7}
.tpl-barber .bb-map__pin{position:relative;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--c-accent);color:var(--c-on-accent);box-shadow:0 10px 24px rgba(0,0,0,.2)}
.tpl-barber .bb-map__label{position:absolute;left:50%;bottom:1.25rem;transform:translateX(-50%);padding:.4rem .9rem;border-radius:.25rem;background:var(--c-text);color:var(--c-bg);font-size:.813rem;font-weight:600;white-space:nowrap}
.tpl-barber .bb-contact__info{list-style:none;display:grid;margin:0;padding:0}
.tpl-barber .bb-contact__info li{display:flex;gap:1rem;align-items:flex-start;padding:1.25rem 0;border-bottom:1px solid var(--c-border)}
.tpl-barber .bb-contact__info li:first-child{padding-top:0}
.tpl-barber .bb-contact__info li:last-child{border-bottom:0}
.tpl-barber .bb-contact__info h3{margin:0 0 .25rem;font-size:.938rem;text-transform:uppercase}
.tpl-barber .bb-contact__info p{margin:0;font-size:.875rem;color:var(--c-muted)}
.tpl-barber .bb-contact__info a{color:var(--c-text);text-decoration:none;font-weight:600}
.tpl-barber .bb-contact__icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:.75rem;background:var(--c-text);color:var(--c-bg)}

/* подвал: светлый, колонки, копирайт по центру */
.tpl-barber .bb-footer{background:var(--c-bg);border-top:1px solid var(--c-border);padding:3.5rem 0 2rem;font-size:.875rem}
.tpl-barber .bb-footer__in{display:grid;gap:2.5rem}
.tpl-barber .bb-footer__logo{display:inline-block;margin-bottom:.75rem;font-family:var(--bb-head-font);font-size:1.25rem;font-weight:700;text-transform:uppercase;color:var(--c-text);text-decoration:none}
.tpl-barber .bb-footer__about p{color:var(--c-muted)}
.tpl-barber .bb-footer__email{color:var(--c-text);font-weight:600}
.tpl-barber .bb-footer__title{margin-bottom:1rem;font-size:1rem}
.tpl-barber .bb-footer__links{list-style:none;display:grid;gap:.6rem;margin:0;padding:0}
.tpl-barber .bb-footer__links a,.tpl-barber .bb-footer .linklike{color:var(--c-muted);text-decoration:none;font-size:.875rem;text-align:left}
.tpl-barber .bb-footer__links a:hover,.tpl-barber .bb-footer .linklike:hover{color:var(--c-text)}
.tpl-barber .bb-footer__legal{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--c-border)}
.tpl-barber .bb-footer__copy{margin:1.5rem 0 0;text-align:center;font-size:.813rem;color:var(--c-muted)}

/* кнопка «наверх» */
.tpl-barber .scrollup{position:fixed;right:1rem;bottom:-20%;z-index:15;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:.25rem;background:var(--c-accent);color:var(--c-on-accent);transition:bottom .4s}
.tpl-barber .scrollup.is-shown{bottom:5.5rem}

@media (min-width:576px){
  .tpl-barber .bb-footer__in{grid-template-columns:repeat(2,1fr)}
  .tpl-barber .bb-counters{gap:2.5rem}
}
@media (min-width:768px){
  .tpl-barber .bb-about__in,.tpl-barber .bb-work__in,.tpl-barber .bb-service__in,.tpl-barber .bb-cta__in{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-barber .bb-service__card{order:-1}
  .tpl-barber .bb-expert__grid,.tpl-barber .bb-reviews__grid{grid-template-columns:repeat(2,1fr)}
  .tpl-barber .bb-contact__in{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpl-barber .bb-contact__data{grid-column:1/-1}
}
@media (min-width:1150px){
  .tpl-barber{--bb-header:4.5rem;font-size:1rem}
  .tpl-barber .wrap{padding:0 24px}
  .tpl-barber .sec{padding:7rem 0 5rem}
  .tpl-barber .bb-list{flex-direction:row;column-gap:2.5rem}
  .tpl-barber .bb-list__phone,.tpl-barber .bb-toggle{display:none}
  .tpl-barber .bb-menu{margin-left:auto}
  .tpl-barber .bb-link{font-size:.875rem}
  .tpl-barber .bb-header__btn{display:inline-flex;margin-left:1.5rem}
  .tpl-barber .bb-about__in{grid-template-columns:400px 1fr;column-gap:6rem;justify-content:center}
  .tpl-barber .bb-work__in{grid-template-columns:330px minmax(0,1fr);column-gap:4rem}
  .tpl-barber .bb-work__img{width:300px}
  .tpl-barber .bb-work{padding-bottom:3rem}
  .tpl-barber .bb-service{padding-top:3rem}
  .tpl-barber .bb-about + .bb-service{padding-top:7rem}
  .tpl-barber .bb-service:has(+ .bb-reviews){padding-bottom:3rem}
  .tpl-barber .bb-reviews{padding-top:1rem}
  .tpl-barber .bb-faq{padding-top:2rem}
  .tpl-barber .bb-service__in{grid-template-columns:360px minmax(0,1fr);column-gap:6rem}
  .tpl-barber .bb-reviews__grid--3{grid-template-columns:repeat(3,1fr)}
  .tpl-barber .bb-expert__grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
  .tpl-barber .bb-expert__img{height:190px}
  .tpl-barber .bb-cta__in{grid-template-columns:1fr 440px;column-gap:6rem}
  .tpl-barber .bb-contact__in{grid-template-columns:1fr 300px 1fr;column-gap:3rem}
  .tpl-barber .bb-contact__data{grid-column:auto}
  .tpl-barber .bb-footer__in{grid-template-columns:2fr repeat(3,1fr);column-gap:3rem}
  .tpl-barber .scrollup{right:2rem}
}
@media (prefers-reduced-motion:reduce){.tpl-barber .bb-header,.tpl-barber .scrollup,.tpl-barber .bb-menu{transition:none}}
