/* =====================================================================
   Dom w Szlachtowej – styl strony dla gości
   Paleta: ciepła biel, len, piasek, drewno, świerkowa zieleń
   ===================================================================== */
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Variable.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Italic-Variable.woff") format("woff");
  font-weight: 400 700; font-style: italic; font-display: swap;
}

:root {
  --bg: #faf6ef;
  --bg-alt: #f1e9dc;
  --paper: #fffdf9;
  --sand: #ddcdb3;
  --line: #e6dac6;
  --wood: #8a5a36;
  --wood-dark: #6b4327;
  --green: #23392d;
  --green-2: #2f4a3a;
  --green-soft: #dfe7dc;
  --ink: #25241f;
  --muted: #6a6358;
  --danger: #a3392b;
  --ok: #2f6b45;
  --busy: #d9cdbb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -24px rgba(35, 57, 45, .35);
  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--wood-dark); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wood);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* „do uzupełnienia” */
.todo {
  display: inline-block; font: 600 .72rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  color: #7a4b12; background: #fbe9c8; border: 1px dashed #d9a652; padding: .18em .55em; border-radius: 999px;
  vertical-align: middle; white-space: nowrap;
}
.draft-bar {
  background: #3b2b1c; color: #fbe9c8; font-size: .85rem; text-align: center; padding: 8px var(--gutter);
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.draft-bar strong { color: #fff; }
.sample-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(59, 43, 28, .88); color: #fbe9c8;
  font: 600 .68rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px;
  pointer-events: none;
}

/* ------------------------------------------------------------ przyciski */
.btn {
  --b: var(--green); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--c); font: 600 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-2); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(35,57,45,.6); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--wood { --b: var(--wood); }
.btn--wood:hover { background: var(--wood-dark); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { --b: rgba(255,255,255,.9); --c: var(--green); }
.btn--light:hover { background: #fff; color: var(--green); }
.btn--block { width: 100%; }

/* ------------------------------------------------------------ nagłówek */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s, color .3s;
  color: #fff;
}
.has-draft .header { top: auto; position: absolute; }
.header.is-solid, .has-draft .header.is-solid { position: fixed; top: 0; background: rgba(250, 246, 239, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { font-family: var(--serif); font-size: 1.3rem; color: inherit; text-decoration: none; line-height: 1.1; }
.brand small { display: block; font: 500 .68rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.brand:hover { color: inherit; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-size: .95rem; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; text-decoration: underline; }
.header .btn { min-height: 42px; padding: .6em 1.15em; font-size: .92rem; }
.header:not(.is-solid) .btn { --b: rgba(255,255,255,.95); --c: var(--green); }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--bg); color: var(--ink); flex-direction: column; justify-content: center;
    gap: 22px; transform: translateY(-100%); transition: transform .35s ease; z-index: -1; padding: 80px var(--gutter);
  }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 1.6rem; }
  .nav { visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
  .menu-open .nav { transform: none; visibility: visible; transition: transform .35s ease; }
  .header.is-solid { backdrop-filter: none; background: var(--bg); }
  .menu-open .header { color: var(--ink); }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header:not(.is-solid) .nav .btn { --b: var(--green); --c: #fff; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(92svh, 900px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,28,22,.55) 0%, rgba(20,28,22,.12) 35%, rgba(20,28,22,.25) 60%, rgba(20,28,22,.78) 100%);
}
.hero__content { padding-top: 140px; padding-bottom: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
.hero .eyebrow { color: #f0d9b5; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.2rem); font-weight: 450; max-width: 15ch; }
.hero h1 em { font-style: italic; color: #f3dfbd; }
.hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 52ch; opacity: .93; }
.hero .sample-badge { top: auto; bottom: 12px; left: auto; right: 12px; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* szybkie wyszukiwanie */
.quick {
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 0; align-items: stretch;
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  max-width: 880px;
}
.quick__field { display: grid; gap: 2px; padding: 10px 18px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 12px; font: inherit; color: inherit; min-width: 0; }
.quick__field + .quick__field { border-left: 1px solid var(--line); }
.quick__field:hover { background: var(--bg-alt); }
.quick__label { font: 600 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quick__value { font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick__value.is-empty { color: var(--muted); }
.quick select { border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 0; color: inherit; appearance: none; cursor: pointer; }
.quick .btn { border-radius: 12px; min-height: 58px; }
.quick__price { font-size: .9rem; opacity: .9; }
.hero__cta { margin: 6px 0 14px; }
.hero__cta .btn { font-size: 1.05rem; padding-inline: 28px; }
@media (max-width: 760px) {
  .quick { grid-template-columns: 1fr 1fr; }
  .quick__field:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .quick .btn { grid-column: 1 / -1; margin-top: 6px; }
}

/* ------------------------------------------------------------ fakty */
.facts { background: var(--green); color: #eef1ea; }
.facts__list { list-style: none; margin: 0 auto; padding-block: 22px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; }
.facts__list li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.facts__list svg { width: 26px; height: 26px; flex: none; stroke: #d9b98c; }
.facts__list li { white-space: nowrap; }
.facts__list b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: #fff; }
.facts .todo { background: rgba(251,233,200,.14); color: #fbe9c8; border-color: rgba(251,233,200,.5); }

/* ------------------------------------------------------------ sekcje */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }

/* o domu */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text { display: grid; gap: 18px; }
.about__text .prose { display: grid; gap: 1em; color: #3b3830; max-width: 62ch; }
.about__pics { position: relative; display: grid; grid-template-columns: 1fr .75fr; gap: 14px; align-items: end; }
.about__pics figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.about__pics figure:first-child { aspect-ratio: 4 / 5; }
.about__pics figure:last-child { aspect-ratio: 3 / 4; margin-bottom: -40px; }
.about__pics img { width: 100%; height: 100%; object-fit: cover; }
.highlights { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.highlights li { background: var(--bg); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.highlights svg { width: 30px; height: 30px; stroke: var(--wood); }
.highlights h3 { font-size: 1.12rem; }
.highlights p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__pics figure:last-child { margin-bottom: 0; }
  .highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }

/* galeria */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 230px); gap: 12px; }
.gallery__item { position: relative; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6n+4) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(1.05); }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .gallery__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(6n+4) { grid-row: span 1; }
}
.todo--text { white-space: normal; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9rem; border-radius: 8px; padding: .5em .8em; display: block; }
.empty-note { padding: 28px; border: 1px dashed var(--sand); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(18, 22, 18, .96); color: #fff; }
.lightbox::backdrop { background: rgba(18, 22, 18, .9); }
.lightbox__stage { position: absolute; inset: 56px 64px 72px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__stage .sample-badge { top: 0; left: 0; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-size: .92rem; opacity: .85; padding-inline: 16px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__stage { inset: 60px 8px 80px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; } .lightbox__cap { bottom: 72px; } }

/* wyposażenie */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.amenities > div { background: var(--paper); padding: 26px 26px 30px; }
.amenities h3 { font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.amenities ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.amenities li { padding-left: 22px; position: relative; font-size: .98rem; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--wood); border-bottom: 2px solid var(--wood); transform: rotate(-45deg); }
@media (max-width: 860px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .amenities { grid-template-columns: 1fr; } }

/* okolica */
.area { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.attractions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--sand); }
.attractions li { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--sand); }
.attractions h3 { font-size: 1.18rem; }
.attractions p { grid-column: 1; color: var(--muted); font-size: .95rem; }
.attractions .dist { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .9rem; color: var(--wood-dark); font-variant-numeric: tabular-nums; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green); color: #eef1ea; min-height: 380px; display: grid; place-items: center; text-align: center; }
.map__ph { padding: 32px; display: grid; gap: 14px; justify-items: center; max-width: 420px; position: relative; z-index: 1; }
.map__ph svg { width: 44px; height: 44px; stroke: #d9b98c; }
.map__ph p { opacity: .85; font-size: .95rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__contours { position: absolute; inset: 0; opacity: .16; }
.addr { margin-top: 18px; display: flex; gap: 10px; align-items: center; color: var(--muted); flex-wrap: wrap; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .attractions li { grid-template-columns: 1fr; }
  .attractions .dist { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 4px; }
}

/* ------------------------------------------------------------ rezerwacja */
.booking-sec { background: var(--bg-alt); }
/* Wyszukiwarka IdoBooking – wygląd pól i przycisku nadaje IdoBooking; my dajemy tylko ramkę */
.ido { display: grid; gap: 14px; }
.ido__widget { min-height: 64px; } /* bez overflow – kalendarz IdoBooking wysuwa się poza ramkę */
.ido__widget .iai-search { max-width: 100%; }
.ido__alt { color: var(--muted); }
.ido__terms { margin-top: 16px; }
.ido__ask { margin: 14px 0 0; color: var(--muted); }
.booking { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 30px); }
.panel h3 { font-size: 1.25rem; display: grid; gap: 6px; }
.step { font: 600 .75rem/1 var(--sans); color: var(--wood); letter-spacing: .1em; text-transform: uppercase; }
.booking__side { position: sticky; top: 92px; display: grid; gap: 16px; }
@media (max-width: 980px) { .booking { grid-template-columns: 1fr; } .booking__side { position: static; } }

/* kalendarz */
.cal { margin-top: 14px; }
.cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.2rem; color: var(--ink); display: grid; place-items: center; }
.cal__nav button:hover:not([disabled]) { background: var(--bg-alt); }
.cal__nav button[disabled] { opacity: .35; cursor: default; }
.cal__months { display: grid; grid-template-columns: repeat(var(--cal-months, 2), 1fr); gap: 28px; }
.cal__title { text-align: center; font-family: var(--serif); font-size: 1.12rem; margin-bottom: 8px; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; }
.cal__dow { text-align: center; font: 600 .7rem/2 var(--sans); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cal__day {
  position: relative; aspect-ratio: 1 / 1; min-height: 38px; border: 0; background: transparent; font: 500 .95rem/1 var(--sans);
  color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; border-radius: 0; padding: 0;
}
.cal__day span { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; }
.cal__day:hover:not([disabled]) span { box-shadow: inset 0 0 0 1.5px var(--green-2); }
.cal__day[disabled] { cursor: default; color: #b5ab9b; }
.cal__day.is-past { color: #c4bbac; }
.cal__day.is-today span { box-shadow: inset 0 0 0 1px var(--sand); }
/* zajęte noce – połówki w dniach przyjazdu/wyjazdu innych gości */
.cal__day.is-busy { background: var(--busy); color: #8b806e; }
.cal__day.is-busy span { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
/* dzień przyjazdu innych gości: rano wolny (można wyjechać), noc zajęta */
.cal__day.is-busy-start { background: linear-gradient(135deg, transparent 50%, var(--busy) 50%); }
/* dzień wyjazdu innych gości: noc wolna (można przyjechać) */
.cal__day.is-busy-end { background: linear-gradient(135deg, var(--busy) 50%, transparent 50%); }
.cal__day.is-checkout-ok { color: var(--ink); cursor: pointer; }
.cal__day.is-checkout-ok span { text-decoration: none; }
.cal__day.in-range { background: var(--green-soft); }
.cal__day.is-start { background: linear-gradient(90deg, transparent 50%, var(--green-soft) 50%); }
.cal__day.is-end { background: linear-gradient(90deg, var(--green-soft) 50%, transparent 50%); }
.cal__day.is-start.is-end { background: transparent; }
.cal__day.is-start span, .cal__day.is-end span { background: var(--green); color: #fff; }
.cal__day.is-short { color: #b5ab9b; }
.cal__blank { aspect-ratio: 1 / 1; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.cal__legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 6px; border: 1px solid var(--line); }
.cal__hint { margin-top: 12px; font-size: .92rem; color: var(--muted); min-height: 1.5em; }
.cal__hint.is-warn { color: var(--danger); }
@media (max-width: 640px) { .cal__months { --cal-months: 1 !important; } .cal__months > :nth-child(2) { display: none; } }

/* wybór i podsumowanie */
.stay { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 14px; }
.stay > div { padding: 12px 14px; display: grid; gap: 2px; }
.stay > div + div { border-left: 1px solid var(--line); }
.stay__guests { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); display: flex !important; align-items: center; justify-content: space-between; }
.stay b { font-weight: 500; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sand); background: var(--paper); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.stepper button:hover:not([disabled]) { border-color: var(--green-2); }
.stepper button[disabled] { opacity: .35; cursor: default; }
.stepper output { min-width: 2.2em; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.quote { margin-top: 16px; display: grid; gap: 8px; font-size: .96rem; }
.quote__row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.quote__row small { display: block; color: var(--muted); font-size: .82rem; }
.quote__total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 1.15rem; font-weight: 600; }
.quote__total span:last-child { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.quote__note { font-size: .84rem; color: var(--muted); }
.quote__empty { color: var(--muted); font-size: .95rem; padding: 12px 0 2px; }
.rules { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--muted); margin-top: 12px; }

/* formularz */
.form { display: grid; gap: 14px; margin-top: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 5px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--sand);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(47,74,58,.15); background: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .85rem; min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin-top: 1px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 14px; border-radius: 10px; background: #f8e3dd; color: #6e2317; font-size: .94rem; }
.small { font-size: .85rem; color: var(--muted); }

/* sukces */
.success { text-align: left; display: grid; gap: 14px; }
.success__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.success__icon svg { width: 28px; height: 28px; stroke: var(--green); }
.success dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .96rem; }
.success dt { color: var(--muted); }
.success dd { margin: 0; font-variant-numeric: tabular-nums; }
.status-pill { display: inline-block; background: #fbe9c8; color: #7a4b12; border-radius: 999px; padding: 3px 10px; font-size: .82rem; font-weight: 600; }
.mail-info { padding: 12px 14px; border-radius: 10px; font-size: .93rem; }
.mail-info.ok { background: var(--green-soft); }
.mail-info.warn { background: #fbe9c8; }

/* ------------------------------------------------------------ FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--wood); border-bottom: 2px solid var(--wood); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: #3b3830; max-width: 68ch; }

/* ------------------------------------------------------------ kontakt i stopka */
.contact { background: var(--green); color: #eef1ea; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #d9b98c; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list .k { font: 600 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #d9b98c; }
.contact__list a, .contact__list .v { color: #fff; font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; }
.contact .todo { background: rgba(251,233,200,.14); color: #fbe9c8; border-color: rgba(251,233,200,.5); font-size: .75rem; }
.contact p { color: rgba(238,241,234,.85); max-width: 48ch; }
@media (max-width: 800px) { .contact__grid { grid-template-columns: 1fr; } }
.footer { background: #1a2a21; color: rgba(238,241,234,.75); font-size: .9rem; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: rgba(238,241,234,.9); }
.ridge { display: block; width: 100%; height: 42px; color: var(--green); margin-bottom: -1px; }

/* ------------------------------------------------------------ pasek mobilny */
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(250,246,239,.97); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px); transition: transform .3s ease; box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4);
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mobile-cta .btn { flex: 1; max-width: 260px; }
  .mobile-cta__price { font-size: .9rem; line-height: 1.25; }
  .mobile-cta__price b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
  body { padding-bottom: 76px; }
}

/* ------------------------------------------------------------ okno wyboru dat (hero) */
.datepick { border: 0; border-radius: 20px; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.datepick::backdrop { background: rgba(20, 28, 22, .55); }
.datepick__in { padding: 22px clamp(16px, 3vw, 28px) 20px; display: grid; gap: 8px; }
.datepick__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.datepick__close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; width: 44px; height: 44px; color: var(--ink); }
.datepick__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .datepick { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; } }

/* ------------------------------------------------------------ strony prawne / błędy */
.page { padding-block: 140px 80px; }
.page .doc { max-width: 760px; display: grid; gap: 1em; }
.page .doc h2 { font-size: 1.5rem; margin-top: 1.2em; }
.page .doc ul { margin: 0; padding-left: 1.3em; display: grid; gap: .4em; }
.notice { padding: 14px 16px; background: #fbe9c8; border: 1px dashed #d9a652; border-radius: 10px; color: #5b3a10; font-size: .95rem; }

/* ------------------------------------------------------------ animacje */
.reveal { opacity: 1; transform: none; }
.js .reveal.will-reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.will-reveal { opacity: 1; transform: none; }
}

/* poprawki z audytu */
.gallery__item[hidden] { display: none; }
.gallery__more { margin-top: 18px; text-align: center; }
.cal.is-loading .cal__months { opacity: .45; transition: opacity .2s; }
.cal__day.is-loading { cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--green-2); text-decoration: underline; cursor: pointer; }
.quote__extra { font-size: .9rem; color: var(--muted); }
.terms-box { padding: 12px 14px; border-radius: 10px; background: var(--bg-alt); font-size: .9rem; display: grid; gap: 4px; }
.terms-box p { color: var(--ink); }
