/* =========================================================
   Przestrzeń — psychologiczno-terapeutyczna
   Style przewodnika marki (EB Garamond / Roboto / Alex Brush)
   ========================================================= */

:root {
  /* paleta z księgi znaku */
  --cream:        #f7f1e8;   /* tło bazowe */
  --cream-2:      #eddec4;   /* jaśniejszy beż */
  --sand:         #e3d2b4;
  --clay:         #be7c59;   /* terakota */
  --clay-dark:    #a4633f;
  --brown:        #653723;   /* ciemny brąz */
  --taupe:        #6a6552;   /* ciepła szarość */
  --olive:        #373a27;   /* ciemna oliwka */
  --ink:          #3a2c20;   /* tekst */
  --muted:        #7a6a59;

  --maxw: 1140px;
  --radius: 18px;
  --shadow: 0 18px 50px -28px rgba(101, 55, 35, .45);
  --shadow-sm: 0 8px 24px -16px rgba(101, 55, 35, .5);

  --font-head: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, sans-serif;
  --font-script: "Alex Brush", cursive;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--brown); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--brown);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }

.script {
  font-family: var(--font-script);
  color: var(--clay);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--clay);
  margin: 0 0 1rem;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint  { background: var(--cream-2); }
.section--brown { background: var(--brown); color: var(--cream); }
.section--brown h2, .section--brown h3 { color: var(--cream-2); }
.section--brown .eyebrow { color: var(--clay); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--brown .section-head p { color: #e8dcc8; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--brown);
  background: var(--brown);
  color: var(--cream);
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--cream); }
.btn--light { background: var(--cream-2); border-color: var(--cream-2); color: var(--brown); }
.btn--light:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* =========================================================
   Nawigacja
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(101, 55, 35, .12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--brown); }
.brand:hover { color: var(--brown); }
.brand__mark { width: 42px; height: 34px; color: var(--clay); flex: none; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .14em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: .56rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: .9rem;
  letter-spacing: .06em;
  color: var(--ink);
  position: relative;
  padding: .35rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--clay);
  transition: width .25s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--brown); }

.nav__toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  cursor: pointer; color: var(--brown);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; display: block; position: relative;
  width: 24px; height: 2px; background: currentColor; margin: 0 auto;
  transition: transform .25s ease;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--cream-2) 0%, var(--cream) 60%);
  overflow: hidden;
}
.hero__mark { width: 96px; height: 78px; color: var(--clay); margin: 0 auto 1.4rem; }
.hero h1 { margin-bottom: .3rem; }
.hero .hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 620px;
  margin: 1.4rem auto 2.2rem;
}
.hero__script { font-size: clamp(2rem, 5vw, 3.2rem); display: block; margin-bottom: .2rem; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* dekoracyjna kropla / łuk pod hero */
.page-hero {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: radial-gradient(120% 120% at 50% -30%, var(--cream-2), var(--cream) 65%);
}
.page-hero p { color: var(--muted); max-width: 640px; margin-inline: auto; font-size: 1.08rem; }

/* =========================================================
   Wartości / cechy
   ========================================================= */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.value {
  text-align: center;
  padding: 2rem 1.2rem;
}
.value__icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--clay);
  border: 1.5px solid rgba(190, 124, 89, .4);
}
.section--brown .value__icon { background: rgba(247,241,232,.08); border-color: rgba(237,222,196,.3); color: var(--cream-2); }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--brown .value p { color: #e3d6c2; }

/* =========================================================
   Karty (oferta / specjaliści)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--cream);
  border: 1px solid rgba(101, 55, 35, .12);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--clay); margin-bottom: .8rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card__icon { width: 46px; height: 46px; color: var(--clay); margin-bottom: 1rem; }

/* lista z ptaszkami */
.tick-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.tick-list li { position: relative; padding-left: 2rem; color: var(--ink); }
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--clay);
}

/* =========================================================
   Cennik
   ========================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.price {
  background: var(--cream);
  border: 1px solid rgba(101, 55, 35, .12);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.price:hover { transform: translateY(-4px); }
.price--featured {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}
.price--featured h3 { color: var(--cream-2); }
.price--featured .price__desc { color: #e3d6c2; }
.price__badge {
  align-self: flex-start;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--clay); color: #fff;
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.price h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.price__desc { color: var(--muted); font-size: .92rem; min-height: 3em; margin-bottom: 1.2rem; }
.price__amount {
  font-family: var(--font-head);
  font-size: 2.4rem; color: var(--clay);
  margin-top: auto;
}
.price--featured .price__amount { color: var(--cream-2); }
.price__amount--custom { font-size: 1.3rem; line-height: 1.35; }
.price__amount small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); letter-spacing: .05em; }
.price--featured .price__amount small { color: #d8c9b3; }
.price__unit { font-size: .85rem; }

.price-note {
  text-align: center; color: var(--muted);
  font-size: .95rem; max-width: 680px; margin: 2.5rem auto 0;
}

/* =========================================================
   Specjaliści
   ========================================================= */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.person { text-align: center; }
.person__photo {
  width: 100%; aspect-ratio: 3/4;
  border-radius: 160px 160px var(--radius) var(--radius); /* łuk u góry */
  background: linear-gradient(160deg, var(--sand), var(--clay));
  display: grid; place-items: center;
  color: rgba(247,241,232,.85);
  margin-bottom: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.person__photo svg { width: 38%; height: auto; }
.person h3 { margin-bottom: .15rem; }
.person__role { color: var(--clay); font-size: .9rem; letter-spacing: .04em; margin-bottom: .8rem; }
.person p { color: var(--muted); font-size: .93rem; }

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature__media {
  aspect-ratio: 4/5;
  border-radius: 220px 220px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--clay), var(--brown));
  display: grid; place-items: center;
  color: rgba(247,241,232,.9);
  box-shadow: var(--shadow);
}
.feature__media svg { width: 40%; }

/* =========================================================
   Kontakt
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.4rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream-2); color: var(--clay);
  display: grid; place-items: center;
}
.info-list strong { display: block; color: var(--brown); font-weight: 500; font-family: var(--font-head); font-size: 1.15rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .96rem; }

.form { background: var(--cream); border: 1px solid rgba(101,55,35,.12); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; letter-spacing: .04em; color: var(--brown); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem 1rem;
  border: 1.5px solid rgba(101,55,35,.18);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(190,124,89,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

.map-embed { border: 0; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- ikony social media ---------- */
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(237, 222, 196, .1);
  color: #cfd0c1;
  border: 1px solid rgba(207, 208, 193, .25);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.socials a:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
/* wariant na jasnym tle (strona kontakt) */
.socials--light a { background: var(--cream-2); color: var(--clay); border-color: rgba(190, 124, 89, .35); }
.socials--light a:hover { background: var(--clay); color: #fff; border-color: var(--clay); }
.footer-socials { margin-top: 1.4rem; }

/* ---------- karty form kontaktu ---------- */
.card--method { text-align: center; }
.card--method .card__icon { margin: 0 auto 1rem; }
.card--method .socials { justify-content: center; margin: .2rem 0 1rem; }
.card__value {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--clay);
  margin: .2rem 0 .7rem;
  word-break: break-word;
}
.card__value:hover { color: var(--brown); }

/* =========================================================
   CTA pasek
   ========================================================= */
.cta {
  text-align: center;
  background: linear-gradient(160deg, var(--clay), var(--clay-dark));
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 2rem; }

/* =========================================================
   Stopka
   ========================================================= */
.site-footer { background: var(--olive); color: #cfd0c1; padding: 3.5rem 0 1.8rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: var(--cream-2); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 1rem; }
.site-footer a { color: #cfd0c1; }
.site-footer a:hover { color: var(--cream-2); }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: var(--cream-2); margin-bottom: 1rem; }
.footer-brand svg { width: 40px; color: var(--clay); }
.footer-brand .brand__name { color: var(--cream-2); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-bottom {
  border-top: 1px solid rgba(207,208,193,.2);
  margin-top: 2.5rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .82rem; color: #a7a896;
}

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 860px) {
  .feature, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(101,55,35,.12);
    padding: .5rem 1.3rem 1.2rem;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .85rem 0; border-bottom: 1px solid rgba(101,55,35,.08); }
  .nav__links a::after { display: none; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { justify-content: center; }
}
