

/* ------------------------------------------------------------------ Tokeny */
:root {
  --green: #3c7460;
  --white: #fff;
  --pink-bg: #fdf4f9;
  --gray-bg: #f7f7f7;
  --orange-border: #f57c00;
  --font-body: 'Noto Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Mulish', 'Noto Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1140px;
  --gutter: 20px;
}

/* ------------------------------------------------------------------ Baza */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--green); }
p { margin: 0 0 25px; line-height: 1.7; }
p a, li a { color: var(--green); }
p a:hover, li a:hover { text-decoration: underline; }
strong, b { font-weight: 700; }
ul, ol { margin: 0 0 16px; padding-left: 32px; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--text);
  font-style: normal;
}
h1 { font-size: 70px; line-height: 80px; font-weight: 700; }
h2 { font-size: 46px; line-height: 60px; font-weight: 600; margin-bottom: 10px; }
h3 { font-size: 30px; line-height: 40px; font-weight: 600; }
h4 { font-size: 26px; line-height: 36px; font-weight: 600; }
h5 { font-size: 22px; line-height: 32px; font-weight: 600; }
h6 { font-size: 18px; line-height: 26px; font-weight: 600; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
iframe { border: 0; max-width: 100%; }
.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: -9999px; top: 0; z-index: 10000; background: var(--green); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ------------------------------------------------------------------ Uklad */
.container {
  width: 100%;
  max-width: calc(var(--container) + 20px);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 10px 0; }
.text-center { text-align: center; }

/* ------------------------------------------------------------------ Przyciski */
.btn {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 26px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid var(--green);
  border-radius: var(--radius-btn);
  /* Jeden czas dla przycisku i ikony - tekst dziedziczy kolor bez wlasnej animacji (inaczej miga). */
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none !important;
}
.btn > span { display: flex; align-items: center; }
.btn-wrap { text-align: center; }
button.btn { font: inherit; padding: 0; }

/* ------------------------------------------------------------------ Naglowek */
.site-header { position: relative; z-index: 100; background: var(--white); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 0 0 transparent; transition: box-shadow .3s; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { flex-shrink: 0; }
.logo img { display: block; height: 70px; width: auto; }
.site-nav { flex: 1; display: flex; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav a {
  display: block;
  line-height: 26px;
  color: var(--text);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--green);
  cursor: pointer;
}
.nav-toggle svg { width: 38px; height: 38px; }
.nav-toggle .line { fill: none; stroke: currentColor; stroke-width: 4; transition: stroke-dasharray .6s, stroke-dashoffset .6s; }
.nav-toggle .line1, .nav-toggle .line3 { stroke-dasharray: 60 207; }
.nav-toggle .line2 { stroke-dasharray: 60 60; }
.nav-toggle[aria-expanded="true"] .line1, .nav-toggle[aria-expanded="true"] .line3 { stroke-dasharray: 90 207; stroke-dashoffset: -134; }
.nav-toggle[aria-expanded="true"] .line2 { stroke-dasharray: 1 60; stroke-dashoffset: -30; }

/* ------------------------------------------------------------------ Tytul sekcji (theme-title) */
.theme-title h3 {
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}
.theme-title { display: flow-root; }
.theme-title h2 { margin: 0 0 15px; }
.theme-title p { font-size: 16px; margin-bottom: 0; line-height: 30px; }
.theme-title ul li p { margin: 0; line-height: 30px; }

/* ------------------------------------------------------------------ Karty z ikona (featured-item) */
.feature-card {
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: var(--white);
  box-shadow: 0 5px 22px rgba(15, 53, 103, .05);
}
.feature-card + .feature-card { margin-top: 20px; }
.feature-card .feature-icon {
  flex-shrink: 0;
  margin-right: 20px;
  font-size: 50px;
  line-height: 1;
  color: var(--green);
}
.feature-card .feature-icon svg { width: 50px; height: 50px; }
.feature-card .feature-body {
  flex: 1;
  min-width: 0;
  border-left: 1px solid var(--border-light);
  padding: 30px 0 30px 30px;
}
.feature-card .feature-body p { margin-bottom: 0; }
.feature-card .feature-body p + p { margin-top: 0; }
.feature-card .feature-body ul { margin: 0; }
.feature-card .feature-body a { color: var(--text); }
.feature-card .feature-body a:hover { color: var(--green); }
.feature-card h3 { font-size: 30px; line-height: 40px; }

/* ------------------------------------------------------------------ Szare boksy z okraglym zdjeciem */
.note { font-style: italic; text-align: center; margin: 20px 0 0; }

/* ------------------------------------------------------------------ Cytat (theme-blockquote) */
.quote {
  position: relative;
  margin: 30px 0;
  padding: 40px 40px 40px 200px;
  background: var(--pink-bg);
  color: var(--text);
  font-size: 18px;
  line-height: 26px;
  font-style: italic;
  border: 1px solid var(--green);
}
.quote::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 100%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' fill='%233c7460'%3E%3Cpath transform='matrix(1 0 0 -1 0 300)' d='M74.8 29.1A66.5 66.5 0 0 0 8.4 95.5C8.4 95.6 8.4 95.7 8.4 95.8C8.4 96 8.4 96.3 8.3 96.8C7 120.9 10.9 186 76.8 269.4A4.1 4.1 0 0 0 83.8 265.5C83.6 265 65.6 211.1 77.9 161.8A66.4 66.4 0 0 0 74.7 29.1zM16.5 95.2A58.3 58.3 0 1 1 74.8 153.7A4.1 4.1 0 0 0 70.9 156.7C61.5 190.6 66.1 226.2 70.7 247.8C18.5 174.7 15.2 118.8 16.4 97.2A17.2 17.2 0 0 0 16.5 95.2zM225.5 29.1A66.5 66.5 0 0 0 159.1 95.5C159.1 95.6 159.1 95.7 159.1 95.8C159.1 96 159.1 96.3 159.1 96.8C157.7 120.9 161.7 186 227.5 269.4A4.1 4.1 0 0 0 234.5 265.5C234.3 265 216.3 211.1 228.6 161.8A66.4 66.4 0 0 0 225.5 29.1zM167.2 95.2A58.3 58.3 0 1 1 225.5 153.7A4.1 4.1 0 0 0 221.6 156.7C212.3 190.6 216.9 226.2 221.5 247.8C169.3 174.7 166 118.8 167.2 97.2A17.2 17.2 0 0 0 167.2 95.2z'/%3E%3C/svg%3E") center / 80px auto no-repeat;
}
.quote p { margin: 0; line-height: 1.7; }
.quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 26px;
  font-weight: 600;
  color: var(--green);
  text-align: right;
}

/* ------------------------------------------------------------------ FAQ (details/summary) */
.therapy-faq { margin: 0; padding: 0; }
.therapy-faq__item {
  background: #f7f7f5;
  border: 1px solid #e6e8e3; border-left: 4px solid #d9e6dd;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
  margin-bottom: 16px; overflow: hidden;
}
.therapy-faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-size: 18px; line-height: 1.35; font-weight: 600; color: #1f2a24;
}
.therapy-faq__item summary::-webkit-details-marker { display: none; }
.therapy-faq__item summary::after {
  content: "+"; position: absolute; top: 50%; right: 18px; transform: translateY(-50%);
  font-size: 24px; line-height: 1; color: #4f7c67; font-weight: 400;
}
.therapy-faq__item[open] summary::after { content: "–"; }
.therapy-faq__content { padding: 0 20px 18px; }
.therapy-faq__content p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #3f4a44; }
.therapy-faq__content p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Formularz kontaktowy */
.contact-section { padding: 40px 0; }
.contact-form { margin: 0 auto; }
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-form .form-full { grid-column: 1 / -1; }
.contact-form label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--text); margin-bottom: 6px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form select, .contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--body);
  background: var(--white);
  transition: border-color .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); outline: none; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-weight: 400; line-height: 1.5; color: var(--body); }
.contact-form .check input { margin-top: 4px; accent-color: var(--green); }
.contact-form .form-hint { margin: -8px 0 0; font-size: 13px; line-height: 1.5; color: var(--body); }
.contact-form .form-hint strong { color: var(--text); font-weight: 600; }
.contact-form .form-grid input.is-invalid { border-color: #c0392b; }
.contact-form .form-status { max-width: none; margin: 20px 0 0; }
.contact-form button[disabled] { opacity: .75; cursor: progress; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { max-width: 760px; margin: 0 auto 20px; padding: 14px 18px; border-left: 4px solid; }
.form-status.is-success { background: #eef5f0; border-color: var(--green); color: #1f2a24; }
.form-status.is-error { background: #fdf0f0; border-color: #c0392b; color: #6b1d16; }

/* ------------------------------------------------------------------ Stopka */
.site-footer { color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-link-button { background: none; border: 0; padding: 0; color: var(--white); font: inherit; cursor: pointer; }
.footer-link-button:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ Baner cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 15px 20px;
  text-align: center;
  line-height: 26px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner button {
  border: 0;
  color: #fff;
  padding: 6px 14px;
  margin-left: 15px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.cookie-banner .cookie-reject { background: transparent; border: 1px solid #888; font-weight: 400; margin-left: 8px; }

/* ------------------------------------------------------------------ Podstrony */
.btn-wrap + .quote { margin-top: 50px; }
.booking-widget { margin: 20px 0; min-height: 200px; }

/* ------------------------------------------------------------------ Blog - wpis */
.article-tldr { margin: 25px 0 0; padding: 18px 22px; background: #f7f7f5; border-left: 4px solid var(--green); }
.article-tldr p { display: inline; margin: 0; }
.article-body { margin-top: 20px; }
.article-body h2 { font-size: 46px; line-height: 60px; font-weight: 600; margin: 0 0 10px; }
.article-body h2 strong, .article-body h2 b { font-weight: 800; }
.article-body h3 { margin: 0 0 10px; }
.article-body h4 { margin: 0 0 10px; }
.article-body hr { border: 0; border-top: 1px solid #000; margin: 25px 0; }
.article-body img { display: block; width: 100%; height: auto; border-radius: 15px; margin: 0 0 20px; }
.article-body .feature-card { margin: 0 0 20px; }
.article-body .feature-card + .feature-card { margin-top: 0; }
.article-body .feature-card h3 { margin: 0; }
.article-body .quote { margin: 30px 0; }
.article-body .theme-title { margin: 0 0 20px; }
.article-body .theme-title p { line-height: 1.7; margin-bottom: 25px; }
.article-body .btn-wrap { margin: 20px 0; }
.article-body .therapy-faq { margin: 0 0 25px; }
.article-body ul, .article-body ol { margin: 0 0 25px; }
.article-body li { margin-bottom: 6px; }
.article-body a:not(.btn) { color: var(--green); }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 25px; }
.article-body th, .article-body td { border: 1px solid #e6e6e6; padding: 8px 12px; text-align: left; }
.article-toc { margin: 0 0 30px; padding: 20px 24px; background: #f7f7f5; border-left: 4px solid #d9e6dd; border-radius: 12px; }
.article-body .article-toc h2 { font-size: 20px; line-height: 1.4; font-weight: 700; margin: 0 0 10px; }
.article-toc ol { margin: 0; padding-left: 22px; }
.article-toc li { margin: 4px 0; }
.article-body .article-toc a { color: var(--text); }
.article-body .article-toc a:hover { color: var(--green); }

/* ------------------------------------------------------------------ Responsywnosc */
@media (max-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (max-width: 991px) {
  .header-inner { flex-wrap: wrap; }
  .logo img { height: 50px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { flex-basis: 100%; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { border-bottom: 1px solid #eee; }
}
@media (max-width: 768px) {
  h1 { font-size: 30px !important; line-height: 1.2 !important; }
  h2 { font-size: 24px; line-height: 1.25; }
  h3 { font-size: 20px; line-height: 1.3; }
  h4 { font-size: 18px; line-height: 1.3; }
  h5 { font-size: 16px; line-height: 1.35; }
  h6 { font-size: 13px; line-height: 1.35; letter-spacing: .04em; }
  body, p, li { font-size: 15px; line-height: 1.6; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .theme-title h2 { font-size: 34px; line-height: 46px; }
  .quote { padding: 140px 20px 20px !important; }
  .quote::after { width: 100%; height: 100px; }
  .quote cite { font-size: 20px; }
  .therapy-faq__item summary { padding: 16px 46px 16px 16px; }
  .therapy-faq__content { padding: 0 16px 16px; }
}
@media (max-width: 767px) {
  .article-body h2 { font-size: 24px; line-height: 1.25; }
  .feature-card h3 { font-size: 20px; line-height: 1.3; }
  .feature-card .feature-icon svg { width: 36px; height: 36px; }
  .theme-title p, .theme-title ul li p { line-height: 1.6; }
}
@media (max-width: 576px) {
  .feature-card { display: block; padding: 30px 0 0; }
  .feature-card .feature-icon { margin: 0 0 20px; padding-left: 30px; }
  .feature-card .feature-body { border-left: 0; border-top: 2px solid lightcyan; padding: 30px; }
  .cookie-banner button { margin: 10px 0 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
