/* Сайт BookDo: страницы из блоков (app/views/booking_site.php). Общие стили шапки и карточки регистрации в landing.css. */
.bs { background: #fff; }
.bs h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.bs h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.bs h3 { font-size: 1.08rem; margin: 0 0 6px; }
.bs .lead { font-size: 1.15rem; line-height: 1.5; color: #4A4F57; max-width: 60ch; }
.top .bs-nav { display: flex; gap: 26px; margin: 0 auto; align-items: center; }
.bs-nav a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.bs-nav .bs-lang { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--muted); }
.bs-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.bs-burger span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }
.bs-hero { background: var(--bg); padding: 64px 0 72px; }
.bs-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
.bs-kicker { display: inline-block; margin: 0 0 16px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #25282D); font-weight: 600; font-size: .88rem; }
.bs-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.bs-ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.bs-ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 21px; height: 21px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.bs .reg-card { scroll-margin-top: 90px; }
.bs-have { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.bs-have summary { cursor: pointer; font-weight: 500; color: var(--muted); }
.bs-have form { display: grid; gap: 8px; margin-top: 10px; }
.bs-have #found { display: grid; gap: 6px; margin-top: 8px; }
.bs-head { background: var(--bg); padding: 56px 0 44px; }
.bs-sec { padding: 56px 0; }
.bs-alt { background: var(--bg); }
.bs-sub { color: var(--muted); margin: 0 0 24px; max-width: 70ch; }
.bs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.bs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.bs-card { display: block; padding: 22px; border-radius: 18px; background: var(--bg); color: var(--ink); text-decoration: none; }
.bs-alt .bs-card { background: #fff; }
.bs-card p { margin: 0; color: #4A4F57; line-height: 1.5; }
.bs-card ul, .bs-case ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; color: #4A4F57; line-height: 1.45; }
.bs-shots { display: grid; grid-template-columns: 1.6fr .62fr 1.2fr; gap: 16px; align-items: start; margin-top: 22px; }
.bs-shot { margin: 0; }
.bs-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 30px rgba(37, 40, 45, .08); }
.bs-shot figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.bs-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.bs-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.bs-steps li { display: flex; gap: 14px; }
.bs-steps li > span { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); font-weight: 700; display: grid; place-items: center; }
.bs-steps p { margin: 0; color: #4A4F57; line-height: 1.45; }
.bs-case { padding: 28px; border-radius: 22px; background: var(--bg); }
.bs-case-cols { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 16px; }
.bs-case-cols > div { padding: 18px; border-radius: 16px; background: #fff; }
.bs-case-cols > div.main { box-shadow: inset 0 0 0 2px var(--accent); }
.bs-period { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); margin-bottom: 22px; }
.bs-period button { padding: 9px 16px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.bs-period button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.bs-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.bs-plan { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.bs-plan.hot { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bs-plan p { margin: 0; color: #4A4F57; line-height: 1.45; }
.bs-plan .bs-price { color: var(--ink); } .bs-plan .bs-price b { font-size: 1.7rem; letter-spacing: -.02em; }
.bs-plan .bs-total { min-height: 1.4em; font-size: .9rem; color: var(--muted); }
.bs-plan .bs-users { font-weight: 600; color: var(--ink); }
.bs-plan .btn { margin-top: auto; text-align: center; }
.bs-table-wrap { overflow-x: auto; margin-top: 18px; }
.bs-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.bs-table th, .bs-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; font-size: .95rem; }
.bs-table tbody th, .bs-table thead th:first-child { text-align: left; font-weight: 500; }
.bs-table .yes { font-weight: 700; color: #17683A; } .bs-table .no { color: var(--muted); }
.bs-faq { padding: 16px 0; border-bottom: 1px solid var(--line); }
.bs-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.bs-faq p { margin: 10px 0 0; color: #4A4F57; line-height: 1.5; }
.bs-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.bs-contacts .bs-card p { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.bs-cta { padding: 64px 0; background: var(--ink); color: #fff; text-align: center; }
.bs-cta h2 { color: #fff; } .bs-cta p { margin: 0 0 22px; color: #C9CDD3; }
@media (max-width: 900px) {
  .bs-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .bs-shots, .bs-case-cols { grid-template-columns: 1fr; }
  .bs-shot.form img { max-width: 280px; }
  .bs-burger { display: block; margin-left: auto; }
  .bs-top-cta { display: none; }
  .top .bs-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .top .bs-nav.open { display: flex; }
  .bs-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bs-nav .bs-lang { align-self: flex-start; margin-top: 12px; }
  .bs-hero, .bs-sec { padding: 40px 0; }
  .bs-contacts { grid-template-columns: 1fr; }
}

/* --- вторая версия: меню со списками, плитки с макетами экранов, тёмные блоки, подвал колонками --- */
.bs-center { text-align: center; }
.bs h2.bs-center { margin-bottom: 28px; }
.bs-dd { position: relative; }
.bs-dd > a i { display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.bs-drop { display: none; position: absolute; left: -18px; top: 100%; z-index: 20; min-width: 270px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(37, 40, 45, .16); }
.bs-dd:hover .bs-drop, .bs-dd:focus-within .bs-drop { display: grid; }
.bs-drop a { padding: 9px 12px; border-radius: 10px; font-weight: 500; white-space: nowrap; }
.bs-drop a:hover { background: var(--bg); text-decoration: none; }
.top .bs-enter { font-weight: 500; }
.bs-facts { background: var(--bg); padding: 0 0 56px; }
.bs-facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bs-facts .wrap > div { padding: 20px 22px; border-radius: 18px; background: #fff; }
.bs-facts p { margin: 0; color: #4A4F57; }
.bs-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bs-tile { grid-column: span 2; display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 0; border-radius: 24px; background: var(--bg); overflow: hidden; min-height: 380px; }
.bs-tile.wide { grid-column: span 3; flex-direction: row; align-items: stretch; min-height: 320px; }
.bs-tile.wide .bs-tile-t { flex: 1 1 50%; padding-bottom: 26px; }
.bs-tile.wide .bs-tile-m { flex: 1 1 50%; }
.bs-tile.dark { background: var(--ink); color: #fff; } .bs-tile.dark h3 { color: #fff; } .bs-tile.dark p { color: #C9CDD3; }
.bs-tile h3 { font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: 8px; }
.bs-tile p { margin: 0; color: #4A4F57; line-height: 1.5; }
.bs-tile-m { margin-top: auto; display: flex; justify-content: center; align-items: flex-end; }
.bs-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.bs-split.rev > div:first-child { order: 2; }
.bs-split-m { display: flex; justify-content: center; }
.bs-split .bs-ticks { margin-top: 18px; }
.bs-split .bs-ticks li { font-weight: 400; }
.bs-ind { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.bs-ind a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.bs-ind a i { font-style: normal; color: var(--muted); transition: transform .15s; }
.bs-ind a:hover { background: var(--bg); } .bs-ind a:hover i { transform: translateX(4px); color: var(--ink); }
.bs-more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.bs-more:hover { text-decoration: underline; }
.bs-dark { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: var(--ink); color: #fff; }
.bs-dark h2 { color: #fff; } .bs-dark p { margin: 0; color: #C9CDD3; line-height: 1.5; } .bs-dark .bs-more { color: var(--accent); }
.bs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-chips span { padding: 10px 18px; border-radius: 999px; background: #E9EBEE; color: var(--ink); font-weight: 500; }
/* макеты экранов */
.bm { font-size: .82rem; line-height: 1.3; color: var(--ink); text-align: left; }
.bm-phone { width: 250px; padding: 16px 14px 14px; border: 6px solid var(--ink); border-bottom: 0; border-radius: 30px 30px 0 0; background: #fff; display: grid; gap: 8px; box-shadow: 0 16px 40px rgba(37, 40, 45, .14); }
.bs-tile.dark .bm-phone { border-color: #4A4F57; }
.bs-split-m .bm-phone { width: 290px; border-bottom: 6px solid var(--ink); border-radius: 34px; padding-bottom: 18px; font-size: .9rem; }
.bm-sheet { width: 100%; max-width: 330px; padding: 16px; border-radius: 16px 16px 0 0; background: #fff; display: grid; gap: 8px; box-shadow: 0 16px 40px rgba(37, 40, 45, .12); align-self: flex-end; }
.bm-h { font-weight: 700; font-size: 1rem; }
.bm-l { color: var(--muted); font-size: .75rem; margin-top: 2px; }
.bm-row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--bg); }
.bm-row.on { background: #FFF3D6; }
.bm-row.sum { background: none; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 2px 2px; }
.bm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bm-chips i { font-style: normal; padding: 6px 9px; border-radius: 8px; background: var(--bg); font-weight: 600; }
.bm-chips i.on { background: var(--ink); color: #fff; }
.bm-btn { margin-top: 2px; padding: 10px; border-radius: 10px; background: var(--accent); font-weight: 700; text-align: center; }
.bm-card { padding: 10px; border-radius: 12px; background: var(--bg); display: grid; gap: 4px; }
.bm-card p { margin: 0; color: var(--ink); }
.bm-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bm-top em, .bm-line em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #DDF3E4; color: #17683A; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.bm-line em { background: var(--danger, #E5484D); color: #fff; }
.bm-links { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 600; font-size: .76rem; }
.bm-links u { text-underline-offset: 3px; } .bm-links .neg { color: var(--danger, #E5484D); }
.bm-msg { max-width: 85%; padding: 8px 10px; border-radius: 12px; }
.bm-msg.in { background: var(--bg); justify-self: start; } .bm-msg.out { background: #FFF3D6; justify-self: end; }
.bm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bm-tiles div { padding: 10px; border-radius: 12px; background: var(--bg); } .bm-tiles b { display: block; font-size: 1.3rem; } .bm-tiles small { color: var(--muted); }
.bm-line { padding: 7px 2px; border-bottom: 1px solid var(--line); }
.bm-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin: 4px -6px 0; padding-top: 8px; border-top: 1px solid var(--line); text-align: center; font-size: .62rem; color: var(--muted); }
.bm-tabs .on { color: var(--ink); font-weight: 700; box-shadow: inset 0 2px 0 var(--accent); padding-top: 4px; margin-top: -4px; }
/* подвал */
.bs-foot { padding: 48px 0 40px; background: var(--ink); color: #C9CDD3; font-size: .93rem; }
.bs-cta + .bs-foot { border-top: 1px solid #3A3E45; }
.bs-foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.bs-foot .logo { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.bs-foot h4 { margin: 0 0 10px; color: #8D939C; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.bs-foot h4:not(:first-child) { margin-top: 20px; }
.bs-foot a:not(.logo) { display: block; padding: 4px 0; color: #fff; text-decoration: none; }
.bs-foot a:not(.logo):hover { text-decoration: underline; }
.bs-foot p { margin: 0; line-height: 1.5; max-width: 30ch; }
@media (max-width: 900px) {
  .bs-facts .wrap, .bs-split, .bs-dark { grid-template-columns: 1fr; }
  .bs-split { gap: 28px; } .bs-split.rev > div:first-child { order: 0; }
  .bs-bento { grid-template-columns: 1fr; }
  .bs-tile, .bs-tile.wide { grid-column: auto; flex-direction: column; min-height: 0; }
  .bs-tile.wide .bs-tile-t { padding-bottom: 0; }
  .bs-ind { grid-template-columns: 1fr 1fr; } .bs-ind a { padding: 16px 14px; font-size: .95rem; }
  .bs-dark { padding: 28px 22px; }
  .bs-foot-cols { grid-template-columns: 1fr 1fr; }
  .bs-drop { display: none !important; }
  .bs-dd > a i { display: none; }
  .top .bs-enter { display: none; }
  .top .bs-nav .bs-dd { display: block; } .top .bs-nav .bs-dd > a { display: block; }
}

.bs-help { padding: 0 0 64px; background: var(--bg); }
.bs-help-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: 40px; border-radius: 28px; background: var(--accent); color: #25282D; }
.bs-help h2 { margin: 0 0 12px; color: #25282D; } .bs-help p { margin: 0 0 22px; font-size: 1.05rem; }
.bs-help-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-help-btns .btn.primary { background: #25282D; color: #fff; border-color: #25282D; } .bs-help-btns .btn { background: #fff; color: #25282D; border-color: #fff; }
.bs-help ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: h; }
.bs-help li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; counter-increment: h; }
.bs-help li::before { content: counter(h); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #25282D; color: #fff; font-weight: 700; }
.bs-help li span { color: #4A4F57; font-size: .95rem; }
@media (max-width: 860px) { .bs-help-in { grid-template-columns: 1fr; padding: 24px; } }
