/* ==========================================================================
   Czuła Położna — arkusz stylów
   Jeden spójny plik: najpierw zmienne, potem sekcje w kolejności strony,
   na końcu wersje mobilne. Czcionki ładuje <link> w index.html.
   ========================================================================== */

:root {
  /* Paleta z moodboardu „the motherhood midwife”: papier, puder, glina i szałwia.
     tła */
  --cream: #f8f1ed;      /* papier: główne tło */
  --white: #fdf9f7;      /* karty */
  --blush: #f2e6e2;      /* prawa część hero, wyróżnione bloki */
  --pink: #ead5d2;       /* puder: pasmo karmienia, miękkie przyciski, tło logo */
  --pink-hover: #e2c8c4;
  --sand: #f4eae1;       /* kremowy karton: cennik */
  --stone: #ece8e1;      /* jasna szarość z akwareli: „Jak pracuję” */
  --sage-tint: #e8e7df;  /* karta „chusta” */
  --card-tint: #f1e2de;  /* karta wyróżniona, środkowa opinia */

  /* kolory tekstu (kontrast min. 4,5:1 na wszystkich tłach powyżej) */
  --deep: #4a3b36;       /* nagłówki */
  --ink: #4f4642;        /* tekst główny */
  --muted: #655a55;      /* tekst pomocniczy */
  --clay-text: #7a5148;  /* małe napisy w kolorze gliny, linki */
  --clay-large: #9a6f63; /* duża kursywa w nagłówku hero (min. 3:1) */
  --sage-text: #4f4f44;

  /* przyciski: biały tekst na glinie ma 5,2:1 */
  --clay-button: #8d6257;
  --clay-button-hover: #7a5148;

  /* kolory dekoracyjne (nie do drobnego tekstu) */
  --clay: #a77b70;       /* glina: nić opieki, kropki etapów */
  --clay-band: #9c7367;  /* pas z cytatem */
  --dusty: #d6beb6;      /* przybrudzony róż: obwódki przycisków i linków */
  --sage: #9f9b8a;       /* szałwia: stopka, kropka przy lokalizacji */
  --line: #e6d9d4;
  --border: #eadfda;     /* obramowania kart */
  --icon-bg: #f3e6e2;
  --icon-border: #e8d6d1;
  --brand-mamy: #9a6f63; /* logotyp */

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --page-max: 1200px;
  --gutter: max(22px, calc((100% - var(--page-max)) / 2));
  --section-y: clamp(72px, 9vw, 110px);
  --header-h: 84px;
  --shadow: 0 12px 35px rgba(92, 70, 64, 0.07);
}

/* ---------- podstawy ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--pink); color: var(--deep); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--deep);
  text-wrap: balance;
}

h3, h4 { color: var(--deep); text-wrap: balance; }

p { text-wrap: pretty; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--deep);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- przyciski i linki ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 30px;
  font: 600 16px/1.3 var(--sans);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.button-primary { background: var(--clay-button); color: #fff; box-shadow: 0 8px 20px rgba(122, 81, 72, 0.18); }
.button-primary:hover { background: var(--clay-button-hover); }
.button-outline { background: transparent; color: var(--deep); border-color: var(--dusty); }
.button-outline:hover { background: var(--pink); }
.button-soft { background: var(--pink); color: var(--deep); }
.button-soft:hover { background: var(--pink-hover); }

/* ---------- nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(248, 241, 237, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--deep); }
.brand-mark {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  border: 1px solid #e2cbc6;
  color: var(--clay-text);
}
/* piktogram mamy z dzieckiem (LOGO_SVG w build.py) */
.brand-pictogram { width: 50%; height: auto; overflow: visible; stroke-width: 11.5; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand-tagline { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.brand-blisko { font-weight: 700; color: var(--deep); }
.brand-mamy { font-family: var(--serif); font-style: italic; font-size: 1.08em; color: var(--brand-mamy); }
.brand-subtitle { font-size: 16px; font-weight: 600; color: #34332c; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a:not(.nav-cta) { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.nav-cta):hover { border-bottom-color: var(--dusty); }
.nav-cta { padding: 10px 20px; border: 1px solid var(--dusty); border-radius: 30px; color: var(--deep); }
.nav-cta:hover { background: var(--pink); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--deep);
  font-size: 22px;
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  min-height: 640px;
  padding: 64px var(--gutter) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 5%;
  background: linear-gradient(112deg, var(--cream) 0 53%, var(--blush) 53% 100%);
}
.hero-copy { max-width: 610px; }

.hero h1 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--clay-large); }
.hero-role {
  display: block;
  margin-bottom: 18px;
  font: 600 16px/1.4 var(--sans);
  letter-spacing: 0.01em;
  color: var(--clay-text);
}

.hero-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--deep);
}
.hero-location::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--sage);
}

.hero-lead { max-width: 33em; font-size: 18px; line-height: 1.75; color: var(--muted); margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 34px 0 0; font-size: 15px; color: var(--muted); }
.note-heart { font-size: 22px; color: var(--clay); }

/* Zdjęcie jak odbitka z instaxa: biały margines z szerszym pustym paskiem na dole, lekko przekrzywione,
   na kartce w kolorze gliny; obok okrągła pieczątka z napisem hero.seal_text. */
.hero-art { position: relative; min-height: 540px; display: grid; place-items: center; isolation: isolate; }
.print-block {
  position: absolute;
  z-index: -1;
  width: min(70%, 340px);
  aspect-ratio: 4 / 5;
  background: var(--clay);
  transform: translate(16%, -4%) rotate(5deg);
}
.print-card {
  margin: 0;
  width: min(76%, 370px);
  padding: 14px 14px 52px;
  background: #fdfaf7;
  box-shadow: 0 22px 44px rgba(74, 59, 54, 0.16), 0 2px 6px rgba(74, 59, 54, 0.08);
  transform: rotate(-2.5deg);
}
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--pink); }
.print-seal {
  position: absolute;
  left: 0;
  bottom: 5%;
  width: 156px;
  color: var(--clay-text);
  transform: rotate(-14deg);
  filter: drop-shadow(0 6px 12px rgba(74, 59, 54, 0.12));
}
.print-seal-disc { fill: var(--pink); }
.print-seal text { font: 600 11.5px var(--sans); fill: var(--deep); letter-spacing: 0.4px; }
.print-seal-mark { fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- nić opieki ---------- */

.care-path { padding: 56px var(--gutter) 64px; border-bottom: 1px solid var(--line); }
.care-path-title { max-width: 30ch; margin: 0 0 34px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; }

.care-track { position: relative; }
.care-line { position: absolute; left: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.care-line path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.care-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--stops, 4), minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.care-stop a {
  position: relative;
  display: block;
  padding: 52px 14px 6px;
  text-align: center;
  border-radius: 12px;
}
/* kropka leży dokładnie na przecięciu fali z osią (y = 20 px) */
.care-stop a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--clay);
  transition: background-color 0.2s ease, scale 0.2s ease;
}
.care-stop a:hover::before,
.care-stop a:focus-visible::before { background: var(--clay); scale: 1.15; }
.care-stop-label { display: block; margin-bottom: 4px; font: 500 22px/1.25 var(--serif); color: var(--deep); }
.care-stop-note { display: block; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* pasmo karmienia: zaczyna się przy porodzie i wychodzi poza kadr, bo karmienie trwa dłużej */
.care-band {
  display: block;
  margin: 26px calc(-1 * var(--gutter)) 0 calc(100% / var(--stops, 4));
  padding: 13px 22px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, var(--pink) 0 75%, rgba(234, 213, 210, 0) 100%);
  color: var(--deep);
  font-size: 16px;
  font-weight: 700;
}
.care-band:hover { background: linear-gradient(90deg, var(--pink-hover) 0 75%, rgba(226, 200, 196, 0) 100%); }

@media (prefers-reduced-motion: no-preference) {
  .care-line path { animation: care-draw 2.2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s both; }
  .care-stop a::before { animation: care-dot 0.4s ease both; }
  .care-stop:nth-child(1) a::before { animation-delay: 0.6s; }
  .care-stop:nth-child(2) a::before { animation-delay: 1.1s; }
  .care-stop:nth-child(3) a::before { animation-delay: 1.6s; }
  .care-stop:nth-child(4) a::before { animation-delay: 2.1s; }
  .care-stop:nth-child(5) a::before { animation-delay: 2.4s; }
  @keyframes care-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes care-dot { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
}

/* ---------- sekcje: wspólne ---------- */

.section { padding: var(--section-y) var(--gutter); }
.section-heading { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section h2 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 18px; }
.section-intro { max-width: 600px; margin: 0 auto; color: var(--muted); }

/* ---------- usługi pogrupowane według etapów ---------- */

.stages { position: relative; }
/* pionowa nić łączy etapy (kontynuacja nici z hero) */
.stages::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 40px;
  border-left: 2.5px solid var(--clay);
  opacity: 0.55;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px 44px;
  padding: 0 0 56px 46px;
}
.stage:last-child { padding-bottom: 8px; }
.stage-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.stage-head::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--clay);
}
.stage-head h3 { margin: 0 0 8px; font: 500 30px/1.15 var(--serif); }
.stage-head p { margin: 0; font-size: 16px; color: var(--muted); }

.stage-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service-card.featured { background: var(--card-tint); border-color: #e6d3ce; }
.service-card-soft { background: var(--sage-tint); border-color: #dddcd2; }

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--icon-bg);
  border: 1px solid var(--icon-border);
  color: var(--clay-button);
}
.service-card.featured .service-icon { background: var(--white); }
.line-pictogram { width: 25px; height: 25px; display: block; }

.card-kicker { margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--clay-text); }
.service-card h4 { margin: 0 0 12px; font: 500 27px/1.18 var(--serif); }
.service-summary { margin-bottom: 18px; font-size: 16px; line-height: 1.65; color: var(--muted); }

.service-details { margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-details summary {
  position: relative;
  padding: 12px 30px 12px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 22px var(--sans);
  color: var(--clay-text);
}
.service-details[open] summary::after { content: "−"; }
.service-details-content { padding: 2px 0 14px; }
.service-details-content > p { margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.service-details-content ul { margin: 0 0 12px; padding-left: 20px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.service-details-content li { padding: 2px 0; }
.service-note {
  margin: 12px 0 4px;
  padding: 10px 12px;
  border-left: 2px solid var(--clay);
  background: #f9f0ed;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--dusty);
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
}
.card-link:hover { border-bottom-color: var(--clay-text); color: var(--clay-text); }

/* ---------- cennik (osobna sekcja, jedyne miejsce z cenami) ---------- */

.prices { background: var(--sand); }
.price-subtitle { margin: -6px 0 12px; font: italic 21px/1.4 var(--serif); color: var(--deep); }
.price-note {
  max-width: 1000px;
  margin: 0 auto;
  padding: 34px 40px;
  display: grid;
  gap: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.price-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; }
.price-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.price-entry span { font-size: 16px; font-weight: 600; color: var(--deep); }
.price-entry strong { font: 500 20px var(--serif); color: var(--deep); white-space: nowrap; }
.price-packages-title { margin: 0 0 4px; font: 500 26px var(--serif); }
.price-package { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-package h4 { margin: 0 0 2px; font: 700 16px var(--sans); }
.price-package p, .price-package small { display: block; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.price-package > strong { font: 500 20px var(--serif); color: var(--deep); white-space: nowrap; }
.price-travel { margin: 0; padding: 14px 18px; background: var(--blush); font-size: 15px; line-height: 1.7; color: var(--ink); }

/* ---------- opinie ---------- */

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.review-card:nth-child(2) { background: var(--card-tint); }
.review-quote { margin: 0 0 22px; }
/* opinie prostym krojem (DM Sans), bez kursywy: łatwiej przeczytać dłuższy cytat */
.review-quote p { margin: 0; font: 400 19px/1.6 var(--sans); color: var(--ink); }
.review-author { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--dusty); font-size: 15px; font-weight: 600; color: var(--muted); }
.reviews-source { max-width: 900px; margin: 26px auto 0; text-align: center; font-size: 15px; color: var(--muted); }
.reviews-source a { font-weight: 700; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pas z cytatem ---------- */

.quote-band { padding: 72px var(--gutter); background: var(--clay-band); text-align: center; color: #fbf3ee; }
.quote-mark { display: block; font: 90px/0.6 var(--serif); color: #e3c9c1; }
.quote-band p { max-width: 800px; margin: 22px auto 0; font: italic clamp(24px, 3vw, 34px)/1.4 var(--serif); }

/* ---------- o mnie ---------- */

.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.about-facts { padding: 28px 30px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.about-facts-title { margin: 0 0 6px; font: italic 22px var(--serif); color: var(--deep); }
.about-facts dl { margin: 0; }
.about-facts dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about-facts dt { font-size: 14px; font-weight: 600; color: var(--clay-text); }
.about-facts dd { margin: 2px 0 0; font-size: 16px; color: var(--deep); }

.about-lead { font: italic 22px/1.55 var(--serif); color: var(--deep); }
.about-copy > p:not(.about-lead):not(.signature) { max-width: 40em; font-size: 17px; line-height: 1.8; color: var(--muted); }
.about-beliefs { margin: 28px 0; padding: 20px 22px; background: var(--blush); border-left: 2px solid var(--clay); }
.about-beliefs h3 { margin: 0 0 8px; font: 500 21px var(--serif); }
.about-beliefs ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.about-qualifications { margin: 22px 0 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-qualifications summary { list-style: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--deep); }
.about-qualifications summary::-webkit-details-marker { display: none; }
.about-qualifications summary::after { content: "+"; float: right; font-size: 20px; font-weight: 400; color: var(--clay-text); }
.about-qualifications[open] summary::after { content: "−"; }
.about-qualifications ul { margin: 12px 0 4px; padding-left: 20px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.signature { margin: 28px 0 0; font: italic 18px var(--serif); color: var(--muted); }
.signature span:first-child { font-size: 25px; color: var(--deep); }

/* ---------- jak pracuję ---------- */

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; background: var(--stone); text-align: center; }
.values-heading { grid-column: 1 / -1; max-width: 680px; margin: 0 auto 8px; }
.values-heading h2 { margin: 0; }
.work-card { padding: 10px 16px; }
.work-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(253, 249, 247, 0.8);
  border: 1px solid #dcd6ce;
  color: var(--clay-button);
}
.work-card .line-pictogram { width: 23px; height: 23px; }
.work-card h3 { margin: 8px 0; font: 500 22px/1.3 var(--serif); }
.work-card p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  cursor: pointer;
  font: 500 20px/1.4 var(--serif);
  color: var(--deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font: 400 26px var(--sans); color: var(--clay-text); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 820px; margin: 0; padding: 0 40px 20px 0; font-size: 17px; line-height: 1.8; color: var(--muted); }

/* ---------- kontakt ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(36px, 8vw, 110px); align-items: start; }
.contact-copy > p { max-width: 32em; color: var(--muted); }
.contact-details { display: grid; gap: 14px; margin-top: 36px; }
.contact-item { display: flex; align-items: center; gap: 16px; margin: 0; color: var(--deep); }
.contact-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--icon-bg);
  border: 1px solid var(--icon-border);
  color: var(--clay-button);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.contact-icon .line-pictogram { width: 22px; height: 22px; }
.contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.contact-label { font-size: 14px; font-weight: 700; color: var(--clay-text); }
.contact-value { font-size: 18px; overflow-wrap: anywhere; }
a.contact-item:hover .contact-icon { background: var(--clay-button); border-color: var(--clay-button); color: #fff; }
a.contact-item:hover .contact-value { color: var(--clay-text); }

.contact-form { padding: 34px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 15px 40px rgba(92, 70, 64, 0.07); }
.contact-form h3 { margin: 0 0 6px; font: 500 28px var(--serif); }
.form-intro { margin-bottom: 20px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.contact-form label { display: block; margin: 16px 0 6px; font-size: 15px; font-weight: 700; color: var(--deep); }
.optional-label { font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6c7c1;
  border-radius: 6px;
  background: #fdfaf8;
  color: var(--ink);
  font: 16px var(--sans);
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--clay-text);
  outline-offset: 1px;
  border-color: var(--clay-text);
  border-radius: 6px;
}
.contact-form textarea { resize: vertical; }
.contact-form button[type="submit"] { margin-top: 22px; }
.form-helper, .copy-status { display: block; margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.contact-form-fields[hidden], .message-result[hidden] { display: none !important; }

.message-result h3 { margin-bottom: 8px; }
.message-result > p { margin-bottom: 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.prepared-meta { display: grid; gap: 12px; margin: 18px 0; padding: 15px 16px; background: var(--blush); border: 1px solid var(--line); }
.prepared-meta div { display: grid; gap: 2px; min-width: 0; }
.prepared-meta span { font-size: 13px; font-weight: 700; color: var(--clay-text); }
.prepared-meta strong { font-size: 15px; font-weight: 600; color: var(--deep); overflow-wrap: anywhere; }
.contact-form #prepared-message { min-height: 190px; line-height: 1.7; }
.message-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.message-actions .button { flex: 1 1 170px; min-height: 46px; padding: 11px 16px; font-size: 15px; }
.edit-message {
  margin-top: 14px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--dusty);
  background: none;
  color: var(--deep);
  font: 600 15px var(--sans);
  cursor: pointer;
}

/* „Otwórz Gmail” ma sens na komputerze; na telefonie zostaje aplikacja pocztowa. */
@media (hover: none) and (pointer: coarse) {
  #open-gmail { display: none; }
}

/* ---------- stopka ---------- */

.footer {
  padding: 46px var(--gutter) 26px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 22px;
  background: var(--sage);
  color: #2f2e28;
}
.footer .brand { color: #2f2e28; }
.footer .brand-mark { background: #e8e7df; border-color: #c9c6b9; color: #4f4f44; }
.footer-motto { margin: 0; text-align: center; font: italic 17px var(--serif); color: #2f2e28; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(47, 46, 40, 0.25); text-align: center; font-size: 14px; color: #2f2e28; }
.footer small a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pasek „Zadzwoń” na telefonie ---------- */

.call-bar { display: none; }

/* ==========================================================================
   Wersje responsywne
   ========================================================================== */

@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: 14px; }
  .brand-name { font-size: 19px; }
  .brand-tagline { font-size: 13px; }
  .stage { grid-template-columns: 200px minmax(0, 1fr); gap: 20px 32px; }
}

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav.open { display: flex; }
  .nav a:not(.nav-cta) { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { margin-top: 10px; text-align: center; }

  .stage { grid-template-columns: minmax(0, 1fr); padding-left: 40px; }
  .stage-head { position: relative; top: auto; }
  .stage-head::before { left: -40px; }
  .stages::before { left: 9px; }

  .about { grid-template-columns: minmax(0, 1fr); }
  .about-aside { position: static; max-width: 560px; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; --gutter: 20px; }

  body { padding-bottom: 72px; } /* miejsce na pasek „Zadzwoń” */

  .brand { gap: 9px; }
  .brand-mark { width: 40px; height: 40px; min-width: 40px; font-size: 17px; }
  .brand-name { font-size: 17px; }
  .brand-tagline { font-size: 12px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 40px;
    row-gap: 0; /* procentowy odstęp wierszy wypychał zdjęcie poza sekcję */
    background: linear-gradient(180deg, var(--cream) 0 62%, var(--blush) 62% 100%);
  }
  .hero h1 { font-size: clamp(38px, 10vw, 48px); }
  .hero-role { font-size: 15px; margin-bottom: 14px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-note { margin-top: 24px; }
  .hero-art { min-height: 0; padding: 22px 0 30px; }
  .print-card { width: min(78%, 300px); padding: 10px 10px 41px; }
  .print-block { width: min(64%, 250px); }
  .print-seal { width: 112px; left: auto; right: -3%; top: 4%; bottom: auto; transform: rotate(12deg); }

  /* nić opieki staje się pionowa */
  .care-path { padding-top: 44px; padding-bottom: 48px; }
  .care-path-title { margin-bottom: 22px; }
  .care-line { display: none; }
  .care-stops { grid-template-columns: minmax(0, 1fr); margin-left: 9px; border-left: 2.5px solid var(--clay); }
  .care-stop a { padding: 12px 0 12px 26px; text-align: left; }
  .care-stop a::before { left: -1.25px; top: 26px; }
  .care-band { margin: 18px calc(-1 * var(--gutter)) 0 0; border-radius: 18px 0 0 18px; padding: 13px 18px; }

  .section-heading { margin-bottom: 40px; }
  .section h2 { font-size: clamp(32px, 8.5vw, 40px); }

  .stages::before { left: 8px; }
  .stage { padding-left: 32px; padding-bottom: 44px; }
  .stage-head::before { left: -32px; top: 5px; width: 18px; height: 18px; }
  .stage-head h3 { font-size: 27px; }
  .stage-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-card { padding: 26px 22px 24px; }
  .service-card h4 { font-size: 25px; }

  .price-note { padding: 22px 20px; gap: 24px; }
  .price-list { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .review-quote p { font-size: 17px; }

  .quote-band { padding: 56px var(--gutter); }

  .values { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .faq-item summary { font-size: 18px; padding: 18px 40px 18px 0; }
  .faq-item p { padding-right: 0; font-size: 16px; }

  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-form { padding: 26px 20px; }
  .message-actions { flex-direction: column; }
  .message-actions .button { flex: auto; width: 100%; }

  .footer { grid-template-columns: minmax(0, 1fr); text-align: center; padding-bottom: 24px; }
  .footer .brand, .footer-links { justify-content: center; }
  .footer .brand-copy { align-items: flex-start; text-align: left; }

  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 241, 237, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
  }
  .call-bar { transition: transform 0.25s ease; }
  .call-bar.is-hidden { transform: translateY(110%); }
  .call-bar .line-pictogram { width: 20px; height: 20px; }
  .call-bar-phone { background: var(--clay-button); color: #fff; }
  .call-bar-sms { background: var(--pink); color: var(--deep); }
}

@media (max-width: 380px) {
  .brand-name { font-size: 15.5px; }
  .brand-tagline { font-size: 11.5px; }
  .brand-mark { width: 36px; height: 36px; min-width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
