/* Mockup: what every system page shares on top of its own stylesheet — the system switcher next to the
   logo and the brand lockup rules that so far lived only in /brand/css/restaurant.css. */
.brand-group{display:flex;align-items:center;gap:14px}
.site-header:not(.is-scrolled):not(.site-header--solid) .brand-sub{color:#fff!important}
.mobile-nav .all-systems{opacity:1;font-size:inherit;font-weight:inherit}

/* System bar: fixed above the header; the page and the fixed header both move down by its height.
   Home link with the brand mark on the left, the three products as tabs (the current one carries a line
   in its own colour on the bar's bottom edge), the phone number on the right. */
body:has(.ranedo-bar){--bar-h:40px;padding-top:var(--bar-h)}
body:has(.ranedo-bar) .site-header{top:var(--bar-h)}
html:has(.ranedo-bar){scroll-padding-top:calc(var(--header-h,80px) + 40px + 16px)}
.ranedo-bar{position:fixed;inset:0 0 auto;z-index:65;height:40px;background:#011a36;box-shadow:inset 0 -1px 0 rgba(255,255,255,.09);color:#fff;font-size:12.5px;line-height:1;letter-spacing:0}
.ranedo-bar .wrap{display:flex;align-items:stretch;height:100%}
.ranedo-bar a{display:inline-flex;align-items:center;gap:8px;color:rgba(255,255,255,.66);font-weight:400;white-space:nowrap;text-decoration:none;transition:color .16s}
.ranedo-bar a:hover{color:#fff}
.ranedo-bar a:focus-visible{outline:2px solid #fff;outline-offset:-3px;border-radius:4px}
.ranedo-bar-home{padding-right:20px;color:rgba(255,255,255,.86)!important;font-weight:500!important}
.ranedo-bar-home:hover{color:#fff!important}
.ranedo-bar-home svg{flex:none;width:13.9px;height:15px;fill:currentColor}
.ranedo-bar-tabs{display:flex;align-items:stretch;padding-left:8px;border-left:1px solid rgba(255,255,255,.14);margin:10px 0;min-width:0}
.ranedo-bar-tabs a{position:relative;margin:-10px 0;padding:0 14px}
.ranedo-bar-tabs i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--c);opacity:.75;transition:opacity .16s,transform .16s}
.ranedo-bar-tabs a:hover i{opacity:1}
.ranedo-bar-tabs a:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:2px;border-radius:2px 2px 0 0;background:var(--c);transform:scaleX(0);transform-origin:left;transition:transform .22s cubic-bezier(.23,1,.32,1)}
.ranedo-bar-tabs a:hover:after{transform:scaleX(.35)}
.ranedo-bar-tabs a[aria-current]{color:#fff;font-weight:500}
.ranedo-bar-tabs a[aria-current] i{opacity:1;transform:scale(1.15)}
.ranedo-bar-tabs a[aria-current]:after{transform:scaleX(1)}
.ranedo-bar-phone{margin-left:auto;font-variant-numeric:tabular-nums}
@media(max-width:700px){
  .ranedo-bar{font-size:11.5px}
  .ranedo-bar .ranedo-bar-phone,.ranedo-bar-home span{display:none}
  .ranedo-bar-home{padding-right:12px}
  .ranedo-bar-home svg{width:16.6px;height:18px}
  .ranedo-bar-tabs{flex:1;justify-content:space-between;padding-left:2px}
  .ranedo-bar-tabs a{gap:5px;padding:0 7px}
  .ranedo-bar-tabs a:after{left:7px;right:7px}
}
@media(prefers-reduced-motion:reduce){.ranedo-bar-tabs a:after,.ranedo-bar-tabs i{transition:none}}

/* System landing pages (Restauracja, Rezerwacje, Noclegi): the photo banner is about half the height of
   the home page hero, which keeps the full screen. Only the home page uses .hv-hero, so .hero is safe here. */
body.page-home:not(.home-v2) .hero,body.page-home:not(.home-v2) .hero-inner{min-height:max(440px,50svh)}
body.page-home:not(.home-v2) .hero-inner{padding-top:calc(var(--bar-h,40px) + 104px);padding-bottom:56px}
body.page-home:not(.home-v2) .hero .eyebrow{margin-bottom:20px}
body.page-home:not(.home-v2) .hero h1{font-size:clamp(34px,3.6vw,50px);max-width:880px}
body.page-home:not(.home-v2) .hero-copy{max-width:880px}
body.page-home:not(.home-v2) .hero-lead{font-size:17px;margin-top:18px;max-width:640px}
body.page-home:not(.home-v2) .hero-actions{margin-top:26px}
/* The numbers row is dropped here: the strip of benefits right under the banner already says it */
body.page-home:not(.home-v2) .hero-proof{display:none}
@media(max-width:700px){
  body.page-home:not(.home-v2) .hero,body.page-home:not(.home-v2) .hero-inner{min-height:0}
  body.page-home:not(.home-v2) .hero-inner{padding-top:calc(var(--bar-h,40px) + 88px);padding-bottom:40px}
  body.page-home:not(.home-v2) .hero h1{font-size:clamp(30px,8.4vw,40px)}
  body.page-home:not(.home-v2) .hero-lead{font-size:15px}
}
/* PL/EN switch in the restaurant header (build-en.py adds it next to the login link). */
.nav-actions .lang-switch{display:flex;align-items:center;gap:8px;margin-right:6px;color:inherit;font-size:11px;font-weight:600;letter-spacing:.1em}
.nav-actions .lang-switch a{color:inherit;opacity:.6;text-decoration:none}.nav-actions .lang-switch a:hover{opacity:1}
.nav-actions .lang-switch [aria-current]{border-bottom:2px solid currentColor;line-height:1}
