/* RentalBikes — общая шапка и подвал (13.11.2026).
   Один файл вместо style.min.css / crm-app.css / prev.css / media-query.css.
   Основа — шапка раздела продаж (buymoto/poisk/bm.css, .bm-header), те же цвета и шрифт.
   Всё под префиксом .rb-, страницы и их собственные стили не трогает. */
:root{
  --rb-accent:#DBF40C; --rb-accent-dim:#b8cc0a;
  --rb-bg:#0a0a0a; --rb-panel:#262626; --rb-surface:#131313;
  --rb-border:rgba(255,255,255,.08); --rb-border-mid:rgba(255,255,255,.14); --rb-border-hi:rgba(255,255,255,.22);
  --rb-muted:rgba(255,255,255,.55); --rb-text-2:rgba(255,255,255,.8);
  --rb-r:10px; --rb-r-sm:6px; --rb-ease:.22s ease;
}
html{background:var(--rb-bg)}
body{margin:0;background:var(--rb-bg);color:#fff;font-family:'Rubik',sans-serif;-webkit-font-smoothing:antialiased}

:where(.rb-header,.rb-footer,.rb-mpanel),:where(.rb-header,.rb-footer,.rb-mpanel) *,:where(.rb-header,.rb-footer,.rb-mpanel) *::before,:where(.rb-header,.rb-footer,.rb-mpanel) *::after{box-sizing:border-box;margin:0;padding:0}
:where(.rb-header,.rb-footer,.rb-mpanel){font-family:'Rubik',sans-serif;color:#fff;line-height:1.5}
:where(.rb-header,.rb-footer,.rb-mpanel) a{color:inherit;text-decoration:none}
:where(.rb-header,.rb-footer,.rb-mpanel) img{max-width:100%;display:block}
:where(.rb-header,.rb-footer,.rb-mpanel) button{cursor:pointer;background:none;border:0;font:inherit;color:inherit}
:is(.rb-header,.rb-footer,.rb-mpanel) :focus-visible{outline:2px solid var(--rb-accent);outline-offset:2px}
/* Контейнер — как у страниц редизайна (.thome-wrap в test-home.css): шапка, подвал и контент по одной линии. */
.rb-wrap{width:100%;max-width:1440px;margin:0 auto;padding:0 clamp(20px,4vw,64px)}

/* ---------- шапка ---------- */
.rb-header{position:relative;z-index:700;margin-top:16px}
.rb-header__bar{display:flex;align-items:center;gap:28px;height:72px;padding:0 28px;background:var(--rb-panel);border-radius:var(--rb-r)}
.rb-logo{display:flex;align-items:center;flex:none}
.rb-logo img{width:190px;height:auto}  /* было 148 в шапке продаж, 151 в старой шапке проката; в файле логотипа большие поля */
.rb-nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.rb-nav__link{display:flex;align-items:center;gap:6px;padding:10px 12px;font-size:14px;font-weight:400;border-radius:var(--rb-r-sm);transition:var(--rb-ease);white-space:nowrap}
.rb-nav__link:hover,.rb-nav__link.is-active,.rb-nav__drop.open>.rb-nav__link{color:var(--rb-accent)}
.rb-nav__link .chev{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:var(--rb-ease)}
.rb-nav__drop{position:relative}
.rb-nav__drop.open .chev{transform:translateY(1px) rotate(225deg)}
.rb-drop{position:absolute;top:calc(100% + 10px);left:0;width:300px;padding:8px;background:var(--rb-panel);border:1px solid var(--rb-border-mid);border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,.6);opacity:0;visibility:hidden;transform:translateY(-4px);transition:var(--rb-ease)}
.rb-nav__drop.open .rb-drop{opacity:1;visibility:visible;transform:none}
.rb-drop a{display:block;padding:11px 12px;border-radius:var(--rb-r-sm);font-size:14px;line-height:1.35}
.rb-drop a:hover{background:var(--rb-accent);color:#000}
.rb-header__right{display:flex;align-items:center;gap:10px;flex:none}
.rb-socials{display:flex;gap:6px}
.rb-social{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;transition:var(--rb-ease)}
.rb-social svg{width:20px;height:20px}
.rb-social:hover{color:var(--rb-accent)}
.rb-social svg path{fill:currentColor}
/* вход в ЛК — вариант «Г» (13.11): разделитель + значок + «Войти» */
.rb-sep{width:1px;height:24px;background:rgba(255,255,255,.18)}
.rb-lk{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 8px;color:#fff;font-size:14px;font-weight:500;line-height:1;border-radius:var(--rb-r-sm);white-space:nowrap;transition:var(--rb-ease)}
.rb-lk svg{width:18px;height:18px;flex:none;color:var(--rb-accent)}
.rb-lk:hover{color:var(--rb-accent)}
.rb-lk-icon{display:none;align-items:center;justify-content:center;width:44px;height:44px;color:var(--rb-accent)}
.rb-burger{display:none;width:44px;height:44px;border:1px solid var(--rb-border-hi);border-radius:var(--rb-r-sm);align-items:center;justify-content:center;flex-direction:column;gap:5px}
.rb-burger span{display:block;width:20px;height:2px;background:#fff;border-radius:2px}

/* мобильная панель меню */
.rb-mpanel{position:fixed;inset:0;z-index:1000;background:var(--rb-bg);overflow-y:auto;padding:16px 16px 28px;display:none}
.rb-mpanel.open{display:block}
.rb-mpanel__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.rb-mpanel__top .rb-logo img{width:190px}
.rb-mpanel__close{width:44px;height:44px;border:1px solid var(--rb-border-hi);border-radius:var(--rb-r-sm);font-size:26px;line-height:1}
.rb-mpanel nav{display:grid}
.rb-mpanel nav a,.rb-mpanel summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 4px;font-size:18px;font-weight:400;border-bottom:1px solid var(--rb-border);list-style:none;cursor:pointer}
.rb-mpanel summary::-webkit-details-marker{display:none}
.rb-mpanel details[open] summary .chev{transform:rotate(225deg)}
.rb-mpanel .chev{width:8px;height:8px;border-right:2px solid var(--rb-accent);border-bottom:2px solid var(--rb-accent);transform:rotate(45deg);transition:var(--rb-ease)}
.rb-mpanel details a{font-size:15px;font-weight:500;color:var(--rb-text-2);padding-left:16px;min-height:46px}
.rb-mpanel a.is-active,.rb-mpanel a.rb-switch{color:var(--rb-accent)}
.rb-mpanel__cta{display:grid;gap:10px;margin-top:24px}
.rb-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 22px;white-space:nowrap;text-align:center;line-height:1;border-radius:var(--rb-r);background:var(--rb-accent);color:#000;font-weight:600;font-size:15px}
.rb-btn:hover{background:var(--rb-accent-dim)}
.rb-btn--ghost{background:none;border:1px solid var(--rb-border-hi);color:#fff}
.rb-btn--ghost:hover{background:none;border-color:var(--rb-accent);color:var(--rb-accent)}
.rb-mpanel__soc{margin-top:20px;display:flex;justify-content:center}
.rb-mpanel__soc .rb-socials{gap:18px}

/* ---------- подвал ---------- */
.rb-footer{margin:80px 0 16px}
.rb-footer__box{display:grid;grid-template-columns:1.2fr 1.4fr 1fr;gap:40px;padding:40px;background:var(--rb-surface);border:1px solid var(--rb-border);border-radius:16px}
.rb-footer__brand{display:flex;flex-direction:column;gap:18px}
.rb-footer__brand .rb-logo img{width:180px}  /* старый подвал: 160 */
.rb-reviews{display:flex;flex-direction:column;gap:6px}
.rb-reviews__row{display:flex;align-items:center;gap:10px}
.rb-reviews__rating{font-size:28px;font-weight:700;line-height:1}
.rb-reviews__stars{display:inline-flex;gap:1px}
.rb-reviews__count{font-size:12px;color:var(--rb-muted)}
.rb-reviews__cta{font-size:13px;color:var(--rb-muted)}
.rb-reviews:hover .rb-reviews__cta{color:var(--rb-accent)}
.rb-footer__copy{font-size:12px;color:var(--rb-muted)}
.rb-footer__legal{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12px;color:var(--rb-muted)}
.rb-footer__legal a:hover{color:#fff}
.rb-footer__nav{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:10px 24px}
.rb-footer__nav a{font-size:14px;color:var(--rb-text-2);transition:var(--rb-ease)}
.rb-footer__nav a:hover{color:var(--rb-accent)}
.rb-footer__nav a.rb-hl{color:var(--rb-accent)}
.rb-footer__contacts{display:flex;flex-direction:column;gap:14px}
.rb-tel{display:flex;flex-direction:column;gap:2px;padding-bottom:12px;border-bottom:1px solid var(--rb-border)}
.rb-tel:last-of-type{border-bottom:0}
.rb-tel span{font-size:12px;color:var(--rb-muted)}
.rb-tel a{font-size:16px;font-weight:600}
.rb-tel a:hover{color:var(--rb-accent)}
.rb-footer__addr{font-size:13px;color:var(--rb-muted)}
.rb-mgmt{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border:1px solid var(--rb-border-hi);border-radius:var(--rb-r);font-size:14px;font-weight:500;align-self:flex-start}
.rb-mgmt:hover{border-color:var(--rb-accent);color:var(--rb-accent)}
.rb-mgmt svg{width:16px;height:16px}
.rb-mgmt__hint{font-size:12px;color:var(--rb-muted)}

@media(max-width:1180px){.rb-nav__link{padding:10px 8px;font-size:13.5px}.rb-header__bar{gap:16px;padding:0 20px}.rb-header .rb-logo img{width:160px}}
@media(max-width:1100px){
  .rb-nav,.rb-lk,.rb-sep{display:none}
  .rb-lk-icon{display:flex}
  .rb-burger{display:flex}
  .rb-header__bar{justify-content:space-between;height:64px;padding:0 12px 0 16px}
  .rb-footer__box{grid-template-columns:1fr 1fr}
  .rb-footer__brand{grid-column:1/-1}
}
@media(max-width:760px){
  .rb-header{margin-top:0}
  .rb-header__bar{border-radius:0;height:72px}
  .rb-header .rb-logo img{width:190px}  /* старая мобильная шапка: 200 */
  .rb-header .rb-wrap{padding:0}
  .rb-footer{margin:56px 0 0}
  .rb-footer .rb-wrap{padding:0}
  .rb-footer__box{grid-template-columns:1fr;gap:28px;padding:28px 16px;border-radius:16px 16px 0 0}
}
@media(prefers-reduced-motion:reduce){:is(.rb-header,.rb-footer,.rb-mpanel) *{transition:none!important}}
