/*
Theme Name: Beata Kiernicka
Theme URI: https://beatakiernicka.pl/
Author: Beata Kiernicka
Description: Autorski motyw one-page dla praktyki dietetyki macierzyńskiej Beaty Kiernickiej. Zawiera sekcję opinii klientek, podstronę „Aktualności” z listą wpisów oraz ręczną siatkę zdjęć z Instagrama. Ciepła, spokojna kolorystyka, elegancka typografia szeryfowa, pełna obsługa polskich znaków, dostępność WCAG AA i integracja z wtyczką rezerwacji „Beata Consultations Booking”.
Version: 1.7.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beata-kiernicka
Tags: one-column, custom-colors, custom-logo, custom-menu, editor-style, accessibility-ready, translation-ready
*/

/* ==================================================================
   1. Zmienne — obowiązkowa paleta
   ================================================================== */

:root {
	--bk-dark: #2B463C;        /* ciemna zieleń – nagłówki, tekst, przyciski */
	--bk-olive: #66704D;       /* oliwkowa zieleń – akcenty, ikony, nawigacja */
	--bk-sage: #AEB4A0;        /* jasna szałwia – tła sekcji, wyróżnienia */
	--bk-rose: #BB9A98;        /* zgaszony róż – akcenty dekoracyjne */
	--bk-powder: #C4B1B0;      /* jasny pudrowy róż – tła kart */
	--bk-line: #D8D1D1;        /* ciepły szary – obramowania, pola formularzy */
	--bk-line-strong: #828C86; /* przyciemniona wersja obramowania dla pól i przycisków (WCAG 1.4.11) */
	--bk-bg: #F4F4F4;          /* podstawowe jasne tło */
	--bk-white: #FFFFFF;
	--bk-gold: #E1C678;        /* złoto z logo – jako tekst i ikony WYŁĄCZNIE na ciemnej zieleni
	                              (6,14:1). Na jasnych tłach 1,5:1, więc tam tylko dekoracyjnie. */

	/* Rozjaśnienia palety (mieszanie z tłem) – wyłącznie po to,
	   by utrzymać kontrast WCAG AA dla tekstu podstawowego. */
	--bk-sage-100: #DCDED7;
	--bk-powder-100: #E3DDDC;
	--bk-dark-hover: #1F332C;

	--bk-font-head: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--bk-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--bk-max: 74rem;
	--bk-narrow: 46rem;
	--bk-radius: 18px;
	--bk-radius-sm: 12px;
	--bk-shadow: 0 2px 18px rgba(43, 70, 60, .07);
	--bk-shadow-lg: 0 12px 40px rgba(43, 70, 60, .10);
	--bk-header-h: 4.75rem;

	--bk-space: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}

/* ==================================================================
   2. Reset i podstawy
   ================================================================== */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--bk-header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--bk-bg);
	color: var(--bk-dark);
	font-family: var(--bk-font-body);
	font-size: clamp(1rem, .97rem + .12vw, 1.075rem);
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--bk-font-head);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -.005em;
	color: var(--bk-dark);
	margin: 0 0 .6em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 1.6rem + 3.1vw, 4rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 2vw, 2.85rem); }
h3 { font-size: clamp(1.28rem, 1.15rem + .6vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bk-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--bk-olive); }

:focus-visible {
	outline: 3px solid var(--bk-olive);
	outline-offset: 3px;
	border-radius: 4px;
}

ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }

blockquote {
	margin: 2rem 0;
	padding: 0 0 0 1.5rem;
	border-left: 3px solid var(--bk-rose);
	font-family: var(--bk-font-head);
	font-size: 1.3rem;
	line-height: 1.45;
}

hr { border: 0; border-top: 1px solid var(--bk-line); margin: 2.5rem 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 200;
	background: var(--bk-dark);
	color: var(--bk-bg);
	padding: .7rem 1.2rem;
	border-radius: 0 0 8px 8px;
	text-decoration: none;
	transition: top .18s ease;
}
.skip-link:focus { top: 0; color: var(--bk-bg); }

/* ==================================================================
   3. Układ
   ================================================================== */

.bk-wrap {
	width: min(100% - 2.5rem, var(--bk-max));
	margin-inline: auto;
}
@media (max-width: 30rem) { .bk-wrap { width: min(100% - 2rem, var(--bk-max)); } }

.bk-narrow { width: min(100%, var(--bk-narrow)); margin-inline: auto; }

.bk-section { padding-block: var(--bk-space); position: relative; }
.bk-section--tight { padding-block: calc(var(--bk-space) * .62); }
.bk-section--white { background: var(--bk-white); }
.bk-section--sage { background: var(--bk-sage-100); }
.bk-section--powder { background: var(--bk-powder-100); }
.bk-section--dark { background: var(--bk-dark); color: var(--bk-bg); }
.bk-section--dark h2, .bk-section--dark h3 { color: var(--bk-bg); }
.bk-section--dark a:not(.bk-btn) { color: var(--bk-bg); }

.bk-head { max-width: 40rem; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3.25rem); }
.bk-head--center { margin-inline: auto; text-align: center; }

.bk-eyebrow {
	display: inline-block;
	font-family: var(--bk-font-body);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bk-olive);
	margin-bottom: 1rem;
}
.bk-section--sage .bk-eyebrow,
.bk-section--powder .bk-eyebrow { color: var(--bk-dark); }
.bk-section--dark .bk-eyebrow { color: var(--bk-gold); }

.bk-lead {
	font-size: clamp(1.08rem, 1.02rem + .3vw, 1.28rem);
	line-height: 1.6;
	color: var(--bk-dark);
}

.bk-muted { color: var(--bk-olive); }
.bk-section--sage .bk-muted,
.bk-section--powder .bk-muted { color: var(--bk-dark); }

/* Delikatna linia dekoracyjna */
.bk-section--dark .bk-rule { background: var(--bk-gold); }

.bk-rule {
	width: 3.5rem;
	height: 2px;
	background: var(--bk-rose);
	border: 0;
	margin: 0 0 1.5rem;
}
.bk-head--center .bk-rule { margin-inline: auto; }

/* Pola formularzy w treści stron (np. formularz komentarza, wyszukiwanie) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="search"], input[type="number"], input[type="date"], input[type="time"],
select, textarea {
	width: 100%;
	max-width: 100%;
	font: inherit;
	color: var(--bk-dark);
	background: var(--bk-white);
	border: 1px solid var(--bk-line-strong);
	border-radius: 10px;
	padding: .75rem .85rem;
	min-height: 2.9rem;
}
input[type="checkbox"], input[type="radio"] { accent-color: #2B463C; width: 1.15rem; height: 1.15rem; }

/* ==================================================================
   4. Przyciski
   ================================================================== */

.bk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 3.15rem;
	padding: .85rem 1.85rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--bk-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.bk-btn:hover { transform: translateY(-1px); }
.bk-btn:active { transform: none; }

.bk-btn--primary { background: var(--bk-dark); color: var(--bk-bg); }
.bk-btn--primary:hover { background: var(--bk-dark-hover); color: var(--bk-white); }

.bk-btn--outline { background: transparent; border-color: var(--bk-dark); color: var(--bk-dark); }
.bk-btn--outline:hover { background: var(--bk-dark); color: var(--bk-bg); }

.bk-btn--light { background: var(--bk-bg); color: var(--bk-dark); }
.bk-btn--light:hover { background: var(--bk-white); color: var(--bk-dark); }

.bk-btn--sm { min-height: 2.7rem; padding: .6rem 1.3rem; font-size: .94rem; }

.bk-btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ==================================================================
   5. Nagłówek strony
   ================================================================== */

.bk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(244, 244, 244, .92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--bk-line);
}
.bk-header--scrolled { box-shadow: 0 1px 14px rgba(43, 70, 60, .08); }

.bk-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: var(--bk-header-h);
}

.bk-brand {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	text-decoration: none;
	color: var(--bk-dark);
	flex: 0 0 auto;
}
.bk-brand img { max-height: 2.6rem; width: auto; }

.bk-brand__mark {
	display: grid;
	place-items: center;
	width: 2.55rem;
	height: 2.55rem;
	border-radius: 50%;
	background: var(--bk-dark);
	color: var(--bk-bg);
	font-family: var(--bk-font-head);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .02em;
	flex: 0 0 auto;
}

.bk-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.bk-brand__name { font-family: var(--bk-font-head); font-size: 1.22rem; font-weight: 600; }
.bk-brand__role { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bk-olive); }

.bk-nav { display: flex; align-items: center; gap: 1.6rem; }

.bk-nav__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(.85rem, .2rem + 1vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.bk-nav__list li { margin: 0; }

.bk-nav__list a {
	white-space: nowrap;
	position: relative;
	text-decoration: none;
	font-size: .96rem;
	font-weight: 500;
	color: var(--bk-dark);
	padding: .35rem 0;
}
.bk-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--bk-olive);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.bk-nav__list a:hover::after,
.bk-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.bk-burger {
	display: none;
	width: 3rem; height: 3rem;
	border: 1px solid var(--bk-line);
	border-radius: 12px;
	background: var(--bk-white);
	cursor: pointer;
	padding: 0;
	place-items: center;
}
.bk-burger span {
	display: block;
	width: 1.25rem; height: 2px;
	background: var(--bk-dark);
	position: relative;
	transition: transform .2s ease, opacity .2s ease;
}
.bk-burger span::before,
.bk-burger span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 1.25rem; height: 2px;
	background: var(--bk-dark);
	transition: transform .2s ease;
}
.bk-burger span::before { top: -6px; }
.bk-burger span::after { top: 6px; }
.bk-burger[aria-expanded="true"] span { background: transparent; }
.bk-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.bk-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Wąskie ekrany desktopowe: menu ma osiem pozycji, więc między 64rem
   a 80rem zmniejszamy krój, żeby wszystko zostało w jednym wierszu. */
@media (min-width: 64.01rem) and (max-width: 80rem) {
	.bk-nav__list a { font-size: .9rem; }
	.bk-brand__name { font-size: 1.12rem; }
	.bk-header__cta { font-size: .88rem; }
}

@media (max-width: 64rem) {
	.bk-burger { display: grid; }
	.bk-nav {
		position: fixed;
		inset: var(--bk-header-h) 0 auto 0;
		display: block;
		background: var(--bk-bg);
		border-bottom: 1px solid var(--bk-line);
		padding: 1.25rem clamp(1rem, 5vw, 2rem) 1.75rem;
		box-shadow: var(--bk-shadow-lg);
		transform: translateY(-115%);
		transition: transform .28s cubic-bezier(.4, 0, .2, 1);
		max-height: calc(100vh - var(--bk-header-h));
		overflow-y: auto;
	}
	/* Zamknięte menu nie może przechwytywać kliknięć — po przesunięciu
	   o -115% jego dolna krawędź nachodzi na obszar nagłówka i blokuje
	   przycisk hamburgera. */
	.bk-nav { pointer-events: none; visibility: hidden; }
	.bk-nav[data-open="true"] { transform: translateY(0); pointer-events: auto; visibility: visible; }
	.bk-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.bk-nav__list a {
		display: block;
		padding: .95rem .25rem;
		border-bottom: 1px solid var(--bk-line);
		font-size: 1.05rem;
	}
	.bk-nav__list a::after { display: none; }
	.bk-nav .bk-btn { width: 100%; margin-top: 1.15rem; }
	.bk-header__cta { display: none; }
}

@media (min-width: 62.001rem) {
	.bk-nav .bk-btn--mobile-only { display: none; }
}

/* ==================================================================
   6. Sekcja główna (hero)
   ================================================================== */

.bk-hero {
	padding-block: clamp(2.75rem, 2rem + 3.5vw, 5.5rem) var(--bk-space);
	background:
		radial-gradient(120% 90% at 88% 6%, rgba(196, 177, 176, .38) 0%, rgba(196, 177, 176, 0) 58%),
		radial-gradient(90% 70% at 4% 90%, rgba(174, 180, 160, .32) 0%, rgba(174, 180, 160, 0) 60%),
		var(--bk-bg);
}

.bk-hero__grid {
	display: grid;
	gap: clamp(2.25rem, 1.5rem + 3vw, 4rem);
	align-items: center;
}
@media (min-width: 54rem) {
	.bk-hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
}

.bk-hero h1 { margin-bottom: .45em; }

.bk-hero__intro {
	font-size: clamp(1.1rem, 1.02rem + .38vw, 1.32rem);
	line-height: 1.6;
	max-width: 34rem;
	margin-bottom: 1.9rem;
}

.bk-hero__figure { position: relative; }

.bk-hero__photo {
	position: relative;
	border-radius: 200px 200px 24px 24px;
	overflow: hidden;
	background: var(--bk-sage-100);
	aspect-ratio: 4 / 5;
	box-shadow: var(--bk-shadow-lg);
}
.bk-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.bk-hero__badge {
	position: absolute;
	bottom: -1.1rem;
	left: -1rem;
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius-sm);
	padding: .85rem 1.15rem;
	box-shadow: var(--bk-shadow);
	max-width: 15rem;
	font-size: .92rem;
	line-height: 1.45;
}
.bk-hero__badge strong { display: block; font-family: var(--bk-font-head); font-size: 1.05rem; }

@media (max-width: 34rem) {
	.bk-hero__badge { position: static; margin-top: 1.25rem; max-width: none; }
}

.bk-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: .9rem;
	margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
	list-style: none;
	padding: 0;
}
.bk-facts li {
	margin: 0;
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius-sm);
	padding: 1rem 1.1rem;
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	font-size: .96rem;
	line-height: 1.45;
	font-weight: 500;
}
.bk-facts .bk-ico { color: var(--bk-olive); flex: 0 0 auto; margin-top: .1rem; }

/* ==================================================================
   7. O mnie
   ================================================================== */

.bk-about__grid {
	display: grid;
	gap: clamp(2.25rem, 1.5rem + 3vw, 4rem);
	align-items: start;
}
@media (min-width: 58rem) {
	.bk-about__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}

.bk-about__media { display: grid; gap: 1rem; position: sticky; top: calc(var(--bk-header-h) + 1.5rem); }
@media (max-width: 58rem) { .bk-about__media { position: static; } }

.bk-about__portrait {
	border-radius: var(--bk-radius);
	overflow: hidden;
	background: var(--bk-sage-100);
	aspect-ratio: 4 / 5;
	box-shadow: var(--bk-shadow);
}
.bk-about__portrait img { width: 100%; height: 100%; object-fit: cover; }

.bk-about__small { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bk-about__small > div {
	border-radius: var(--bk-radius-sm);
	overflow: hidden;
	background: var(--bk-powder-100);
	aspect-ratio: 1 / 1;
}
.bk-about__small img { width: 100%; height: 100%; object-fit: cover; }

.bk-about__text > p:first-of-type {
	font-family: var(--bk-font-head);
	font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
	line-height: 1.35;
	color: var(--bk-dark);
	margin-bottom: .8em;
}
.bk-about__text > p:nth-of-type(2) { font-size: 1.08em; }

.bk-about__cta { margin-top: 2.25rem; }

/* Zastępczy obraz, dopóki nie ma zdjęć */
.bk-ph {
	display: grid;
	place-items: center;
	width: 100%; height: 100%;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 60%),
		var(--bk-sage-100);
	color: var(--bk-dark);
	text-align: center;
	padding: 1.5rem;
	font-size: .82rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.6;
}
.bk-ph--rose { background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%), var(--bk-powder-100); }
.bk-ph svg { margin-bottom: .6rem; opacity: .55; }

/* ==================================================================
   8. Karty konsultacji
   ================================================================== */

.bk-services {
	display: grid;
	gap: clamp(1.25rem, 1rem + 1.2vw, 2rem);
}
@media (min-width: 52rem) {
	.bk-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bk-card {
	display: flex;
	flex-direction: column;
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	padding: clamp(1.6rem, 1.3rem + 1vw, 2.35rem);
	box-shadow: var(--bk-shadow);
}
.bk-card--accent { background: var(--bk-powder-100); border-color: var(--bk-powder); }

.bk-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .5rem 1rem;
	padding-bottom: 1.1rem;
	margin-bottom: 1.35rem;
	border-bottom: 1px solid var(--bk-line);
}
.bk-card--accent .bk-card__top { border-bottom-color: var(--bk-powder); }

.bk-card__title { margin: 0; }

.bk-card__price {
	font-family: var(--bk-font-head);
	font-size: 1.7rem;
	font-weight: 600;
	white-space: nowrap;
}
.bk-card__price small { display: block; font-family: var(--bk-font-body); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

.bk-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem .5rem;
	list-style: none;
	margin: 0 0 1.35rem;
	padding: 0;
}
.bk-card__meta li {
	margin: 0;
	background: var(--bk-bg);
	border: 1px solid var(--bk-line);
	border-radius: 999px;
	padding: .28rem .85rem;
	font-size: .87rem;
	font-weight: 500;
}
.bk-card--accent .bk-card__meta li { background: var(--bk-white); border-color: var(--bk-line); }

.bk-card__intro { margin-bottom: 1rem; font-weight: 500; }

.bk-check {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	gap: .7rem;
}
.bk-check li {
	position: relative;
	margin: 0;
	padding-left: 1.85rem;
	font-size: .99rem;
	line-height: 1.55;
}
.bk-check li::before {
	content: "";
	position: absolute;
	left: 0; top: .48em;
	width: 1.05rem; height: .58rem;
	border-left: 2px solid var(--bk-olive);
	border-bottom: 2px solid var(--bk-olive);
	transform: rotate(-45deg);
}

.bk-card__foot { margin-top: auto; }
.bk-card__foot .bk-btn { width: 100%; }

/* ==================================================================
   9. Dla kogo / kroki / przygotowanie
   ================================================================== */

.bk-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
	gap: clamp(1rem, .85rem + .7vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.bk-tiles li {
	margin: 0;
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-left: 3px solid var(--bk-rose);
	border-radius: var(--bk-radius-sm);
	padding: 1.25rem 1.35rem;
	font-size: .99rem;
	line-height: 1.6;
}
.bk-tiles li strong { display: block; font-family: var(--bk-font-head); font-size: 1.14rem; margin-bottom: .3rem; }

.bk-steps {
	counter-reset: bkstep;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.1rem, .9rem + .8vw, 1.75rem);
}
@media (min-width: 52rem) {
	.bk-steps { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}
.bk-steps li {
	counter-increment: bkstep;
	margin: 0;
	position: relative;
	padding-top: 3.35rem;
}
.bk-steps li::before {
	content: counter(bkstep);
	position: absolute;
	top: 0; left: 0;
	display: grid;
	place-items: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 50%;
	background: var(--bk-dark);
	color: var(--bk-bg);
	font-family: var(--bk-font-body);
	font-size: .98rem;
	font-weight: 700;
}
.bk-steps li h3 { font-size: 1.2rem; margin-bottom: .35em; }
.bk-steps li p { font-size: .98rem; }

.bk-prep {
	display: grid;
	gap: clamp(1rem, .85rem + .7vw, 1.5rem);
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}
.bk-prep li {
	margin: 0;
	display: flex;
	gap: .9rem;
	align-items: flex-start;
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius-sm);
	padding: 1.15rem 1.25rem;
	font-size: .99rem;
	line-height: 1.6;
}
.bk-prep .bk-ico { color: var(--bk-olive); flex: 0 0 auto; margin-top: .15rem; }

/* ==================================================================
   9b. Opinie klientek
   ================================================================== */

.bk-reviews .bk-head { max-width: 44rem; }

.bk-reviews__list {
	display: grid;
	gap: 1.25rem;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 44rem;
}
.bk-reviews__list > li { margin: 0; display: flex; }

@media (min-width: 64rem) {
	.bk-reviews__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
		max-width: none;
	}
}

.bk-review {
	/* Karta jest rozjaśnieniem tła sekcji kolorem #F4F4F4 z palety.
	   Kontrast tekstu na tak powstałej powierzchni: 7,95:1. */
	margin: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: rgba(244, 244, 244, .06);
	border: 1px solid rgba(244, 244, 244, .14);
	border-radius: var(--bk-radius);
	padding: 1.6rem 1.6rem 1.4rem;
}

.bk-review__mark {
	display: block;
	font-family: var(--bk-font-head);
	font-size: 3.4rem;
	line-height: .7;
	color: var(--bk-gold);
	margin-bottom: .35rem;
}

.bk-review__text {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
	font-family: var(--bk-font-body);
	font-size: .97rem;
	line-height: 1.68;
	color: var(--bk-bg);
}

.bk-review__author {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(244, 244, 244, .16);
	font-family: var(--bk-font-head);
	font-size: 1.14rem;
	font-weight: 600;
	color: var(--bk-gold);
}

.bk-reviews__note {
	max-width: 44rem;
	margin: 2.25rem auto 0;
	text-align: center;
	font-size: .87rem;
	line-height: 1.6;
	color: var(--bk-sage);
}

/* ==================================================================
   10. FAQ
   ================================================================== */

.bk-faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .75rem; }

.bk-faq details {
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius-sm);
	overflow: hidden;
}
.bk-faq details[open] { border-color: var(--bk-sage); }

.bk-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	cursor: pointer;
	font-family: var(--bk-font-head);
	font-size: 1.14rem;
	font-weight: 600;
	list-style: none;
}
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary::after {
	content: "";
	flex: 0 0 auto;
	width: .6rem; height: .6rem;
	border-right: 2px solid var(--bk-olive);
	border-bottom: 2px solid var(--bk-olive);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.bk-faq details[open] summary::after { transform: rotate(-135deg); }
.bk-faq summary:hover { background: var(--bk-bg); }

.bk-faq__body { padding: 0 1.35rem 1.35rem; font-size: .99rem; }

/* ==================================================================
   11. Rezerwacja i kontakt
   ================================================================== */

.bk-booking { scroll-margin-top: calc(var(--bk-header-h) + 1.5rem); }

.bk-booking__shell {
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	padding: clamp(1.35rem, 1rem + 1.5vw, 2.5rem);
	box-shadow: var(--bk-shadow);
}

.bk-contact__grid {
	display: grid;
	gap: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
}
@media (min-width: 52rem) {
	.bk-contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

.bk-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.bk-contact__list li { margin: 0; display: flex; gap: .85rem; align-items: flex-start; }
.bk-contact__list .bk-ico { color: var(--bk-gold); flex: 0 0 auto; margin-top: .2rem; }
.bk-contact__list a:not(.bk-btn) { color: var(--bk-bg); }
.bk-contact__label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bk-gold); }

/* Metody płatności pod kalendarzem — same nazwy, bez logotypów operatorów. */
.bk-pay {
	max-width: 46rem;
	margin: clamp(1.75rem, 1.4rem + 1vw, 2.5rem) auto 0;
	text-align: center;
}
.bk-pay__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin: 0 0 .9rem;
	font-family: var(--bk-font-body);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bk-dark);
}
.bk-pay__title .bk-ico { flex: 0 0 auto; color: var(--bk-olive); }

.bk-pay__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
}
.bk-pay__list li {
	margin: 0;
	background: var(--bk-white);
	border: 1px solid var(--bk-line-strong);
	border-radius: 999px;
	padding: .38rem .9rem;
	font-size: .92rem;
	line-height: 1.35;
	color: var(--bk-dark);
}
.bk-pay__note {
	margin: 1rem 0 0;
	font-size: .89rem;
	line-height: 1.6;
	color: var(--bk-dark);
}

/* ==================================================================
   12. Stopka
   ================================================================== */

.bk-footer {
	background: var(--bk-dark);
	color: var(--bk-bg);
	padding-block: clamp(2.75rem, 2.2rem + 2vw, 4.25rem) 1.75rem;
}
.bk-footer a:not(.bk-btn) { color: var(--bk-bg); text-decoration: none; }
.bk-footer a:not(.bk-btn):hover { color: var(--bk-white); text-decoration: underline; }

.bk-footer__grid {
	display: grid;
	gap: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(244, 244, 244, .18);
}
@media (min-width: 48rem) {
	.bk-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
}

.bk-footer h2, .bk-footer h3 { color: var(--bk-bg); }
.bk-footer__brand { display: flex; align-items: center; gap: .85rem; margin-bottom: .8rem; }
.bk-footer__brand img { width: 3.2rem; height: 3.2rem; }
.bk-footer__name { font-family: var(--bk-font-head); font-size: 1.4rem; margin: 0; }
.bk-footer__tag { color: var(--bk-sage); font-size: .95rem; max-width: 24rem; }
.bk-footer__title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bk-gold); margin-bottom: .9rem; font-family: var(--bk-font-body); font-weight: 600; }
.bk-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .96rem; }
.bk-footer__list li { margin: 0; }

.bk-footer__ig { display: inline-flex; align-items: center; gap: .4rem; }
.bk-footer__ig .bk-ico { flex: 0 0 auto; }

.bk-footer__company {
	display: flex;
	flex-wrap: wrap;
	gap: .2rem 1.25rem;
	margin: 1.5rem 0 0;
	font-size: .87rem;
	font-style: normal;
	color: var(--bk-sage);
}

.bk-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	padding-top: 1.5rem;
	font-size: .87rem;
	color: var(--bk-sage);
}
.bk-footer__bottom a { color: var(--bk-sage); }

/* ==================================================================
   12b. Aktualności — karty wpisów, paginacja, nawigacja wpisu
   ================================================================== */

/* auto-fill, nie auto-fit: przy jednym wpisie karta ma zostać w kolumnie
   o normalnej szerokości, a nie rozciągnąć się na całą sekcję. */
.bk-cards-news {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.1rem, .9rem + .8vw, 1.75rem);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}
.bk-cards-news > li { margin: 0; display: flex; }

.bk-card-news {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	overflow: hidden;
	box-shadow: var(--bk-shadow);
}

/* Kadr 3:2 — placeholder i zdjęcie zachowują te same proporcje,
   więc siatka nie skacze po wgraniu obrazków. */
.bk-card-news__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--bk-sage-100);
	overflow: hidden;
}
.bk-card-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bk-card-news__media .bk-ph { display: grid; }

.bk-card-news__body {
	padding: 1.25rem 1.35rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1 1 auto;
}
.bk-card-news__date {
	margin: 0;
	font-family: var(--bk-font-body);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bk-olive);
}
.bk-card-news__title { font-size: 1.28rem; margin: 0; line-height: 1.25; }
.bk-card-news__title a { color: var(--bk-dark); text-decoration: none; }
.bk-card-news__title a:hover, .bk-card-news__title a:focus-visible { text-decoration: underline; }
.bk-card-news__excerpt { margin: 0; font-size: .97rem; line-height: 1.6; }

.bk-news__more { margin: clamp(2rem, 1.6rem + 1vw, 3rem) 0 0; }
.bk-news__more, .bk-insta__cta { text-align: center; }

.bk-newslist .bk-page__head { text-align: left; }
.bk-newslist__back {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
}

/* Paginacja listy wpisów */
.navigation.pagination { margin-top: clamp(2rem, 1.6rem + 1vw, 3rem); }
.navigation.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
}
.navigation.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0 .6rem;
	border: 1px solid var(--bk-line-strong);
	border-radius: var(--bk-radius-sm);
	background: var(--bk-white);
	color: var(--bk-dark);
	text-decoration: none;
	font-size: .95rem;
}
.navigation.pagination .page-numbers:hover { background: var(--bk-sage-100); }
.navigation.pagination .page-numbers.current {
	background: var(--bk-dark);
	border-color: var(--bk-dark);
	color: var(--bk-bg);
	font-weight: 600;
}
.navigation.pagination .page-numbers.dots { border-color: transparent; background: none; }

.bk-postnav {
	display: grid;
	gap: 1rem;
	margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
	max-width: var(--bk-narrow);
}
@media (min-width: 40rem) { .bk-postnav { grid-template-columns: 1fr 1fr; } }
.bk-postnav__link {
	display: block;
	padding: 1rem 1.15rem;
	border: 1px solid var(--bk-line);
	border-left: 3px solid var(--bk-rose);
	border-radius: var(--bk-radius-sm);
	background: var(--bk-white);
	text-decoration: none;
	color: var(--bk-dark);
}
.bk-postnav__link--next { border-left-width: 1px; border-right: 3px solid var(--bk-rose); text-align: right; }
.bk-postnav__link span {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bk-olive);
	margin-bottom: .3rem;
}
.bk-postnav__link strong { font-family: var(--bk-font-head); font-size: 1.1rem; font-weight: 500; }
.bk-postnav__link:hover { border-color: var(--bk-line-strong); }

/* ==================================================================
   12c. Instagram — siatka kafelków 1:1
   ================================================================== */

.bk-insta .bk-head { margin-bottom: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.bk-insta__cta { margin: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 0 0; }

.bk-insta__handle {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin: 1rem 0 0;
	font-family: var(--bk-font-body);
	font-size: .95rem;
	font-weight: 600;
	color: var(--bk-olive);
}
.bk-insta__handle a { color: inherit; }

/* Liczba kolumn zależy od liczby wgranych zdjęć — klasę --nX dokłada
   szablon, bo repeat() nie przyjmuje wyliczeń ani zmiennych. */
.bk-insta__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(.5rem, .4rem + .4vw, .9rem);
	grid-template-columns: repeat(2, 1fr);
	max-width: 62rem;
	margin-inline: auto;
}
.bk-insta__grid--n1 { grid-template-columns: minmax(0, 22rem); justify-content: center; }

@media (min-width: 34rem) {
	.bk-insta__grid--n3,
	.bk-insta__grid--n5,
	.bk-insta__grid--n6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 62rem) {
	.bk-insta__grid--n4 { grid-template-columns: repeat(4, 1fr); }
	.bk-insta__grid--n5 { grid-template-columns: repeat(5, 1fr); }
	.bk-insta__grid--n6 { grid-template-columns: repeat(6, 1fr); }
}
.bk-insta__grid > li { margin: 0; }

.bk-insta__tile {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--bk-radius-sm);
	overflow: hidden;
	background: var(--bk-sage-100);
}
.bk-insta__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
a.bk-insta__tile:hover img, a.bk-insta__tile:focus-visible img { transform: scale(1.04); }
.bk-insta__tile .bk-ph { padding: .75rem; font-size: .7rem; letter-spacing: .1em; align-content: center; gap: .3rem; }
.bk-insta__tile .bk-ph svg { margin-bottom: 0; }
.bk-card-news__media .bk-ph { align-content: center; }
@media (prefers-reduced-motion: reduce) {
	.bk-insta__tile img { transition: none; }
	a.bk-insta__tile:hover img, a.bk-insta__tile:focus-visible img { transform: none; }
}

/* ==================================================================
   13. Strony treściowe (polityki, regulamin)
   ================================================================== */

.bk-page { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }

.bk-page__head { margin-bottom: 2.5rem; }

.bk-prose { max-width: var(--bk-narrow); }
.bk-prose h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); margin-top: 2.2em; }
.bk-prose h3 { margin-top: 1.8em; }
.bk-prose h2:first-child, .bk-prose h3:first-child { margin-top: 0; }
.bk-prose ul, .bk-prose ol { padding-left: 1.4em; }
.bk-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.bk-prose th, .bk-prose td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--bk-line); vertical-align: top; }
.bk-prose figure { margin: 1.75rem 0; }
.bk-prose figcaption { font-size: .87rem; color: var(--bk-olive); margin-top: .5rem; }
.bk-prose img { border-radius: var(--bk-radius-sm); }

.bk-toc {
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius-sm);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2.5rem;
}
.bk-toc ol { margin: 0; padding-left: 1.2em; font-size: .96rem; }

/* Bloki WordPressa – podstawowe wyrównania */
.alignleft { float: left; margin: .4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }

/* Widżet rezerwacji wtyczki – dziedziczy typografię motywu */
.bkb { --bk-font-head: var(--bk-font-head); }

/* Druk */
@media print {
	.bk-header, .bk-footer, .bk-booking, .skip-link { display: none !important; }
	body { background: #fff; font-size: 11pt; }
	a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
