:root {
  --bg: #f6f2ec;
  --bg2: #ede6dc;
  --ink: #161514;
  --muted: #6d665e;
  --line: #d8cfc3;
  --accent: #a8865f;
  --dark: #171615;
  --r: 14px;
  --head: 'Josefin Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; letter-spacing: .06em; }
.h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .08em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px 12px; }
.todo { background: #fff3a8; color: #5a4a00; padding: 0 .25em; border-radius: 3px; font-style: normal; }
.sec--dark .todo { background: #6b5d1f; color: #fff7c4; }
.muted { color: var(--muted); }
.kicker { font: 500 .8rem/1 var(--body); letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.note { color: var(--muted); font-size: .92rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .7em 1.6em; border-radius: 999px; font: 500 .95rem/1 var(--body); letter-spacing: .04em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #3a3632; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg2); }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: #fff8; color: #fff; background: none; }
.btn--sm { min-height: 40px; padding: .55em 1.2em; font-size: .88rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* nagłówek */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.top__logo { opacity: 0; transition: opacity .3s; pointer-events: none; }
.top.is-past .top__logo { opacity: 1; pointer-events: auto; }
.top__logo img { width: 84px; height: auto; color: var(--ink); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.nav a:hover { color: var(--accent); }

/* hero */
.hero { padding: clamp(30px, 6vw, 80px) 0 clamp(50px, 8vw, 110px); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero__logo { width: min(440px, 100%); height: auto; margin-bottom: 30px; }
.hero h1 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 300; max-width: 26ch; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arch { margin: 0; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--bg2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__img { box-shadow: 0 30px 60px -30px #0004; }

/* sekcje */
.sec { padding: clamp(60px, 9vw, 120px) 0; }
.sec--alt { background: var(--bg2); }
.sec--dark { background: var(--dark); color: #f3eee8; }
.sec--dark .kicker { color: #cdb08c; }

/* cennik */
.price { list-style: none; padding: 0; margin: 10px 0 20px; max-width: 760px; }
.price li { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price__name { flex: 1; font-family: var(--head); font-size: 1.25rem; }
.price__name small { display: block; font: .88rem/1.4 var(--body); color: var(--muted); margin-top: 4px; }
.price__val { font-weight: 500; white-space: nowrap; }

/* galeria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 20px; }
.gallery__it { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/5; background: var(--line); }
.gallery__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__it:hover img { transform: scale(1.04); }
.lb { position: fixed; inset: 0; z-index: 50; background: #000d; display: grid; place-items: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb img { max-height: 90vh; width: auto; border-radius: 8px; }
.lb__x { position: absolute; top: 10px; right: 16px; font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* o mnie */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about p { max-width: 56ch; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes blockquote { margin: 0; padding: 28px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.quotes blockquote p { margin: 0 0 14px; }
.quotes footer { color: var(--accent); font-family: var(--head); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }

/* rezerwacja */
.booking { background: #211f1d; border: 1px solid #ffffff14; border-radius: 22px; padding: clamp(20px, 4vw, 40px); max-width: 760px; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; }
.steps li { flex: 1; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #ffffff66; border-top: 2px solid #ffffff22; padding-top: 10px; counter-increment: s; }
.steps li::before { content: counter(s) ". "; }
.steps li.is-on, .steps li.is-done { color: #fff; border-color: #cdb08c; }
.pane { display: none; }
.pane.is-on { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.pane__q { font-family: var(--head); font-size: 1.35rem; margin: 0 0 16px; }
.sec--dark .muted { color: #b5aca2; }
.svc { display: grid; gap: 10px; }
.svc button { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid #ffffff22; background: #ffffff08; color: #fff; font: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.svc button:hover, .svc button[aria-checked="true"] { border-color: #cdb08c; background: #cdb08c1a; }
.svc b { font-family: var(--head); font-weight: 400; font-size: 1.15rem; display: block; }
.svc small { color: #b5aca2; }
.svc .p { white-space: nowrap; font-size: .95rem; color: #e8dccd; }

.cal { background: #ffffff08; border: 1px solid #ffffff18; border-radius: 14px; padding: 14px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head strong { font-family: var(--head); font-weight: 400; font-size: 1.15rem; text-transform: capitalize; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff2a; background: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal__dow span { font-size: .75rem; color: #ffffff77; text-transform: uppercase; padding: 4px 0; }
.cal__grid button { height: 48px; border-radius: 10px; border: 1px solid transparent; background: none; color: #ffffff40; font: 500 1rem var(--body); cursor: default; position: relative; }
.cal__grid button.free { color: #fff; background: #ffffff10; cursor: pointer; }
.cal__grid button.free::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: #cdb08c; transform: translateX(-50%); }
.cal__grid button.free:hover { border-color: #cdb08c; }
.cal__grid button.sel { background: #cdb08c; color: #171615; }
.cal__grid button.sel::after { background: #171615; }
.cal__grid button.today { text-decoration: underline; text-underline-offset: 3px; }
.cal__legend { font-size: .8rem; color: #b5aca2; margin: 12px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-left: 8px; }
.dot--free { background: #cdb08c; margin-left: 0; }
.dot--full { background: #ffffff30; }
.slots { margin-top: 18px; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slots button { min-height: 46px; border-radius: 10px; border: 1px solid #ffffff2a; background: none; color: #fff; font: 500 1rem var(--body); cursor: pointer; }
.slots button:hover { border-color: #cdb08c; background: #cdb08c22; }
.slots h4 { font: 500 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #b5aca2; margin: 14px 0 8px; }
.back { margin-top: 18px; background: none; border: 0; color: #b5aca2; font: inherit; font-size: .92rem; cursor: pointer; padding: 8px 0; }
.back:hover { color: #fff; }

.summary { padding: 16px 18px; border-radius: 12px; background: #cdb08c1f; border: 1px solid #cdb08c55; margin-bottom: 20px; line-height: 1.5; }
.summary b { font-family: var(--head); font-weight: 400; font-size: 1.2rem; }
#book-form label { display: block; font-size: .9rem; margin-bottom: 14px; color: #e8dccd; }
#book-form input:not([type=checkbox]), #book-form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 10px; border: 1px solid #ffffff2a; background: #ffffff0c; color: #fff; font: 16px var(--body); }
#book-form input:focus, #book-form textarea:focus { outline: none; border-color: #cdb08c; }
#book-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #b5aca2; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: #cdb08c; flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { color: #ffb4a2; min-height: 1.2em; font-size: .92rem; margin: 0 0 10px; }
.done { text-align: center; padding: 20px 0; }
.done__ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #cdb08c; color: #171615; display: grid; place-items: center; font-size: 2rem; }
.done h3 { font-size: 1.8rem; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact__big { font-family: var(--head); font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 10px; }
.contact__big a { text-decoration: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; margin: 0; max-width: 340px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; }
.hours .is-today { font-weight: 700; color: var(--ink); }

/* stopka */
.foot { border-top: 1px solid var(--line); padding: 40px 0 100px; font-size: .88rem; color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.foot__logo { width: 80px; height: auto; }
.foot p { margin: 0; }

.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 10px 30px -10px #0008; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; display: none; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* animacje wejścia */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .pane.is-on { animation: none; } }

/* telefon */
@media (max-width: 860px) {
  .nav { display: none; }
  .top__in { justify-content: space-between; }
  .hero__in, .about, .contact, .quotes { grid-template-columns: 1fr; }
  .hero { padding-top: 10px; }
  .hero__img { max-width: 420px; width: 100%; justify-self: center; aspect-ratio: 5/4; }
  .hero__logo { width: min(320px, 86%); margin: 0 auto 22px; }
  .hero__txt { text-align: center; }
  .hero h1, .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .about__img { max-width: 360px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fab { display: inline-flex; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .cal { padding: 10px; }
  .cal__dow, .cal__grid { gap: 4px; }
}
