/* Style układów sekcji (docelowo trafią do main.css / partiali motywu). */

/* Obrazy w stylu marki: zaokrąglone rogi ~20px */
.img-rounded { border-radius: 20px; width: 100%; object-fit: cover; box-shadow: var(--shadow-soft); }

/* Gwiazdka — motyw marki jako akcent przy eyebrow / w listach */
.star { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 8px; }
.eyebrow { display: flex; align-items: center; gap: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #C9BBA9; }

/* ===== HERO — szerokie, full-bleed, tekst i nawigacja NA zdjęciu ===== */
.hero { padding-top: clamp(6px, 0.8vw, 12px); padding-bottom: var(--section-y); }
.hero__panel {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  min-height: clamp(560px, 82vh, 760px); display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero__panel::before {
  content: ""; position: absolute; inset: -2%; z-index: 0;
  background: url("../img/foto-hero.jpg?v=1786454751") center 28% / cover no-repeat;
  animation: heroKenburns 26s ease-in-out infinite alternate;
}
@keyframes heroKenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
/* scrim: gradient marki (~50%) na zdjęciu + przyciemnienie u góry (nawigacja) i u dołu (nagłówek) */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.50) 0%, rgba(10,9,8,0.0) 24%, rgba(10,9,8,0.0) 50%, rgba(10,9,8,0.82) 100%),
    linear-gradient(135deg, rgba(73,17,28,0.58) 0%, rgba(94,80,63,0.52) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 900px; margin-inline: 0; text-align: left; padding: clamp(2rem, 5vw, 4.5rem); padding-top: 0; }
.hero__title { font-size: var(--fs-hero); font-weight: 400; color: #fff; line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
/* wejście hero (staggered, jednorazowe) */
.hero__inner > * { opacity: 0; transform: translateY(22px); animation: heroIn 1s var(--ease-out) forwards; }
.hero__inner > :nth-child(1){ animation-delay: .15s; }
.hero__inner > :nth-child(2){ animation-delay: .28s; }
.hero__inner > :nth-child(3){ animation-delay: .41s; }
.hero__inner > :nth-child(4){ animation-delay: .54s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (max-width: 700px){ .hero__panel::before{ background-position: center; } }

/* Przycisk „light" na ciemnym tle */
.btn--light { background: #fff; color: var(--c-navy); }
.btn--light:hover { background: #EAE5DD; }

/* Tło sekcji „dla profesjonalistów" (tu, bo ten plik jest generowany -> wersjonowanie obrazów) */
.section--profb::before { content: ""; position: absolute; inset: 0; background: url("../img/foto-profesjonalisci.jpg?v=1786453040") center/cover no-repeat; }

/* Sekcja „dla profesjonalistów": oddech między tekstem a przyciskiem */
.section--profb .hero__lead { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Wspólne nagłówki / pomocnicze */
.subhead { font-size: var(--fs-h3); font-weight: 600; margin-block: 2.5rem 1.25rem; }
.subhead--center { text-align: center; }
.center { text-align: center; }
.center .section-title, .center .lead { margin-inline: auto; }
.center .lead { max-width: 60ch; }
.muted { color: var(--c-slate); font-size: var(--fs-sm); }
.muted--center { text-align: center; max-width: 64ch; margin: 1.5rem auto 0; }
.muted a { color: var(--c-navy); text-decoration: underline; }
.lead { font-size: var(--fs-lead); color: var(--c-body); }

/* Układ dwukolumnowy (tekst + obraz) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split + .container { margin-top: var(--section-y); }
.split--top { align-items: start; }
.split--stretch { align-items: stretch; }
.split--stretch .split__media { height: 100%; min-height: 440px; }
.split--stretch .split__media img { height: 100%; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split__media { order: -1; } .split--stretch .split__media { min-height: 340px; } }

/* O psychoterapii: obszary pracy w prawej kolumnie, pod callout */
.psy-areas { margin-top: 1.75rem; }
.psy-areas .subhead { margin-top: 0; margin-bottom: 1rem; font-size: 1.2rem; }
.tags--center { justify-content: center; }

/* Intro szkoleń — wyrównane do lewej */
.szkolenia-intro { margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.szkolenia-intro .lead { max-width: 66ch; }

/* O psychoterapii */
.callout {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
  background: var(--c-white); border: 1px solid var(--c-border); border-left: 4px solid var(--c-navy);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 1.5rem; box-shadow: var(--shadow-soft);
}
.callout p { font-family: var(--font-head); font-weight: 600; color: var(--c-ink); margin: 0; flex: 1 1 260px; }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 1rem 1.5rem; }
.tags li { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.9rem; color: var(--c-ink); }

/* Rozdroże + karty 2-kol. */
.crossroad { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px){ .cards-2 { grid-template-columns: 1fr; } }
.choice { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
.choice__badge { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-slate); margin-bottom: 0.75rem; }
.choice h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 0.75rem; }
.choice p { margin-bottom: 1.5rem; }

/* Terminarz / event — karta ze zdjęciem u góry */
.event { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.event__img { position: relative; aspect-ratio: 16/9; }
.event__img img { width: 100%; height: 100%; object-fit: cover; }
.event__status { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,0.92); color: #2f6b43; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; padding: 0.35rem 0.7rem; border-radius: 999px; }
.event__status--inline { position: static; display: inline-block; align-self: flex-start; background: #e7f1e9; margin-bottom: 0.85rem; }
.event__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.event__motto { font-family: var(--font-serif); font-style: italic; color: var(--c-slate); font-size: 0.92rem; line-height: 1.5; margin-bottom: 0.85rem; }
.event__motto em { font-style: normal; }
.event__title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
.event__desc { margin-bottom: 1rem; }
.event__desc p { margin-bottom: 0.5rem; }
.event__desc ul { display: grid; gap: 0.45rem; margin: 0.5rem 0 0; }
.event__desc li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; }
.event__desc li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-navy); }
.event__plan { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.event__plan li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; }
.event__plan li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-navy); }
.event__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-bottom: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--c-light); }
.event__meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-slate); font-family: var(--font-head); font-weight: 700; }
.event__meta dd { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }
.event__body .btn { margin-top: auto; }

/* Dlaczego warto */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 960px){ .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .features { grid-template-columns: 1fr; } }
.feature { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.feature__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
/* ten sam gradient marki co na hero - spójny filtr na zdjęciach */
.feature__img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, rgba(73,17,28,0.58) 0%, rgba(94,80,63,0.52) 100%); }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__body { padding: 1.4rem 1.5rem 1.6rem; }
.feature h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }

/* Dla kogo */
.checklist { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.checklist li { position: relative; padding-left: 2.25rem; font-size: var(--fs-lead); color: var(--c-ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--c-navy); color: #fff; display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; }

/* O Ewie */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.about__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 440px; }
.about__media .img-rounded { height: 100%; width: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.about__content { display: flex; flex-direction: column; }
@media (max-width: 860px){ .about__grid { grid-template-columns: 1fr; } .about__media { min-height: 360px; } }
.about__role { font-family: var(--font-head); font-weight: 700; color: var(--c-navy); margin-bottom: 1rem; }
.about__content .accordion { margin-top: 1.5rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: auto; padding-top: 1.75rem; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--c-navy); line-height: 1; }
.stat__label { font-size: 0.8rem; color: var(--c-slate); }

/* CTA / kontakt */
.cta { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-soft); }
@media (max-width: 820px){ .cta { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.contact-list a { color: var(--c-navy); }
.cta__action { text-align: center; }
.btn--lg { font-size: 16px; padding: 16px 30px; }

/* Footer */
.footer__logo { margin-bottom: 0.85rem; }
.footer__head { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer__links { display: grid; gap: 0.5rem; font-size: 0.9rem; }

/* ===== Mikro-interakcje (apple-like) ===== */
.choice, .event, .feature { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.choice:hover, .feature:hover, .event:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.event__img img { transition: transform 0.9s var(--ease-out); }
.event:hover .event__img img { transform: scale(1.06); }

/* zaokrąglony kadr z zoomem w sekcjach split */
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media .img-rounded { border-radius: 0; box-shadow: none; display: block; transition: transform 0.9s var(--ease-out); }
.split__media:hover .img-rounded { transform: scale(1.04); }

.feature__star { transition: transform 0.6s var(--ease-out); }
.feature:hover .feature__star { transform: rotate(18deg) scale(1.12); }

/* logo: lekko mniejsze, premium */
.nav__brand img { height: 22px; width: auto; }
.is-scrolled .nav__brand img { height: 20px; }

/* zoom zdjęcia Ewy na hover */
.about__media:hover .img-rounded { transform: scale(1.04); }

/* tagi — hover */
.tags li { transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease); }
.tags li:hover { border-color: var(--c-navy); color: var(--c-navy); }


/* ===== Karty warsztatów: dwa przyciski ===== */
.event__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; }
.event__actions .btn { flex: 1 1 auto; justify-content: center; }

/* ===== Drawer (wysuwany panel szczegółów warsztatu) ===== */
.drawer-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,9,8,0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease); }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(640px, 94vw); z-index: 205; background: var(--c-white); transform: translateX(100%); transition: transform 0.5s var(--ease-out); box-shadow: -24px 0 70px -30px rgba(10,9,8,0.55); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--c-light); color: var(--c-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.drawer__close:hover { background: var(--c-border); }
.drawer__scroll { flex: 1; overflow-y: auto; padding: clamp(1.75rem, 4vw, 3rem); }
.drawer__footer { flex: none; padding: 1rem clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--c-border); background: var(--c-white); }

.ws-motto { font-family: var(--font-serif); font-style: italic; color: var(--c-slate); font-size: 1.05rem; line-height: 1.5; margin-bottom: 1rem; }
.ws-motto em { font-style: normal; }
.ws-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.ws-lead { font-size: var(--fs-lead); color: var(--c-body); margin-bottom: 0.85rem; }
.drawer__scroll p { margin-bottom: 0.85rem; }
.ws-strong { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }
.ws-note { background: var(--c-offwhite); border-left: 4px solid var(--c-navy); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.ws-note ul { display: grid; gap: 0.55rem; }
.ws-note li { padding-left: 1.5rem; position: relative; }
.ws-note li::before { content: "✓"; position: absolute; left: 0; color: var(--c-navy); font-weight: 700; }
.ws-figure { margin: 1.75rem 0; text-align: center; }
.ws-figure img { width: 100%; max-width: 400px; margin-inline: auto; border-radius: var(--radius); background: #fff; }
.ws-figure figcaption { font-size: 0.85rem; color: var(--c-slate); margin-top: 0.5rem; }
.ws-block { margin-top: 1.75rem; }
.ws-block h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; }
.ws-list { display: grid; gap: 0.55rem; }
.ws-list li { position: relative; padding-left: 1.5rem; }
.ws-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-navy); }
.ws-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 1.5rem 0; padding: 1.1rem 1.3rem; background: var(--c-offwhite); border-radius: var(--radius); }
.ws-meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-slate); font-family: var(--font-head); font-weight: 700; }
.ws-meta dd { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }
@media (max-width: 480px){ .ws-meta { grid-template-columns: 1fr; } }


/* ===== Mobile: nagłówki/treści wyśrodkowane → do lewej ===== */
@media (max-width: 700px) {
  .center, .center .section-title, .center .lead, .center p,
  .crossroad, .muted--center, .szkolenia-intro, .szkolenia-intro .lead { text-align: left; }
  .center .section-title, .center .lead, .muted--center, .crossroad { margin-inline: 0; }
  .eyebrow--center { justify-content: flex-start; }
  .subhead--center { text-align: left; }
  .tags--center { justify-content: flex-start; }
}


/* ===== Sekcja szkoleń: intro + panel z gradientem ===== */
.szk-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.grad-panel { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; border-radius: var(--radius-xl); padding: clamp(2.25rem, 5vw, 4rem); box-shadow: var(--shadow); }
.grad-panel::after { content: ""; position: absolute; top: -40px; right: -40px; width: 240px; height: 240px; background: url("../img/gwiazdka-sero.png?v=1786453025") center/contain no-repeat; opacity: 0.12; pointer-events: none; }
.grad-panel__inner { position: relative; z-index: 1; max-width: 760px; }
.grad-panel__q { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.45rem, 3.2vw, 2.25rem); line-height: 1.28; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.grad-panel__q strong { font-weight: 700; }
.grad-panel__sub { color: #E8DED3; max-width: 60ch; font-size: var(--fs-lead); margin-bottom: 1.75rem; }
@media (max-width: 700px){ .grad-panel::after { width: 150px; height: 150px; } }


/* ===== Cennik psychoterapii (rozwijane okienka) ===== */
.cennik-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.cennik-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0.75rem 0; }
.cennik-meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-slate); font-family: var(--font-head); font-weight: 700; }
.cennik-meta dd { font-family: var(--font-head); font-weight: 700; color: var(--c-navy); font-size: 1.1rem; }


/* ===== Treść z edytora WYSIWYG (.rich) ===== */
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p, .rich div { margin-bottom: 0.7rem; }
.rich strong, .rich b { font-weight: 700; color: var(--c-ink); }
.rich em { font-style: italic; }
.rich a { color: var(--c-navy); text-decoration: underline; }
.rich h1, .rich h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin: 1.1rem 0 0.5rem; color: var(--c-ink); }
.rich ul, .rich ol { margin: 0.5rem 0 0.7rem; display: grid; gap: 0.5rem; padding-left: 0; }
.rich ol { padding-left: 1.3rem; }
.rich ul li { position: relative; padding-left: 1.5rem; list-style: none; }
.rich ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-navy); }
.rich blockquote { border-left: 3px solid var(--c-navy); padding-left: 1rem; margin: 0.7rem 0; color: var(--c-slate); font-style: italic; }
