/* ==========================================================================
   dr n.med. Dorota Nawacka: makieta wersji optymalnej
   Marka z oryginalnej strony (master.css): Montserrat, #0D0D0D, #FFFFFF,
   cyklamen #F21D81, ciemny cyklamen #8C114A, #9B9BA0, #F2F2F2, #EFEFEF.
   Zmiana marki = zmiana zmiennych w :root.
   ========================================================================== */

:root {
  /* ---- Marka (wartości z oryginału) ---- */
  --brand-dark: #0D0D0D;
  --brand-white: #FFFFFF;
  --brand-cyklamen: #F21D81;
  --brand-cyklamen-dark: #8C114A;
  --brand-dark-text: #9B9BA0;
  --brand-dark-white: #F2F2F2;
  --brand-gray-white: #EFEFEF;

  /* ---- Pochodne (odcienie neutralne i stany) ---- */
  --dark-2: #141417;          /* karty na ciemnym: cyklamen na nim ≥4,5:1 */
  --dark-3: #232327;
  --line-dark: #34343A;
  --muted-light: #55555C;     /* tekst pomocniczy na jasnym, ≥4,5:1 */
  --line-light: #D6D6DB;
  --line-strong-light: #7C7C84; /* obramowania pól, ≥3:1 na białym */
  --accent-hover: #F6559F;    /* jaśniejszy cyklamen: ciemny tekst ma wtedy wyższy kontrast */
  --error: #B3123E;
  /* Szkło (header, pasek na telefonie): przydymiona czerń marki z rozmyciem tła.
     Krycie 0,78 trzyma kontrast tekstu także nad jasnymi sekcjami. */
  --glass-bg: rgb(13 13 13 / 0.78);
  --glass-solid: rgb(13 13 13 / 0.95);   /* gdy przeglądarka nie obsługuje rozmycia */
  --glass-line: rgb(255 255 255 / 0.12);
  --glass-hover: rgb(255 255 255 / 0.1);
  --glass-muted: #C9C7CA;                /* tekst pomocniczy na szkle */
  --glass-blur: blur(16px) saturate(160%);
  /* Tło hero: odrobinę lżejsze niż czerń marki */
  --hero-bg: #121112;

  /* ---- Role ---- */
  --accent: var(--brand-cyklamen);
  --on-accent: var(--brand-dark);

  /* ---- Typografia ---- */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-sm: 0.875rem;   /* 14 */
  --text-base: 1rem;     /* 16 */
  --text-lg: 1.25rem;    /* 20 */
  --text-xl: 1.5rem;     /* 24 */
  --text-2xl: 1.75rem;   /* 28 */
  --text-3xl: 2.25rem;   /* 36 */
  --leading: 1.6;
  --leading-tight: 1.2;
  --measure: 65ch;

  /* ---- Odstępy: skala 8 ---- */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem;
  --s-6: 3rem; --s-7: 4rem; --s-8: 6rem;

  /* ---- Układ ---- */
  --container: 76.5rem;
  --margin: clamp(1.5rem, 6.4vw, 2rem);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --header-h: 4.5rem;
  --duration: 200ms;
}

@media (min-width: 1024px) {
  :root { --text-2xl: 2rem; --text-3xl: 2.75rem; }
}

/* ---- Tła sekcji: każda sekcja ustawia własne kolory ---- */
/* Pas akcentowy: ciemny cyklamen marki (biały tekst ok. 9:1) */
.s-accent {
  --bg: var(--brand-cyklamen-dark); --fg: var(--brand-white); --muted: #F2D7E4;
  --card: rgb(255 255 255 / 0.08); --line: rgb(255 255 255 / 0.2); --link: var(--brand-white);
  --kicker: var(--brand-white); --focus: var(--brand-white);
  background: var(--bg); color: var(--fg);
}
.s-dark {
  --bg: var(--brand-dark); --fg: var(--brand-white); --muted: var(--brand-dark-text);
  --card: var(--dark-2); --line: var(--line-dark); --link: var(--brand-cyklamen);
  --kicker: var(--brand-cyklamen); --focus: var(--brand-white);
  background: var(--bg); color: var(--fg);
}
.s-light {
  --bg: var(--brand-dark-white); --fg: var(--brand-dark); --muted: var(--muted-light);
  --card: var(--brand-white); --line: var(--line-light); --link: var(--brand-cyklamen-dark);
  --kicker: var(--brand-cyklamen-dark); --focus: var(--brand-cyklamen-dark);
  background: var(--bg); color: var(--fg);
}
.s-white {
  --bg: var(--brand-white); --fg: var(--brand-dark); --muted: var(--muted-light);
  --card: var(--brand-dark-white); --line: var(--line-light); --link: var(--brand-cyklamen-dark);
  --kicker: var(--brand-cyklamen-dark); --focus: var(--brand-cyklamen-dark);
  background: var(--bg); color: var(--fg);
}

/* ---------------------------- Podstawy ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 9.5rem; scroll-behavior: smooth; }
@media (min-width: 1024px) { html { scroll-padding-top: 7.5rem; } }
body {
  margin: 0; font-family: var(--font); font-size: var(--text-base); line-height: var(--leading);
  background: var(--hero-bg); color: var(--brand-white); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: var(--leading-tight); margin: 0 0 var(--s-3); text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--text-3xl); letter-spacing: -0.01em; }
h2 { font-size: var(--text-2xl); font-weight: 600; }
h3 { font-size: var(--text-lg); font-weight: 600; }
p, ul, ol { margin: 0 0 var(--s-3); }
p, li { max-width: var(--measure); }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: var(--link, var(--brand-cyklamen)); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--brand-white)); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }

.container { width: min(100% - 2 * var(--margin), var(--container)); margin-inline: auto; }
.section { padding-block: var(--s-7); }
@media (min-width: 1024px) { .section { padding-block: var(--s-8); } }
.section-head { max-width: 46rem; margin-bottom: var(--s-5); }
.section-head p { color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head.center .btn-row { justify-content: center; }
.kicker {
  display: block; margin-bottom: var(--s-2); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--kicker);
}
.lead { font-size: var(--text-lg); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }
.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;
}
.skip-link {
  position: absolute; left: var(--s-3); top: -100px; z-index: 100; padding: var(--s-2) var(--s-3);
  background: var(--brand-white); color: var(--brand-dark); border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: var(--s-3); }

/* ---------------------------- Przyciski ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-4); border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: var(--text-base); line-height: 1; text-decoration: none; cursor: pointer;
  background: none; transition: background-color var(--duration), border-color var(--duration), color var(--duration), transform 100ms;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { border-color: currentColor; color: var(--fg); }
.btn-secondary:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.s-light .btn-secondary, .s-white .btn-secondary { color: var(--brand-cyklamen-dark); }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
@media (max-width: 479px) { .btn-row > .btn { flex: 1 1 100%; } }  /* na telefonie przyciski na całą szerokość */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px;
  font-weight: 600; text-decoration: none; white-space: nowrap; flex: none;
}
.link-arrow svg { width: 1.25rem; height: 1.25rem; flex: none; transition: transform var(--duration); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------- Makieta: oznaczenia ---------------------------- */
.mock-bar { background: var(--brand-cyklamen-dark); color: var(--brand-white); }
.mock-bar p { margin: 0; padding-block: var(--s-2); max-width: none; }
.todo {
  border: 2px dashed var(--brand-cyklamen); border-radius: var(--radius); padding: var(--s-3);
  background: color-mix(in srgb, var(--brand-cyklamen) 8%, transparent);
}
.s-light .todo, .s-white .todo { border-color: var(--brand-cyklamen-dark); }
.todo-label {
  display: inline-block; margin-bottom: var(--s-1); font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--kicker);
}
.todo p:last-child { margin-bottom: 0; }
.review-note { font-size: var(--text-sm); color: var(--muted); border-left: 3px dashed var(--kicker); padding-left: var(--s-3); }

/* ---------------------------- Nagłówek ---------------------------- */
/* Pływający pasek z zaokrąglonymi rogami, odsunięty od krawędzi ekranu */
.site-header {
  --muted: var(--glass-muted); --link: var(--brand-white); --focus: var(--brand-white);
  position: sticky; top: var(--s-2); z-index: 50;
  width: min(100% - 2 * var(--s-2), var(--container) + 2 * var(--s-5));
  margin: var(--s-2) auto 0;
  background: var(--glass-solid); border: 1px solid var(--glass-line); border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
}
.site-header .container { width: auto; padding-inline: var(--s-3); }
@media (min-width: 1024px) {
  .site-header { top: var(--s-3); margin-top: var(--s-3); width: min(100% - 2 * var(--s-3), var(--container) + 2 * var(--s-5)); }
  .site-header .container { padding-inline: var(--s-5); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--brand-white); line-height: 1.25; padding-block: var(--s-2); }
.brand-name { font-weight: 700; font-size: 1rem; }
.brand-sub { font-size: var(--text-sm); color: var(--glass-muted); }
.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav a, .nav-toggle, .lang {
  display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; padding: 0 var(--s-3);
  border-radius: var(--radius); color: var(--brand-white); text-decoration: none; font-weight: 500;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav a:hover, .nav-toggle:hover, .lang:hover { background: var(--glass-hover); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand-cyklamen); }
.nav-toggle svg { width: 1rem; height: 1rem; transition: transform var(--duration); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang { font-size: var(--text-sm); font-weight: 600; border: 1px solid var(--line-dark); }
.header-cta { min-height: 44px; }

/* Panel „Co chcesz poprawić?” */
.problems-panel { border-top: 1px solid var(--glass-line); background: transparent; padding-block: var(--s-4) var(--s-5); }
.problems-panel[hidden] { display: none; }
.problems-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1) var(--s-4); grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.problems-panel li { max-width: none; }
.problems-panel a { display: block; padding: var(--s-2) var(--s-3); border-radius: var(--radius); color: var(--brand-white); text-decoration: none; min-height: 44px; }
.problems-panel a:hover { background: var(--glass-hover); }
.problems-panel a span { display: block; font-size: var(--text-sm); color: var(--glass-muted); }
.problems-panel .panel-foot { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-cta { white-space: nowrap; }

/* Menu na telefonie i tablecie */
.menu-toggle {
  display: none; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; padding: 0 var(--s-3);
  border: 1px solid var(--glass-line); border-radius: var(--radius); background: none; color: var(--brand-white);
  font-weight: 600; cursor: pointer;
}
.menu-toggle:hover { background: var(--glass-hover); }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--glass-line); padding-block: var(--s-2) var(--s-4); max-height: calc(100dvh - 6rem); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { max-width: none; }
.mobile-links a { display: flex; align-items: center; min-height: 48px; color: var(--brand-white); text-decoration: none; font-weight: 600; font-size: var(--text-lg); border-bottom: 1px solid var(--glass-line); }
.mobile-menu-title { margin: var(--s-4) 0 var(--s-1); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--glass-muted); }
.mobile-problems a { display: block; padding-block: var(--s-2); min-height: 44px; color: var(--brand-white); text-decoration: none; font-weight: 500; }
.mobile-problems a span { display: block; font-size: var(--text-sm); color: var(--glass-muted); font-weight: 400; }
.mobile-menu .btn-row { margin-top: var(--s-4); }
.mobile-menu .btn-row .btn { flex: 1 1 10rem; }

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .problems-panel { display: none !important; }
}
@media (max-width: 639px) {
  .header-cta { display: none; }   /* rezerwacja jest w hero, w menu i w pasku na dole */
}
@media (max-width: 359px) {
  /* najwęższe telefony: sama ikona, napis zostaje dla czytników ekranu */
  .menu-toggle { padding: 0; width: 44px; justify-content: center; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ---------------------------- Hero ---------------------------- */
.hero { padding-block: var(--s-6) var(--s-7); }
.hero.s-dark { --bg: var(--hero-bg); }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
/* Odstępy w hero: więcej powietrza między nadtytułem, nagłówkiem, opisem, przyciskami i opinią */
.hero .kicker { margin-bottom: var(--s-3); }
.hero h1 { margin-bottom: var(--s-4); }
.hero .lead { color: var(--fg); line-height: 1.6; margin-bottom: var(--s-3); }
.hero .lead + p:not(.lead) { margin-bottom: var(--s-3); }
.hero .btn-row { margin-top: var(--s-5); margin-bottom: var(--s-6); }
.hero .btn-row:last-child { margin-bottom: 0; }

/* Hero strony głównej: pełna wysokość ekranu pod pływającym headerem, treść wyśrodkowana w pionie */
.hero-full { min-height: calc(100vh - 5.125rem); min-height: calc(100svh - 5.125rem); display: flex; align-items: center; }
.hero-full > .container { width: min(100% - 2 * var(--margin), var(--container)); }
@media (min-width: 1024px) {
  .hero-full { min-height: calc(100vh - 5.625rem); min-height: calc(100svh - 5.625rem); }
}
.consult-note { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--s-5); }
.hero-media img { border-radius: var(--radius-lg); width: 100%; }
.hero-media figcaption { margin-top: var(--s-2); font-size: var(--text-sm); color: var(--muted); }
.proof { display: grid; gap: var(--s-3); max-width: 34rem; }
.proof blockquote { margin: 0; padding-left: var(--s-3); border-left: 3px solid var(--brand-cyklamen); }
.proof blockquote p { margin-bottom: var(--s-1); font-style: italic; }
.proof cite { font-style: normal; font-size: var(--text-sm); color: var(--muted); }
@media (min-width: 1024px) {
  .hero { padding-block: var(--s-7) var(--s-8); }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); }
  .hero h1 { margin-bottom: var(--s-5); }
  .hero .kicker { margin-bottom: var(--s-4); }
}

/* Okruszki */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; font-size: var(--text-sm); color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: var(--s-2); }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.breadcrumbs li { display: flex; align-items: center; }

/* ---------------------------- Fakty zaufania ---------------------------- */
/* Pas z trzema argumentami: osobna sekcja między hero a „Co chcesz poprawić?” */
.trust { padding-block: var(--s-6); }
.trust-grid { display: grid; gap: var(--s-5); }
.trust-item h2 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--s-2); display: flex; gap: var(--s-3); align-items: center; }
.trust-item h2 svg {
  width: 2rem; height: 2rem; padding: 0.375rem; flex: none; border-radius: 50%;
  color: var(--brand-white); background: rgb(255 255 255 / 0.16);
}
.trust-item p { color: var(--muted); margin: 0; }
@media (min-width: 1024px) { .trust { padding-block: var(--s-7); } }
.logos { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); padding: 0; list-style: none; align-items: center; }
.logos li { background: var(--brand-white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-2) var(--s-3); height: 3.5rem; display: flex; align-items: center; }
.logos img { max-height: 2.25rem; width: auto; }
.logos .logo-text { color: var(--brand-dark); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }

/* ---------------------------- Kafelki problemów ---------------------------- */
.tiles { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.tiles > li { max-width: none; }
.tile {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--duration), box-shadow var(--duration);
}
.tile:hover { border-color: var(--kicker); box-shadow: 0 6px 20px rgb(13 13 13 / 0.08); }
.tile h3 { font-size: var(--text-lg); margin: 0; }
.tile h3 a { color: var(--fg); text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.tile h3 a:focus-visible { outline: none; }
.tile:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile p { margin: 0; color: var(--muted); }
.tile-foot { margin-top: auto; padding-top: var(--s-2); display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); font-weight: 600; }
.tile-foot .price { color: var(--kicker); }
.tile-foot svg { width: 1.25rem; height: 1.25rem; color: var(--kicker); transition: transform var(--duration); }
.tile:hover .tile-foot svg { transform: translateX(4px); }
.tile-help { background: var(--brand-dark); color: var(--brand-white); border-color: var(--brand-dark); --focus: var(--brand-cyklamen-dark); }
.tile-help h3 { color: var(--brand-white); }
.tile-help p { color: var(--brand-dark-text); }
.tile-help .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }

/* ---------------------------- Obawy ---------------------------- */
.fears { display: grid; gap: var(--s-3); }
.fear { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.fear h3 { margin-bottom: var(--s-2); }
.fear p { color: var(--muted); }
.fear a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .fears { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } }

/* ---------------------------- Kroki ---------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; max-width: none; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; background: var(--brand-cyklamen-dark); color: var(--brand-white);
}
.steps h3 { margin-bottom: var(--s-1); }
.steps p { color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding-left: 0; padding-top: 3.5rem; }
}

/* ---------------------------- Efekty ---------------------------- */
.effects { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.effects li { max-width: none; }
.effect img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.effect figcaption { padding-top: var(--s-3); }
.effect h3 { font-size: var(--text-base); margin-bottom: var(--s-1); }
.effect p { margin: 0 0 var(--s-1); color: var(--muted); font-size: var(--text-sm); }
.effect .when { color: var(--brand-cyklamen); font-weight: 600; font-size: var(--text-sm); }

/* ---------------------------- Opinie ---------------------------- */
.opinions { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: var(--s-4); }
.opinions li { break-inside: avoid; margin-bottom: var(--s-4); max-width: none; }
.opinion { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.opinion p { margin-bottom: var(--s-3); }
.opinion footer { font-weight: 600; }
.opinion footer span { display: block; font-weight: 400; font-size: var(--text-sm); color: var(--muted); }
@media (min-width: 768px) { .opinions { columns: 2; } }
@media (min-width: 1024px) { .opinions { columns: 3; } }

/* Telefon: efekty i opinie jako rząd przesuwany palcem (zamiast bardzo długiej kolumny) */
@media (max-width: 767px) {
  .effects, .opinions {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    gap: var(--s-3); columns: auto; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
    margin-inline: calc(-1 * var(--margin)); padding: 0 var(--margin) var(--s-3);
    scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  }
  .effects > li, .opinions > li { scroll-snap-align: start; margin-bottom: 0; }
  .opinions > li { display: flex; }
  .opinions .opinion { width: 100%; }
  .effects:focus-visible, .opinions:focus-visible { outline-offset: -3px; }
  .pull { font-size: var(--text-lg); }
  .footer-problems { grid-template-columns: 1fr 1fr; column-gap: var(--s-3); }
  .price-nav {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding: 0 var(--margin) var(--s-2);
  }
  .price-nav::-webkit-scrollbar { display: none; }
  .price-nav a { white-space: nowrap; }
}
/* Telefon i tablet: zdjęcie w hero przycięte do 4:3, żeby nie zajmowało całego ekranu */
@media (max-width: 1023px) {
  .hero-media img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
}

/* ---------------------------- O mnie (skrót) ---------------------------- */
.split { display: grid; gap: var(--s-5); align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); } .split.reverse > :first-child { order: 2; } }
.pull { font-size: var(--text-xl); line-height: 1.4; font-weight: 600; }

/* ---------------------------- FAQ ---------------------------- */
.faq { display: grid; gap: var(--s-2); max-width: 52rem; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); min-height: 56px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.25rem; height: 1.25rem; flex: none; transition: transform var(--duration); color: var(--kicker); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 var(--s-4) var(--s-4); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------------------------- Kontakt i formularz ---------------------------- */
.contact-grid { display: grid; gap: var(--s-6); }
.contact-list { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-4); }
.contact-list li { max-width: none; }
.contact-list .label { display: block; font-size: var(--text-sm); color: var(--muted); }
.contact-list a { font-weight: 600; font-size: var(--text-lg); display: inline-flex; align-items: center; min-height: 44px; }
.form-card { background: var(--brand-white); color: var(--brand-dark); border-radius: var(--radius-lg); padding: var(--s-5) var(--s-4);
  --focus: var(--brand-cyklamen-dark); --muted: var(--muted-light); --link: var(--brand-cyklamen-dark); max-width: 32rem; }
.form-card h3 { font-size: var(--text-xl); }
.field { margin-bottom: var(--s-4); }
.field label { display: block; margin-bottom: var(--s-2); font-weight: 600; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: var(--s-2) var(--s-3); font-size: max(16px, 1rem);
  border: 1px solid var(--line-strong-light); border-radius: var(--radius); background: var(--brand-white); color: var(--brand-dark);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--brand-cyklamen-dark); outline-offset: 1px; border-color: var(--brand-cyklamen-dark); }
.field .hint { margin: var(--s-1) 0 0; font-size: var(--text-sm); color: var(--muted-light); }
.field .error { margin: var(--s-1) 0 0; font-size: var(--text-sm); color: var(--error); font-weight: 600; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; }
.check input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; flex: none; accent-color: var(--brand-cyklamen-dark); }
.check label { font-weight: 400; margin: 0; font-size: var(--text-sm); }
.form-card .btn-primary { width: 100%; }
.form-status { margin-top: var(--s-3); padding: var(--s-3); border-radius: var(--radius); background: var(--brand-dark-white); }
.form-status[hidden] { display: none; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } .form-card { padding: var(--s-5); } }

/* ---------------------------- Podstrony: zabiegi ---------------------------- */
.treatments { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.treatments > li { max-width: none; }
.treatment { height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); display: flex; flex-direction: column; }
.treatment h3 { margin-bottom: var(--s-1); }
.treatment .tech { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--s-3); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-3); margin: auto 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--text-sm); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.facts dd.price { color: var(--kicker); font-size: var(--text-base); }
.treatment .note { font-size: var(--text-sm); color: var(--muted); margin: var(--s-2) 0 0; }
@media (min-width: 768px) { .treatments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .treatments.three { grid-template-columns: repeat(3, 1fr); } }

.prose { max-width: var(--measure); }
.prose h3 { margin-top: var(--s-5); }
.prose ul { padding-left: 1.25rem; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; }
.prose li { margin-bottom: var(--s-2); }
.author { display: flex; gap: var(--s-3); align-items: center; margin-bottom: var(--s-4); font-size: var(--text-sm); color: var(--muted); }
.author img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.author strong { color: var(--fg); display: block; }

.two-col { display: grid; gap: var(--s-5); }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }

.related { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.related li { max-width: none; }
@media (min-width: 768px) { .related { grid-template-columns: repeat(3, 1fr); } }

.cta-band { text-align: left; }
.cta-band .btn-row { margin-top: var(--s-4); }

/* Terapie */
.therapy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.therapy .for { color: var(--muted); }
.therapy .facts { margin-top: var(--s-3); grid-template-columns: auto 1fr; }
.therapy details { margin-top: var(--s-3); }
.therapy summary { cursor: pointer; font-weight: 600; color: var(--link); min-height: 44px; display: flex; align-items: center; }
.therapy details p { margin-top: var(--s-2); }

/* Cennik */
.price-group { margin-bottom: var(--s-6); }
.price-group h2 { font-size: var(--text-xl); margin-bottom: var(--s-2); }
.price-group .group-link { font-size: var(--text-sm); display: inline-flex; align-items: center; min-height: 44px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: var(--s-3); }
.price-table th, .price-table td { text-align: left; padding: var(--s-3) var(--s-2); border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: var(--text-sm); color: var(--muted); font-weight: 600; }
.price-table td.price { white-space: nowrap; font-weight: 600; text-align: right; }
.price-table th.price { text-align: right; }
.price-table .tech { display: block; font-size: var(--text-sm); color: var(--muted); }
.price-table .time-inline { display: none; font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 599px) {
  .price-table .col-time { display: none; }
  .price-table .time-inline { display: block; }
  .price-table td.price { white-space: normal; min-width: 6.5rem; }
}
.price-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-6); }
.price-nav li { max-width: none; }
.price-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--fg); font-size: var(--text-sm); font-weight: 500; }
.price-nav a:hover { border-color: var(--link); }

/* ---------------------------- Stopka ---------------------------- */
.site-footer { border-top: 1px solid var(--line-dark); padding-block: var(--s-6) var(--s-5); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: var(--s-5); }
.site-footer h2 { font-size: var(--text-base); margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.site-footer a { color: var(--brand-white); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); color: var(--brand-dark-text); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; }
.footer-bottom p { margin: 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------------------------- Pasek na telefonie ---------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: var(--s-2);
  padding: var(--s-2) var(--margin) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--glass-solid); border-top: 1px solid var(--glass-line);
}
.mobile-bar[hidden] { display: none; }
.mobile-bar .btn-primary { flex: 1; }
.mobile-bar .btn-secondary { color: var(--brand-white); width: 48px; padding: 0; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-bar { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}
@media (min-width: 1024px) { .mobile-bar { display: none !important; } }
@media (max-width: 1023px) { body.has-bar .site-footer { padding-bottom: calc(var(--s-5) + 4.5rem); } }

/* ---------------------------- Komunikat ---------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%); z-index: 60; max-width: min(28rem, calc(100% - 2rem));
  background: var(--brand-white); color: var(--brand-dark); padding: var(--s-3) var(--s-4); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.35); font-size: var(--text-sm);
}
.toast:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
