/* ==========================================================================
   Strona praktyki logopedycznej — arkusz stylów
   Kolory i typografia w jednym miejscu: zmieniaj poniżej w :root
   ========================================================================== */

:root {
  --zielen-ciemna: #0D3C31;
  --zielen: #15614F;
  --zielen-jasna: #EDF2EF;
  --tlo: #F6F7F5;
  --biel: #FFFFFF;
  --tekst: #161A18;
  --tekst-mniej: #2C3531;
  --tekst-szary: #3A433E;
  --tekst-jasny: #4A544E;
  --obramowanie: #DFE4E0;
  --alarm-tlo: #FFF7F2;
  --alarm-kreska: #B4531F;
  --alarm-tekst: #7A3813;
  --szerokosc: 1120px;
  --szerokosc-tekst: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--tlo);
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--zielen); }
a:hover { color: var(--zielen-ciemna); }

h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.2; }

/* --- pasek górny ---------------------------------------------------------- */

.pasek {
  background: var(--zielen-ciemna);
  color: var(--tlo);
  padding: 14px 24px;
}
.pasek-wnetrze {
  max-width: var(--szerokosc);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pasek a { color: var(--tlo); text-decoration: none; }
.pasek-nazwa { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; }
.pasek-telefon {
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.pasek-nawigacja { display: flex; gap: 20px; font-size: 16px; }
.pasek-nawigacja a:hover { text-decoration: underline; }

/* --- układ ---------------------------------------------------------------- */

.sekcja { padding: 72px 24px; }
.sekcja-waska { padding: 48px 24px; }
.wnetrze { max-width: var(--szerokosc); margin: 0 auto; }
.wnetrze-tekst { max-width: var(--szerokosc-tekst); margin: 0 auto; }

.tlo-biale { background: var(--biel); border-top: 1px solid var(--obramowanie); border-bottom: 1px solid var(--obramowanie); }
.tlo-jasne { background: var(--zielen-jasna); }
.tlo-ciemne { background: var(--zielen-ciemna); color: #F1F5F2; }
.tlo-zielone { background: var(--zielen); color: var(--biel); }
.tlo-ciemne h2, .tlo-zielone h2 { color: inherit; }
.tlo-ciemne p { color: #D4E1DA; }
.tlo-zielone p { color: #D7E6E0; }
.tlo-zielone a { color: var(--biel); }

.kolumny {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.kafelki {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --- elementy ------------------------------------------------------------- */

.nadtytul {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zielen);
}

h1 { font-size: 46px; font-weight: 700; margin: 0 0 24px; }
h2 { font-size: 34px; font-weight: 700; margin: 0 0 20px; }
h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; }

.wstep { font-size: 21px; line-height: 1.55; color: var(--tekst-mniej); }

.przycisk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  background: var(--zielen);
  color: var(--biel);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
.przycisk:hover { background: var(--zielen-ciemna); color: var(--biel); }
.przycisk-obrys {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--zielen);
  color: var(--zielen);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  background: transparent;
}
.przycisk-jasny {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 40px;
  background: var(--biel);
  color: var(--zielen-ciemna);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
.przyciski { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.karta {
  background: var(--biel);
  padding: 28px;
  border: 1px solid var(--obramowanie);
  border-radius: 6px;
}
.karta h3 { color: var(--zielen-ciemna); margin-bottom: 12px; }
.karta p { margin: 0; color: var(--tekst-szary); }

.ramka {
  background: var(--zielen-jasna);
  padding: 32px;
  border-radius: 6px;
}
.ramka dl { margin: 0; display: grid; gap: 18px; }
.ramka dt { font-weight: 700; color: var(--tekst-mniej); }
.ramka dd { margin: 4px 0 0; color: var(--tekst-szary); }

.krok-numer {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--zielen);
}

.uwaga { font-size: 17px; color: var(--tekst-jasny); max-width: var(--szerokosc-tekst); }

.alarm {
  background: var(--alarm-tlo);
  border-top: 3px solid var(--alarm-kreska);
  border-bottom: 1px solid #E8D5C8;
}
.alarm h2 { color: var(--alarm-tekst); }

/* --- tabela --------------------------------------------------------------- */

.tabela-oslona { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--biel); min-width: 460px; }
caption { text-align: left; padding: 0 0 14px; color: var(--tekst-jasny); font-size: 17px; }
th, td { padding: 16px 20px; }
thead th { text-align: left; border-bottom: 2px solid var(--zielen-ciemna); font-size: 17px; }
tbody th { text-align: left; font-weight: 400; border-bottom: 1px solid var(--obramowanie); }
tbody td { text-align: right; font-weight: 700; border-bottom: 1px solid var(--obramowanie); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }

/* --- listy ---------------------------------------------------------------- */

.lista-odstepy { margin: 0; padding-left: 24px; display: grid; gap: 13px; color: var(--tekst-mniej); }
.pytania { display: grid; gap: 28px; }
.pytania h3 { margin-bottom: 8px; }
.pytania p { margin: 0; color: var(--tekst-szary); }

/* --- dokumenty prawne ----------------------------------------------------- */

.dokument h2 { font-size: 28px; margin-top: 44px; }
.dokument h3 { font-size: 20px; margin-top: 30px; }
.dokument p, .dokument li { color: var(--tekst-mniej); }
.dokument ol, .dokument ul { padding-left: 24px; }
.dokument li { margin-bottom: 10px; }

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

.stopka {
  padding: 36px 24px;
  background: var(--zielen-ciemna);
  color: #AFC4BB;
  font-size: 16px;
}
.stopka-wnetrze {
  max-width: var(--szerokosc);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
}
.stopka a { color: #DCE8E2; }

/* --- telefony ------------------------------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .wstep { font-size: 19px; }
  .sekcja { padding: 48px 20px; }
  .sekcja-waska { padding: 36px 20px; }
  .kolumny { gap: 32px; }
  .przycisk, .przycisk-obrys, .przycisk-jasny { width: 100%; font-size: 19px; }
}

@media print {
  .pasek, .przycisk, .przycisk-obrys, .przycisk-jasny { display: none; }
  body { background: #fff; font-size: 12pt; }
}
