/* =========================================================
   Centrum Grow — arkusz stylów
   Paleta wg SIW:
   #4E5A43 oliwka (główny)  #8FA38A szałwia  #DCCCB6 piasek
   #C07A5A terakota (akcent) #8B5E3C brąz     tło kremowe
   Typografia: Playfair Display (nagłówki) + Poppins (treść)
   ========================================================= */

:root {
  --olive: #4E5A43;
  --sage: #8FA38A;
  --sand: #DCCCB6;
  --terra: #C07A5A;
  --brown: #8B5E3C;

  --cream: #F5F2EA;
  --cream-2: #EFEADD;
  --ink: #3A3F33;          /* tekst główny – ciepła ciemna oliwka */
  --ink-soft: #5E6457;     /* tekst drugorzędny */
  --white: #FCFBF7;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -24px rgba(78, 90, 67, 0.45);
  --shadow-soft: 0 10px 30px -20px rgba(78, 90, 67, 0.35);
  --maxw: 1160px;
  --transition: 0.25s ease;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--olive); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--olive);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--cream2 { background: var(--cream-2); }
.section--sage { background: linear-gradient(160deg, #9aad95, var(--sage)); }
.section--sage h2, .section--sage h3 { color: var(--white); }
.section--sage p { color: rgba(255,255,255,.9); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--terra);
  margin-bottom: 14px;
  display: inline-block;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--olive); color: var(--white); }
.btn--primary:hover { background: #3f4a37; color: var(--white); box-shadow: var(--shadow-soft); }
.btn--terra { background: var(--terra); color: var(--white); box-shadow: 0 12px 26px -14px rgba(192,122,90,.8); }
.btn--terra:hover { background: #b06a4b; color: var(--white); }
.btn--ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn--ghost:hover { background: var(--olive); color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 234, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(78,90,67,.10);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-size: 1.32rem; color: var(--olive); font-weight: 600; }
.brand-tag { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-links a {
  display: inline-block; padding: 8px 11px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.nav-links a:hover { background: rgba(143,163,138,.18); color: var(--olive); }
.nav-links a.active { color: var(--olive); background: rgba(143,163,138,.22); font-weight: 600; }

/* wyróżniona zakładka twojpsycholog */
.nav-links .nav-cta a,
a.nav-cta-link {
  background: var(--terra); color: var(--white);
  font-weight: 600; padding: 9px 16px; margin-left: 6px;
  box-shadow: 0 12px 24px -12px rgba(192,122,90,.85);
}
.nav-links .nav-cta a:hover { background: #b06a4b; color: var(--white); transform: translateY(-1px); }
.nav-cta-link .ext { font-size: .85em; opacity: .85; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--olive); margin: 5px auto; border-radius: 2px; transition: var(--transition); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--terra); }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art {
  position: relative; aspect-ratio: 1 / 1; border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%;
  background: linear-gradient(160deg, var(--sand), #e7dcc8);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.hero-art svg { width: 62%; height: auto; }
.hero-badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--olive); display: block; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); }

/* dekoracyjne plamy (blobs) */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; pointer-events: none; }
.blob--1 { width: 320px; height: 320px; background: var(--sage); top: -120px; right: -80px; opacity: .28; }
.blob--2 { width: 260px; height: 260px; background: var(--sand); bottom: -110px; left: -70px; opacity: .5; }
.hero .container { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(78,90,67,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(143,163,138,.18); margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; stroke: var(--olive); }
.card--tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--terra); text-transform: uppercase; letter-spacing: .12em; }

/* paleta / pill list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.feature-list .tick {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: rgba(143,163,138,.25);
  display: grid; place-items: center; margin-top: 3px;
}
.feature-list .tick svg { width: 14px; height: 14px; stroke: var(--olive); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-art {
  border-radius: var(--radius); aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--sage), #7c9277);
  display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden;
}
.split-art svg { width: 55%; opacity: .92; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.step .num {
  counter-increment: step; width: 56px; height: 56px; border-radius: 50%;
  background: var(--olive); color: var(--white); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.4rem;
}
.step .num::before { content: counter(step); }

/* ---------- Pricing ---------- */
.price-card { text-align: center; }
.price-card .price { font-family: var(--font-head); font-size: 2.4rem; color: var(--olive); }
.price-card .price small { font-size: .9rem; color: var(--ink-soft); font-family: var(--font-body); }
.price-card.is-featured { border: 2px solid var(--terra); position: relative; }
.price-card.is-featured::after {
  content: "Najczęściej wybierane"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: #fff; font-size: .72rem; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); overflow: hidden; border: 1px solid rgba(78,90,67,.06); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--olive);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform var(--transition); flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--ink-soft); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card > a.post-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-card > a.post-link:hover { color: inherit; }
.post-thumb { aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; }
.post-thumb svg { width: 38%; opacity: .9; }
.post-thumb img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { color: var(--olive); transition: color var(--transition); }
.post-card:hover .post-body h3 { color: var(--terra); }
.post-meta { font-size: .78rem; color: var(--terra); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.post-more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--terra); font-size: .92rem; }

/* ---------- Article (single post) ---------- */
.article-hero { padding: 66px 0 10px; position: relative; }
.article-hero .container { max-width: 760px; }
.article-hero .breadcrumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 16px; }
.article-hero .post-meta { margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .35em; }
.article-hero .lead { max-width: none; }
.article-cover {
  max-width: 900px; margin: 30px auto 0; aspect-ratio: 16/7; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sand), #e7dcc8); display: grid; place-items: center;
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.article-cover svg { width: 22%; opacity: .9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: 720px; margin: 0 auto; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.22rem; margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 26px; border-left: 4px solid var(--sage);
  background: var(--cream-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head); font-size: 1.15rem; color: var(--olive); font-style: italic;
}
.prose blockquote p { margin: 0; color: var(--olive); }
.prose img { border-radius: var(--radius-sm); margin: 1.6em auto; box-shadow: var(--shadow-soft); }
.prose hr { border: 0; border-top: 1px solid rgba(78,90,67,.16); margin: 2.4em 0; }

/* tabela porównawcza w treści */
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.prose table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 460px; font-size: .95rem; }
.prose thead th { background: var(--olive); color: #fff; font-family: var(--font-head); font-weight: 600; text-align: left; padding: 14px 18px; }
.prose tbody td { padding: 13px 18px; border-top: 1px solid rgba(78,90,67,.12); color: var(--ink-soft); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--cream-2); }

.article-back { margin-top: 40px; }
.article-back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: rgba(143,163,138,.2); display: grid; place-items: center; }
.contact-info .ic svg { width: 22px; height: 22px; stroke: var(--olive); }
.contact-info strong { display: block; color: var(--ink); font-weight: 600; }
.contact-info span, .contact-info a { color: var(--ink-soft); font-size: .96rem; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(78,90,67,.18); background: var(--white);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink); transition: border var(--transition);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--sage); }
.form-note { font-size: .8rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(150deg, var(--olive), #3d4836); color: #fff; border-radius: var(--radius); padding: 56px 48px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .blob--leaf { position: absolute; right: -30px; bottom: -30px; width: 200px; opacity: .14; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive); color: rgba(255,255,255,.82); padding: 60px 0 28px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--sand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 50px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 6px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--sand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: 70px 0 56px; text-align: center; position: relative; }
.page-hero .breadcrumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 14px; }
.page-hero .lead { margin-left: auto; margin-right: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* menu chowa się do „hamburgera", gdy zaczyna brakować miejsca w jednej linii */
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 18px 24px 26px; gap: 6px; flex-wrap: nowrap;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
    border-bottom: 1px solid rgba(78,90,67,.12); max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: .98rem; }
  .nav-links .nav-cta a { text-align: center; justify-content: center; margin-top: 6px; margin-left: 0; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
}
