/*
Theme Name: MK — Małgorzata Kowalczewska
Theme URI: https://mkowalczewska.pl/
Author: mkowalczewska.pl
Description: Lekki, samodzielny motyw coachingowo-mediacyjny. Bez zależności od wtyczek, system-fonts, jeden plik CSS i jeden mały plik JS. Zoptymalizowany pod szybkość.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mk-theme
*/

/* =========================================================================
   1. Zmienne / paleta
   ====================================================================== */
:root {
	/* Paleta jak w oryginale mkowalczewska.pl: biel + złoto, Open Sans */
	--cream:      #ffffff;   /* główne tło (białe) */
	--cream-2:    #f6f6f6;   /* sekcje naprzemienne (jasnoszare) */
	--ink:        #1f1d1b;   /* nagłówki (prawie czarne) */
	--ink-soft:   #333333;   /* tekst */
	--muted:      #777777;
	--line:       #e6e3dd;
	--clay:       #c49b3c;   /* AKCENT — złoty (kolor logo) */
	--clay-dark:  #a8842f;
	--sage:       #b8923a;   /* drugi odcień złota (subtelna wariacja) */
	--sage-dark:  #8a6d2f;
	--white:      #ffffff;

	--maxw: 1140px;
	--radius: 8px;
	--radius-lg: 12px;
	--shadow: 0 10px 40px -20px rgba(31,29,27,.22);
	--shadow-sm: 0 4px 18px -12px rgba(31,29,27,.25);

	/* Open Sans wszędzie — jak w oryginale */
	--serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================================
   2. Reset / podstawy
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--ink-soft);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay); }
h1, h2, h3, h4 {
	font-family: var(--serif);
	color: var(--ink);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-ink { background: var(--ink); color: #d9d2c8; }
.bg-sage { background: var(--sage); color: #e8efec; }

.eyebrow {
	display: inline-block;
	font-family: var(--sans);
	font-size: .8rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--clay);
	font-weight: 600;
	margin-bottom: 1rem;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.text-center { text-align: center; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }

/* =========================================================================
   3. Przyciski
   ====================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--sans);
	font-weight: 600;
	font-size: 1rem;
	padding: .85em 1.7em;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
	line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream-2); color: var(--ink); }

/* =========================================================================
   4. Header / nawigacja
   ====================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250,247,242,.88);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}
.site-logo img,
.site-logo .custom-logo { max-height: 72px; width: auto; }
.site-logo .custom-logo-link { display: block; line-height: 0; }
.site-logo .site-title-text {
	font-family: var(--serif);
	font-size: 1.3rem;
	color: var(--ink);
	font-weight: 600;
}

.nav-menu, .sub-menu { list-style: none; margin: 0; padding: 0; }
.main-nav .nav-menu { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-menu > li { position: relative; }
.main-nav .nav-menu a {
	display: block;
	padding: .55em .9em;
	color: var(--ink);
	font-weight: 500;
	font-size: .98rem;
	border-radius: 8px;
}
.main-nav .nav-menu a:hover,
.main-nav .nav-menu .current-menu-item > a { color: var(--clay-dark); background: var(--cream-2); }

.main-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: .42em; height: .42em;
	margin-left: .45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}
.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .sub-menu a { font-size: .94rem; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 10px;
}
.nav-toggle span {
	display: block;
	width: 26px; height: 2px;
	background: var(--ink);
	margin: 5px 0;
	transition: .25s;
}

/* =========================================================================
   5. Hero
   ====================================================================== */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 100px); }
.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero__quote {
	font-family: var(--serif);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-style: italic;
	color: var(--ink);
	border-left: 3px solid var(--clay);
	padding-left: 1.2em;
	margin: 0 0 1.6em;
	line-height: 1.5;
}
.hero__quote cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: .8em; letter-spacing: .04em; }
.hero__intro p { margin-bottom: .9em; }
.hero__intro p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.hero__cta { margin-top: 1.4em; }
.hero__photo {
	position: relative;
}
.hero__photo img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	object-fit: cover;
	aspect-ratio: 4/5;
}
.hero__photo::after {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 2px solid var(--clay);
	border-radius: var(--radius-lg);
	z-index: -1;
}

/* =========================================================================
   6. Wyzwania
   ====================================================================== */
.challenges__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-top: 2.5rem;
}
.challenge {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 22px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 500;
	color: var(--ink);
	box-shadow: var(--shadow-sm);
	transition: transform .15s ease;
}
.challenge:hover { transform: translateY(-3px); }
.challenge .dot {
	flex: 0 0 auto;
	width: 10px; height: 10px;
	margin-top: .5em;
	border-radius: 50%;
	background: var(--clay);
}

/* =========================================================================
   7. CTA mini-kurs
   ====================================================================== */
.cta-band__grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
	background: var(--sage);
	color: #eaf1ee;
	border-radius: var(--radius-lg);
	padding: clamp(32px, 5vw, 56px);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8e4e0; margin-bottom: 0; }
.cta-band__img img { width: 220px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* =========================================================================
   8. Usługi
   ====================================================================== */
.services__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 2.6rem;
}
.service {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 36px 34px;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}
.service::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 5px; height: 100%;
	background: var(--clay);
}
.service:nth-child(2)::before { background: var(--sage); }
.service:nth-child(3)::before { background: var(--clay); }
.service:nth-child(4)::before { background: var(--sage); }
.service h3 { margin-bottom: .5em; }
.service p { margin-bottom: 0; color: var(--ink-soft); }

/* =========================================================================
   9. Jak pracuję
   ====================================================================== */
.method__grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.method__img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.method__list { list-style: none; margin: 1.4rem 0; padding: 0; }
.method__list li {
	position: relative;
	padding-left: 2em;
	margin-bottom: .9em;
	color: var(--ink);
	font-weight: 500;
}
.method__list li::before {
	content: "";
	position: absolute;
	left: 0; top: .35em;
	width: 1.1em; height: 1.1em;
	background:
		linear-gradient(45deg, transparent 45%, var(--clay) 45%, var(--clay) 55%, transparent 55%),
		linear-gradient(-45deg, transparent 45%, var(--clay) 45%, var(--clay) 55%, transparent 55%);
	border: 2px solid var(--clay);
	border-radius: 5px;
}
.method__note {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--ink);
}

/* =========================================================================
   10. Rekomendacje
   ====================================================================== */
.testi__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 2rem auto 2.4rem;
	max-width: 880px;
}
.testi__tab {
	font-family: var(--sans);
	font-size: .92rem;
	font-weight: 600;
	padding: .55em 1.1em;
	border-radius: 999px;
	border: 1.5px solid var(--line);
	background: #fff;
	color: var(--ink-soft);
	cursor: pointer;
	transition: all .18s ease;
}
.testi__tab:hover { border-color: var(--clay); color: var(--clay-dark); }
.testi__tab.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.testi__panels { max-width: 860px; margin: 0 auto; }
.testi__panel { display: none; animation: fade .3s ease; }
.testi__panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }

.testi__card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: clamp(28px, 4vw, 48px);
}
.testi__head { display: flex; align-items: center; gap: 16px; margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.testi__logo { max-height: 42px; width: auto; }
.testi__avatar {
	width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--sage);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--serif);
	font-size: 1.3rem;
	font-weight: 600;
	flex: 0 0 auto;
}
.testi__who strong { display: block; color: var(--ink); font-size: 1.1rem; }
.testi__who span { color: var(--muted); font-size: .92rem; }
.testi__body { font-size: 1.04rem; }
.testi__body p:last-child { margin-bottom: 0; }
.testi__quotemark { font-family: var(--serif); font-size: 3rem; color: var(--clay); line-height: 0; height: .5em; display: block; }

/* =========================================================================
   11. Blog
   ====================================================================== */
.posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-top: 2.4rem;
}
.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform .15s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: .6em; }
.post-card__title { font-size: 1.25rem; margin-bottom: .5em; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--clay-dark); }
.post-card__excerpt { font-size: .96rem; color: var(--ink-soft); margin-bottom: 1.1em; }
.post-card__more { margin-top: auto; font-weight: 600; font-size: .92rem; }

/* =========================================================================
   12. Kontakt
   ====================================================================== */
.contact { text-align: center; }
.contact h2 { color: #fff; }
.bg-ink .eyebrow { color: #e7a98e; }
.contact__name { font-family: var(--serif); font-size: clamp(1.8rem,4vw,2.6rem); color: #fff; margin: .2em 0 .8em; }
.socials { display: flex; gap: 14px; justify-content: center; margin-top: 1.4rem; }
.socials a {
	width: 50px; height: 50px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.3);
	display: grid; place-items: center;
	color: #d9d2c8;
	transition: all .2s ease;
}
.socials a:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================================
   13. Newsletter
   ====================================================================== */
.newsletter__box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: clamp(32px, 5vw, 56px);
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.newsletter__form {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 1.6rem auto 0;
}
.newsletter__form input[type="email"] {
	flex: 1;
	padding: .85em 1.1em;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-size: 1rem;
	font-family: var(--sans);
	background: var(--cream);
}
.newsletter__form input[type="email"]:focus { outline: none; border-color: var(--clay); }
.newsletter__signoff { font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 1.2rem; margin-bottom: 0; }

/* =========================================================================
   14. Footer
   ====================================================================== */
.site-footer { background: var(--ink); color: #b6ada3; padding: 56px 0 32px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__brand { font-family: var(--serif); letter-spacing: .22em; color: #fff; font-size: 1rem; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; }
.site-footer__links a { color: #b6ada3; font-size: .92rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom { padding-top: 24px; font-size: .85rem; color: #8a8178; }

/* =========================================================================
   15. Treść wpisów / strony (single, page, archiwum)
   ====================================================================== */
.page-hero { background: var(--cream-2); padding: clamp(48px,7vw,90px) 0 clamp(40px,5vw,60px); text-align: center; }
.page-banner { margin-top: clamp(-40px, -4vw, -24px); }
.page-banner .container { max-width: 900px; }
.page-banner img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16/8; object-fit: cover; }

/* ---------- Podstrony oferty: design jak w oryginale (ciemne pasy) ---------- */
:root { --dark: #262220; --dark-2: #2f2a26; }

.offer-title-band { background: #fff; padding: clamp(40px,6vw,72px) 0 0; }
.offer-title {
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: .01em;
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	margin: 0;
}

.offer-band { padding: clamp(48px,7vw,92px) 0; }
.offer-band--dark  { background: var(--dark);  color: #ddd6cc; }
.offer-band--light { background: #fff; }
.offer-band--gray  { background: var(--cream-2); }
.offer-band--gold  { background: var(--clay); color: #fff; }
.offer-band--dark h2, .offer-band--dark h3 { color: #fff; }

.offer-band h2 {
	text-transform: uppercase;
	letter-spacing: .015em;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
/* naprzemienność: blok/grafika na drugą stronę */
.offer-row--rev .offer-col-head   { order: 2; }
.offer-row--rev .offer-col-body   { order: 1; }
.offer-row--rev .offer-col-media  { order: 2; }
.offer-row--rev .offer-col-text   { order: 1; }

.offer-col-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.offer-col-media figcaption { margin-top: .7em; font-size: .85rem; color: #b7afa3; }
.offer-col-text p:last-child, .offer-col-body p:last-child { margin-bottom: 0; }

/* blok z nagłówkiem (ciemny kafel obok treści) */
.offer-headblock {
	background: var(--dark);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(36px,5vw,64px) clamp(24px,3vw,40px);
	display: grid;
	place-items: center;
	min-height: 200px;
	text-align: center;
}
.offer-band--light .offer-headblock { background: var(--dark); }
.offer-band--gray .offer-headblock  { background: var(--clay); }
.offer-headblock h2 { margin: 0; color: #fff; }
.offer-headblock--media { margin-bottom: clamp(20px,3vw,36px); border-radius: var(--radius-lg); }
.offer-media-body { margin-top: clamp(24px,3vw,40px); }

.offer-lead { font-weight: 700; color: var(--ink); margin-bottom: 1em; }
.offer-band--dark .offer-lead { color: #fff; }

.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li { position: relative; padding-left: 1.7em; margin-bottom: .8em; }
.offer-list li::before {
	content: ""; position: absolute; left: 0; top: .55em;
	width: .6em; height: .6em; border-radius: 50%; background: var(--clay);
}

.offer-text { max-width: 820px; }
.offer-text h2 { margin-bottom: .8em; }

.offer-quote { max-width: 900px; text-align: center; }
.offer-quote blockquote {
	margin: 0 0 1em; border: 0; padding: 0;
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
	font-style: italic; line-height: 1.5; color: #fff;
}
.offer-quote p { color: #cfc7bd; }

.offer-cards-title { text-transform: uppercase; text-align: center; margin-bottom: 2rem; }
.offer-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.offer-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 28px 30px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--clay);
}
.offer-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: .6em; }
.offer-card__head h3 { margin: 0; font-size: 1.2rem; text-transform: none; }
.offer-card__tag { flex: 0 0 auto; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--clay-dark); background: #f6efe2; padding: .3em .7em; border-radius: 999px; }
.offer-card p { font-size: .96rem; margin-bottom: .7em; }
.offer-card__meta { font-size: .9rem; color: var(--ink-soft); }

.offer-cta-band { text-align: center; padding: clamp(40px,5vw,64px) 0; }

/* =========================================================================
   Strona kontaktowa
   ====================================================================== */
.contact-page { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.contact-page__title {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: .3em;
}
.contact-page__lead {
	color: #cfc7bd;
	font-size: 1.1rem;
	margin-bottom: clamp(24px, 4vw, 40px);
}

/* Calendly — pełna szerokość */
.contact-calendly-wrap { width: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.contact-calendly-wrap .calendly-inline-widget { width: 100% !important; min-width: 0 !important; height: 700px; }

/* Sekcja formularz poniżej */
.contact-form-section { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.contact-form-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

/* Placeholdery (zastąp embedem) */
.calendly-placeholder,
.mailerlite-placeholder {
	border: 2px dashed rgba(196,155,60,.4);
	border-radius: var(--radius-lg);
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.calendly-placeholder__inner,
.mailerlite-placeholder__inner {
	text-align: center;
	color: #7a7068;
	padding: 32px 24px;
}
.calendly-placeholder__inner svg,
.mailerlite-placeholder__inner svg { color: var(--clay); margin: 0 auto 1em; display: block; }
.calendly-placeholder__inner p,
.mailerlite-placeholder__inner p { color: #b7afa3; margin-bottom: .4em; font-weight: 600; }
.calendly-placeholder__inner small,
.mailerlite-placeholder__inner small { color: #5a534c; font-size: .82rem; }
.calendly-placeholder__inner code,
.mailerlite-placeholder__inner code { color: var(--clay); background: rgba(196,155,60,.12); padding: .1em .4em; border-radius: 4px; }

/* Gdy embed jest wklejony — usuń ramkę placeholder */
.contact-calendly-wrap:has(.calendly-inline-widget) .calendly-placeholder,
.mailerlite-placeholder:has(.ml-embedded) { border: none; min-height: 0; }

/* Formularz kontaktowy */
.mk-cf-card {
	background: #fff;
	border-radius: 16px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.mk-contact-form { display: flex; flex-direction: column; gap: .9rem; }
.mk-cf-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #f5f3f0;
	border: 1.5px solid #e8e3db;
	border-radius: 999px;
	color: var(--dark);
	font: inherit;
	font-size: 1rem;
	padding: .8em 1.3em;
	transition: border-color .2s, background .2s;
}
.mk-cf-input:focus { outline: none; border-color: var(--clay); background: #fff; }
.mk-cf-input::placeholder { color: #a09890; }
.mk-cf-textarea {
	border-radius: 16px !important;
	resize: vertical;
	min-height: 140px;
}
.mk-cf-btn { width: 100%; margin-top: .3rem; text-align: center; justify-content: center; }
.mk-cf-status { font-size: .93rem; padding: .4em 0; min-height: 1.4em; text-align: center; }
.mk-cf-status--ok  { color: var(--clay-dark); }
.mk-cf-status--err { color: #b04040; }

@media (max-width: 860px) {
	.contact-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.offer-row { grid-template-columns: 1fr; }
	.offer-row--rev .offer-col-text, .offer-row--rev .offer-col-body,
	.offer-row--rev .offer-col-media, .offer-row--rev .offer-col-head { order: 0; }
	.offer-row--media .offer-col-media { order: -1; }
	.offer-cards { grid-template-columns: 1fr; }
	.offer-headblock { min-height: 0; }
}
.entry { max-width: 760px; margin: 0 auto; padding: clamp(40px,6vw,72px) 0; }
.entry__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.entry-content { font-size: 1.08rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content blockquote {
	border-left: 3px solid var(--clay);
	padding-left: 1.2em;
	font-family: var(--serif);
	font-style: italic;
	color: var(--ink);
	margin: 1.5em 0;
}
.entry-content a { text-decoration: underline; }
.entry-content a.btn { text-decoration: none; color: #fff; }
.entry-content .page-cta { margin: 2.2rem 0; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .5em; }

.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1.5px solid var(--line); border-radius: 10px;
	background: #fff; color: var(--ink); font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =========================================================================
   16. Responsywność
   ====================================================================== */
@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__photo { max-width: 420px; }
	.hero__photo::after { inset: 14px -14px -14px 14px; }
	.method__grid { grid-template-columns: 1fr; }
	.method__img { order: -1; max-width: 480px; }
	.challenges__grid { grid-template-columns: repeat(2, 1fr); }
	.posts__grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed;
		inset: 76px 0 auto 0;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
		box-shadow: var(--shadow);
	}
	.main-nav.is-open { max-height: 80vh; overflow-y: auto; }
	.main-nav .nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; }
	.main-nav .nav-menu a { padding: .85em .6em; }
	.main-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; border-left: 2px solid var(--line);
		border-radius: 0; margin: 0 0 6px 12px; padding: 0;
	}
	.services__grid { grid-template-columns: 1fr; }
	.cta-band__grid { grid-template-columns: 1fr; text-align: center; }
	.cta-band__img { display: flex; justify-content: center; }
	.posts__grid, .archive-grid { grid-template-columns: 1fr; }
	.newsletter__form { flex-direction: column; }
	.newsletter__form .btn { justify-content: center; }
	.site-footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.challenges__grid { grid-template-columns: 1fr; }
}

/* Dostępność */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%); height: 1px; width: 1px;
	margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
