/* Wspólny styl strony — przeniesiony 1:1 z design/oryginal-index.html.
   Tokeny i klasy są kontraktem dla wszystkich szablonów (publicznych i panelu).
   Dodatki specyficzne dla widżetu rezerwacji: booking.css; dla panelu: admin.css. */
:root {
  --ink: #302d29;
  --muted: #777168;
  --cream: #f7f4ee;
  --sand: #e9e1d4;
  --white: #fff;
  --accent: #756653;
  --ok: #476044;
  --danger: #8a3a2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 Arial, sans-serif;
}

header {
  padding: 22px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--sand);
}

.brand { font-weight: 700; letter-spacing: .03em; }
header a { color: var(--ink); text-decoration: none; }

main { max-width: 1080px; margin: 55px auto; padding: 0 22px; }

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  font-size: 12px;
}

h1 { font: 500 clamp(38px, 6vw, 66px)/1.08 Georgia, serif; margin: 16px 0; }
h2 { font: 34px Georgia, serif; font-weight: 500; margin: 0 0 18px; }

p { color: var(--muted); }
.lead { font-size: 19px; max-width: 520px; }

.panel {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 40px #473c2b0b;
}

.price { font: 36px Georgia, serif; margin: 12px 0; }
.price small { font: 15px Arial; color: var(--muted); }

.btn {
  display: inline-block;
  background: var(--ink);
  color: white;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.danger { background: var(--danger); }

section { margin-top: 65px; }

.booking { max-width: 650px; }
.field { margin: 14px 0; }
label { display: block; font-size: 14px; margin-bottom: 6px; }

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
input[type="checkbox"], input[type="radio"] { width: auto; }

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

.notice {
  font-size: 13px;
  background: var(--cream);
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
}
.notice.ok { color: var(--ok); }
.notice.error { color: var(--danger); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { padding: 20px; border-top: 1px solid var(--sand); }

footer {
  margin-top: 75px;
  padding: 28px 7%;
  border-top: 1px solid var(--sand);
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--muted); }

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  main { margin: 35px auto; }
  .features { grid-template-columns: 1fr; }
}

/* === Szybki kontakt (paczka D): pływający przycisk na każdej stronie publicznej =================
   Szablon: partials/contact_button.html. Telefon: okrągły przycisk 48 px z samą ikoną (nazwę dostępną
   podaje aria-label), a dolny odstęp strony i scroll-padding sprawiają, że przycisk wysyłki formularza
   nie zostaje pod nim. */
.qc {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 24px #473c2b33;
}
.qc:hover { background: var(--accent); }
.qc:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.qc-icon { flex: none; width: 24px; height: 24px; }
.qc-text { white-space: nowrap; }

@media (max-width: 899px) {
  body { padding-bottom: 72px; }
  html { scroll-padding-bottom: 84px; }
}
@media (max-width: 559px) {
  .qc { right: 12px; bottom: 12px; width: 48px; height: 48px; padding: 0; }
  .qc-text { display: none; }
}
@media print { .qc { display: none; } }
