@charset "UTF-8";
/* =========================================================================
   Maciej Schmidt — psycholog | seksuolog
   Arkusz stylów. Jeden plik dla całej witryny.
   Sekcje: 1. Zmienne  2. Reset  3. Typografia  4. Układ  5. Komponenty
           6. Sekcje strony  7. Blog  8. Stopka  9. Responsywność  10. Druk
   ========================================================================= */

/* ---------- 1. ZMIENNE ---------------------------------------------------
   Zmieniasz kolor marki? Zmieniasz TYLKO --accent poniżej. Reszta się dostroi.
   ------------------------------------------------------------------------ */
:root {
  /* Kolory. Akcent to morski petrol zaczerpnięty ze strony Gabora Maté.
     Tła są chłodne, bo ciepły beż kłóciłby się z tym odcieniem.
     Zmieniasz kolor marki? Podmień --accent i --accent-dark oraz
     --accent-soft, reszta jest neutralna i zadziała z każdym. */
  --paper:        #fafbfc;   /* tło główne, chłodna biel */
  --paper-2:      #f1f4f5;   /* tło sekcji naprzemiennych */
  --paper-3:      #e3e9eb;   /* obramowania, separatory */
  --ink:          #1f2a2e;   /* tekst główny, kontrast 14.19:1 */
  --ink-2:        #495559;   /* tekst pomocniczy, kontrast 7.43:1 */
  --ink-3:        #5a6569;   /* podpisy i meta, kontrast 5.79:1 */
  --accent:       #255c6d;   /* morski petrol, kontrast 7.10:1 */
  --accent-dark:  #1d4a58;   /* stan hover, biel na nim 9.67:1 */
  --accent-soft:  #dbe7eb;   /* jasne tło ikonek i plamek */
  --sand:         #b98d5a;   /* ciepły akcent, oszczędnie */
  --sand-light:   #e8d3ba;   /* ten sam akcent na morskim tle, 5.11:1 */
  --white:        #ffffff;

  /* Typografia */
  /* Kroje jak u Gabora Maté: Crimson Text na nagłówki, Montserrat na tekst. */
  --font-display: "Crimson Text", Georgia, "Times New Roman", serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Skala płynna — rozmiary same się skalują między 360px a 1280px */
  --step--1: clamp(0.86rem, 0.83rem + 0.15vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.12rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.38vw, 1.44rem);
  --step-2:  clamp(1.53rem, 1.38rem + 0.72vw, 1.98rem);
  --step-3:  clamp(1.86rem, 1.61rem + 1.22vw, 2.55rem);
  --step-4:  clamp(2.24rem, 1.84rem + 2.00vw, 3.30rem);
  --step-5:  clamp(2.70rem, 2.06rem + 3.20vw, 4.25rem);

  /* Przestrzeń */
  --space-xs: 0.5rem;
  --space-s:  1rem;
  --space-m:  1.75rem;
  --space-l:  3rem;
  --space-xl: clamp(4rem, 3rem + 5vw, 7rem);

  /* Kształt */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --container: 1140px;
  --measure:   68ch;

  /* Cienie — subtelne, ciepłe, nigdy czarne */
  --shadow-sm: 0 1px 2px rgba(31, 42, 46, 0.05);
  --shadow-m:  0 4px 18px -6px rgba(31, 42, 46, 0.12);
  --shadow-l:  0 18px 48px -18px rgba(31, 42, 46, 0.20);

  --transition: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem; /* żeby kotwice nie chowały się pod nagłówkiem */
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

ul[class], ol[class] { list-style: none; padding: 0; }

/* Szanujemy ustawienie „ogranicz animacje" w systemie użytkownika */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Widoczny focus — wymóg dostępności, nie usuwać */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- 3. TYPOGRAFIA ----------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  /* Crimson Text jest węższa od Lory, więc ujemny tracking prawie zerowy. */
  letter-spacing: -0.004em;
  text-wrap: balance;
  color: var(--ink);
}

/* Im mniejszy nagłówek, tym luźniejsza interlinia. Duże stopnie pisma
   wyglądają dobrze ciasno, małe potrzebują powietrza między wierszami. */
h1 { font-size: var(--step-5); line-height: 1.1;  margin-bottom: 0.35em; }
h2 { font-size: var(--step-4); line-height: 1.2;  margin-bottom: 0.5em;  }
h3 { font-size: var(--step-2); line-height: 1.3;  margin-bottom: 0.45em; }
h4 { font-size: var(--step-1); line-height: 1.35; margin-bottom: 0.45em; }

p, li { text-wrap: pretty; }

p { max-width: var(--measure); }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--accent-dark); }

strong { font-weight: 600; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--sand);
  vertical-align: middle;
  margin-right: 0.7rem;
}

/* Tylko dla czytników ekranu */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. UKŁAD ---------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-xl); }
.section--tinted { background: var(--paper-2); }
.section--accent { background: var(--accent); color: var(--accent-soft); }
.section--accent h2, .section--accent h3 { color: var(--white); }
.section--accent .eyebrow { color: var(--sand-light); }

.section__head { max-width: 46rem; margin-bottom: var(--space-l); }
.section__head h2 { margin-bottom: 0.6em; }
.section__head p { color: var(--ink-2); line-height: 1.7; }

.grid { display: grid; gap: var(--space-m); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
/* Siatka trzykolumnowa na elastycznych blokach, a nie na gridzie, żeby
   niepełny ostatni rząd był wyśrodkowany zamiast przyklejony do lewej. */
.grid--3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.grid--3 > * {
  flex: 1 1 17rem;
  max-width: calc((100% - 2 * var(--space-m)) / 3);
}
@media (max-width: 62rem) {
  .grid--3 > * { max-width: calc((100% - var(--space-m)) / 2); }
}
@media (max-width: 40rem) {
  .grid--3 > * { max-width: 100%; }
}

.stack > * + * { margin-top: var(--space-s); }
.stack-l > * + * { margin-top: var(--space-m); }

.divider {
  border: 0;
  height: 1px;
  background: var(--paper-3);
  margin-block: var(--space-l);
}

/* ---------- 5. KOMPONENTY ----------------------------------------------- */

/* --- Przycisk --- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
              box-shadow var(--transition), color var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--paper-3);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--accent-dark);
}
.btn--light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-dark); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* --- Karta --- */
.card {
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--space-m);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--accent-soft);
}

.card h3 { font-size: var(--step-1); margin-bottom: 0.7rem; line-height: 1.3; }
.card p { color: var(--ink-2); font-size: var(--step--1); max-width: none; line-height: 1.65; }

.card__icon {
  width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: var(--space-s);
}
.card__icon svg { width: 1.4rem; height: 1.4rem; }

/* --- Odznaka / chip --- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; list-style: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.chip svg { width: 0.95rem; height: 0.95rem; color: var(--accent); flex: none; }

/* --- Lista faktów (dane w kolumnach) --- */
.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--paper-3);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: var(--space-s);
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--paper-3);
  align-items: baseline;
}
.facts dt { font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); font-size: var(--step--1); }

/* --- Kroki (przebieg współpracy) --- */
.steps { counter-reset: krok; display: grid; gap: var(--space-m); }

.step {
  position: relative;
  padding-left: 4.2rem;
}
.step::before {
  counter-increment: krok;
  content: counter(krok);
  position: absolute;
  left: 0; top: 0;
  width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); font-size: var(--step--1); line-height: 1.7; }

/* --- FAQ (natywne <details>, zero JS) --- */
.faq { max-width: 52rem; border-top: 1px solid var(--paper-3); }

.faq details {
  border-bottom: 1px solid var(--paper-3);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-s);
  padding-block: 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }

.faq summary::after {
  content: "";
  flex: none;
  width: 1.4rem; height: 1.4rem;
  margin-top: 0.25rem;
  background: currentColor;
  transition: transform var(--transition);
  -webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>');
          mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>');
}
.faq details[open] summary::after { transform: rotate(135deg); }

.faq details > div {
  padding-top: 0.2rem;
  padding-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--ink-2);
  font-size: var(--step--1);
}
.faq details > div > * + * { margin-top: 0.8rem; }

/* --- Cennik --- */
.pricing { display: grid; gap: 0; }

/* Podtytuł grupy usług. Pierwszy nie ma odstępu u góry, kolejne mają. */
.pricing__group {
  font-size: var(--step-1);
  margin-top: var(--space-l);
  margin-bottom: 0.4rem;
}
.pricing__group:first-child { margin-top: 0; }

.pricing__note {
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.7;
  margin-bottom: var(--space-s);
  max-width: 46rem;
}

/* Podsumowanie kosztu całej ścieżki diagnostycznej. Wyróżnione, bo to
   najważniejsza liczba w całym cenniku dla osoby rozważającej diagnozę. */
.pricing__summary {
  margin-top: var(--space-m);
  padding: var(--space-s) var(--space-m);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  color: var(--accent-dark);
  font-size: var(--step--1);
  line-height: 1.7;
  max-width: 46rem;
}
.pricing__summary strong { color: var(--accent-dark); }

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem var(--space-s);
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--paper-3);
}
.price-row:first-child { border-top: 1px solid var(--paper-3); }
.price-row__name { font-weight: 600; font-size: var(--step-0); }
.price-row__meta { color: var(--ink-3); font-size: var(--step--1); }
.price-row__dots { flex: 1 1 2rem; border-bottom: 1px dotted var(--paper-3); transform: translateY(-0.25em); min-width: 1rem; }
.price-row__value {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* --- Cytat --- */
.pullquote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--sand);
  padding-left: var(--space-m);
  max-width: 40rem;
}

/* Style formularza usunięte razem z formularzem. Gdybyś kiedyś chciał
   go przywrócić, wróć do wcześniejszej wersji tego pliku. */

/* ---------- 6. SEKCJE STRONY -------------------------------------------- */

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 200;
  padding: 0.8rem 1.4rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: var(--white); }

/* --- Nagłówek --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--paper-3);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-height: 4.75rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 2.35rem; height: 2.35rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex: none;
}
.brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; line-height: 1.2; display: block; }
.brand__role { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); display: block; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  padding: 0.5rem 0.62rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.nav a:hover { color: var(--accent-dark); background: var(--paper-2); }
.nav a[aria-current="true"] { color: var(--accent-dark); font-weight: 600; }

/* Przycisk w nawigacji: reguła .nav a ma wyższą specyficzność niż .btn
   i nadpisywała kolor tekstu na szary. Ta reguła przywraca biel. */
.nav a.btn { color: var(--btn-fg); }
.nav a.btn:hover { color: var(--btn-fg); background: var(--accent-dark); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* --- Hero --- */
.hero {
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Delikatna poświata w tle — czysto dekoracyjna */
.hero::before {
  content: "";
  position: absolute;
  top: -18rem; right: -14rem;
  width: 42rem; height: 42rem;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 66%);
  opacity: 0.65;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: var(--space-m); }

/* Podtytuł żyje wewnątrz H1, żeby nagłówek zawierał frazę kluczową,
   ale wygląda jak osobny, lżejszy wiersz. */
.hero__role {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--step-1);
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.hero__lead { max-width: 34rem; margin-bottom: var(--space-m); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: var(--space-m); }

.hero__figure { position: relative; }

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-l);
}

/* Przesunięta ramka za zdjęciem została usunięta na życzenie.
   Gdybyś chciał ją przywrócić, odkomentuj poniższy blok.
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}
*/

/* --- Pasek zaufania --- */
.trustbar {
  background: var(--paper-2);
  border-block: 1px solid var(--paper-3);
  padding-block: var(--space-m);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: var(--space-m);
  text-align: center;
}
.trustbar__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  line-height: 1.1;
}
.trustbar__label { font-size: var(--step--1); color: var(--ink-2); }

/* --- O mnie --- */
.about__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.about__text > * + * { margin-top: var(--space-s); }
.about__text p { line-height: 1.75; }
.about__text h3 { margin-top: var(--space-m); }
.about__text p { color: var(--ink-2); }

.about__aside {
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--space-m);
  position: sticky;
  top: 7rem;
}
.about__aside h3 { font-size: var(--step-1); margin-bottom: var(--space-s); }
.about__aside .facts > div { grid-template-columns: 1fr; gap: 0.15rem; }

/* --- Kontakt -------------------------------------------------------------
   Sekcja bez formularza: wyśrodkowany nagłówek, trzy klikalne karty
   z danymi i przycisk prowadzący do kalendarza rezerwacji.
   ------------------------------------------------------------------------ */
.contact { text-align: center; }

.contact__head { max-width: 42rem; margin: 0 auto var(--space-l); }
.contact__head p { color: var(--accent-soft); margin-inline: auto; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-m);
  max-width: 58rem;
  margin: 0 auto;
  text-align: left;
}

.contact-card-item {
  display: block;
  padding: var(--space-m);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--accent-soft);
  text-decoration: none;
  transition: transform var(--transition), background var(--transition),
              border-color var(--transition);
}
.contact-card-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.contact-card-item__icon {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  margin-bottom: var(--space-s);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.contact-card-item__icon svg { width: 1.2rem; height: 1.2rem; }

.contact-card-item dt {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.3rem;
}
.contact-card-item dd {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.5;
  overflow-wrap: anywhere;   /* długi adres e-mail nie rozepchnie karty */
}

.contact__cta { margin-top: var(--space-l); }

.contact__kryzys {
  max-width: 46rem;
  margin: var(--space-l) auto 0;
  padding: var(--space-s) var(--space-m);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--sand-light);
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  font-size: var(--step--1);
  line-height: 1.7;
  text-align: left;
}
.contact__kryzys strong { color: var(--white); }

/* --- Wyróżniony blok ostrzegawczy (pomoc w kryzysie) --- */
.notice {
  border: 1px solid var(--paper-3);
  border-left: 3px solid var(--sand);
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: var(--space-s) var(--space-m);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.notice strong { color: var(--ink); }

/* ---------- 7. BLOG ----------------------------------------------------- */
.page-head {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--space-l);
  border-bottom: 1px solid var(--paper-3);
}
.page-head p { color: var(--ink-2); }

.breadcrumbs { font-size: var(--step--1); color: var(--ink-3); margin-bottom: var(--space-s); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--paper-3); }
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--accent); }

.post-list { display: grid; gap: var(--space-m); }

.post-card {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: var(--space-m);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--accent-soft); }
.post-card__thumb { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; background: var(--paper-2); }
.post-card__body { padding: var(--space-m) var(--space-m) var(--space-m) 0; }
.post-card h2, .post-card h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.post-card h2 a, .post-card h3 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-2); font-size: var(--step--1); }

.post-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem;
  font-size: 0.8rem; color: var(--ink-3);
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}
.post-meta .tag {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Treść wpisu --- */
.article {
  --measure: 66ch;
  width: min(100% - 2.5rem, 44rem);
  margin-inline: auto;
  padding-block: var(--space-l) var(--space-xl);
}
.article > * + * { margin-top: var(--space-s); }
.article h2 { font-size: var(--step-3); margin-top: var(--space-l); margin-bottom: 0.5em; }
.article h3 { font-size: var(--step-1); margin-top: var(--space-m); margin-bottom: 0.45em; }
.article p { color: var(--ink-2); max-width: none; line-height: 1.75; }
.article ul, .article ol { color: var(--ink-2); padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.article figure { margin-block: var(--space-m); }
.article figure img { border-radius: var(--radius); }
.article figcaption { font-size: 0.83rem; color: var(--ink-3); margin-top: 0.6rem; }
.article blockquote {
  border-left: 3px solid var(--sand);
  padding-left: var(--space-m);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--ink);
  margin-block: var(--space-m);
}

.author-box {
  display: flex; gap: var(--space-s); align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--space-m);
  margin-top: var(--space-l);
}
.author-box img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { font-size: var(--step--1); color: var(--ink-2); margin: 0; }
.author-box strong { display: block; font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.15rem; }

/* ---------- 8. STOPKA --------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 251, 252, 0.72);
  padding-block: var(--space-l) var(--space-m);
  font-size: var(--step--1);
}
.site-footer a { color: rgba(250, 251, 252, 0.84); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-m);
  padding-bottom: var(--space-m);
  border-bottom: 1px solid rgba(250, 251, 252, 0.14);
}
.site-footer h2, .site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 0.9rem;
}
.site-footer ul { display: grid; gap: 0.5rem; list-style: none; padding: 0; }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__role { color: rgba(250, 251, 252, 0.6); }
.site-footer p { max-width: 26rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s);
  padding-top: var(--space-m);
  font-size: 0.82rem;
  color: rgba(250, 251, 252, 0.55);
}

/* ---------- 9. RESPONSYWNOŚĆ -------------------------------------------- */
@media (max-width: 62rem) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 26rem; margin-inline: auto; order: -1; }
  /* .hero__figure::after wyłączona globalnie, patrz sekcja Hero */
  .about__inner,
    .about__aside { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 48rem) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 4.75rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-3);
    padding: var(--space-s) 1.25rem var(--space-m);
    box-shadow: var(--shadow-l);
    /* domyślnie schowane */
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 0.85rem 0.6rem; font-size: 1rem; border-bottom: 1px solid var(--paper-3); border-radius: 0; }
  .nav .btn { margin-top: var(--space-s); justify-content: center; border-bottom: 0; }

  .post-card { grid-template-columns: 1fr; }
  .post-card__thumb { min-height: 12rem; aspect-ratio: 16 / 9; }
  .post-card__body { padding: 0 var(--space-m) var(--space-m); }

  .facts > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .price-row__dots { display: none; }
  .price-row { justify-content: space-between; }
}

/* ---------- 10. DRUK ---------------------------------------------------- */
@media print {
  .site-header, .nav, .hero__figure, .site-footer, .btn, .form { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* --- Szkolenia: rok w lewej kolumnie, opis w prawej --- */
.training > div { grid-template-columns: minmax(6rem, 8rem) 1fr; align-items: start; }
.training dt { color: var(--accent); font-family: var(--font-display); font-size: var(--step-0); }
.training dd { font-size: var(--step-0); }
.training dd strong { color: var(--ink); font-weight: 600; }

/* --- Galeria certyfikatów --- */
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-m);
}

.cert {
  display: block;
  text-decoration: none;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cert:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--accent-soft);
  color: var(--accent-dark);
}
.cert img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* contain, a nie cover: certyfikaty są raz w pionie, raz w poziomie,
     a ucięty dokument wygląda gorzej niż mniejszy, ale cały. */
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 0.7rem;
}
.cert span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
}
.cert strong { color: var(--ink); font-weight: 600; }
.cert:hover strong { color: var(--accent-dark); }

@media (max-width: 48rem) {
  .training > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* --- Widżet ZnanyLekarz --------------------------------------------------
   Widżet renderuje się w ramce o stałej szerokości. Bez tych reguł potrafi
   wystawać poza ekran na telefonie i powodować poziome przewijanie.
   ------------------------------------------------------------------------ */
.zl-embed {
  max-width: 46rem;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  background: var(--white);
}
.zl-embed iframe,
.zl-embed > div {
  max-width: 100% !important;
  width: 100% !important;
  border: 0;
  display: block;
}
/* Zanim skrypt się załaduje, widoczny jest zwykły odsyłacz. Nadajemy mu
   wygląd przycisku, żeby przez tę chwilę nie wyglądał jak goły link. */
.zl-embed > a.zl-url {
  display: block;
  padding: 1.1rem;
  text-align: center;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}
