/* Общая тема BHWORK. Блоки используют одну палитру и шкалу размеров. */
:root {
  --green:#234735;
  --text:#25382b;
  --muted:#647060;
  --yellow:#ffcf24;
  --surface:#eef3e9;
  --line:#d8e1d3;
  --panel-radius:24px;
  --card-radius:16px;
  --control-radius:12px;
  --panel-gap:20px;
}

body { background:#fafbf7; color:var(--text); font-size:18px; line-height:1.5; }
h1,h2,h3,h4 { color:var(--text); }
h2 { font-size:38px; line-height:1.12; letter-spacing:-.045em; font-weight:600; }
h3 { font-weight:500; }
.fine-print,.section-description { color:var(--muted); }
.section-heading { gap:28px; margin-bottom:26px; }
.section-heading h2 { font-size:38px; font-weight:600; line-height:1.12; }
.section-heading>p { font-size:17px; line-height:1.5; color:var(--muted); }
.section-heading>p br { display:none; }
main>.section { border-radius:var(--panel-radius); border-color:var(--line); margin-bottom:var(--panel-gap); padding-block:34px; }
main>.section>.wrap { width:min(var(--wrap),calc(100% - 64px)); }
.button { border-radius:var(--control-radius); min-height:52px; font-size:16px; font-weight:500; padding:14px 22px; gap:18px; }
.button-yellow { background:var(--yellow); color:var(--green); }
.button-yellow:hover { background:#efbd12; }
.button-dark { background:var(--green); color:#fff; }
.button-dark:hover { background:#315b42; }
.button-small { min-height:44px; padding:11px 17px; font-size:14px; gap:14px; }
.text-link { color:var(--green); font-size:16px; font-weight:500; }
.text-link svg { width:19px; height:19px; }
:focus-visible { outline:3px solid #346bc1; outline-offset:4px; }

/* Навигация и первый экран. */
.site-header { background:#fafbf7; border-bottom:1px solid transparent; }
.site-header.scrolled { border-bottom-color:var(--line); }
.header-inner { height:82px; gap:28px; }
.brand { color:var(--green); }
.brand-mark { background:var(--yellow); color:var(--green); }
.brand small { color:var(--muted); font-size:11px; }
.desktop-nav { font-size:15px; gap:27px; }
.header-actions>.button-dark { background:var(--yellow); color:var(--green); }
.header-actions>.button-dark:hover { background:#efbd12; }
.menu-toggle { background:#fff; border-color:var(--line); color:var(--green); border-radius:var(--control-radius); }
.mobile-menu { background:#fff; border-color:var(--line); border-radius:var(--card-radius); }
.mobile-menu a { color:var(--green); }
.mobile-menu a:hover { background:var(--surface); }
.hero.wrap { width:min(1400px,calc(100% - 32px)); margin:0 auto var(--panel-gap); padding:30px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:36px; background:var(--surface); border:1px solid var(--line); border-radius:var(--panel-radius); align-items:center; }
.hero-copy { padding:4px 4px 4px 20px; }
.hero-intro { color:var(--green); font-size:14px; margin-bottom:18px; }
.status-dot { background:var(--green); }
.hero h1 { font-size:clamp(44px,4.5vw,65px); font-weight:600; letter-spacing:-.06em; line-height:1.06; }
.hero-copy>p { font-size:18px; line-height:1.5; color:var(--muted); margin-top:22px; max-width:520px; }
.hero-actions { gap:22px; margin-top:25px; }
.hero-actions>.button { font-size:16px; min-height:52px; }
.hero-actions>.text-link { font-size:15px; }
.hero-facts { gap:8px; margin-top:23px; font-size:12px; color:var(--green); }
.hero-facts span { padding:5px 10px; border:1px solid #d0dcc7; border-radius:30px; background:#ffffff88; gap:6px; }
.hero-facts span:before { background:#8da37e; width:4px; height:4px; }
.hero-visual,.city-hero .hero-visual { height:440px; border-radius:18px; }
.hero-caption { border-radius:12px; color:var(--green); padding:12px 16px; left:16px; bottom:16px; font-size:14px; background:#fff; }
.caption-marker { background:var(--yellow); color:var(--green); width:32px; height:32px; }

/* Способы доставки. Иллюстрации сохраняют полную фигуру. */
.formats { background:#fff; }
.format-grid { gap:18px; }
.format-card { border:1px solid var(--line); border-radius:var(--card-radius); background:#fff; }
.formats .format-card { border-color:var(--line); }
.format-image { border-bottom:1px solid #e5eade; }
.format-image>span { font-size:12px; color:var(--green); border:1px solid #ffffffaa; border-radius:30px; padding:5px 10px; }
.format-body { padding:22px; }
.format-body h3 { font-size:25px; line-height:1.2; color:var(--green); }
.format-body p { color:var(--muted); font-size:17px; line-height:1.5; }
.format-body .text-link { font-size:15px; gap:12px; }

/* Калькулятор сохраняет композицию Яндекса, но использует палитру сайта. */
main>.income-section { background:#fff; border-color:var(--line); padding-block:36px; }
.income-section .section-heading h2 { color:var(--green); font-size:clamp(34px,4vw,54px); }
.income-section .section-heading>p { color:var(--muted); }
.income-format-block .mode-options { background:#e8ecdf; }
.income-calculator .income-format-block .mode-options span { color:var(--green); }
.income-format-block .mode-options input:checked+span { background:var(--green); color:#fff; }
.income-calculator .income-city-field select,.income-calculator .income-selection .mode-options span { border-color:#aebba4; color:var(--green); border-radius:var(--control-radius); }
.income-selection .mode-options input:checked+span { color:#fff; background:var(--green); border-color:var(--green); }
.income-format-block .income-format-description,.income-calculator .control-head,.income-calculator #calcSummary { color:var(--muted); }
.income-calculator .income-thumb { color:var(--green); box-shadow:0 0 0 2px #fff; }
.income-calculator .income-thumb:after { background:#fff; }
.income-calculator .calculator-result { background:#edf0e6; color:var(--green); border-radius:22px; }
.income-calculator .result-label,.income-calculator .income-value,.income-calculator .income-breakdown dd { color:var(--green); }
.income-calculator .income-breakdown { border-top-color:#d3ddca; }
.income-calculator .income-breakdown dt,.income-calculator .result-bottom>p,.income-calculator .income-source { color:var(--muted); }
.income-calculator .result-bottom>.button { border-radius:var(--control-radius); color:var(--green); }
.income-calculator .income-benefits input { border-color:#9baa91; border-radius:7px; background:#fff; }
.income-calculator .income-benefits input:checked { border-color:var(--green); background:var(--green); }
.income-calculator .income-benefits b { color:var(--green); }
.income-calculator .income-benefits small { color:var(--muted); }

/* Конструктор недели. */
.schedule-section { background:var(--surface); border-color:var(--line); }
.schedule-section .schedule-layout { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:32px; }
.schedule-story { border-radius:var(--card-radius); }
.schedule-story-note { border-radius:12px; color:var(--green); font-size:18px; }
.schedule-builder h2 { font-size:36px; font-weight:600; }
.schedule-builder>.section-description { color:var(--muted); font-size:17px; line-height:1.5; }
.slot-switch { gap:8px; }
.slot-switch button { border-radius:var(--control-radius); font-size:15px; }
.slot-switch button.selected,.time-choice button.selected { background:var(--green); border-color:var(--green); color:#fff; }
.schedule-section .slot-switch button:not(.selected),.schedule-section .week button:not(.selected),.schedule-section .time-choice button:not(.selected) { background:#fff; border-color:var(--line); }
.week button { border-radius:12px; font-size:15px; }
.week button.selected { background:var(--yellow); border-color:#e6bb22; color:var(--green); }
.week button.selected b { color:var(--green); }
.week-summary { border-radius:var(--control-radius); color:var(--green); }
.schedule-section .week-summary { border-color:var(--line); }
.slot-explainer,.schedule-builder>.fine-print { color:var(--muted); font-size:14px; }

/* Этапы и список требований: самостоятельные панели в общей сетке. */
main>.start-pair { background:transparent; border:0; padding:0; border-radius:0; }
.start-layout { gap:20px; }
.start-journey,.start-pair .requirement-visual-panel { border-radius:var(--panel-radius); border-color:var(--line); padding:27px; }
.start-journey { background:#fff; }
.start-pair .requirement-visual-panel { background:var(--surface); }
.start-journey>.section-heading h2 { font-size:32px; }
.start-pair .requirements-head h3 { font-size:30px; font-weight:600; color:var(--green); }
.start-journey .visual-steps .visual-step { border-radius:12px; border-color:var(--line); }
.step-number { background:var(--green); }
.start-journey .step-copy h3,.start-pair .requirement-copy strong { color:var(--green); }
.start-pair .requirements-cards .requirement-card { border-bottom-color:#d2ddc9; }
.start-pair .requirement-visual-panel>.requirements-disclaimer { border-top-color:#d2ddc9; color:var(--muted); }
.requirements-section { background:#fff; }
.requirements-section .requirement-visual-panel { background:var(--surface); }

/* Поддержка — основной тёмный акцент сайта. */
main>.care-redesign { background:var(--green); border-color:var(--green); padding-block:32px; }
.care-redesign .care-intro h2 { color:#fff; font-size:38px; font-weight:600; }
.care-feature { border-radius:var(--card-radius); }
.care-feature h3 { color:#fff; }
.care-feature-chat .care-feature-icon { border-radius:var(--control-radius); }

/* Каталог городов и вопросы. */
.cities-section { background:var(--surface); border-color:var(--line); }
.city-directory { gap:12px; }
.cities-section .city-directory>a,.city-directory>a { background:#fff; border:1px solid #d8e1d3; border-radius:var(--control-radius); padding:13px 15px; min-height:54px; font-size:16px; color:var(--green); }
.city-directory>a svg { color:#8ba27b; width:18px; height:18px; }
.cities-section .city-directory>a:hover,.city-directory>a:hover { background:#e3edd9; border-color:#a8bd98; }
.faq-section { background:#fff; border-color:var(--line); }
.faq-layout>div:first-child { gap:30px; }
.faq-layout>div>p { font-size:17px; color:var(--muted); }
.faq-section .accordion { border:0; background:transparent; padding:0; gap:12px; border-radius:0; }
.faq-section .accordion details,.faq-section .accordion details:first-child,.faq-section .accordion details:nth-child(2) { border:1px solid var(--line); border-radius:var(--card-radius); background:#f3f6ef; overflow:hidden; }
.faq-section .accordion summary { font-size:17px; padding:19px; gap:17px; min-height:76px; color:var(--green); }
.faq-section .accordion summary>span { display:grid; place-items:center; width:28px; height:28px; font-size:23px; line-height:1; border-radius:50%; background:#e3ebdc; color:var(--green); }
.faq-section .accordion details>p { padding:0 19px 20px; margin:0; color:var(--muted); font-size:16px; line-height:1.5; }

/* Регистрация и подвал завершают ту же композицию. */
.registration { width:min(1400px,calc(100% - 32px)); margin:0 auto var(--panel-gap); border:1px solid #e8bc1c; border-radius:var(--panel-radius); background:var(--yellow); padding-block:35px; }
.registration>.wrap { width:min(var(--wrap),calc(100% - 64px)); }
.registration-inner { gap:35px; }
.registration-inner h2 { font-size:37px; font-weight:600; color:var(--green); }
.registration-inner p { color:#4f5a38; font-size:17px; line-height:1.5; }
.registration-action>.button { min-height:54px; font-size:17px; }
.registration-action>span { color:#4f5a38; font-size:12px; }
.footer { width:min(1400px,calc(100% - 32px)); margin:0 auto 16px; background:#1c3829; color:#e2ebdc; border:1px solid #1c3829; border-radius:var(--panel-radius); padding:30px 0 24px; }
.footer>.wrap { width:min(var(--wrap),calc(100% - 64px)); }
.footer .brand { color:#fff; }
.footer .brand small { color:#b8c9ad; font-size:11px; }
.footer-top>a:not(.brand),.footer-top>span { color:#e2ebdc; font-size:14px; }
.footer-bottom { border-color:#ffffff20; font-size:12px; line-height:1.5; color:#b8c9ad; }
.mobile-action { background:#fafbf7; border-top-color:var(--line); }
.mobile-action>span { color:var(--muted); }
.mobile-action>.button { color:var(--green); }

/* Городские и служебные страницы. */
.breadcrumbs { color:var(--muted); margin-bottom:14px; font-size:13px; }
.city-hero .hero-copy>p { font-size:17px; }
.city-hero h1 { font-size:clamp(39px,4.1vw,60px); overflow-wrap:anywhere; }
main>.section#districts { background:#fff; }
main>.section#transport { background:var(--surface); border-color:var(--line); }
.local-grid { gap:16px; }
.local-grid>article { border:1px solid var(--line); border-radius:var(--card-radius); padding:23px; background:#fff; }
.local-grid h3 { font-size:23px; color:var(--green); }
.local-grid p,.city-tip p { font-size:17px; line-height:1.5; color:var(--muted); }
.city-tip { background:#e5eedc; border:1px solid #d5e1ca; border-radius:var(--card-radius); padding:23px; }
.city-tip h3 { color:var(--green); }
.local-grid+.fine-print { font-size:14px; }
.legal-page .site-header { background:#fafbf7; border-bottom-color:var(--line); }
.legal { max-width:880px; margin:24px auto; border:1px solid var(--line); border-radius:var(--panel-radius); padding:34px; background:#fff; }
.legal h1 { font-size:42px; font-weight:600; line-height:1.1; color:var(--green); overflow-wrap:normal; hyphens:manual; }
.legal h2 { font-size:25px; font-weight:500; color:var(--green); }
.legal p { font-size:16px; line-height:1.65; color:var(--muted); }
.back-link { color:var(--green); }
.brand__signal { color:var(--green); background:var(--yellow); }
.brand__signal i { background:var(--green); }

@media(max-width:1150px) {
  .desktop-nav { font-size:14px; gap:18px; }
  .header-inner { gap:22px; }
  .hero.wrap { padding:26px; gap:27px; }
  .hero-copy { padding-left:7px; }
  .hero h1 { font-size:51px; }
  .hero-copy>p { font-size:17px; }
  .hero-facts { font-size:11px; gap:6px; }
  .section-heading h2 { font-size:34px; }
  .format-body { padding:20px; }
  .format-body p { font-size:16px; }
  .start-journey,.start-pair .requirement-visual-panel { padding:23px; }
  .registration-inner h2 { font-size:34px; }
}
@media(max-width:900px) {
  main>.section>.wrap { width:calc(100% - 44px); }
  .header-inner { height:76px; }
  .hero.wrap { padding:24px; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:23px; }
  .hero h1 { font-size:45px; }
  .hero-copy { padding:0; }
  .hero-copy>p { font-size:16px; }
  .hero-visual,.city-hero .hero-visual { height:420px; }
  .section-heading h2 { font-size:32px; }
  .section-heading>p { font-size:16px; }
  .schedule-section .schedule-layout { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:24px; }
  .schedule-builder h2 { font-size:32px; }
  .schedule-builder>.section-description { font-size:16px; }
  .slot-switch button { font-size:13px; }
  .week-summary { padding:13px; }
  .week-summary>strong { font-size:18px; }
  .week-summary>span { gap:7px; }
  .week-summary b { font-size:15px; }
  .week-summary span span { font-size:13px; }
  .start-journey,.start-pair .requirement-visual-panel { padding:24px; }
  .care-redesign .care-intro h2 { font-size:34px; }
  .city-directory { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .city-directory>a { font-size:15px; padding:12px; }
  .faq-section .accordion summary { font-size:16px; padding:17px; }
  .registration>.wrap,.footer>.wrap { width:calc(100% - 44px); }
  .registration-inner h2 { font-size:32px; }
  .registration-inner p { font-size:16px; }
  .local-grid>article { padding:19px; }
  .local-grid h3 { font-size:21px; }
  .local-grid p { font-size:16px; }
}
@media(max-width:680px) {
  :root { --panel-radius:18px; --card-radius:14px; --panel-gap:13px; }
  body { font-size:17px; }
  html { scroll-padding-top:86px; }
  main>.section { padding-block:25px; }
  main>.section>.wrap { width:calc(100% - 24px); }
  .header-inner { height:72px; width:calc(100% - 32px); gap:10px; }
  .brand { gap:8px; font-size:21px; }
  .brand small { font-size:9px; }
  .header-actions { gap:7px; }
  .header-actions>.button { font-size:13px; min-height:42px; padding:10px 12px; }
  .menu-toggle { border-radius:11px; width:40px; height:42px; }
  .hero.wrap { width:calc(100% - 16px); display:flex; flex-direction:column; align-items:stretch; padding:21px 15px 15px; gap:22px; }
  .hero h1 { font-size:42px; line-height:1.06; }
  .hero-intro { font-size:13px; margin-bottom:15px; }
  .hero-copy>p { font-size:17px; line-height:1.45; margin-top:18px; }
  .hero-actions { gap:16px; margin-top:21px; }
  .hero-actions>.button { font-size:15px; min-height:49px; padding:12px 14px; gap:12px; }
  .hero-actions>.text-link { font-size:14px; gap:7px; }
  .hero-facts { gap:6px; font-size:11px; margin-top:18px; }
  .hero-facts span { padding:4px 8px; gap:5px; }
  .hero-visual,.city-hero .hero-visual { height:280px; border-radius:13px; }
  .hero-caption { left:11px; bottom:11px; padding:9px 12px; font-size:12px; border-radius:10px; }
  .section-heading { margin-bottom:21px; }
  .section-heading h2,h2 { font-size:30px; font-weight:600; }
  .section-heading>p { font-size:16px; line-height:1.45; margin-top:12px; }
  .format-grid { gap:15px; }
  .format-card { border-radius:var(--card-radius); }
  .format-image { height:220px; }
  .format-image>span { font-size:11px; }
  .format-body { padding:18px; }
  .format-body h3 { font-size:24px; }
  .format-body p { font-size:16px; }
  .format-body .text-link { font-size:15px; }
  main>.income-section { padding-block:27px; }
  .income-section .section-heading h2 { font-size:34px; }
  .income-calculator .calculator-result { border-radius:var(--card-radius); }
  .schedule-section .schedule-layout { display:flex; grid-template-columns:none; gap:23px; }
  .schedule-story { border-radius:var(--card-radius); }
  .schedule-story-note { font-size:16px; border-radius:10px; }
  .schedule-builder h2 { font-size:30px; }
  .schedule-builder>.section-description { font-size:16px; }
  .slot-switch button { font-size:14px; }
  .week button { font-size:14px; border-radius:10px; }
  .week-summary { padding:13px 14px; }
  .week-summary>strong { font-size:19px; }
  .week-summary b { font-size:16px; }
  .week-summary span span { font-size:14px; }
  .slot-explainer,.schedule-builder>.fine-print { font-size:13px; line-height:1.45; }
  main>.start-pair { padding:0; }
  main>.start-pair>.wrap { width:100%; }
  .start-layout { gap:13px; }
  .start-journey,.start-pair .requirement-visual-panel { padding:20px 16px; }
  .start-journey>.section-heading h2 { font-size:29px; }
  .start-pair .requirements-head h3 { font-size:28px; }
  main>.care-redesign { padding-block:24px; }
  .care-redesign .care-intro h2 { font-size:29px; }
  .care-feature { border-radius:13px; }
  .city-directory { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .cities-section .city-directory>a,.city-directory>a { font-size:14px; min-height:52px; padding:11px 10px; border-radius:10px; gap:5px; }
  .city-directory>a svg { width:15px; height:15px; }
  .faq-layout>div>p { font-size:16px; }
  .faq-section .accordion { gap:10px; display:grid; grid-template-columns:minmax(0,1fr); }
  .faq-section .accordion summary { font-size:16px; padding:16px 14px; min-height:70px; gap:13px; }
  .faq-section .accordion summary>span { width:26px; height:26px; font-size:22px; }
  .faq-section .accordion details>p { font-size:15px; padding:0 14px 17px; }
  .registration { width:calc(100% - 16px); padding-block:27px; }
  .registration>.wrap { width:calc(100% - 32px); }
  .registration-inner h2 { font-size:30px; }
  .registration-inner p { font-size:16px; line-height:1.45; }
  .registration-action>.button { font-size:17px; min-height:51px; }
  .registration-action>span { font-size:11px; }
  .footer { width:calc(100% - 16px); padding:25px 0 93px; margin-bottom:8px; }
  .footer>.wrap { width:calc(100% - 32px); }
  .footer-top { gap:17px 23px; }
  .footer .brand small { font-size:10px; }
  .footer-top>a:not(.brand),.footer-top>span { font-size:13px; }
  .footer-bottom { font-size:12px; }
  .mobile-action { padding:10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-action>.button { font-size:14px; border-radius:11px; padding:11px 15px; min-height:44px; }
  .mobile-action>span { font-size:11px; }
  .city-hero h1 { font-size:38px; }
  .city-hero .hero-copy>p { font-size:16px; }
  .city-hero .hero-caption { font-size:13px; }
  .breadcrumbs { font-size:12px; margin-bottom:12px; }
  .local-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:11px; }
  .local-grid>article { padding:19px; }
  .local-grid h3 { font-size:22px; }
  .local-grid p,.city-tip p { font-size:16px; }
  .city-tip { padding:19px; }
  .local-grid+.fine-print { font-size:13px; margin-top:15px; }
  .legal { margin:15px auto; padding:25px 20px; width:calc(100% - 16px); }
  .legal h1 { font-size:clamp(27px,7vw,33px); line-height:1.2; }
  .legal h2 { font-size:23px; }
  .legal p { font-size:15px; }
}
@media(max-width:360px) {
  .hero h1 { font-size:37px; }
  .hero-copy>p { font-size:16px; }
  .hero-actions { gap:13px; }
  .hero-actions>.button { font-size:14px; padding-inline:12px; }
  .hero-actions>.text-link { font-size:13px; }
  .hero-facts { font-size:10px; }
  .hero-facts span { padding-inline:7px; }
  .header-actions>.button { font-size:12px; padding-inline:10px; }
  .brand small { font-size:8px; }
  .hero-visual,.city-hero .hero-visual { height:245px; }
  .section-heading h2,h2 { font-size:28px; }
  .income-section .section-heading h2 { font-size:30px; }
  .week-summary { padding:12px 10px; }
  .week-summary>strong { font-size:17px; }
  .week-summary b { font-size:14px; }
  .week-summary span span { font-size:12px; }
  .start-journey,.start-pair .requirement-visual-panel { padding:18px 13px; }
  .start-journey>.section-heading h2 { font-size:27px; }
  .start-pair .requirements-head h3 { font-size:26px; }
  .care-redesign .care-intro h2 { font-size:27px; }
  .city-directory>a,.cities-section .city-directory>a { font-size:13px; padding-inline:9px; }
  .city-hero h1 { font-size:34px; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { transition:none!important; animation:none!important; } }
