/* Fonty hostowane lokalnie (bez zapytań do Google). Licencja: SIL Open Font License 1.1. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokeny — paleta „Len i świerk”, typografia, odstępy, ruch */
:root {
  /* — Paleta A · „Len i świerk” — */
  --color-paper:        oklch(96.8% 0.011 85);
  --color-paper-2:      oklch(93.6% 0.015 85);
  --color-card:         oklch(98.8% 0.005 85);
  --color-surface:      oklch(91.5% 0.04 165);    /* szałwiowe pasmo sekcji */
  --color-rule:         oklch(85% 0.014 85);
  --color-rule-strong:  oklch(62% 0.018 85);
  --color-ink:          oklch(26% 0.032 185);     /* głęboki świerk zamiast czerni */
  --color-ink-2:        oklch(37% 0.026 185);
  --color-muted:        oklch(46% 0.016 120);
  --color-accent:       oklch(51% 0.115 40);      /* glina — tylko CTA, linki, fokus */
  --color-accent-hover: oklch(45% 0.11 40);
  --color-accent-ink:   oklch(98.5% 0.008 85);
  --color-accent-soft:  oklch(92% 0.035 50);
  --color-focus:        oklch(50% 0.17 40);
  --color-success:      oklch(45% 0.09 160);
  --color-success-soft: oklch(93% 0.035 160);
  --color-danger:       oklch(49% 0.16 25);
  --color-scrim:       oklch(26% 0.03 185 / 0.38);
  --color-danger-soft:  oklch(94% 0.03 25);
  --color-warn-soft:    oklch(94% 0.045 85);

  /* Płatki logo (rekonstrukcja wektorowa do dużego formatu) — kolory marki, nie palety */
  --petal-1:  oklch(64% 0.21 18);
  --petal-2:  oklch(70% 0.18 45);
  --petal-3:  oklch(80% 0.16 72);
  --petal-4:  oklch(88% 0.17 98);
  --petal-5:  oklch(80% 0.19 128);
  --petal-6:  oklch(68% 0.17 150);
  --petal-7:  oklch(66% 0.12 180);
  --petal-8:  oklch(70% 0.13 220);
  --petal-9:  oklch(55% 0.17 255);
  --petal-10: oklch(46% 0.17 285);
  --petal-11: oklch(50% 0.2 320);
  --petal-12: oklch(62% 0.22 355);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Figtree", ui-sans-serif, sans-serif;

  --space-3xs: 0.25rem; --space-2xs: 0.5rem; --space-xs: 0.75rem;
  --space-sm: 1rem;     --space-md: 1.5rem;  --space-lg: 2rem;
  --space-xl: 3rem;     --space-2xl: 4.5rem; --space-3xl: 7rem;

  /* Skala: perfect fourth (1.333) */
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem;
  --text-lg: 1.3125rem; --text-xl: 1.75rem;   --text-2xl: 2.3125rem;
  --text-3xl: clamp(2rem, 1.4rem + 2.6vw, 3.125rem);
  --text-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);

  --radius-card: 14px; --radius-input: 10px; --radius-pill: 999px;
  --rule-hair: 1px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 180ms; --dur-mid: 280ms; --dur-long: 600ms;

  --shadow-soft: 0 1px 2px oklch(26% 0.03 185 / 0.06), 0 8px 24px oklch(26% 0.03 185 / 0.06);
}

/* Hallmark · genre: editorial (soft register) · macrostructure: Letter (adapted: one CTA in fold) · nav: N9 Edge-aligned · footer: Ft6 Letter close
 * theme: custom · vibe: "ciepły len, świerk, glina, cisza gabinetu" · paper: oklch(96.8% 0.011 85) · accent: oklch(51% 0.115 40)
 * display: Fraunces (roman, SOFT 100) · body: Figtree · axes: light / roman-serif / warm (clay)
 * enrichment: Tier B hand-built SVG (logo flower, vector) · studied: no · context: inferred
 * Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4
 */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
[id] { scroll-margin-top: 88px; }
a { color: inherit; }
p { margin: 0 0 var(--space-sm); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 380;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}

.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--space-sm); top: -4rem;
  background: var(--color-ink); color: var(--color-paper);
  padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-input); z-index: 50;
}
.skip:focus { top: var(--space-sm); }

/* ————— Przyciski ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: 48px; padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font: 600 var(--text-sm)/1 var(--font-body);
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--ghost { border-color: var(--color-rule-strong); color: var(--color-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--color-ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn svg { width: 18px; height: 18px; }

.link {
  color: var(--color-accent); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  transition: text-decoration-thickness var(--dur-short) var(--ease-out);
}
.link:hover { text-decoration-thickness: 2px; }

/* ————— Nawigacja (N9 edge-aligned: znak z lewej, jedno CTA + menu z prawej) ————— */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklch, var(--color-paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.bar__in { position: relative; display: flex; align-items: center; gap: var(--space-md); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--space-xs); text-decoration: none; min-width: 0; flex: 1 1 auto; }
.nav { flex: none; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--text-md); font-weight: 450; }
.brand__place { font-size: var(--text-xs); color: var(--color-muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-xs); }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: 48px; min-width: 48px; padding: 0 var(--space-sm); border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-rule-strong); background: transparent; color: var(--color-ink);
  font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: border-color var(--dur-short) var(--ease-out);
}
.menu-btn:hover { border-color: var(--color-ink); }
.menu-btn[aria-expanded="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.nav__links { display: none; }
.nav__links.is-open {
  display: flex; flex-direction: column;
  position: absolute; right: 0; top: calc(100% + var(--space-2xs)); width: min(340px, 100%);
  background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-soft);
  border: var(--rule-hair) solid var(--color-rule); padding: var(--space-xs) var(--space-md) var(--space-md);
}
.nav__links a {
  display: flex; justify-content: space-between; align-items: center; min-height: 52px;
  font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--text-lg);
  text-decoration: none; border-bottom: var(--rule-hair) solid var(--color-rule);
  transition: color var(--dur-short) var(--ease-out);
}
.nav__links a:hover { color: var(--color-accent); }
@media (max-width: 560px) {
  .brand__txt, .menu-btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav .btn { padding: 0 var(--space-sm); }
}

/* ————— Hero · list ————— */
.letter { padding-block: var(--space-xl) var(--space-3xl); }
.letter__grid {
  display: grid; gap: var(--space-xl);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center;
}
.letter h1 { font-size: var(--text-display); font-weight: 340; max-width: 12ch; }
.h1__kicker { display: block; margin-bottom: var(--space-sm); font-family: var(--font-body); font-size: var(--text-md); font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--color-muted); }
.letter__body { margin-top: var(--space-lg); max-width: 50ch; font-size: var(--text-lg); line-height: 1.6; color: var(--color-ink-2); }
.letter__body p { margin-bottom: var(--space-sm); }
.signoff { margin-top: var(--space-md); font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--text-lg); color: var(--color-ink); }
.signoff small { display: block; font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-3xs); }
.letter__cta { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }

.hero__side { justify-self: center; width: min(100%, 440px); }
.bloom { position: relative; width: 100%; }
.bloom > svg { width: 100%; height: auto; overflow: visible; }
.bloom .petal { mix-blend-mode: multiply; opacity: 0.86; transform-origin: 0 0; }
.bloom .petal:nth-child(1) { --i: 0; --r: 0deg; fill: var(--petal-1); }
.bloom .petal:nth-child(2) { --i: 1; --r: 30deg; fill: var(--petal-2); }
.bloom .petal:nth-child(3) { --i: 2; --r: 60deg; fill: var(--petal-3); }
.bloom .petal:nth-child(4) { --i: 3; --r: 90deg; fill: var(--petal-4); }
.bloom .petal:nth-child(5) { --i: 4; --r: 120deg; fill: var(--petal-5); }
.bloom .petal:nth-child(6) { --i: 5; --r: 150deg; fill: var(--petal-6); }
.bloom .petal:nth-child(7) { --i: 6; --r: 180deg; fill: var(--petal-7); }
.bloom .petal:nth-child(8) { --i: 7; --r: 210deg; fill: var(--petal-8); }
.bloom .petal:nth-child(9) { --i: 8; --r: 240deg; fill: var(--petal-9); }
.bloom .petal:nth-child(10) { --i: 9; --r: 270deg; fill: var(--petal-10); }
.bloom .petal:nth-child(11) { --i: 10; --r: 300deg; fill: var(--petal-11); }
.bloom .petal:nth-child(12) { --i: 11; --r: 330deg; fill: var(--petal-12); }
.bloom__core { fill: var(--color-paper); }
.bloom__facts { margin: var(--space-lg) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.bloom__facts li { display: flex; gap: var(--space-xs); padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }
.bloom__facts svg { width: 20px; height: 20px; flex: none; color: var(--color-accent); margin-top: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .bloom .petal { animation: petal-in var(--dur-long) var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
  @keyframes petal-in { from { opacity: 0; transform: rotate(var(--r)) scale(0.6); } to { opacity: 0.86; transform: rotate(var(--r)) scale(1); } }
}

@media (max-width: 860px) {
  .letter { padding-block: var(--space-xl) var(--space-2xl); }
  .letter__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__side { width: min(100%, 360px); justify-self: start; }
  .bloom > svg { width: 200px; }
}

/* ————— Sekcje ————— */
.section { padding-block: var(--space-3xl); }
.section--band { background: var(--color-surface); }
.section__head { max-width: 40rem; margin-bottom: var(--space-xl); }
.section__head h2 { font-size: var(--text-3xl); }
.section__head p { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-lg); }
@media (max-width: 720px) { .section { padding-block: var(--space-2xl); } }

/* ————— Oferta — sticky intro + lista rozwijana ————— */
.offer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.offer__intro { position: sticky; top: 104px; }
.offer__intro h2 { font-size: var(--text-3xl); }
.offer__intro p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.offer__list { border-top: var(--rule-hair) solid var(--color-rule-strong); }
.item { border-bottom: var(--rule-hair) solid var(--color-rule); }
.item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: var(--space-md); align-items: baseline;
  padding: var(--space-md) 0;
}
.item summary::-webkit-details-marker { display: none; }
.item h3 { font-size: var(--text-xl); font-weight: 400; transition: color var(--dur-short) var(--ease-out); }
.item summary:hover h3 { color: var(--color-accent); }
.item__for { display: block; margin-top: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.item__price { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; color: var(--color-ink-2); }
.item__icon { align-self: center; width: 28px; height: 28px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-rule-strong); display: grid; place-items: center; transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.item__icon svg { width: 14px; height: 14px; }
.item[open] .item__icon { transform: rotate(45deg); border-color: var(--color-ink); }
.item__body { padding: 0 0 var(--space-md); max-width: 60ch; color: var(--color-ink-2); }
.item__body ul { margin: 0 0 var(--space-sm); padding-left: 1.1em; }
.item__body li { margin-bottom: var(--space-3xs); }
.item__meta { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); align-items: center; font-size: var(--text-sm); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-2); white-space: nowrap; }
.tag--warn { background: var(--color-warn-soft); white-space: normal; padding-block: var(--space-3xs); line-height: 1.35; }
@media (max-width: 860px) {
  .offer { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .offer__intro { position: static; }
  .item summary { grid-template-columns: minmax(0, 1fr) 28px; }
  .item__price { grid-column: 1; grid-row: 2; }
  .item summary { row-gap: var(--space-2xs); padding: var(--space-sm) 0; }
  .item h3 { font-size: var(--text-lg); }
}

/* ————— Zespół ————— */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.person__photo { width: 132px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: var(--color-paper-2); filter: saturate(0.85); }
.person h3 { font-size: var(--text-xl); font-weight: 420; }
.person__role { margin: var(--space-3xs) 0 var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.person__help { margin: 0 0 var(--space-xs); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.person__help li { font-size: var(--text-xs); font-weight: 600; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink-2); }
.person__tel { display: inline-flex; align-items: center; gap: var(--space-2xs); font-weight: 600; text-decoration: none; min-height: 44px; }
.person__tel svg { width: 18px; height: 18px; color: var(--color-accent); }
.person__tel:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.tel__lbl { display: none; }
.person details { margin-top: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.person summary { cursor: pointer; color: var(--color-ink); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: var(--color-rule-strong); text-underline-offset: 0.2em; }
.person details ul { margin: var(--space-2xs) 0 0; padding-left: 1.1em; }
.person details li { margin-bottom: var(--space-3xs); }
.person__photo--empty { display: grid; place-items: center; height: auto; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--text-2xl); color: var(--color-muted); border: 1.5px dashed var(--color-rule-strong); background: var(--color-paper); filter: none; }
.team__note { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-strong); max-width: 60ch; color: var(--color-ink-2); font-size: var(--text-sm); }
@media (max-width: 900px) { .team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 440px) {
  .person { grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-sm); }
  .person__photo { width: 96px; }
}

/* ————— Pierwsza wizyta ————— */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); counter-reset: s; }
.steps li { counter-increment: s; padding-top: var(--space-md); border-top: 2px solid var(--color-ink); }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--text-2xl); font-weight: 300; line-height: 1; color: var(--color-accent); margin-bottom: var(--space-sm); }
.steps h3 { font-size: var(--text-lg); font-weight: 450; margin-bottom: var(--space-2xs); }
.steps p { color: var(--color-ink-2); font-size: var(--text-md); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ————— Kontakt (telefon jako główna droga) ————— */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.contact__main h2 { font-size: var(--text-3xl); }
.contact__lead { margin: var(--space-sm) 0 var(--space-lg); max-width: 52ch; color: var(--color-ink-2); font-size: var(--text-lg); }
.contact__main h3 { font-size: var(--text-xl); font-weight: 420; margin: var(--space-xl) 0 var(--space-xs); }
.contact address { font-style: normal; font-size: var(--text-lg); line-height: 1.5; }
.contact .entry { display: block; margin-top: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.phones { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.phones li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs) var(--space-md); flex-wrap: wrap; padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.ph__who { display: flex; flex-direction: column; min-width: 0; }
.ph__who strong { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 420; font-size: var(--text-lg); }
.ph__who small { font-size: var(--text-sm); color: var(--color-muted); }
.phones a { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; font-size: var(--text-lg); font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.phones a svg { width: 20px; height: 20px; }
.phones a:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.crisis { border-radius: var(--radius-card); background: var(--color-paper-2); padding: var(--space-md); font-size: var(--text-sm); }
.crisis h3 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-2xs); }
.crisis ul { margin: var(--space-2xs) 0 0; padding: 0; list-style: none; }
.crisis li { padding: var(--space-3xs) 0; }
.crisis a { font-weight: 700; white-space: nowrap; }
.route { margin: 0 0 var(--space-lg); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-soft); }
.route h3 { font-size: var(--text-xl); font-weight: 420; margin-bottom: var(--space-xs); }
.route p { color: var(--color-ink-2); }
.route__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.route__actions svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ————— Stopka (Ft6 letter close) ————— */
.foot { padding-block: var(--space-2xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-strong); }
.foot__close { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 340; font-size: var(--text-3xl); line-height: 1.15; max-width: 22ch; }
.foot__row { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.foot__row img { width: 36px; height: 36px; }
.foot__row a { white-space: nowrap; color: var(--color-ink-2); }
.foot__row .sp { margin-left: auto; }
@media (max-width: 640px) { .foot__row .sp { margin-left: 0; } }

/* ————— Strony tekstowe (404) ————— */
.doc { padding-block: var(--space-2xl) var(--space-3xl); }
.doc__in { max-width: 68ch; }
.doc h1 { font-size: var(--text-3xl); margin-bottom: var(--space-lg); }
.doc h2 { font-size: var(--text-xl); font-weight: 420; margin: var(--space-xl) 0 var(--space-sm); }
.doc p, .doc li { color: var(--color-ink-2); }
.doc ul { padding-left: 1.2em; margin: 0 0 var(--space-sm); }
.doc li { margin-bottom: var(--space-3xs); }
.doc .meta { font-size: var(--text-sm); color: var(--color-muted); }

/* ————— Ruch: spokojny, jedno wejście na element ————— */
.bar { transition: box-shadow var(--dur-mid) var(--ease-out); }
.bar.is-scrolled { box-shadow: var(--shadow-soft); }
.steps li { position: relative; border-top: 0; }
.steps li::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--color-ink); transform-origin: left center; }
.person__photo { transition: filter var(--dur-long) var(--ease-out); }
.person:hover .person__photo { filter: saturate(1); }
.person__tel svg, .phones a svg { transition: transform var(--dur-mid) var(--ease-out); }
.person__tel:hover svg, .phones a:hover svg { transform: rotate(-14deg); }

@media (prefers-reduced-motion: no-preference) {
  .letter__body, .signoff, .letter__cta, .bloom__facts li { animation: hero-in 900ms var(--ease-out) both; }
  .letter__body { animation-delay: 120ms; }
  .signoff { animation-delay: 240ms; }
  .letter__cta { animation-delay: 340ms; }
  .bloom__facts li:nth-child(1) { animation-delay: 520ms; }
  .bloom__facts li:nth-child(2) { animation-delay: 600ms; }
  .bloom__facts li:nth-child(3) { animation-delay: 680ms; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .steps li.reveal::after { transform: scaleX(0); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--d, 0ms) + 200ms); }
  .js .steps li.reveal.is-in::after { transform: scaleX(1); }
  .bloom > svg > g { transform-origin: 0 0; animation: bloom-turn 120s linear infinite; }
  @keyframes bloom-turn { to { transform: rotate(360deg); } }
  .item[open] .item__body { animation: item-open 420ms var(--ease-out); }
  @keyframes item-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* ————— Panel „Zadzwoń” (otwierany na telefonie) ————— */
.callbar { display: none; }
.sheet { width: 100%; max-width: 32rem; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--color-card); color: var(--color-ink); box-shadow: var(--shadow-soft); }
.sheet::backdrop { background: var(--color-scrim); }
.sheet__in { padding: var(--space-xs) var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom)); }
.sheet__grab { width: 40px; height: 4px; border-radius: var(--radius-pill); background: var(--color-rule-strong); margin: 0 auto var(--space-md); }
.sheet h2 { font-size: var(--text-xl); }
.sheet p { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.sheet__list { list-style: none; margin: var(--space-md) 0; padding: 0; display: grid; gap: var(--space-2xs); }
.sheet__call { display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; align-items: center; gap: var(--space-sm); min-height: 72px; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-card); background: var(--color-paper); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.sheet__call:active { background: var(--color-paper-2); }
.sheet__call img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.sheet__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sheet__who strong { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 450; font-size: var(--text-md); }
.sheet__who small { font-size: var(--text-xs); color: var(--color-muted); }
.sheet__who .sheet__num { color: var(--color-accent); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
.sheet__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); }
.sheet__icon svg { width: 20px; height: 20px; }
.sheet__close { width: 100%; min-height: 48px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-rule-strong); background: transparent; color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-up 360ms var(--ease-out); }
  .sheet[open]::backdrop { animation: scrim-in 360ms var(--ease-out); }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes scrim-in { from { opacity: 0; } to { opacity: 1; } }
}

/* ————— Układ mobilny (do 640 px) — projektowany osobno, nie zwężony desktop ————— */
@media (max-width: 640px) {
  :root { --text-display: 2.6rem; --text-3xl: 2rem; --text-xl: 1.4rem; }
  .wrap { width: min(100% - 2.5rem, 76rem); }
  .section { padding-block: var(--space-2xl); }
  .section__head { margin-bottom: var(--space-lg); }
  .section__head p { font-size: var(--text-md); }

  /* Nagłówek: znak + pełna nazwa, menu; CTA przeniesione do dolnego paska */
  .bar__in { min-height: 64px; gap: var(--space-xs); }
  .brand img { width: 38px; height: 38px; }
  .brand__txt { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .brand__name { font-size: 0.95rem; line-height: 1.2; overflow-wrap: anywhere; hyphens: manual; }
  .brand__place { display: none; }
  .nav > .btn--primary { display: none; }
  .nav__links.is-open { position: fixed; top: 64px; left: 0; right: 0; width: auto; border-radius: 0 0 var(--radius-card) var(--radius-card); border-width: 0 0 1px; padding: var(--space-2xs) var(--space-lg) var(--space-lg); }
  .nav__links a { min-height: 56px; font-size: var(--text-xl); }

  /* Hero: kwiat jako dekoracja w rogu, tekst na pierwszym planie */
  .letter { position: relative; overflow: clip; padding-block: var(--space-lg) var(--space-2xl); }
  .letter__grid { display: block; }
  .letter__grid > div:first-child { position: relative; z-index: 1; }
  .hero__side { display: contents; }
  .bloom { position: absolute; top: -52px; right: -70px; width: 180px; z-index: 0; pointer-events: none; }
  .bloom > svg { width: 180px; }
  .h1__kicker { max-width: 12em; font-size: var(--text-sm); margin-bottom: var(--space-md); }
  .letter h1 { max-width: 10ch; }
  .letter__body { margin-top: var(--space-md); font-size: var(--text-md); }
  .signoff { font-size: var(--text-md); }
  .letter__cta { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .letter__cta .link { align-self: center; }
  .bloom__facts { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-lg); border: 0; }
  .bloom__facts li { padding: var(--space-2xs) var(--space-xs); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-xs); align-items: center; gap: var(--space-2xs); }
  .bloom__facts svg { width: 16px; height: 16px; margin: 0; }

  /* Oferta: zwarte wiersze, cena jako znacznik */
  .offer { gap: var(--space-md); }
  .offer__intro p { font-size: var(--text-md); }
  .item summary { grid-template-columns: minmax(0, 1fr) 32px; column-gap: var(--space-sm); row-gap: 0; padding: var(--space-md) 0; align-items: center; }
  .item summary > div { grid-column: 1; grid-row: 1; }
  .item h3 { font-size: var(--text-lg); }
  .item__for { font-size: var(--text-xs); }
  .item__price { grid-column: 1; grid-row: 2; justify-self: start; margin-top: var(--space-2xs); padding: 3px var(--space-xs); border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent-hover); font-size: var(--text-xs); }
  .item__icon { grid-column: 2; grid-row: 1 / span 2; width: 32px; height: 32px; }
  .item__body { font-size: var(--text-sm); }

  /* Zespół: karty pionowe — duże zdjęcie, nazwisko w jednej linii, duże „Zadzwoń” */
  .team { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .person { display: block; padding: var(--space-lg) var(--space-md) var(--space-md); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-soft); }
  .person__photo { width: 120px; height: 120px; aspect-ratio: 1; margin-bottom: var(--space-md); border-radius: 50%; object-position: center 12%; filter: none; }
  .person h3 { font-size: var(--text-xl); overflow-wrap: normal; }
  .person__role { margin: var(--space-3xs) 0 0; font-size: var(--text-sm); line-height: 1.45; }
  .person__help { margin: var(--space-md) 0; gap: var(--space-3xs); }
  .person__help li { background: var(--color-paper); }
  .person__tel { display: flex; justify-content: center; min-height: 52px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-md); }
  .person__tel svg { color: currentColor; }
  .person__tel:hover span { text-decoration: none; }
  .tel__lbl { display: inline; font-weight: 500; }
  .person details { margin-top: var(--space-2xs); }
  .person summary { font-size: var(--text-sm); }

  /* Pierwsza wizyta: pionowa oś */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 0 0 var(--space-lg) 56px; border-top: 0; }
  .steps li::before { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: 0; border-radius: 50%; border: 1.5px solid var(--color-accent); display: grid; place-items: center; font-size: var(--text-md); font-weight: 450; }
  .steps li::after { inset: 46px auto 4px 19px; width: 2px; height: auto; background: var(--color-rule-strong); transform-origin: top center; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::after { display: none; }
  .steps h3 { padding-top: 8px; }
  .steps p { font-size: var(--text-sm); }

  /* Kontakt: całe karty klikalne */
  .contact__lead { font-size: var(--text-md); margin-bottom: var(--space-md); }
  .phones { border-top: 0; display: grid; gap: var(--space-2xs); }
  .phones li { position: relative; flex-wrap: nowrap; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-soft); }
  .ph__who { flex: 1; }
  .ph__who strong { font-size: var(--text-md); }
  .ph__who small { font-size: var(--text-xs); }
  .phones a { flex-direction: column; gap: 2px; font-size: var(--text-xs); }
  .phones a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .phones a svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); }
  .phones a:hover svg { transform: none; }
  .route { padding: var(--space-md); }
  .route__actions .btn { width: 100%; }
  .crisis { padding: var(--space-md); }

  .foot { padding-block: var(--space-xl) calc(var(--space-xl) + 72px); }
  .foot__close { font-size: var(--text-2xl); }
  .foot__row { gap: var(--space-xs) var(--space-md); }

  /* Dolny pasek „Zadzwoń” */
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: var(--space-xs) var(--space-md) calc(var(--space-xs) + env(safe-area-inset-bottom)); background: color-mix(in oklch, var(--color-paper) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-top: var(--rule-hair) solid var(--color-rule); transform: translateY(110%); transition: transform var(--dur-mid) var(--ease-out); }
  .callbar.is-on { transform: none; }
  .callbar .btn { width: 100%; min-height: 52px; font-size: var(--text-md); }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .js .steps li.reveal::after { transform: scaleY(0); }
  .js .steps li.reveal.is-in::after { transform: scaleY(1); }
}

@media (max-width: 380px) {
  .brand__name { font-size: 0.875rem; }
  .brand img { width: 34px; height: 34px; }
}
