/* =========================================================
   Centrum Psychoterapii Indywidualnej i Grupowej
   Statyczna wersja strony — wspólny arkusz stylów
   ========================================================= */

:root {
  --burgund:      #673c4f;
  --burgund-dark: #4f2d3c;
  --burgund-soft: #8a6175;
  --cream:        #faf7f4;
  --cream-deep:   #f1e9e5;
  --ink:          #3a3138;
  --ink-soft:     #6a5f66;
  --line:         #e6dcd8;
  --white:        #ffffff;
  --accent:       #c98a7a;
  --shadow-sm:    0 2px 12px rgba(79, 45, 60, .07);
  --shadow-md:    0 10px 36px rgba(79, 45, 60, .12);
  --radius:       14px;
  --maxw:         1140px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Lato', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--burgund);
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p  { font-weight: 300; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tint { background: var(--cream-deep); }
.section--burgund { background: var(--burgund); color: var(--cream); }
.section--burgund h2, .section--burgund h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgund-soft);
  margin-bottom: 14px;
}
.section--burgund .eyebrow { color: var(--accent); }

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

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin: 18px auto 0; }

/* divider ornament */
.ornament {
  width: 64px; height: 2px;
  background: var(--accent);
  margin: 20px auto 0;
  position: relative;
}
.ornament::before, .ornament::after {
  content: ""; position: absolute; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); transform: translateY(-50%);
}
.ornament::before { left: -14px; }
.ornament::after  { right: -14px; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .ornament { margin-left: 0; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 244, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.nav__logo img { height: 42px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 10px 14px;
  font-size: .92rem; font-weight: 400;
  color: var(--ink); border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.active { color: var(--burgund); background: var(--cream-deep); }
.nav__item--has-sub > .nav__link::after {
  content: "›"; display: inline-block;
  margin-left: 6px; transform: rotate(90deg);
  font-size: .8rem; opacity: .6;
}
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 268px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s var(--ease);
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block; padding: 10px 14px; font-size: .9rem;
  font-weight: 300; border-radius: 8px; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav__sub a:hover { background: var(--cream-deep); color: var(--burgund); }

.nav__cta {
  background: var(--burgund); color: var(--cream) !important;
  padding: 11px 22px; border-radius: 30px; font-weight: 700;
  font-size: .88rem; letter-spacing: .03em;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--burgund-dark); transform: translateY(-2px); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--burgund);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
@media (max-width: 940px) {
  .nav__menu {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 24px 28px; max-height: calc(100vh - 78px);
    overflow-y: auto;
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__burger { display: flex; }
  .nav__link { padding: 14px 6px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__item--has-sub > .nav__link::after { float: right; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 8px 14px;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav__item--has-sub.open .nav__sub { max-height: 400px; }
  .nav__cta { margin-top: 16px; text-align: center; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(201,138,122,.16), transparent 55%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: clamp(70px, 11vw, 130px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(103,60,79,.14);
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(103,60,79,.10);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--burgund-soft); }
.hero__text { font-size: 1.16rem; color: var(--ink-soft); margin-bottom: 18px; }
.hero__quote {
  margin-top: 34px; padding-left: 22px;
  border-left: 3px solid var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-style: italic; color: var(--burgund);
}
.hero__quote cite { display: block; font-size: .92rem; font-style: normal;
  font-family: 'Lato', sans-serif; color: var(--ink-soft); margin-top: 8px; }
.hero__actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 32px;
  font-weight: 700; font-size: .92rem; letter-spacing: .03em;
  cursor: pointer; border: 1.6px solid transparent;
  transition: all .22s var(--ease);
}
.btn--primary { background: var(--burgund); color: var(--cream); }
.btn--primary:hover { background: var(--burgund-dark); transform: translateY(-3px);
  box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--burgund); color: var(--burgund); }
.btn--ghost:hover { background: var(--burgund); color: var(--cream); transform: translateY(-3px); }
.btn--light { background: var(--cream); color: var(--burgund); }
.btn--light:hover { background: var(--white); transform: translateY(-3px); }
.btn--block { display: flex; justify-content: center; }

/* =========================================================
   CARDS — formy wsparcia
   ========================================================= */
.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); }
@media (max-width: 920px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              border-color .28s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md);
  border-color: rgba(201,138,122,.5); }
.card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; color: var(--accent);
  line-height: 1; margin-bottom: 10px; font-weight: 600;
}
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--cream-deep); color: var(--burgund);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card__link {
  margin-top: auto; padding-top: 16px;
  font-weight: 700; font-size: .88rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--burgund);
  display: inline-flex; align-items: center; gap: 7px;
}
.card__link span { transition: transform .2s; }
.card:hover .card__link span { transform: translateX(5px); }

/* =========================================================
   PROCES — od czego zacząć
   ========================================================= */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 32px 30px; position: relative;
}
.step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 600;
  color: var(--accent); line-height: .9; margin-bottom: 14px;
}
.step h3 { color: var(--white); margin-bottom: 10px; }
.step p { color: rgba(250,247,244,.78); font-size: .97rem; }

/* =========================================================
   ZESPÓŁ
   ========================================================= */
.team-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--cream-deep); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--burgund-soft), var(--burgund));
  color: var(--cream); font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem; font-weight: 600;
}
.team-card__body { padding: 24px 24px 28px; display: flex;
  flex-direction: column; flex: 1; }
.team-card__body h3 { margin-bottom: 4px; }
.team-card__role { font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  margin-bottom: 12px; }
.team-card__body p { font-size: .93rem; color: var(--ink-soft); }
.team-card__link {
  margin-top: auto; padding-top: 16px; font-weight: 700;
  font-size: .85rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--burgund); display: inline-flex; gap: 7px; align-items: center;
}
.team-card__link span { transition: transform .2s; }
.team-card:hover .team-card__link span { transform: translateX(5px); }

/* =========================================================
   PRICE / INFO BADGE
   ========================================================= */
.price-badge {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--cream-deep); border: 1px solid var(--line);
  border-radius: 30px; padding: 10px 22px; margin-bottom: 8px;
}
.price-badge strong { font-size: 1.45rem; color: var(--burgund);
  font-family: 'Cormorant Garamond', serif; }
.price-badge span { font-size: .9rem; color: var(--ink-soft); }

/* =========================================================
   ARTICLE / SUBPAGE BODY
   ========================================================= */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201,138,122,.14), transparent 60%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: clamp(54px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--burgund); }
.breadcrumb span { color: var(--burgund-soft); }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 32px; color: var(--burgund-soft); }
.prose p { color: var(--ink); font-size: 1.04rem; }
.prose ul.bullets { padding-left: 4px; }
.prose ul.bullets li {
  position: relative; padding-left: 30px; margin-top: 12px;
  font-weight: 300; color: var(--ink);
}
.prose ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: .65em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
}
.prose strong { color: var(--burgund); font-weight: 700; }
.callout {
  background: var(--cream-deep); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; font-size: 1rem; color: var(--ink-soft);
}

/* specialists mini-list */
.spec-list { display: grid; gap: 14px; }
.spec-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.spec-item__mark {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--burgund); color: var(--cream);
  display: grid; place-items: center; font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600;
}
.spec-item h4 { font-family: 'Lato', sans-serif; font-size: 1.02rem;
  color: var(--burgund); font-weight: 700; margin-bottom: 3px; }
.spec-item p { font-size: .93rem; color: var(--ink-soft); }

/* =========================================================
   ARTICLES LIST
   ========================================================= */
.article-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 30px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-card__date { font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  margin-bottom: 12px; }
.article-card h3 { margin-bottom: 12px; }
.article-card p { font-size: .96rem; color: var(--ink-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; }
.contact-row {
  display: flex; gap: 16px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  padding: 18px 22px; border-radius: var(--radius);
}
.contact-row__ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(201,138,122,.22); color: var(--accent);
  display: grid; place-items: center;
}
.contact-row__ic svg { width: 22px; height: 22px; }
.contact-row__label { font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(250,247,244,.6); }
.contact-row__value { font-size: 1.06rem; color: var(--white); font-weight: 700; }
.contact-row a.contact-row__value:hover { color: var(--accent); }
.contact-note {
  font-size: .92rem; color: rgba(250,247,244,.72);
  margin-top: 6px; font-style: italic;
}
.map-embed {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--burgund-dark); color: rgba(250,247,244,.8);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 740px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1);
  opacity: .92; }
.footer-brand p { font-size: .93rem; max-width: 38ch; }
.footer-col h4 { color: var(--cream); font-family: 'Lato', sans-serif;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 700; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: .93rem; transition: color .18s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: .84rem;
  color: rgba(250,247,244,.55);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 17px; height: 17px; fill: var(--cream); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--burgund) 0%, var(--burgund-dark) 100%);
  border-radius: var(--radius); padding: clamp(40px, 6vw, 64px);
  text-align: center; color: var(--cream); position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; left: -60px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(250,247,244,.82); max-width: 52ch;
  margin: 0 auto 28px; }
.cta-strip .btn { position: relative; z-index: 2; }
