/* drstoszek.pl – spokojna, akwarelowa konwencja */
:root {
  --paper: #f6f1e8;
  --paper-2: #efe7da;
  --ink: #2d3a33;
  --ink-soft: #55645b;
  --sage: #8fa38a;
  --sage-deep: #5f7a5f;
  --sage-wash: #dfe6d6;
  --sand-wash: #efe2cf;
  --wood: #a9784f;
  --line: rgba(45, 58, 51, .14);
  --white: #fffdf8;
  --serif: "Libre Baskerville", Baskerville, Georgia, serif;
  --sans: "Mulish", "Avenir Next", Avenir, system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-deep); font-weight: 600; margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink); }
.muted { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Pasek górny ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 241, 232, .86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--serif); font-size: 1.02rem; }
.brand__role { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--sage); }

/* ---------- Nagłówek z grafiką ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: #6f7d68; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 50% 45%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 33, 27, .86) 0%, rgba(24, 33, 27, .74) 34%, rgba(24, 33, 27, .4) 54%, rgba(24, 33, 27, 0) 74%),
    linear-gradient(0deg, rgba(24, 33, 27, .3), rgba(24, 33, 27, 0) 45%);
}
.hero__content { position: relative; color: var(--white); padding-block: 80px; }
.hero__content > * { max-width: 540px; }
.hero__title {
  color: var(--white); font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  max-width: 13em; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.hero__sub {
  font-size: clamp(.8rem, .7rem + .4vw, 1rem); letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500; margin-bottom: .5em; text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}
.hero__place { font-family: var(--serif); font-style: italic; font-size: 1.1rem; opacity: .95; margin-bottom: 2em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.2em; }
.hero__note { font-size: .9rem; opacity: .92; max-width: 34em; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.btn--ghost { color: var(--white); border: 1px solid rgba(255, 253, 248, .75); background: rgba(255, 253, 248, .08); }
.btn--ghost:hover { background: rgba(255, 253, 248, .18); }
.btn--dark { background: var(--sage-deep); color: var(--white); }
.btn--dark:hover { background: #4f6a50; }
.btn--outline { color: var(--ink); border: 1px solid var(--ink-soft); background: transparent; }
.btn--outline:hover { background: rgba(255, 253, 248, .6); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .88rem; }

/* ---------- Akwarelowe tła ---------- */
.wash { position: relative; isolation: isolate; overflow: hidden; }
.wash::before, .wash::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(60px); opacity: .75; pointer-events: none;
}
.wash--sage::before { width: 620px; height: 420px; left: -180px; top: -120px; background: radial-gradient(closest-side, var(--sage-wash), transparent); }
.wash--sage::after { width: 520px; height: 380px; right: -160px; bottom: -120px; background: radial-gradient(closest-side, var(--sand-wash), transparent); }
.wash--sand::before { width: 640px; height: 420px; right: -200px; top: -140px; background: radial-gradient(closest-side, var(--sand-wash), transparent); }
.wash--sand::after { width: 480px; height: 360px; left: -160px; bottom: -140px; background: radial-gradient(closest-side, var(--sage-wash), transparent); }

/* ---------- Sekcje ---------- */
.section, .intro { padding-block: clamp(64px, 8vw, 112px); }
.intro .narrow { text-align: center; margin-bottom: 56px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: rgba(255, 253, 248, .72); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 26px;
}
.tile__icon { width: 40px; height: 40px; color: var(--sage-deep); margin-bottom: 14px; }
.tile p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

.ribbon {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  font-size: .9rem; color: var(--ink-soft);
}
.ribbon li { display: flex; align-items: center; gap: 10px; }
.ribbon li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__head p:not(.eyebrow) { color: var(--ink-soft); }

.list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 12px; height: 2px; background: var(--sage); border-radius: 2px;
}

.checks { list-style: none; padding: 0; margin: 1.4em 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 10px;
  border-left: 2px solid var(--sage-deep); border-bottom: 2px solid var(--sage-deep);
  transform: rotate(-45deg) scale(.8);
}

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 64px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(45, 58, 51, .35);
}
.card p { color: var(--ink-soft); margin: 0; }
.card p strong { color: var(--ink); }

/* ---------- Cennik ---------- */
.prices { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.6em; }
.prices th, .prices td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.prices th { text-align: left; font-weight: 500; padding-right: 24px; }
.prices th span { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.prices td { text-align: right; white-space: nowrap; font-family: var(--serif); font-size: 1.15rem; }
.prices tr:last-child td { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); white-space: normal; }
.pay { margin-bottom: .6em; }

/* ---------- Kontakt ---------- */
.notice {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--sage);
  border-left: 5px solid var(--sage-deep);
  border-radius: 14px; padding: 22px 24px; margin: 1.2em 0 2em;
}
.notice svg { width: 34px; height: 34px; flex: none; color: var(--sage-deep); margin-top: 2px; }
.notice p { margin: 0; color: var(--ink-soft); }
.notice__title { font-weight: 700; color: var(--ink) !important; font-size: 1.08rem; margin-bottom: 4px !important; }
.number { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: .4em; }
.number span { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.8em; }
.address {
  margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end;
}
.address p { margin-bottom: .5em; }
.maps { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Kryzys ---------- */
.crisis { background: var(--paper-2); padding-block: 48px; border-top: 1px solid var(--line); }
.crisis h2 { font-size: 1.3rem; }
.crisis p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ---------- Stopka ---------- */
.footer { background: #2d3a33; color: #d9dfd6; padding-block: 44px; font-size: .9rem; }
.footer p { margin: 0 0 .4em; }
.footer a { color: #e9eee6; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__name { font-family: var(--serif); color: var(--white); font-size: 1rem; margin-bottom: .8em !important; }

/* ---------- Strona tekstowa (polityka) ---------- */
.doc { padding-block: 64px 96px; }
.doc h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc ul { padding-left: 1.2em; }
.doc .notice { margin-top: 2.5em; }

/* ---------- Telefon ---------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; margin-top: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__in { min-height: auto; padding-block: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand__name { font-size: .95rem; }
  .brand__role { font-size: .62rem; }
  .nav { gap: 0; width: 100%; justify-content: space-between; }
  .nav a { white-space: nowrap; font-size: .82rem; }
  html { scroll-padding-top: 100px; }
  .hero { min-height: 88vh; align-items: flex-end; }
  .hero__img img { object-position: 50% 50%; }
  .hero__veil { background: linear-gradient(0deg, rgba(28, 38, 31, .82) 0%, rgba(28, 38, 31, .55) 45%, rgba(28, 38, 31, .1) 75%); }
  .hero__content { padding-block: 40px 36px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .intro .narrow { text-align: left; }
  .ribbon { justify-content: flex-start; flex-direction: column; }
  .prices th, .prices td { padding: 14px 0; }
  .cta-row .btn { flex: 1 1 100%; }
}

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