/* Mockup additions for the Rezerwacje and Noclegi landing pages. Loaded after the live site's own
   stylesheets (/brand/restaurant/site.css, pages/home.css); only what those do not already provide. */

/* Hero photos here are 1200px wide portraits of people, so keep faces in frame */
.sys-reservation .hero-photo img{object-position:70% 30%}
.sys-stay .hero-photo img{object-position:60% 30%}
.page-home .hero h1{max-width:900px;font-size:clamp(38px,4.2vw,58px)}
.page-home .hero-lead{max-width:620px}

/* Language switch sits before "Wszystkie systemy" */
.nav-actions .lang-switch{margin-right:2px}

/* Product stage: one framed screen (real screenshot or illustrative calendar) on the grey panel */
.sys-stage{position:relative;padding:48px 150px 56px 48px;border-radius:24px;background:#eff2f4}
.sys-window{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -30px rgba(1,35,72,.4),0 2px 6px rgba(1,35,72,.08)}
.sys-bar{display:flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-bottom:1px solid #e7eaed;background:#fff}
.sys-bar i{width:7px;height:7px;border-radius:50%;background:#4a5560}
.sys-bar span{margin:0 auto;padding-right:40px;color:var(--muted);font-size:11px}
.sys-view img{display:block;width:100%;height:auto}
.sys-inset{position:absolute;right:36px;bottom:28px;width:270px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 24px 50px -18px rgba(1,35,72,.45),0 0 0 1px rgba(1,35,72,.06)}
.sys-inset img{display:block;width:100%;height:300px;object-fit:cover;object-position:left top}
.sys-stay .sys-stage{padding-right:48px}
.sys-caption{margin-top:12px;color:var(--muted);font-size:11px}

/* Illustrative stay calendar */
.sys-tape{padding:30px 34px 34px;font-size:13px}
.sys-tape-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.sys-tape-head strong{color:var(--navy);font-size:19px;font-weight:500}
.sys-tape-head span{color:var(--muted);font-size:12px}
.sys-tape-days,.sys-tape-row{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:8px;margin-top:10px}
.sys-tape-days{grid-template-columns:120px repeat(10,1fr);color:var(--muted);font-size:11px;text-align:center}
.sys-tape-row>span{color:var(--ink);font-size:13px;white-space:nowrap}
.sys-tape-row>div{position:relative;height:38px;border-radius:7px;background:repeating-linear-gradient(90deg,#f1f4f6 0,#f1f4f6 calc(10% - 2px),#fff calc(10% - 2px),#fff 10%)}
.sys-tape-row i{position:absolute;top:4px;bottom:4px;left:calc(var(--s)*10% + 2px);width:calc(var(--l)*10% - 4px);border-radius:6px}
.sys-tape i.a,.sys-tape-legend .a:before{background:#1f5aa6}
.sys-tape i.b,.sys-tape-legend .b:before{background:#e0565b}
.sys-tape i.c,.sys-tape-legend .c:before{background:#16a34a}
.sys-tape i.d,.sys-tape-legend .d:before{background:#94a3b8}
.sys-tape-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:24px;color:var(--muted);font-size:12px}
.sys-tape-legend span{display:inline-flex;align-items:center;gap:7px}
.sys-tape-legend span:before{content:"";width:10px;height:10px;border-radius:3px}

/* Small illustrations inside the tour panels */
.sys-slots{padding:26px 22px 8px}
.sys-slots small{display:block;color:#6d786f;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.sys-slots div{display:flex;gap:10px;margin:16px 0}
.sys-slots span,.sys-slots b{flex:1;padding:14px 0;border:1px solid #dfe4dc;border-radius:9px;font-size:16px;font-weight:400;text-align:center}
.sys-slots b{border-color:var(--navy);background:var(--navy);color:#fff}
.sys-slots p{font-size:12px;color:#53615c}
.sys-plan{display:grid;gap:8px}
.sys-plan>div{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:13px 14px;border-radius:9px;background:#f7f8f4;font-size:13px}
.sys-plan>div.on{background:#dce8d3;color:#37552e}
.sys-plan b{font-weight:500}
.sys-plan small{color:#6e7971;font-size:11px}
.sys-plan>div.on small{color:inherit}
.guest-qr-scene>img:only-child{object-position:50% 30%}

/* "Dla kogo": three warm cards that lead to the industry pages */
.sys-who{padding-top:0}
.sys-who-more{margin-top:24px;font-size:15px;line-height:1.8}
.sys-who-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sys-who-card{display:flex;flex-direction:column;padding:30px;border-radius:22px;background:#f0eee7;color:var(--ink)}
.sys-who-card:nth-child(2){background:#eef0e9}
.sys-who-card h3{font-size:23px;font-weight:500;line-height:1.3;letter-spacing:-.03em}
.sys-who-card p{margin:14px 0 22px;color:#53615c;font-size:14px;line-height:1.8}
.sys-who-card .text-link{margin-top:auto}
.sys-who-card:hover .text-link{text-decoration:underline}
.setup-paper div span:last-child{white-space:nowrap}

@media(max-width:1100px){
  .sys-stage{padding:32px 32px 150px}
  .sys-stay .sys-stage{padding:32px}
  .sys-inset{right:32px;bottom:24px;width:220px}
  .sys-inset img{height:230px}
  .sys-who-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .sys-stage{padding:16px 12px 140px;border-radius:16px}
  .sys-stay .sys-stage{padding:16px 12px}
  .sys-inset{right:14px;bottom:16px;width:180px}
  .sys-inset img{height:190px}
  .sys-tape{padding:18px 14px 20px;font-size:11px}
  .sys-tape-head strong{font-size:15px}
  .sys-tape-days,.sys-tape-row{grid-template-columns:78px 1fr;gap:5px;margin-top:6px}
  .sys-tape-days{grid-template-columns:78px repeat(10,1fr);font-size:9.5px}
  .sys-tape-row>span{font-size:10.5px}
  .sys-tape-row>div{height:24px}
  .sys-tape-legend{margin-top:16px;font-size:10.5px}
  .sys-who-card{padding:24px}
}

/* Product accent instead of the restaurant yellow, slightly toned down from the brand board colours
   (violet #7A3CFF, green #16A34A) so large fills stay calm. White text on both passes 4.5:1. */
.sys-reservation{--acc:#6C55D9;--acc-hover:#5B45C4;--acc-light:#BFB0FF;--acc-soft:#ECE8FB;--acc-ink:#4B38A8;--acc-stamp:#B9ACEF}
.sys-stay{--acc:#2A8052;--acc-hover:#226B44;--acc-light:#8FD9AE;--acc-soft:#E3F1E8;--acc-ink:#1F6240;--acc-stamp:#9CCFB1}
.sys-reservation,.sys-stay{--yellow:var(--acc);--yellow-soft:var(--acc-soft);--gold-ink:var(--acc-ink)}
.sys-reservation .button:not(.button--navy):not(.button--ghost):not(.button--outline),
.sys-stay .button:not(.button--navy):not(.button--ghost):not(.button--outline){color:#fff}
.sys-reservation .button:not(.button--navy):not(.button--ghost):not(.button--outline):hover,
.sys-stay .button:not(.button--navy):not(.button--ghost):not(.button--outline):hover{border-color:var(--acc-hover);background:var(--acc-hover)}
.sys-reservation ::selection,.sys-stay ::selection{color:#fff}
/* On the dark hero the accent is the light tint, otherwise it would not read */
.sys-reservation .hero-accent,.sys-stay .hero-accent{color:var(--acc-light);background:linear-gradient(to right,color-mix(in srgb,var(--acc-light) 55%,transparent),color-mix(in srgb,var(--acc-light) 15%,transparent)) 0 88%/100% .14em no-repeat}
.sys-reservation .hero .eyebrow span,.sys-stay .hero .eyebrow span{background:var(--acc-light)}
.sys-reservation .site-header:not(.is-scrolled):not(.site-header--solid) .nav-features[open] summary,
.sys-stay .site-header:not(.is-scrolled):not(.site-header--solid) .nav-features[open] summary{color:var(--acc-light)}
.sys-reservation .reassurance .icon,.sys-stay .reassurance .icon,
.sys-reservation .more-icon,.sys-stay .more-icon{background:var(--acc-soft);color:var(--acc-ink)}
.sys-reservation .tour-board-note,.sys-stay .tour-board-note,
.sys-reservation .tour-loyalty,.sys-stay .tour-loyalty,
.sys-reservation .setup-art,.sys-stay .setup-art{background:var(--acc-soft)}
.sys-reservation .guest-res-status,.sys-stay .guest-res-status{background:var(--acc-soft);color:var(--acc-ink)}
.sys-reservation .input:focus,.sys-stay .input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 40%,transparent)}
/* Closing card: accent fill with white text; its main button stays navy */
.sys-reservation .home-close-card,.sys-stay .home-close-card{color:#fff}
.sys-reservation .home-close-card :is(h2,p,li,strong,a,.section-label),.sys-stay .home-close-card :is(h2,p,li,strong,a,.section-label){color:#fff}
.sys-reservation .home-close-card .button--navy,.sys-stay .home-close-card .button--navy{border-color:#fff;background:#fff;color:var(--navy)}
.sys-reservation .home-close-card .button--navy:hover,.sys-stay .home-close-card .button--navy:hover{border-color:#e9edf2;background:#e9edf2}

/* Existing subpages: their main buttons take the system accent too */
.sys-reservation main .button.dark,.sys-stay main .button.dark{border-color:var(--acc);background:var(--acc);color:#fff}
.sys-reservation main .button.dark:hover,.sys-stay main .button.dark:hover{border-color:var(--acc-hover);background:var(--acc-hover)}

/* Existing subpages sit under the fixed header */
.sys-reservation:not(.page-home) main,.sys-stay:not(.page-home) main{padding-top:var(--header-h,80px)}

/* Existing subpages: the redesign stylesheet re-lays the footer for its old markup; restore the live layout */
.sys-reservation .site-footer .footer-top,.sys-stay .site-footer .footer-top{grid-template-columns:1.1fr .75fr .75fr 1.5fr;gap:48px;padding:64px 0 48px;align-items:start}
.footer-form .button{margin-top:4px}
.footer-form .footer-direct{display:flex;flex-wrap:wrap;gap:6px 18px;margin:16px 0 0;font-size:13px}
.footer-form .footer-direct a{color:var(--navy);font-weight:500}
@media(max-width:1000px){.sys-reservation .site-footer .footer-top,.sys-stay .site-footer .footer-top{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:640px){.sys-reservation .site-footer .footer-top,.sys-stay .site-footer .footer-top{grid-template-columns:1fr}}
