/* =====================================================================
   EventSlot: strony firm (10 układów x 4 motywy)
   Kolory przychodzą jako zmienne CSS z templates.js (zasada 60-30-10).
   ===================================================================== */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/jakarta-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/jakarta-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/fraunces-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/fraunces-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; }
.hidden { display: none !important; }

.es-site {
  --fb: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fh: var(--fb);
  --hw: 800;
  --rb: max(6px, calc(var(--r) - 8px));
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 30px rgb(0 0 0 / .07);
  background: var(--bg); color: var(--ink); min-height: 100vh;
  font: 16px/1.6 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.es-site.head-serif { --fh: 'Fraunces', Georgia, 'Times New Roman', serif; --hw: 600; }
.es-site.is-dark { --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35); }
.es-site a { color: inherit; }
.es-site img { display: block; max-width: 100%; }
.es-wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.is-narrow .es-wrap { max-width: 640px; }

/* typografia */
.es-h1 { font-family: var(--fh); font-weight: var(--hw); font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 16px; text-wrap: balance; }
.es-h1-xl { font-size: clamp(48px, 10vw, 132px); line-height: .94; letter-spacing: -.04em; }
.es-h2 { font-family: var(--fh); font-weight: var(--hw); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.es-h3 { font-family: var(--fh); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0; }
.head-serif .es-h3 { font-weight: 600; font-size: 22px; }
.es-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--mu); max-width: 34em; margin: 0 0 26px; }
.es-sub { color: var(--mu); margin: 8px 0 0; max-width: 40em; }
.es-kicker { display: block; font-size: 13px; font-weight: 700; color: var(--mu); margin-bottom: 4px; }
.es-muted { color: var(--mu); }

/* przyciski */
.es-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: var(--rb); border: 1.5px solid transparent; font: 700 16px/1 var(--fb); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .15s ease, background .15s ease; white-space: nowrap;
}
.es-btn:hover { filter: brightness(1.06); }
.es-btn:active { transform: translateY(1px); }
.es-btn:disabled { opacity: .55; cursor: not-allowed; }
.es-btn-a { background: var(--cta); color: var(--cta-ink) !important; }
.es-btn-p { background: var(--p); color: var(--p-ink) !important; }
.es-btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ln); }
.es-btn-ghost:hover { background: var(--sf); filter: none; }
.es-btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.es-btn-lg { min-height: 56px; font-size: 17px; }
.es-btn-block { width: 100%; }
.es-site :focus-visible { outline: 3px solid color-mix(in srgb, var(--p) 45%, transparent); outline-offset: 2px; }
.es-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.es-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--mu); }
.es-facts li { display: inline-flex; align-items: center; gap: 8px; }
.es-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mu); flex: none; }
.is-open .es-dot { background: #22a86a; box-shadow: 0 0 0 4px rgb(34 168 106 / .18); }

/* media */
.es-media { margin: 0; overflow: hidden; background: var(--soft); position: relative; }
.es-media img, .es-media .es-art { width: 100%; height: 100%; object-fit: cover; display: block; }

/* nawigacja */
.es-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ln); }
.es-nav-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.es-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--fh); font-weight: var(--hw); font-size: 20px; letter-spacing: -.01em; min-width: 0; }
.es-brand img { height: 42px; width: auto; max-width: 140px; object-fit: contain; }
.es-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-links { display: flex; gap: 26px; margin-left: auto; }
.es-links a { text-decoration: none; color: var(--mu); font-weight: 600; font-size: 15px; }
.es-links a:hover { color: var(--ink); }
@media (max-width: 800px) { .es-links { display: none; } .es-nav .es-btn { margin-left: auto; } .es-brand { font-size: 18px; } .es-brand img { height: 36px; } }

/* ---------------- HERO: Klasyczny (overlay), Rezerwacja od razu, Premium ---------------- */
.hero-overlay, .hero-booking, .hero-premium { position: relative; color: var(--hero-ink); isolation: isolate; }
.es-hero-bg { position: absolute !important; inset: 0; z-index: -2; }
.es-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .12) 0%, rgb(0 0 0 / .35) 45%, rgb(0 0 0 / .72) 100%); }
.hero-overlay .es-hero-body { min-height: clamp(480px, 74vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 80px; padding-bottom: clamp(40px, 7vh, 72px); }
.hero-overlay .es-h1 { max-width: 13em; }
.hero-overlay .es-lead, .hero-booking .es-lead, .hero-premium .es-lead { color: inherit; opacity: .9; }
.hero-overlay .es-facts, .hero-booking .es-facts { color: inherit; opacity: .92; }
.hero-overlay .es-btn-ghost, .hero-booking .es-btn-ghost, .hero-premium .es-btn-ghost { color: var(--hero-ink) !important; border-color: rgb(255 255 255 / .55); }
.hero-overlay .es-btn-ghost:hover, .hero-booking .es-btn-ghost:hover { background: rgb(255 255 255 / .12); }

/* ---------------- HERO: Obok siebie ---------------- */
.hero-split { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.es-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.es-split-media { aspect-ratio: 4 / 3.4; border-radius: var(--r); box-shadow: var(--shadow); }
.es-split-text .es-h1 { color: var(--ink); }
@media (max-width: 860px) { .es-split { grid-template-columns: 1fr; } .es-split-media { aspect-ratio: 16 / 10; } }

/* ---------------- HERO: Wyśrodkowany ---------------- */
.hero-centered { padding: clamp(44px, 8vw, 96px) 0 0; text-align: center; }
.hero-centered .es-lead { margin-left: auto; margin-right: auto; }
.hero-centered .es-actions, .hero-centered .es-facts { justify-content: center; }
.es-center-logo { height: 76px; width: auto; margin: 0 auto 24px; object-fit: contain; }
.es-center-media { margin-top: clamp(32px, 5vw, 56px); aspect-ratio: 21 / 9; border-radius: var(--r); }
@media (max-width: 700px) { .es-center-media { aspect-ratio: 4 / 3; } }
.tpl-centered .es-sec-head { text-align: center; }
.tpl-centered .es-sub { margin-left: auto; margin-right: auto; }
.tpl-centered .es-about { margin: 0 auto; text-align: center; }

/* ---------------- HERO: Kafelki ---------------- */
.hero-bento { padding: 24px 0 clamp(36px, 5vw, 64px); }
.es-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.es-tile { border-radius: var(--r); padding: 26px; background: var(--sf); display: flex; flex-direction: column; justify-content: flex-end; }
.es-tile strong { font-family: var(--fh); font-size: 22px; line-height: 1.2; }
.tile-main { grid-column: span 2; grid-row: span 2; background: var(--p); color: var(--p-ink); justify-content: space-between; gap: 20px; }
.tile-main .es-h1 { color: inherit; font-size: clamp(36px, 4.6vw, 58px); }
.tile-main .es-lead { color: inherit; opacity: .88; margin-bottom: 0; }
.tile-main .es-btn-a { align-self: flex-start; }
.tile-main .es-btn-a { background: var(--bg); color: var(--ink) !important; }
.tile-img { grid-column: span 2; grid-row: span 2; padding: 0; min-height: 320px; }
.tile-img2 { grid-column: span 2; padding: 0; min-height: 150px; }
.tile-addr { grid-column: span 2; }
.tile-accent { background: var(--a); color: var(--a-ink); }
.tile-accent .es-kicker { color: inherit; opacity: .75; }
@media (max-width: 860px) { .es-tile { padding: 18px; } .es-tile strong { font-size: 18px; } .es-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-main, .tile-img, .tile-img2, .tile-addr { grid-column: span 2; } .tile-main { grid-row: auto; } .tile-img { grid-row: auto; min-height: 240px; } }
.tpl-bento .es-card { border: 0; background: var(--sf); box-shadow: none; }
.tpl-bento .es-sec:nth-child(odd) .es-card { background: var(--bg); }

/* ---------------- HERO: Magazyn ---------------- */
.hero-editorial { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.es-ed-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); border-top: 2px solid var(--ink); padding-top: 28px; margin-top: 12px; align-items: start; }
.es-ed-media { aspect-ratio: 16 / 10.5; border-radius: var(--r); }
@media (max-width: 860px) { .es-ed-row { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .tpl-editorial .es-sec .es-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; } .tpl-editorial .es-sec-head { border-top: 2px solid var(--ink); padding-top: 14px; } }
.tpl-editorial .es-card { border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; padding: 18px 0 0; }
.tpl-editorial .es-sec:nth-child(odd) { background: var(--bg); }

/* ---------------- Panel boczny ---------------- */
.es-layout-side { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 100vh; }
.es-aside { position: sticky; top: 0; height: 100vh; background: var(--p); color: var(--p-ink); padding: 32px 28px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.es-aside-brand { font-size: 22px; flex-direction: column; align-items: flex-start; }
.es-aside-brand img { height: 56px; max-width: 180px; }
.es-aside-brand .es-brand-name { white-space: normal; }
.es-aside-nav { display: flex; flex-direction: column; gap: 2px; }
.es-aside-nav a { text-decoration: none; padding: 9px 0; font-weight: 600; opacity: .86; border-bottom: 1px solid rgb(255 255 255 / .16); }
.es-aside-nav a:hover { opacity: 1; }
.es-aside-info { font-size: 15px; display: grid; gap: 8px; margin-top: auto; }
.es-aside-info p { margin: 0; display: flex; gap: 8px; align-items: center; }
.es-aside .es-dot { background: currentColor; opacity: .6; }
.es-aside .es-btn-a { background: var(--bg); color: var(--ink) !important; }
.is-dark .es-aside-nav a { border-color: rgb(0 0 0 / .18); }
.hero-sidebar { padding: clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px) 8px; }
.es-side-media { aspect-ratio: 16 / 8; border-radius: var(--r); }
.es-side-caption { padding: 28px clamp(0px, 1vw, 8px) 0; }
.es-side-caption .es-lead { font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); font-family: var(--fh); font-weight: 600; max-width: 26em; }
@media (max-width: 900px) {
  .es-layout-side { grid-template-columns: 1fr; }
  .es-aside { position: static; height: auto; padding: 18px 16px; gap: 14px; }
  .es-aside-brand { flex-direction: row; align-items: center; }
  .es-aside-nav { flex-direction: row; overflow-x: auto; gap: 18px; }
  .es-aside-nav a { border: 0; white-space: nowrap; padding: 4px 0; }
  .es-aside-info { margin-top: 0; }
  .es-aside > .es-btn { display: none; }
  .es-side-media { aspect-ratio: 4 / 3; }
}

/* ---------------- HERO: Galeria (mozaika) ---------------- */
.hero-mosaic { padding: 20px 0 clamp(32px, 5vw, 56px); }
.es-mosaic { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(420px, 66vh, 680px); margin-bottom: 20px; }
.es-mosaic .es-media { border-radius: var(--r); }
.es-mosaic .m0 { grid-column: span 2; grid-row: span 2; }
.es-mosaic .m3 { grid-column: span 2; }
.es-mosaic-card { position: absolute; left: 20px; bottom: 20px; max-width: 480px; background: var(--bg); color: var(--ink); padding: 28px; border-radius: var(--r); box-shadow: var(--shadow); }
.es-mosaic-card .es-h1 { font-size: clamp(32px, 4vw, 50px); }
.es-mosaic-card .es-lead { font-size: 17px; margin-bottom: 18px; }
.es-mosaic-card .es-actions { margin: 0; }
@media (max-width: 760px) {
  .es-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 120px; height: auto; }
  .es-mosaic .m0 { grid-column: span 2; grid-row: auto; } .es-mosaic .m3 { display: none; }
  .es-mosaic-card { position: relative; left: 0; bottom: 0; grid-column: span 2; box-shadow: none; padding: 20px 0 0; max-width: none; }
}

/* ---------------- HERO: Rezerwacja od razu ---------------- */
.es-hb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
.es-hb-text { padding-top: 24px; }
.es-hb-text .es-facts { margin-bottom: 24px; }
.es-hb-card { background: var(--bg); color: var(--ink); border-radius: var(--r); padding: 24px; box-shadow: 0 24px 60px rgb(0 0 0 / .28); }
.es-hb-card > .es-h3 { margin-bottom: 14px; }
.es-hb-card .es-res { grid-template-columns: 1fr; }
.es-hb-card .es-grid2 { grid-template-columns: 1fr; }
@media (max-width: 900px) { .es-hb { grid-template-columns: 1fr; } }

/* ---------------- HERO: Wizytówka ---------------- */
.hero-compact { padding: 40px 0 16px; text-align: center; }
.es-avatar { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 18px; background: var(--p); color: var(--p-ink); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 6px var(--soft); }
.es-avatar img { width: 100%; height: 100%; object-fit: cover; }
.es-avatar span { font: var(--hw) 44px/1 var(--fh); }
.hero-compact .es-h1 { font-size: clamp(32px, 7vw, 44px); }
.hero-compact .es-lead { margin: 0 auto 16px; font-size: 17px; }
.hero-compact .es-facts { justify-content: center; margin-bottom: 22px; }
.es-stack { display: grid; gap: 10px; }
.es-compact-media { margin-top: 22px; aspect-ratio: 4 / 3; border-radius: var(--r); }
.tpl-compact .es-site, .tpl-compact { background: var(--sf); }
.tpl-compact .es-sec { padding: 20px 0; background: transparent !important; }
.tpl-compact .es-sec .es-wrap { background: var(--bg); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.tpl-compact .es-cards { grid-template-columns: 1fr; }
.tpl-compact .es-card { box-shadow: none; }
.tpl-compact .es-visit { grid-template-columns: 1fr; }
.tpl-compact .es-h2 { font-size: 26px; }
.tpl-compact .es-footer { border: 0; }

/* ---------------- HERO: Premium ---------------- */
.hero-premium { text-align: center; }
.es-prem { min-height: clamp(540px, 88vh, 880px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 80px; padding-bottom: 80px; }
.hero-premium .es-kicker { color: var(--a); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: 18px; }
.hero-premium .es-h1 { font-weight: 500; font-size: clamp(44px, 7.4vw, 96px); max-width: 12em; }
.es-rule { display: block; width: 72px; height: 1px; background: var(--a); margin: 6px auto 24px; }
.hero-premium .es-lead { margin-left: auto; margin-right: auto; }
.hero-premium .es-actions { justify-content: center; }
.hero-premium .es-shade { background: radial-gradient(ellipse at center, rgb(0 0 0 / .35), rgb(0 0 0 / .82)); }
.tpl-premium .es-sec-head { text-align: center; }
.tpl-premium .es-sec-head::after { content: ''; display: block; width: 56px; height: 1px; background: var(--a); margin: 18px auto 0; }
.tpl-premium .es-sub { margin-left: auto; margin-right: auto; }
.tpl-premium .es-card { box-shadow: none; background: var(--sf); }
.tpl-premium .es-about { margin: 0 auto; text-align: center; font-family: var(--fh); font-size: clamp(19px, 2vw, 23px); }
.tpl-premium .es-nav { border-color: var(--ln); }

/* ---------------- Sekcje ---------------- */
.es-sec { padding: clamp(52px, 7vw, 100px) 0; }
.es-main > .es-sec:nth-child(even) { background: var(--sf); }
.es-sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.es-about { font-size: clamp(17px, 1.5vw, 19px); max-width: 44em; margin: 0; white-space: pre-line; }

.es-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.es-card { background: var(--bg); border: 1px solid var(--ln); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.es-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.es-price { font-weight: 800; font-size: 22px; color: var(--p); white-space: nowrap; font-variant-numeric: tabular-nums; }
.es-meta { margin: 0; font-size: 14px; color: var(--mu); font-weight: 600; }
.es-desc { margin: 0; }
.es-incl { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.es-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.es-check { width: 20px; height: 20px; flex: none; color: var(--p); background: var(--soft); border-radius: 50%; padding: 3px; margin-top: 1px; }
.es-card .es-btn { margin-top: auto; }

.es-prices { list-style: none; padding: 0; margin: 0; max-width: 780px; display: grid; gap: 18px; }
.tpl-centered .es-prices, .tpl-premium .es-prices { margin: 0 auto; }
.es-pr-row { display: flex; align-items: baseline; gap: 10px; font-size: 17px; }
.es-pr-name { font-weight: 600; }
.es-pr-dots { flex: 1; border-bottom: 2px dotted var(--ln); transform: translateY(-4px); min-width: 24px; }
.es-pr-val { white-space: nowrap; font-variant-numeric: tabular-nums; }
.es-pr-note { color: var(--mu); font-size: 14px; margin-top: 2px; }

.es-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.es-gal-item { padding: 0; border: 0; background: var(--soft); border-radius: var(--rb); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.es-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.es-gal-item:hover img { transform: scale(1.04); }
.es-lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.es-lightbox::backdrop { background: rgb(0 0 0 / .82); }
.es-lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.es-lb-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .6); color: #fff; font-size: 26px; cursor: pointer; }

.es-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.es-hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.es-hours th, .es-hours td { padding: 11px 0; border-bottom: 1px solid var(--ln); text-align: left; font-weight: 500; }
.es-hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--mu); }
.es-hours tr.is-today th, .es-hours tr.is-today td { font-weight: 800; color: var(--ink); }
.es-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.es-contact p { margin: 0 0 4px; font-size: 17px; }
.es-contact a { font-weight: 600; text-decoration-color: color-mix(in srgb, var(--p) 50%, transparent); text-underline-offset: 3px; }
.es-social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 760px) { .es-visit { grid-template-columns: 1fr; } .es-contact { grid-template-columns: 1fr; } }

.es-footer { border-top: 1px solid var(--ln); padding: 28px 0; font-size: 14px; color: var(--mu); }
.es-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------------- Rezerwacja ---------------- */
.es-book { max-width: 780px; display: grid; gap: 26px; }
.tpl-centered #rezerwacja .es-book, .tpl-premium #rezerwacja .es-book { margin: 0 auto; }
.es-step { display: grid; gap: 12px; }
.es-step-t { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.es-num { width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: var(--p-ink); display: grid; place-items: center; font-size: 14px; flex: none; }
.es-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.es-res-opt { text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--ln); border-radius: var(--rb); padding: 14px 16px; cursor: pointer; display: grid; gap: 2px; }
.es-res-opt span { font-size: 14px; color: var(--mu); }
.es-res-opt:hover { border-color: color-mix(in srgb, var(--p) 45%, var(--ln)); }
.es-res-opt.is-on { border-color: var(--p); background: var(--soft); }
.es-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.es-day { flex: none; scroll-snap-align: start; min-width: 72px; display: grid; gap: 2px; justify-items: center; padding: 10px 8px; border-radius: var(--rb); border: 1.5px solid var(--ln); background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.es-day-w { font-size: 13px; color: var(--mu); font-weight: 600; }
.es-day-n { font-weight: 800; font-size: 15px; white-space: nowrap; }
.es-day.is-on { background: var(--p); border-color: var(--p); color: var(--p-ink); }
.es-day.is-on .es-day-w { color: inherit; opacity: .85; }
.es-other-l { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mu); }
.es-other-l input { width: auto; padding: 8px 10px; min-height: 40px; }
.es-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.es-slot { min-height: 48px; border-radius: var(--rb); border: 1.5px solid var(--ln); background: var(--bg); color: var(--ink); font: 800 16px/1 var(--fb); cursor: pointer; font-variant-numeric: tabular-nums; }
.es-slot:hover { border-color: var(--p); }
.es-slot.is-on { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.es-empty { grid-column: 1 / -1; background: var(--soft); border-radius: var(--rb); padding: 18px; text-align: center; color: var(--mu); margin: 0; display: grid; gap: 10px; justify-items: center; }
.es-empty p { margin: 0; }
.es-form { background: var(--bg); border: 1px solid var(--ln); border-radius: var(--r); padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow); }
.es-hb-card .es-form { border: 0; box-shadow: none; padding: 0; }
.es-summary { background: var(--soft); border-radius: var(--rb); padding: 12px 14px; display: grid; gap: 2px; }
.es-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .es-grid2 { grid-template-columns: 1fr; } }
.es-field { display: grid; gap: 6px; margin-bottom: 12px; }
.es-field > span { font-size: 14px; font-weight: 700; }
.es-site input, .es-site textarea, .es-site select { width: 100%; font: 16px/1.4 var(--fb); color: var(--ink); background: var(--bg); border: 1.5px solid var(--ln); border-radius: var(--rb); padding: 12px 14px; min-height: 48px; }
.is-dark input, .is-dark textarea { background: var(--sf); color-scheme: dark; }
.es-site input:focus, .es-site textarea:focus { outline: 3px solid color-mix(in srgb, var(--p) 30%, transparent); border-color: var(--p); }
.es-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mu); margin: 4px 0 16px; }
.es-consent input { width: 22px; min-height: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--p); }
.es-done { text-align: center; display: grid; gap: 6px; justify-items: center; padding: 28px 16px; background: var(--bg); border: 1px solid var(--ln); border-radius: var(--r); }
.es-done p { margin: 0; }
.es-done .es-btn { margin-top: 12px; }
.es-done-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--p); display: grid; place-items: center; margin-bottom: 8px; }
.es-done-svg { width: 40px; height: 40px; }

/* pasek na telefonie */
.es-mbar { display: none; }
@media (max-width: 700px) {
  .es-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--ln); }
  .es-site { padding-bottom: 76px; }
  .es-nav .es-btn { display: none; }
}

/* powiadomienia */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 16px); opacity: 0; background: #17202a; color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 100; transition: all .25s; max-width: 90vw; font: 600 15px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { background: #c62f35; }

.demo-flag { position: fixed; left: 12px; bottom: 12px; z-index: 40; background: #17202a; color: #fff; font: 600 12px/1 'Plus Jakarta Sans', system-ui, sans-serif; padding: 8px 10px; border-radius: 8px; opacity: .85; }
@media (max-width: 700px) { .demo-flag { bottom: 84px; } }

.es-notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #132331; padding: 24px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .es-site * { transition: none !important; } }
.is-embed { min-height: 0; padding-bottom: 0 !important; }

/* =====================================================================
   Ruch (styl Apple): miękkie wejścia, uniesienie przy najechaniu, powiększenie przycisków.
   Klasy .rv/.in dodaje skrypt; bez JS i przy "ogranicz ruch" wszystko jest od razu widoczne.
   ===================================================================== */
.es-site { --ease: cubic-bezier(.2, .7, .2, 1); }
@keyframes esFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes esFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes esZoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }

.es-site.anim .es-hero .es-h1, .es-site.anim .es-hero .es-lead, .es-site.anim .es-hero .es-actions, .es-site.anim .es-hero .es-facts,
.es-site.anim .es-hero .es-kicker, .es-site.anim .es-hero .es-rule, .es-site.anim .es-avatar, .es-site.anim .es-center-logo { animation: esFadeUp .9s var(--ease) both; }
.es-site.anim .es-hero .es-lead { animation-delay: .08s; }
.es-site.anim .es-hero .es-actions { animation-delay: .16s; }
.es-site.anim .es-hero .es-facts { animation-delay: .24s; }
.es-site.anim .es-hero .es-media img, .es-site.anim .es-hero .es-media .es-art { animation: esZoomOut 1.6s var(--ease) both; }
.es-site.anim .es-hero .es-media, .es-site.anim .es-tile, .es-site.anim .es-hb-card, .es-site.anim .es-mosaic-card { animation: esFade 1s var(--ease) both; }
.es-site.anim .es-hb-card, .es-site.anim .es-mosaic-card { animation: esFadeUp 1s var(--ease) .2s both; }
.es-site.anim .es-nav { animation: esFade .6s ease both; }

.es-site .rv { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.es-site .rv.in { opacity: 1; transform: none; }

.es-btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s ease, background .2s ease; }
.es-btn:hover:not(:disabled) { transform: translateY(-1px) scale(1.035); filter: none; }
.es-btn:active:not(:disabled) { transform: scale(.97); transition-duration: .08s; }
.es-btn-a:hover:not(:disabled) { box-shadow: 0 12px 30px color-mix(in srgb, var(--cta) 45%, transparent); }
.es-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.es-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgb(0 0 0 / .16); }
.is-dark .es-card:hover { box-shadow: 0 26px 60px rgb(0 0 0 / .4); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.tpl-editorial .es-card:hover, .tpl-compact .es-card:hover { transform: none; box-shadow: none; }
.es-res-opt, .es-day, .es-slot { transition: transform .22s var(--ease), border-color .2s, background .2s, color .2s, box-shadow .22s var(--ease); }
.es-res-opt:hover, .es-day:hover { transform: translateY(-2px); }
.es-slot:hover { transform: scale(1.05); }
.es-slot.is-on, .es-day.is-on { box-shadow: 0 8px 20px color-mix(in srgb, var(--p) 30%, transparent); }
.es-slot { animation: esFadeUp .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
.es-form:not(.hidden), .es-done:not(.hidden), .es-empty { animation: esFadeUp .5s var(--ease) both; }
.es-links a, .es-aside-nav a, .es-contact a { transition: color .2s, opacity .2s; }
.es-links a { position: relative; }
.es-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--cta); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.es-links a:hover::after { transform: scaleX(1); }
.es-gal-item img { transition: transform .7s var(--ease); }
.es-gal-item:hover img { transform: scale(1.07); }
.es-lightbox[open] { animation: esFadeUp .35s var(--ease) both; }
.es-lightbox[open]::backdrop { animation: esFade .35s ease both; }
.es-tile.tile-img img, .es-tile.tile-img2 img, .es-mosaic .es-media img { transition: transform .9s var(--ease); }
.es-tile.tile-img:hover img, .es-tile.tile-img2:hover img, .es-mosaic .es-media:hover img { transform: scale(1.05); }
.es-mbar { animation: esFadeUp .6s var(--ease) .4s both; }

@media (prefers-reduced-motion: reduce) {
  .es-site *, .es-site *::before, .es-site *::after { animation: none !important; transition: none !important; }
  .es-site .rv { opacity: 1; transform: none; }
}

/* Ciemne motywy (Stal i czerwień, Czerń i złoto): tło zostaje ciemne, tekst jasny, akcent tylko na przyciskach */
.is-dark .es-aside { background: var(--sf); color: var(--ink); border-right: 1px solid var(--ln); }
.is-dark .es-aside-nav a { border-color: var(--ln); }
.is-dark .es-aside .es-btn-a { background: var(--cta); color: var(--cta-ink) !important; }
.is-dark .es-aside .es-dot { background: var(--mu); }
.is-dark .tile-main { background: var(--soft); color: var(--ink); }
.is-dark .tile-main .es-btn-a { background: var(--cta); color: var(--cta-ink) !important; }
.is-dark .es-btn-p { background: transparent; color: var(--ink) !important; border-color: color-mix(in srgb, var(--ink) 38%, transparent); }
.is-dark .es-btn-p:hover:not(:disabled) { background: var(--cta); border-color: var(--cta); color: var(--cta-ink) !important; box-shadow: 0 12px 30px color-mix(in srgb, var(--cta) 40%, transparent); }

/* Kafelki: zdjęcie wypełnia kafelek zamiast rozpychać rząd */
.es-tile.es-media { position: relative; }
.es-tile.es-media img, .es-tile.es-media .es-art { position: absolute; inset: 0; }
.tile-img2 { min-height: 210px; }

/* podgląd w kreatorze: bez paska przewijania, żeby nie wystawał poza obudowę telefonu */
html.es-preview-doc { scrollbar-width: none; }
html.es-preview-doc::-webkit-scrollbar { display: none; }
