:root {
  --paper: #f4f0e6;
  --paper-deep: #e5efe6;
  --ink: #17211c;
  --ink-soft: #3d4a43;
  --line: #ddd4c4;
  --card: #fffdf8;
  --green: #1b4332;
  --green-mid: #2d6a4f;
  --green-soft: #d7e7db;
  --clay: #b85c38;
  --clay-soft: #f6e3d8;
  --danger: #8c2f2f;
  --danger-soft: #f8e8e4;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(184, 92, 56, 0.09), transparent 60%),
    radial-gradient(800px 480px at 100% 0%, rgba(27, 67, 50, 0.09), transparent 55%),
    var(--paper);
}

h1,
h2,
h3,
.logo {
  font-family: Fraunces, Georgia, "Iowan Old Style", serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

a {
  color: var(--green);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

::selection {
  background: #c5dccb;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 240, 230, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 33, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.45rem;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-right: 0.38em;
  border-radius: 4px;
  background: var(--green);
  box-shadow: inset -0.22em -0.22em 0 #e7c8b4;
  vertical-align: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--green-mid);
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.btn-small {
  padding: 8px 14px;
}

.btn-block {
  width: 100%;
}

.text-btn {
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: start;
  padding: 36px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.02;
}

.mark {
  color: var(--green);
}

.lede {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.facts {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.facts li {
  position: relative;
  padding-left: 18px;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

#uslugi,
#jak,
#rezerwacja {
  scroll-margin-top: 80px;
}

.booking-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 24px 50px rgba(23, 33, 28, 0.08);
}

.booking-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.demo {
  margin: 0 0 14px;
  background: var(--clay-soft);
  color: #6b341c;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.alert {
  margin: 0 0 12px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 12px;
  padding: 10px 12px;
}

.hint,
.summary {
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.stepper {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.78rem;
  color: #8a8378;
}

.stepper .is-current {
  color: var(--ink);
  font-weight: 600;
}

.stepper button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.choice:hover,
.slot:hover {
  border-color: var(--green);
}

.choice span:last-child,
.duration {
  color: var(--clay);
  font-weight: 600;
  font-size: 0.85rem;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cal-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  color: var(--ink);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.dow {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-bottom: 4px;
}

.day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #b7b1a6;
  cursor: default;
}

.day.has {
  background: var(--green-soft);
  color: var(--ink);
  cursor: pointer;
}

.day.has:hover {
  background: #c5dccb;
}

.day.is-selected {
  background: var(--green);
  color: white;
}

.day.today.has:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px var(--green);
}

.day.blank {
  visibility: hidden;
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.slot {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  cursor: pointer;
}

.slot[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: white;
  color: var(--ink);
  font-weight: 400;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

::placeholder {
  color: #9a9388;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.check label {
  font-weight: 400;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 4px;
}

.done-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-size: 1.3rem;
}

.band {
  background: var(--paper-deep);
  padding: 72px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 22px;
}

.section-head h2,
.prose h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head p,
.prose p {
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(23, 33, 28, 0.05);
}

.service h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.service p {
  color: var(--ink-soft);
}

.service .text-btn {
  margin-top: auto;
  align-self: flex-start;
  color: var(--green);
  font-weight: 600;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.how {
  padding: 72px 0;
}

.how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.how-list li {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(23, 33, 28, 0.05);
}

.how-list span {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.8rem;
  color: var(--green);
}

.how-list h3 {
  margin: 6px 0;
  font-size: 1.3rem;
}

.how-list p {
  color: var(--ink-soft);
}

.site-footer {
  padding: 8px 0 48px;
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  align-items: end;
}

.footer-inner strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.fine {
  margin-left: auto;
}

.prose {
  padding: 36px 0 72px;
  max-width: 740px;
}

.prose h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.prose h2 {
  margin: 28px 0 8px;
  font-size: 1.45rem;
}

@media (max-width: 880px) {
  .hero,
  .how-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-link {
    display: none;
  }

  .booking-card {
    position: static;
  }
}

@media (min-width: 881px) {
  .booking-card {
    position: sticky;
    top: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
