/* Лендинг Brothers studio */
:root {
  --ink: #1C1E21; --ink-2: #3D3F44; --muted: #6A6560; --paper: #F2EFEA; --sand: #E9E3DA; --line: #E2DDD5;
  --brick: #A9472F; --brick-ink: #8E3F2C; --lilac: #C9B8FF; --plum: #2A2530; --ok: #2B7A4B; --ok-ink: #1F5E39;
  --serif: Jost, system-ui, sans-serif; --sans: Manrope, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brick-ink); }
a:hover { color: #6E2F20; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--serif); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--brick-ink); }
.dark .eyebrow { color: #E7A58F; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: #D8D2CA; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: #923C27; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #2C2F33; }
.btn-line { border: 1px solid #4A4E54; color: #fff; }
.btn-light { border: 1px solid #D3CCC2; color: var(--ink); background: #fff; }
.btn-lilac { background: var(--lilac); color: var(--ink); }
.pill { padding: 3px 10px; border-radius: 999px; background: var(--lilac); color: var(--ink); font-size: 13px; font-weight: 800; }
.stars { color: #E2A100; letter-spacing: 2px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(28,30,33,.94); backdrop-filter: blur(10px); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand b { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.05; }
.brand small { display: block; font-family: var(--serif); font-weight: 300; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #CFC9C1; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.nav a { color: #E8E3DC; text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .nav-app { color: var(--lilac); }
.top-right { display: flex; align-items: center; gap: 16px; }
.top-right .tel { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.top .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
@media (max-width: 900px) { .nav, .top-right .tel { display: none; } }

/* Первый экран */
.hero .wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; }
.hero h1 em { color: #E7A58F; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid #34383D; padding-top: 14px; }
.hero-facts b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.hero-facts span { font-size: 13px; color: #B9B2A9; }
.hero-grid { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 250px 250px; gap: 12px; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.hero-grid .g1 { grid-column: 1 / 4; }
.hero-grid .g2 { grid-column: 4 / 6; grid-row: 1 / 3; }
.hero-grid .g3 { grid-column: 1 / 3; }
.hero-slot { grid-column: 3 / 4; border-radius: 22px; background: var(--brick); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; text-decoration: none; }
.hero-slot:hover { color: #fff; background: #923C27; }
.hero-slot small { font-family: var(--serif); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #FBE3DA; }
.hero-slot b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
@media (max-width: 560px) { .hero-grid { grid-template-rows: 170px 170px; gap: 8px; } .hero-slot b { font-size: 17px; } .hero-slot { padding: 10px; } }

/* Услуги */
.sec { padding: 88px 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
@media (max-width: 400px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { background: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.svc-photo { position: relative; height: 300px; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-photo div { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px; background: linear-gradient(to top, rgba(20,21,23,.82), rgba(20,21,23,0)); color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.svc-photo h3 { font-weight: 500; font-size: 26px; line-height: 1.05; }
.svc-photo span { font-weight: 800; font-size: 14px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.svc ul { list-style: none; margin: 0; padding: 10px 22px 4px; }
.svc li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.svc li span { color: var(--ink-2); font-weight: 600; }
.svc li b { white-space: nowrap; }
.svc > a { margin: 14px 22px 20px; font-weight: 800; font-size: 14px; }

/* Студия */
.space-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.space-head > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.space-head p { flex: 1 1 380px; }
.space-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.space-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.space-grid .big { grid-column: span 2; grid-row: span 2; }
.space-grid .wide { grid-column: span 2; }
@media (max-width: 700px) { .space-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid #3A3E44; font-size: 13px; font-weight: 700; color: #E8E3DC; }

/* Приложение */
.app-card { background: var(--plum); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.app-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.app-text h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
.app-text h2 span { color: var(--lilac); }
.app-text p { margin: 0; font-size: 18px; line-height: 1.6; color: #DCD5E4; max-width: 560px; }
.app-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.app-perks div { border: 1px solid #4A4252; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.app-perks b { font-size: 15px; }
.app-perks span { font-size: 13px; color: #C2B9CC; line-height: 1.45; }
.app-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.qr { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #C2B9CC; line-height: 1.4; }
.qr img { width: 72px; height: 72px; border-radius: 12px; background: #fff; padding: 4px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; }
.steps i { width: 30px; height: 30px; flex: none; border-radius: 15px; border: 1px solid var(--lilac); color: var(--lilac); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; font-style: normal; }
.steps b { display: block; font-size: 14px; }
.steps span { font-size: 12px; color: #C2B9CC; line-height: 1.45; }
.phone { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.phone-body { width: 290px; height: 590px; border-radius: 46px; background: #141517; padding: 11px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; background: var(--paper); color: var(--ink); overflow: hidden; }
.ph-top { padding: 22px 16px 14px; background: var(--ink); display: flex; align-items: center; gap: 10px; color: #fff; }
.ph-top img { height: 18px; width: auto; }
.ph-top b { font-family: var(--serif); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ph-top .pill { margin-left: auto; font-size: 11px; }
.ph-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.ph-note { background: var(--plum); color: #fff; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ph-note small { font-size: 10px; font-weight: 800; color: var(--lilac); text-transform: uppercase; letter-spacing: .06em; }
.ph-note b { font-size: 13px; }
.ph-note span { font-size: 12px; color: #DCD5E4; }
.ph-item { background: #fff; border-radius: 14px; padding: 8px; display: flex; align-items: center; gap: 10px; }
.ph-item img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.ph-item > span { flex: 1 1 auto; display: flex; flex-direction: column; font-size: 11px; color: var(--muted); }
.ph-item > span b { font-size: 12px; color: var(--ink); }
.ph-item s { font-size: 10px; color: #8A847E; display: block; text-align: right; }
.ph-item em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--brick-ink); }
.ph-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-times span { text-align: center; padding: 9px 0; border-radius: 10px; border: 1.5px solid var(--ok); color: var(--ok-ink); font-size: 12px; font-weight: 800; }
.ph-times .on { background: var(--brick); color: #fff; border-color: var(--brick); }
.ph-btn { text-align: center; padding: 12px 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }

/* Запись */
.book { background: #fff; border-radius: 32px; padding: clamp(18px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 32px; }
.book-steps { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.book-step { display: flex; flex-direction: column; gap: 10px; }
.book-step > b { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 14px; background: #fff; color: var(--ink); border: 1px solid #D3CCC2; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.svc-opt { text-align: left; min-height: 64px; padding: 10px 14px; border-radius: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); }
.svc-opt b { font-size: 14px; }
.svc-opt span { font-size: 12px; color: var(--muted); font-weight: 600; }
.svc-opt[aria-pressed="true"] { background: #FBF3EF; border: 2px solid var(--brick); padding: 9px 13px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day { flex: none; width: 58px; height: 64px; border-radius: 16px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; border: 1px solid #D3CCC2; }
.day span { font-size: 12px; font-weight: 700; }
.day b { font-size: 18px; }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time { min-height: 46px; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: 14px; background: #fff; color: var(--ok-ink); border: 1.5px solid var(--ok); }
.time[aria-pressed="true"] { background: var(--brick); color: #fff; border-color: var(--brick); }
.hint { font-size: 13px; color: var(--muted); font-weight: 600; }
.summary { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border-radius: 24px; padding: 22px; align-self: flex-start; }
.summary > b { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sum-svc { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
.sum-line { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.sum-price { font-size: 20px; font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input { min-height: 48px; padding: 0 14px; border: 1px solid #D3CCC2; border-radius: 12px; font-size: 15px; background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--brick-ink); flex: none; }
.hp { position: absolute; left: -9999px; }
.err { color: #A61E4D; font-weight: 700; font-size: 14px; }
.book .btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.done { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 12px 0; }
.done-ico { width: 72px; height: 72px; border-radius: 36px; background: #E3F2E8; color: var(--ok-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.done h3 { font-weight: 500; font-size: 28px; }
.hidden { display: none !important; }

/* Мастера */
.masters { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.master { background: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.master-photo { position: relative; height: 380px; overflow: hidden; }
.master-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.master > div:last-child { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.master h3 { font-weight: 500; font-size: 26px; }
.master p { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 600; line-height: 1.5; }
.master .btn { margin-top: 10px; min-height: 46px; font-size: 14px; }

/* Отзывы */
.reviews-sec { background: var(--sand); }
.rating { display: flex; align-items: center; gap: 16px; }
.rating > b { font-family: var(--serif); font-weight: 500; font-size: 56px; line-height: 1; }
.rating > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 700; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
@media (max-width: 400px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; background: #fff; border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.review header { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #2A2C30; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid #EFEAE3; }
.review figcaption img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.review figcaption b { display: block; font-size: 14px; }
.review figcaption span { font-size: 12px; color: var(--muted); }

/* Контакты, награда, подвал */
.contacts { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.contacts > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.contacts .big-tel { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contacts-photo { flex: 1 1 520px; min-height: 360px; border-radius: 32px; overflow: hidden; position: relative; }
.contacts-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.contacts-photo span { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 14px; background: rgba(28,30,33,.86); color: #fff; font-size: 13px; font-weight: 700; }
.award { background: #fff; border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.award img { flex: 1 1 260px; max-width: 100%; height: 340px; object-fit: cover; object-position: 40% 70%; }
.award > div { flex: 999 1 420px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.award h2 { font-size: clamp(30px, 3.6vw, 46px); }
.foot { background: var(--ink); color: #B9B2A9; }
.foot .wrap { padding-top: 36px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.foot a { color: #E8E3DC; }
.foot .wrap > span { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.foot img { height: 22px; width: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 100; }
