/*
Theme Name: Beauty & Hair Studio Academy
Theme URI: https://www.akademiafryzjerstwalodz.pl/
Author: Aarons Zatorski
Author URI: https://aaronszatorski.com
Description: Motyw salonu fryzjerskiego i akademii Beauty & Hair Studio Academy (Łódź). Po aktywacji sam tworzy podstrony, wpisy bloga, galerie i menu. Cała treść w zwykłych stronach WordPressa — gotowa pod pozycjonowanie i wtyczki SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beauty-hair-academy
*/

/* =====================================================================
 * 1. CZCIONKI (lokalnie — bez Google Fonts)
 * ===================================================================== */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/cormorant-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/cormorant-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
 * 2. ZMIENNE — Bordo Noir & Brass
 * ===================================================================== */

:root {
	color-scheme: dark;

	--bg: #140A0D;
	--bg-2: #1C0D12;
	--bg-3: #2A0F18;
	--bg-4: #3F1020;
	--wine: #5E0F22;
	--wine-deep: #3A0A14;
	--wine-bright: #8E1230;

	--ink: #F6ECE4;
	--ink-soft: #DCC9C1;
	--ink-muted: #A08B85;

	--accent: #C9A15C;
	--accent-hover: #E0BC79;
	--accent-pressed: #A8823F;

	--card: rgba(246, 236, 228, 0.045);
	--line: rgba(246, 236, 228, 0.10);
	--line-strong: rgba(246, 236, 228, 0.18);
	--line-gold: rgba(201, 161, 92, 0.28);

	--font-display: "Cormorant Garamond", "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 0.5rem;
	--r-md: 0.75rem;
	--r-lg: 1rem;
	--r-xl: 1.5rem;

	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
	--glow: 0 0 28px rgba(201, 161, 92, 0.38);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	--gutter: 1.5rem;
	--section: 6rem;
	--max: 1680px;

	--arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 12' preserveAspectRatio='none'%3E%3Cpath d='M2,10 Q120,-6 238,10' fill='none' stroke='%23C9A15C' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

@media (min-width: 1024px) {
	:root { --gutter: 2.5rem; }
}

/* =====================================================================
 * 3. PODSTAWY
 * ===================================================================== */

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

html { height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	min-height: 100%;
	margin: 0;
	background-color: var(--bg);
	background-image:
		radial-gradient(1100px 620px at 12% -8%, rgba(142, 18, 48, 0.38), transparent 62%),
		radial-gradient(900px 520px at 100% 104%, rgba(94, 15, 34, 0.32), transparent 66%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

html, body { overflow-x: clip; }

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

a { color: inherit; text-decoration: none; }
p { margin: 0; }
figure { margin: 0; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.02;
	color: var(--ink);
}

::selection { background: var(--wine-bright); color: var(--ink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 1rem; left: 1rem; z-index: 10000;
	padding: 0.75rem 1rem;
	background: var(--accent); color: #17090D; border-radius: var(--r-sm);
}

/* =====================================================================
 * 4. TYPOGRAFIA I NARZĘDZIA
 * ===================================================================== */

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--sm { padding-block: 4rem; }
.bg-2 { background-color: var(--bg-2); }
.bg-3 { background-color: var(--bg-3); }
.center { text-align: center; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.75rem;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
}

.h-hero {
	font-size: clamp(3rem, 6vw, 5.25rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.h-sec {
	font-size: clamp(2.25rem, 4.5vw, 3.75rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.balance { text-wrap: balance; }

.h-card {
	font-size: clamp(1.5rem, 2.4vw, 2.25rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
}

.lead {
	font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
	line-height: 1.65;
	color: var(--ink-soft);
}

.muted { color: var(--ink-muted); }
.soft { color: var(--ink-soft); }
.small { font-size: 0.875rem; line-height: 1.6; }
.xsmall { font-size: 0.75rem; }
.accent { color: var(--accent); font-style: normal; }
.tabular { font-variant-numeric: tabular-nums; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Łuk (hairline arc) — motyw przewodni */
.arc {
	display: block;
	width: 8rem;
	height: 0.75rem;
	margin-top: 1rem;
	overflow: visible;
}
.arc path, .arc circle {
	fill: none;
	stroke: var(--accent);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}
.arc--sm { width: 5rem; }
.arc--md { width: 6rem; }
.arc--lg { width: 10rem; height: 3rem; margin: 0 auto 1.5rem; }
.arc--center { margin-inline: auto; }

.js .arc path,
.js .ring circle {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 0.9s var(--ease);
}
.js .arc.is-in path,
.js .ring.is-in circle { stroke-dashoffset: 0; }

.link {
	position: relative;
	color: inherit;
	text-decoration: none;
}
.link::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 100%; height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease);
}
.link:hover::after,
.link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.link[aria-current="page"] { color: var(--accent); }

.link-strong { font-weight: 500; color: var(--ink); }

/* Pojawianie się przy przewijaniu */
.js .rv {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .rv.is-in { opacity: 1; transform: none; }

/* =====================================================================
 * 5. PRZYCISKI, KARTY, POLA
 * ===================================================================== */

.btn,
.wp-block-button__link,
.entry .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border-radius: var(--r-xl);
	border: 1px solid transparent;
	background-color: var(--accent);
	color: #17090D;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.9375rem;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover,
.wp-block-button__link:hover {
	background-color: var(--accent-hover);
	color: #17090D;
	transform: translateY(-2px);
	box-shadow: var(--glow);
}
.btn:active,
.wp-block-button__link:active { background-color: var(--accent-pressed); transform: none; }

.btn-ghost,
.is-style-outline .wp-block-button__link,
.bha-anchors .wp-block-button__link {
	padding: 0.875rem 1.75rem;
	background-color: transparent;
	color: var(--ink);
	border-color: var(--line-gold);
}
.btn-ghost:hover,
.is-style-outline .wp-block-button__link:hover,
.bha-anchors .wp-block-button__link:hover {
	background-color: rgba(201, 161, 92, 0.10);
	border-color: var(--accent);
	color: var(--ink);
	box-shadow: none;
}

.btn-sm,
.bha-anchors .wp-block-button__link {
	padding: 0.625rem 1.25rem;
	font-size: 0.75rem;
}

.btn-full { width: 100%; }

.btn__logo {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	background: #fff;
	flex-shrink: 0;
}

.btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}
.btns--center { justify-content: center; }

.card {
	background: var(--card);
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.card--pad { padding: 2rem; }
.card--plain { border-color: var(--line); background: var(--bg); }

.input {
	width: 100%;
	padding: 0.875rem 1rem;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-strong);
	background-color: rgba(246, 236, 228, 0.05);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.input::placeholder { color: var(--ink-muted); }
.input:focus {
	border-color: var(--accent);
	background-color: rgba(246, 236, 228, 0.08);
	box-shadow: 0 0 0 3px rgba(201, 161, 92, 0.20);
	outline: none;
}
.input option { background: var(--bg-2); color: var(--ink); }
textarea.input { resize: vertical; }

.stars { display: inline-flex; gap: 0.25rem; flex-shrink: 0; }
.stars svg { width: 1.25rem; height: 1.25rem; fill: var(--accent); }
.stars--lg svg { width: 1.5rem; height: 1.5rem; }

.chip {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	font-size: 0.75rem;
	color: var(--ink-soft);
}

/* =====================================================================
 * 6. NAGŁÓWEK I NAWIGACJA
 * ===================================================================== */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	padding: 1.25rem 1.5rem;
}
@media (min-width: 1024px) { .site-header { padding-inline: 2.5rem; } }

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.nav {
	max-width: var(--max);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	background: rgba(20, 10, 13, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

.nav__left, .nav__right { display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 1280px) { .nav__left { gap: 1.25rem; } }

.nav__logo {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ink);
}
@media (min-width: 1024px) { .nav__logo { font-size: 1.25rem; } }
@media (min-width: 1280px) { .nav__logo { font-size: 1.5rem; white-space: nowrap; } }

.nav__logo img { max-height: 48px; width: auto; }

.nav__socials { display: none; }
@media (min-width: 1440px) { .nav__socials { display: flex; } }

.nav__video {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	white-space: nowrap;
	padding: 0.625rem 1rem;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	background: rgba(246, 236, 228, 0.06);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ink);
}
.nav__video svg { width: 13px; height: 13px; fill: var(--accent); }
.nav__video[aria-current="page"] { border-color: var(--accent); }

.nav__menu { display: none; }
@media (min-width: 1280px) {
	.nav__menu { display: flex; align-items: center; gap: 1rem; }
	.nav__menu .btn-sm { white-space: nowrap; }
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 1440px) { .nav__links { gap: 1.25rem; } }

.nav__links a {
	position: relative;
	white-space: nowrap;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
}
.nav__links a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 100%; height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after,
.nav__links .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.nav__links .current-menu-item > a { color: var(--accent); }

.nav__burger {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(246, 236, 228, 0.06);
	color: var(--ink);
	cursor: pointer;
}
.nav__burger svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1280px) { .nav__burger { display: none; } }

.nav__panel {
	position: absolute;
	left: 1.5rem; right: 1.5rem;
	top: calc(100% - 0.25rem);
	max-height: 70vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--bg);
	box-shadow: var(--shadow-lg);
	animation: panel-in 0.35s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (min-width: 1280px) { .nav__panel { display: none !important; } }

.nav__panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.nav__panel li a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-block: 0.5rem;
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--ink);
}
.nav__panel .current-menu-item > a { color: var(--accent); }
.nav__panel .nav__panel-video svg { width: 16px; height: 16px; fill: var(--accent); }
.nav__panel .btn { margin-top: 1rem; }
.nav__panel .socials { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Sociale */
.socials__label { margin-bottom: 0.75rem; }
.socials__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.socials--stack .socials__list { gap: 0.75rem; }

.socials__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	background: rgba(246, 236, 228, 0.06);
	color: var(--ink);
	transition: color 0.3s, border-color 0.3s;
}
.socials__icon svg { width: 19px; height: 19px; }
.socials__icon:hover { color: var(--accent); border-color: var(--accent); }

.socials__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: rgba(246, 236, 228, 0.05);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ink);
	transition: color 0.3s, border-color 0.3s;
}
.socials__btn svg { width: 20px; height: 20px; }
.socials__btn:hover { color: var(--accent); border-color: var(--accent); }

.socials__bar-label { display: none; white-space: nowrap; }
@media (min-width: 1536px) { .socials__bar-label { display: inline; } }

/* =====================================================================
 * 7. STRONA GŁÓWNA
 * ===================================================================== */

/* --- Hero --- */
.hero { position: relative; background: var(--bg); }

.hero__inner {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
}
@media (min-width: 1024px) { .hero__inner { flex-direction: row; } }

.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	padding: 5rem 1.5rem;
	background: var(--bg);
}
@media (min-width: 1024px) { .hero__content { width: 41.666%; padding: 6rem 3rem; } }
@media (min-width: 1280px) { .hero__content { padding-inline: 4rem; } }

.hero__text { max-width: 36rem; }

.hero__eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero__eyebrow .arc { width: 4rem; margin: 0; }

.hero__lead { margin-top: 1.5rem; max-width: 28rem; }

.hero__note { margin-top: 1rem; }

.hero__media {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 52vh;
	min-height: 320px;
	flex-shrink: 0;
}
@media (min-width: 1024px) { .hero__media { width: 58.333%; height: auto; min-height: 0; margin-left: auto; } }

.hero__frame {
	position: absolute;
	inset: 1rem;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	background: var(--bg);
}
@media (min-width: 640px) { .hero__frame { inset: 1.5rem; } }
@media (min-width: 1024px) { .hero__frame { inset: 2rem; } }

.hero__frame > video,
.hero__frame > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
}

.hero__fade {
	position: absolute;
	inset: auto 0 0 0;
	height: 6rem;
	background: linear-gradient(to top, var(--bg), transparent);
	pointer-events: none;
}
@media (min-width: 1024px) { .hero__fade { display: none; } }

.hero__badge {
	position: absolute;
	left: 1rem; right: 1rem; bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	background: rgba(23, 9, 13, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow-lg);
	transition: transform 0.3s;
}
.hero__badge:hover { transform: translateY(-2px); }
@media (min-width: 640px) { .hero__badge { left: auto; right: 1.5rem; bottom: 1.5rem; padding-inline: 1.25rem; } }

.logo-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--r-md);
	background: #fff;
}
.logo-tile img { width: 1.75rem; height: 1.75rem; }
.logo-tile--sm { width: 1.5rem; height: 1.5rem; border-radius: 0.375rem; }
.logo-tile--sm img { width: 18px; height: 18px; }
.logo-tile--md { width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); }
.logo-tile--md img { width: 1.5rem; height: 1.5rem; }

.hero__badge-kicker { display: block; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.hero__badge-title { display: block; font-size: 0.875rem; font-weight: 500; color: #fff; }
.hero__badge-arrow { margin-left: auto; width: 1rem; height: 1rem; color: var(--accent); transition: transform 0.3s; }
.hero__badge:hover .hero__badge-arrow { transform: translateX(2px); }

/* --- Pasek ocen --- */
.rating-bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	padding: 2.25rem 2rem;
	text-align: center;
}
@media (min-width: 1024px) { .rating-bar { flex-direction: row; justify-content: space-between; text-align: left; } }

.rating-bar__score { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .rating-bar__score { flex-direction: row; } }

.rating-bar__big {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 1;
	color: var(--ink);
}
@media (min-width: 768px) { .rating-bar__big { font-size: 3rem; } }

.rating-bar__text { font-size: 1.125rem; line-height: 1.35; color: var(--ink-soft); }
.rating-bar__text strong { font-weight: 500; color: var(--ink); }

.rating-bar__sources { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.75rem 2rem; }
.rating-bar__sources p { font-size: 1rem; color: var(--ink-soft); }
.rating-bar__sources span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* --- Pasek wideo --- */
.band {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	padding: 2rem;
}
@media (min-width: 1024px) { .band { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem; } }

.band__text { max-width: 32rem; }

.band__thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	flex-shrink: 0;
}
.band__thumbs figure:nth-child(4) { display: none; }
@media (min-width: 640px) { .band__thumbs { grid-template-columns: repeat(4, 1fr); } .band__thumbs figure:nth-child(4) { display: block; } }
@media (min-width: 1024px) { .band__thumbs { width: 46%; gap: 1rem; } }

.thumb-video {
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: var(--card);
}
.thumb-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out; }
.band__thumbs:hover .thumb-video img { transform: scale(1.04); }
.thumb-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 10, 13, 0.25);
}
.thumb-video__play span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: rgba(20, 10, 13, 0.6);
}
.thumb-video__play svg { width: 1rem; height: 1rem; margin-left: 2px; fill: var(--accent); }

/* --- Dwie kolumny (O nas) --- */
.split { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split__lead { max-width: 36rem; }
.stack { display: grid; gap: 1.25rem; align-content: start; }

/* --- Sekcje ze zdjęciem w tle --- */
.photo-sec {
	--scrim: 20, 10, 13;
	position: relative;
	min-height: 60vh;
	overflow: hidden;
}
@media (min-width: 1024px) { .photo-sec--tall { min-height: 82vh; } }
.photo-sec--70 { min-height: 70vh; }
.photo-sec--50 { min-height: 50vh; }

.photo-sec__bg,
.photo-sec__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}
.photo-sec__bg { object-fit: cover; filter: blur(40px); transform: scale(1.1); opacity: 0.55; }
.photo-sec__img { object-fit: contain; object-position: center; padding: 1.5rem; }
@media (min-width: 1024px) { .photo-sec__img { object-position: right center; padding: 2.5rem; } }

.photo-sec__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(var(--scrim), 0.75) 0%, rgba(var(--scrim), 0.15) 45%, transparent 70%);
}
.photo-sec__scrim::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(var(--scrim), 0.45);
}
@media (min-width: 1024px) { .photo-sec__scrim::after { display: none; } }

.photo-sec__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: inherit;
	padding-block: 6rem;
}
.photo-sec__content > div { max-width: 32rem; }

/* --- Ceny --- */
.prices { padding: 2rem; }
@media (min-width: 1024px) { .prices { padding: 2.5rem; } }

.prices__head { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .prices__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.prices__list {
	display: grid;
	gap: 0.25rem 2.5rem;
	margin: 2rem 0 0;
}
@media (min-width: 640px) { .prices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .prices__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.prices__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.75rem;
	border-bottom: 1px solid var(--line);
}
.prices__row dt { color: var(--ink-soft); }
.prices__row dd { margin: 0; white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }

.sec-head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* --- Zapowiedzi galerii --- */
.teaser { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.teaser { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
	.teaser__text { grid-column: span 4; }
	.teaser__tiles { grid-column: span 8; }
	.teaser--rev .teaser__text { order: 2; }
	.teaser--rev .teaser__tiles { order: 1; }
}

.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}
@media (min-width: 768px) {
	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
	.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tile {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: var(--card);
}
@media (min-width: 768px) { .tile { border-radius: var(--r-lg); } }

.tile__bg,
.tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}
.tile__bg { object-fit: cover; filter: blur(40px); transform: scale(1.1); opacity: 0.25; }
.tile__img { object-fit: contain; padding: 0.375rem; transition: transform 0.7s ease-out; }
@media (min-width: 768px) { .tile__img { padding: 0.5rem; } }
a:hover .tile__img { transform: scale(1.03); }

/* --- Pasek zdjęć (marquee) --- */
.marquee { position: relative; overflow: hidden; margin-top: 3rem; }
.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 52s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; gap: 1.25rem; padding-right: 1.25rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee__item {
	position: relative;
	flex-shrink: 0;
	width: 300px;
	height: 220px;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
}
@media (min-width: 768px) { .marquee__item { width: 400px; height: 280px; } }
.marquee__item .tile__bg { opacity: 0.55; }
.marquee__item .tile__img { padding: 0.75rem; }

/* --- Modelki --- */
.duo { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.duo { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.duo__main { grid-column: span 7; }
	.duo__side { grid-column: span 5; }
}

.points {
	display: grid;
	gap: 1.25rem 2.5rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.points li { padding-top: 1rem; border-top: 1px solid var(--line); }
.points strong { display: block; font-weight: 500; color: var(--ink); }
.points span { display: block; margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pair .tile__bg { opacity: 0.4; }

/* --- Opinie --- */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.quote {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2.25rem;
}
@media (min-width: 768px) { .quote { padding: 2.75rem; } }
.quote__arc { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.25rem; height: 2.25rem; opacity: 0.3; margin: 0; }
.quote__text {
	margin-top: 1.5rem;
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1.3;
	color: var(--ink);
	text-wrap: balance;
}
@media (min-width: 768px) { .quote__text { font-size: 2.1rem; } }
.quote__foot { margin-top: auto; padding-top: 2rem; }
.quote__name { font-size: 1.125rem; font-weight: 500; color: var(--ink); }

.stats {
	display: grid;
	gap: 1.5rem;
	margin: 1.5rem 0 0;
	padding: 2.25rem;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) { .stats { padding: 2.75rem; } }
.stats > div { text-align: center; }
.stats dd { margin: 0.75rem 0 0; }
.stats__num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats__label { display: block; margin-top: 0.5rem; font-size: 1rem; color: var(--ink-soft); }

/* --- Gdzie nas znaleźć --- */
.find { display: grid; min-height: 70vh; }
@media (min-width: 1024px) {
	.find { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.find__text { grid-column: span 5; }
	.find__media { grid-column: span 7; }
}
.find__text { display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter); }
.find__media { position: relative; min-height: 50vh; }
.find__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1rem; max-width: none; }
@media (min-width: 1024px) { .find__media img { padding: 2rem; } }
address { font-style: normal; }

/* --- Sekcja wyśrodkowana --- */
.center-sec { display: flex; align-items: center; min-height: 50vh; padding-block: 6rem; }
.center-sec__inner { max-width: 42rem; margin-inline: auto; text-align: center; }

/* --- Rezerwacja --- */
.booking { position: relative; overflow: hidden; }
.booking__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 50vh;
	padding-block: 6rem;
	text-align: center;
}
.booking__title { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
.ring {
	position: absolute;
	inset: -2rem;
	width: calc(100% + 4rem);
	height: calc(100% + 4rem);
	pointer-events: none;
	overflow: visible;
}
@media (min-width: 768px) { .ring { inset: -3rem; width: calc(100% + 6rem); height: calc(100% + 6rem); } }
.ring circle { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }

.booking__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding: 2rem;
}
@media (min-width: 640px) { .booking__card { padding: 2.5rem; } }

.qr {
	display: block;
	width: 11rem;
	height: 11rem;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: #fff;
}
@media (min-width: 640px) { .qr { width: 13rem; height: 13rem; } }
.qr img { width: 100%; height: 100%; }

.booking__who { display: flex; align-items: center; gap: 0.75rem; text-align: left; font-size: 0.875rem; color: var(--ink-soft); }
.booking__who strong { font-weight: 500; color: var(--ink); }

/* --- Karty wpisów --- */
.posts { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.posts--wide { margin-top: 0; }
@media (min-width: 768px) and (max-width: 1279px) { .posts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.post-card { overflow: hidden; }
.post-card > a { display: flex; flex-direction: column; height: 100%; }
.post-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); }
.post-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); max-width: none; }
.post-card > a:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
.post-card__title { margin-top: 0.75rem; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; }
.post-card__excerpt { flex: 1; margin-top: 1rem; font-size: 0.875rem; line-height: 1.65; color: var(--ink-soft); }
.post-card__meta { margin-top: 1.5rem; font-size: 0.75rem; color: var(--ink-muted); }

.featured { overflow: hidden; }
.featured > a { display: grid; }
@media (min-width: 1024px) { .featured > a { grid-template-columns: 7fr 5fr; } }
.featured__img { position: relative; aspect-ratio: 4 / 3; background: var(--card); }
@media (min-width: 1024px) { .featured__img { aspect-ratio: auto; min-height: 560px; } }
.featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); max-width: none; }
.featured > a:hover .featured__img img { transform: scale(1.03); }
.featured__body { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 1024px) { .featured__body { padding: 3.5rem; } }
.featured__title { margin-top: 0.75rem; font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1.1; text-wrap: balance; }

/* =====================================================================
 * 8. PODSTRONY
 * ===================================================================== */

.page-top { padding-top: 7rem; }

.page-head { padding-block: 2rem 3rem; }
.page-head__title { max-width: 48rem; margin-top: 1rem; }
.page-head__lead { max-width: 36rem; margin-top: 1.5rem; }
.page-head--narrow { max-width: 48rem; margin-inline: auto; }

.crumbs { margin-bottom: 1.5rem; font-size: 0.8125rem; color: var(--ink-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.crumbs a:hover { color: var(--accent); }

.cta-band { background: var(--bg-2); text-align: center; }
.cta-band__inner { max-width: 42rem; margin-inline: auto; }

/* =====================================================================
 * 9. TREŚĆ Z EDYTORA (bloki)
 * ===================================================================== */

.entry > *:not(.bha-sec):not(.alignfull) {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.entry > p:not(.bha-sec),
.entry > ul, .entry > ol,
.entry > h2, .entry > h3 { max-width: calc(48rem + 2 * var(--gutter)); }
.entry > * + *:not(.bha-sec) { margin-top: 1.5rem; }

.bha-sec { padding-block: var(--section); }
.bha-sec--top0 { padding-top: 0; }
.bha-sec--bottom0 { padding-bottom: 0; }
.bha-sec > * {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.bha-sec > .wp-block-group__inner-container > * + *,
.bha-sec > * + * { margin-top: 1.5rem; }
.bha-sec > .wp-block-group__inner-container > * { margin-block-end: 0; }
.bha-sec--alt { background-color: var(--bg-2); }
.bha-sec--alt3 { background-color: var(--bg-3); }

.bha-sec--narrow > *,
.bha-sec--narrow > .wp-block-group__inner-container { max-width: calc(48rem + 2 * var(--gutter)); }
.bha-sec--center { text-align: center; }
.bha-sec--center > *,
.bha-sec--center > .wp-block-group__inner-container { max-width: calc(42rem + 2 * var(--gutter)); }
.bha-sec--center .wp-block-buttons { justify-content: center; }

.entry .wp-block-group__inner-container > * + * { margin-top: 1.5rem; }

.entry h2 {
	font-size: clamp(2.25rem, 4.5vw, 3.75rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
}
.entry h2::after,
.entry h3.has-arc::after {
	content: "";
	display: block;
	width: 6rem;
	height: 0.75rem;
	margin-top: 1rem;
	background: var(--arc) no-repeat center / 100% 100%;
}
.entry .has-text-align-center::after,
.bha-sec--center h2::after { margin-inline: auto; }
.entry h2.no-arc::after { display: none; }

.entry h3 {
	font-size: clamp(1.5rem, 2.4vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
}
.entry h4 { font-size: 1.5rem; line-height: 1.2; }

.entry p { color: var(--ink-soft); }
.entry p.eyebrow { color: var(--accent); margin-bottom: -0.75rem; }
.entry p.eyebrow + h2,
.entry p.eyebrow + h3 { margin-top: 1.25rem; }
.entry p.lead { font-size: clamp(1.0625rem, 1.2vw, 1.25rem); }
.entry p.bha-note { font-size: 0.875rem; color: var(--ink-muted); }
.entry strong { font-weight: 600; color: var(--ink); }

.entry a:not(.wp-block-button__link):not(.btn) {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--line-gold);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.3s, color 0.3s;
}
.entry a:not(.wp-block-button__link):not(.btn):hover { color: var(--accent); text-decoration-color: var(--accent); }

.entry ul, .entry ol { padding-left: 1.25rem; color: var(--ink-soft); }
.entry li + li { margin-top: 0.75rem; }
.entry li::marker { color: var(--accent); }

.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* Przyciski */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button { margin: 0; }
.entry .wp-block-buttons { margin-top: 2rem; }
.bha-anchors.wp-block-buttons { gap: 0.75rem; }

/* Karty i siatki */
.bha-card {
	padding: 2rem;
	background: var(--card);
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
}
@media (min-width: 1024px) { .bha-card--lg { padding: 2.5rem; } }
.bha-card--plain { background: var(--bg); border-color: var(--line); }
.bha-card > .wp-block-group__inner-container > * + *,
.bha-card > * + * { margin-top: 1rem; }
.bha-card h3::after { width: 4rem; }

.bha-grid,
.bha-grid > .wp-block-group__inner-container { display: grid; gap: 1.5rem; }
.bha-grid > .wp-block-group__inner-container { padding: 0; }
.bha-grid:has(> .wp-block-group__inner-container) { display: block; }
.bha-grid > * + *,
.bha-grid > .wp-block-group__inner-container > * + * { margin-top: 0 !important; }
@media (min-width: 768px) {
	.bha-grid--2, .bha-grid--2 > .wp-block-group__inner-container,
	.bha-grid--3, .bha-grid--3 > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.bha-grid--3, .bha-grid--3 > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Kolumny */
.wp-block-columns { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 1024px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.wp-block-columns.bha-cols-7-5 { grid-template-columns: 7fr 5fr; grid-auto-flow: row; }
	.wp-block-columns.bha-cols-5-7 { grid-template-columns: 5fr 7fr; grid-auto-flow: row; }
	.wp-block-columns.bha-cols-4-8 { grid-template-columns: 4fr 8fr; grid-auto-flow: row; }
	.wp-block-columns.are-vertically-aligned-center { align-items: center; }
}
.wp-block-column { min-width: 0; }
.wp-block-column > * + * { margin-top: 1.25rem; }
.wp-block-column.is-vertically-aligned-center { align-self: center; }

/* Linie z punktami */
.entry ul.bha-lines {
	display: grid;
	gap: 1.25rem 2.5rem;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) { .entry ul.bha-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entry ul.bha-lines li { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-muted); }
.entry ul.bha-lines li strong { display: block; margin-bottom: 0.25rem; font-size: 1rem; font-weight: 500; color: var(--ink); }

/* Fakty (liczby w kartach) */
.bha-facts,
.bha-facts > .wp-block-group__inner-container { display: grid; gap: 1.25rem; }
.bha-facts:has(> .wp-block-group__inner-container) { display: block; }
@media (min-width: 640px) {
	.bha-facts, .bha-facts > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bha-facts > * + *, .bha-facts > .wp-block-group__inner-container > * + * { margin-top: 0 !important; }
.bha-fact { padding: 1.75rem; background: var(--card); border: 1px solid var(--line-gold); border-radius: var(--r-lg); }
.bha-fact > * + *, .bha-fact > .wp-block-group__inner-container > * + * { margin-top: 0.75rem; }
.entry .bha-fact p.eyebrow { margin-bottom: 0; }
.entry .bha-fact .bha-fact__value { font-family: var(--font-display); font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); }
.entry .bha-fact p:last-child:not(.bha-fact__value):not(.eyebrow) { font-size: 0.875rem; color: var(--ink-muted); }

/* Wartości numerowane */
.bha-values { counter-reset: val; }
.bha-value { position: relative; padding-left: 5rem; counter-increment: val; }
.bha-value::before {
	content: counter(val, decimal-leading-zero);
	position: absolute;
	left: 0; top: -0.25rem;
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 300;
	line-height: 1;
	color: var(--accent);
	opacity: 0.4;
}
.entry .bha-value h3::after { display: none; }
.bha-value + .bha-value { margin-top: 2.5rem !important; }

/* Cytat */
.entry blockquote,
.entry .wp-block-quote {
	margin: 2.5rem auto 0;
	padding: 1.75rem;
	border: 0;
	border-left: 2px solid var(--accent);
	border-radius: var(--r-lg);
	background: var(--card);
}
.entry blockquote p {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.35;
	color: var(--ink);
}
.entry blockquote cite { display: block; margin-top: 1rem; font-size: 0.875rem; font-style: normal; color: var(--ink-muted); }

.entry .bha-pull,
.entry .bha-pull.wp-block-quote {
	max-width: calc(48rem + 2 * var(--gutter));
	padding: 0 var(--gutter);
	border: 0;
	background: none;
	text-align: center;
}
.entry .bha-pull::before {
	content: "";
	display: block;
	width: 6rem;
	height: 3rem;
	margin: 0 auto 2rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80' preserveAspectRatio='none'%3E%3Cpath d='M4,76 Q160,-40 316,76' fill='none' stroke='%23C9A15C' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.entry .bha-pull p { font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 500; line-height: 1.35; }

/* Obrazki */
.entry .wp-block-image { position: relative; }
.entry .wp-block-image img { width: 100%; border-radius: var(--r-lg); }
.entry .wp-block-image figcaption,
.entry .wp-element-caption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-muted); }
.entry .bha-frame img { border: 1px solid var(--line-gold); }
.entry .bha-cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); }
.entry .bha-cover img { height: 100%; object-fit: cover; }
.entry .bha-wide { max-width: 1040px !important; }
.entry .bha-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 768px) { .entry .bha-wide img { aspect-ratio: 21 / 9; } }

/* Galerie */
.entry .wp-block-gallery,
.entry .bha-gallery {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 2.5rem;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) { .entry .wp-block-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1280px) { .entry .wp-block-gallery.columns-4, .entry .wp-block-gallery.bha-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) { .entry .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .entry .wp-block-gallery.columns-2 { grid-template-columns: 1fr; } }

.entry .wp-block-gallery > .wp-block-image,
.entry .wp-block-gallery > figure {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: var(--card);
	cursor: zoom-in;
}
@media (min-width: 768px) { .entry .wp-block-gallery > figure { border-radius: var(--r-lg); } }

.entry .wp-block-gallery > figure::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--tile-bg, none);
	background-size: cover;
	background-position: center;
	filter: blur(40px);
	transform: scale(1.1);
	opacity: 0.25;
}
.entry .wp-block-gallery > figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0.375rem;
	object-fit: contain;
	border-radius: 0;
	transition: transform 0.7s ease-out;
	max-width: none;
}
@media (min-width: 768px) { .entry .wp-block-gallery > figure img { padding: 0.5rem; } }
.entry .wp-block-gallery > figure:hover img { transform: scale(1.04); }

.entry .wp-block-gallery.bha-gallery--opening > figure:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 1 / 1;
	border-radius: var(--r-lg);
}
@media (min-width: 640px) { .entry .wp-block-gallery.bha-gallery--opening > figure:first-child { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .entry .wp-block-gallery.bha-gallery--opening > figure:first-child { aspect-ratio: 3 / 2; } }

.entry .wp-block-gallery > figure figcaption { display: none; }

/* Galeria „spacer po salonie” — zdjęcie z podpisem */
.entry .wp-block-gallery.bha-tour { gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .entry .wp-block-gallery.bha-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .entry .wp-block-gallery.bha-tour { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry .wp-block-gallery.bha-tour > figure {
	aspect-ratio: auto;
	display: flex;
	flex-direction: column;
	cursor: default;
	border-radius: var(--r-lg);
}
.entry .wp-block-gallery.bha-tour > figure::before { display: none; }
.entry .wp-block-gallery.bha-tour > figure img {
	position: relative;
	aspect-ratio: 4 / 5;
	height: auto;
	padding: 0;
	object-fit: cover;
}
.entry .wp-block-gallery.bha-tour > figure:hover img { transform: none; }
.entry .wp-block-gallery.bha-tour > figure figcaption {
	display: block;
	position: static;
	margin: 0;
	padding: 1.5rem;
	background: none;
	font-size: 0.875rem;
	line-height: 1.65;
	text-align: left;
	color: var(--ink-soft);
}
.entry .wp-block-gallery.bha-tour > figure figcaption strong {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--ink);
}

/* Media + tekst */
.entry .wp-block-media-text {
	display: grid;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
}
.entry .wp-block-media-text + .wp-block-media-text { margin-top: 2rem; }
.entry .wp-block-media-text__media { position: relative; aspect-ratio: 4 / 3; margin: 0; }
.entry .wp-block-media-text__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; max-width: none; }
.entry .wp-block-media-text__content { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
.entry .wp-block-media-text__content > * + * { margin-top: 1.25rem; }
@media (min-width: 1024px) {
	.entry .wp-block-media-text { grid-template-columns: 5fr 7fr; }
	.entry .wp-block-media-text.bha-mt-half { grid-template-columns: 1fr 1fr; }
	.entry .wp-block-media-text.has-media-on-the-right { grid-template-columns: 7fr 5fr; }
	.entry .wp-block-media-text.bha-mt-half.has-media-on-the-right { grid-template-columns: 1fr 1fr; }
	.entry .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
	.entry .wp-block-media-text__media { aspect-ratio: auto; min-height: 420px; }
	.entry .wp-block-media-text__content { padding: 3rem; }
}
.entry .wp-block-media-text h3::after { content: ""; display: block; width: 5rem; height: 0.75rem; margin-top: 1rem; background: var(--arc) no-repeat center / 100% 100%; }

/* Tabele cennika */
.entry .wp-block-table { margin: 0; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; text-align: left; }
.entry thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.entry td {
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: var(--ink-soft);
}
.entry tr:last-child td { border-bottom: 0; }
.entry td:last-child {
	padding-left: 1rem;
	text-align: right;
	white-space: nowrap;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.entry td:first-child { padding-right: 1rem; }
.entry td em { display: block; margin-top: 0.25rem; font-size: 0.8125rem; font-style: normal; line-height: 1.55; color: var(--ink-muted); white-space: normal; }

.bha-price { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); scroll-margin-top: 8rem; }
@media (min-width: 1024px) { .bha-price { padding: 2.5rem; } }
.bha-price + .bha-price { margin-top: 4rem !important; }
.bha-price h3 { display: flex; align-items: center; gap: 0.75rem; }
.entry .bha-price h3::after { width: 4rem; margin: 0; }
.bha-price .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
@media (min-width: 1024px) { .bha-price .wp-block-column:first-child .wp-block-image { position: sticky; top: 7rem; } }

[id] { scroll-margin-top: 8rem; }

/* Wideo */
.bha-video-grid,
.bha-video-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
.bha-video-grid:has(> .wp-block-group__inner-container) { display: block; }
@media (min-width: 640px) { .bha-video-grid, .bha-video-grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bha-video-grid, .bha-video-grid > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bha-video-grid > * + *, .bha-video-grid > .wp-block-group__inner-container > * + * { margin-top: 0 !important; }
.entry .bha-sec .bha-video-grid { padding-inline: 0; }

.entry .wp-block-video {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	background: var(--card);
}
.entry .wp-block-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.entry .wp-block-video figcaption { margin: 0; padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ink-muted); text-align: left; }
.bha-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.bha-video-missing { padding: 1.5rem; border: 1px dashed var(--line-gold); border-radius: var(--r-lg); color: var(--ink-muted); }

.entry .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 3rem; }

/* Osadzenia */
.entry .wp-block-embed iframe { width: 100%; border: 0; border-radius: var(--r-lg); }

/* Treść wpisu bloga */
.prose { max-width: 48rem; margin-inline: auto; }
.prose > * + * { margin-top: 1.5rem; }
.prose h2 { margin-top: 3rem; font-size: 1.875rem; letter-spacing: -0.015em; }
.prose h2::after { display: none; }
.prose h3 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose p { line-height: 1.75; }
.prose > p:first-child { font-size: clamp(1.0625rem, 1.2vw, 1.25rem); color: var(--ink); }

.post-cover {
	position: relative;
	aspect-ratio: 3 / 2;
	max-width: 72rem;
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	background: var(--card);
}
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }

.post-cta {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 3.5rem;
	padding: 2rem;
}
@media (min-width: 640px) { .post-cta { flex-direction: row; align-items: center; justify-content: space-between; } }
.post-cta .btns { margin-top: 0; flex-shrink: 0; }

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--line-gold); border-radius: var(--r-sm); }
.pagination .current { background: var(--accent); color: #17090D; }

/* =====================================================================
 * 10. KONTAKT
 * ===================================================================== */

.contact { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.contact { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.contact__info { grid-column: span 5; }
	.contact__map { grid-column: span 7; }
}

.contact__rows { display: grid; gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact__label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.contact__phone { display: inline-block; margin-top: 0.25rem; font-size: 1.5rem; font-weight: 500; color: var(--ink); }

.hours { max-width: 20rem; margin: 0.5rem 0 0; font-size: 1.125rem; color: var(--ink-soft); }
.hours > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 0.375rem; border-bottom: 1px solid var(--line); }
.hours > div:last-child { border-bottom: 0; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .is-closed { color: var(--ink-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }

.map {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--bg-2);
	box-shadow: inset 0 0 0 1px var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.form__hp { position: absolute; left: -9999px; }
.form__msg { min-height: 1.5rem; font-size: 0.9375rem; }
.form__msg.is-ok { color: #9fd8a4; }
.form__msg.is-err { color: #f2a3a3; }
.form .btns { margin-top: 0; }

/* =====================================================================
 * 11. STOPKA
 * ===================================================================== */

.site-footer { position: relative; overflow: hidden; background: var(--wine-deep); color: var(--ink-soft); }
.site-footer__inner { padding-block: 4rem; }

.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.footer-grid { grid-template-columns: 5fr 7fr; }
}
.footer-cols { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.footer-title { margin-bottom: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; font-size: 0.875rem; }
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a { position: relative; color: var(--ink-soft); transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

.footer-booking {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	font-size: 0.875rem;
	color: var(--ink-soft);
	transition: color 0.3s;
}
.footer-booking:hover { color: var(--accent); }

.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(247, 241, 234, 0.10);
	font-size: 0.75rem;
	color: var(--ink-muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-author { opacity: 0.6; }
.footer-author:hover { text-decoration: underline; }

.footer-arc {
	position: absolute;
	right: -6rem;
	bottom: -6rem;
	width: 20rem;
	height: 20rem;
	opacity: 0.18;
	pointer-events: none;
}
.footer-arc path { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* =====================================================================
 * 12. LIGHTBOX
 * ===================================================================== */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 1rem;
	background: rgba(12, 5, 7, 0.94);
	animation: panel-in 0.3s var(--ease);
}
.lightbox img { max-width: min(100%, 1400px); max-height: 100%; width: auto; height: auto; border-radius: var(--r-md); object-fit: contain; }
.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	background: rgba(20, 10, 13, 0.7);
	color: var(--ink);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); font-size: 0.875rem; color: var(--ink-muted); }

/* =====================================================================
 * 13. 404 I RÓŻNE
 * ===================================================================== */

.notfound { min-height: 70vh; display: flex; align-items: center; }

.wp-caption, .gallery-caption, .sticky, .bypostauthor { max-width: 100%; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }

/* =====================================================================
 * 13b. UZUPEŁNIENIA: znaczniki koloru, podstrony, zespół, bloki
 * ===================================================================== */

.beat { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }

.photo-sec__wide { max-width: 36rem !important; }

.rise { animation: rise-in 0.65s var(--ease) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.page-head__lead--next { margin-top: 1rem; }
.page-head .btns { margin-top: 2rem; }

/* Nagłówek z dużym zdjęciem (O nas) */
.page-split { position: relative; min-height: 80vh; padding-top: 7rem; }
.page-split__inner {
	display: grid;
	align-items: center;
	max-width: 1360px;
	min-height: 70vh;
	margin-inline: auto;
}
.page-split__text { order: 2; display: flex; flex-direction: column; justify-content: center; padding: 4rem 1.5rem; }
.page-split__text .page-head__title { margin-top: 1rem; }
.page-split__lead { max-width: 28rem; margin-top: 1.5rem; }
.page-split__lead + .page-split__lead { margin-top: 1rem; }
.page-split__lead a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-gold); text-underline-offset: 3px; }
.page-split__media { order: 1; position: relative; min-height: 50vh; }
.page-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
@media (min-width: 1024px) {
	.page-split__inner { grid-template-columns: 7fr 5fr; min-height: 62vh; }
	.page-split__text { order: 1; padding: 4rem; }
	.page-split__media { order: 2; min-height: 0; height: 60vh; }
}

.h-contact { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.15; }
.contact__online { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 0.25rem; font-size: 1.125rem; color: var(--ink-soft); }
.entry--inline { margin-top: 0.5rem; }
.entry--inline > * { max-width: none !important; padding-inline: 0 !important; }

/* Zespół [bha_zespol] */
.team { margin-top: 3rem; }
.team__top { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .team__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .team__top { grid-template-columns: 1fr 2fr; } }
.team__portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.team__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; max-width: none; }
.team__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 16, 14, 0.88) 0%, rgba(18, 16, 14, 0.55) 32%, rgba(18, 16, 14, 0.05) 62%); }
.team__portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 2rem; }
.team__portrait figcaption .arc { margin: 0 0 1.5rem; width: 5rem; }
.team__portrait strong { display: block; margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; line-height: 1.15; color: #fff; }
.team__role { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
.team__creds { display: grid; gap: 2rem; margin: 0; padding: 2rem; }
@media (min-width: 640px) { .team__creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team__creds > div { display: flex; flex-direction: column; justify-content: center; }
.team__creds dd { margin: 0.75rem 0 0; font-family: var(--font-display); font-size: 2.25rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.team__creds p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); }
.team__list { margin-top: 1.5rem; padding: 2rem; }
@media (min-width: 1024px) { .team__list { padding: 2.5rem; } }
.team__list ul { display: grid; gap: 1.25rem 2.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .team__list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .team__list ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team__list li { padding-top: 1rem; border-top: 1px solid var(--line); }
.team__list li + li { margin-top: 0; }
.team__name { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.team__name .accent { font-family: var(--font-body); font-size: 0.875rem; }
.team__list li .small { display: block; margin-top: 0.25rem; }
.entry .team a { text-decoration: none; }

/* Sekcje treści — odmiany */
.bha-sec--tight { padding-block: 2.5rem; }
.bha-sec--tight + .bha-sec--tight { padding-top: 2.5rem; }
.bha-sec--1200 > *, .bha-sec--1200 > .wp-block-group__inner-container { max-width: calc(1200px + 2 * var(--gutter)); }
.bha-sec--anchors { padding-bottom: 3rem; }
.bha-intro { max-width: 40rem; }
.entry .bha-display { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.bha-card--center, .bha-card--center > .wp-block-group__inner-container { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.bha-card--center > .wp-block-group__inner-container { height: auto; }
.bha-stack .wp-block-media-text + .wp-block-media-text { margin-top: 4rem; }
.entry h3.has-arc-top::after { display: none; }
.entry h3.has-arc-top::before { content: ""; display: block; width: 4rem; height: 0.75rem; margin-bottom: 1.5rem; background: var(--arc) no-repeat center / 100% 100%; }
.entry .bha-card h3 { font-size: 1.5rem; }
.entry .bha-value h3 { font-size: 1.5rem; }
.entry .bha-price h3 { font-size: 1.875rem; }
.entry .bha-spec h3 { font-size: clamp(1.875rem, 3vw, 2.25rem); }

.entry .bha-opening { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line-gold); border-radius: var(--r-lg); background: var(--card); }
@media (min-width: 640px) { .entry .bha-opening { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .entry .bha-opening { aspect-ratio: 3 / 2; } }
.entry .bha-opening img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; max-width: none; }

.entry .bha-cover { max-width: 560px; margin-inline: auto; }

.entry .bha-spec-meta.wp-block-columns { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bha-spec-meta .wp-block-column { flex: 0 1 auto; }
@media (min-width: 1024px) { .entry .bha-spec.wp-block-media-text .wp-block-media-text__media { min-height: 440px; } }
.bha-spec-meta .wp-block-column > * + * { margin-top: 0.25rem; }
.entry .bha-dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.entry .bha-dd { font-weight: 500; color: var(--ink); }
.entry .bha-dd em { display: block; margin-top: 0.125rem; font-size: 0.875rem; font-style: normal; font-weight: 400; color: var(--ink-muted); }
.entry .bha-dd--muted { font-size: 0.875rem; font-weight: 400; color: var(--ink-muted); }
.entry .bha-dd a { text-decoration: none; }

.entry .wp-block-video[hidden] { display: none; }

/* Treść wpisu bloga */
.entry-post h2 { margin-top: 3rem; font-size: 1.875rem; line-height: 1.2; }
.entry-post p { color: var(--ink-soft); line-height: 1.75; }
.entry-post > p:first-child { color: var(--ink); }
.entry-post ul { padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.7; }
.entry-post li + li { margin-top: 0.75rem; }
.entry-post li::marker { color: var(--accent); }
.entry-post blockquote { margin: 2.5rem 0 0; padding: 1.75rem; border-left: 2px solid var(--accent); border-radius: var(--r-lg); background: var(--card); }
.entry-post blockquote p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35; color: var(--ink); }
.entry-post blockquote p::before { content: "„"; }
.entry-post blockquote p::after { content: "”"; }
.entry-post img { border-radius: var(--r-lg); }
.entry-post a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-gold); }

/* Wybór języka */
.lang { display: flex; margin: 0; padding: 0; list-style: none; }
.lang-menu { position: relative; display: none; }
@media (min-width: 768px) { .lang-menu { display: block; } }
.lang-menu__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	height: 2.5rem;
	padding: 0 0.875rem;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	background: rgba(246, 236, 228, 0.06);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.lang-menu__btn::-webkit-details-marker { display: none; }
.lang-menu__btn svg { width: 10px; height: 7px; fill: none; stroke: var(--accent); stroke-width: 1.6; transition: transform 0.3s var(--ease); }
.lang-menu[open] .lang-menu__btn svg { transform: rotate(180deg); }
.lang-menu__btn:hover { border-color: var(--accent); }
.lang--dropdown {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	z-index: 60;
	flex-direction: column;
	min-width: 11rem;
	padding: 0.375rem;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: var(--bg);
	box-shadow: var(--shadow-lg);
	animation: panel-in 0.25s var(--ease);
}
.lang--dropdown .lang__link { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; border-radius: var(--r-sm); font-size: 0.875rem; color: var(--ink-soft); }
.lang--dropdown .lang__link:hover { background: rgba(246, 236, 228, 0.06); color: var(--ink); }
.lang--dropdown .lang__link.is-current { color: var(--accent); }
.lang__short { min-width: 1.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-muted); }
.lang--dropdown .is-current .lang__short { color: var(--accent); }

.nav__panel ul.lang--pills { flex-direction: row; gap: 0.5rem; margin-top: 1.25rem; }
.nav__panel .lang--pills .lang__link {
	justify-content: center;
	min-width: 3.25rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}
.nav__panel .lang--pills .lang__link.is-current { background: var(--accent); border-color: var(--accent); color: #17090D; }

/* Telefony: bez poziomego przewijania i z wygodnymi przyciskami */
@media (max-width: 480px) {
	.btn, .wp-block-button__link { padding: 0.9rem 1.4rem; }
	.btns .btn { flex: 1 1 auto; }
	.hero__content { padding-block: 3.5rem 4rem; }
	.nav { padding: 0.625rem 0.875rem; }
	.site-header { padding: 0.75rem; }
	.nav__panel { left: 0.75rem; right: 0.75rem; }
	.nav__video { padding: 0.5rem 0.75rem; }
	.entry td:last-child { white-space: normal; min-width: 5.5rem; }
	.quote__text { font-size: 1.4rem; }
	.card--pad, .bha-card { padding: 1.5rem; }
}
@media (max-width: 360px) {
	.nav__logo { font-size: 1rem; }
	.nav__video { display: none; }
}

/* =====================================================================
 * 14. OGRANICZONY RUCH
 * ===================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.marquee__track { animation: none; }
	.js .rv { opacity: 1; transform: none; }
	.js .arc path, .js .ring circle { stroke-dashoffset: 0; }
}

/* Karta "Akademia" w cenniku: zdjecie salonu z zewnatrz ma byc widoczne w calosci
   i zajmowac mniej miejsca, zeby opis szkolen sie zmiescil.
   Reszta kart na stronie zostaje bez zmian - stad selektor po ID.

   Domyslnie motyw rozciaga zdjecie na cala kolumne (position:absolute + object-fit:cover),
   przez co kadr jest przycinany pod wysokosc tekstu obok. Tutaj zdejmujemy to rozciaganie:
   obrazek wraca do normalnego przeplywu i pokazuje sie w swoich proporcjach. */
.entry #akademia.wp-block-media-text .wp-block-media-text__media {
	aspect-ratio: auto;
	min-height: 0;
	align-self: center;
}
.entry #akademia.wp-block-media-text .wp-block-media-text__media img {
	position: static;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}
@media (min-width: 1024px) {
	/* Na duzym ekranie ograniczamy szerokosc zdjecia - tekst dostaje reszte karty. */
	.entry #akademia.wp-block-media-text .wp-block-media-text__media {
		max-width: 34rem;
		padding: 2rem 0 2rem 2rem;
	}
}
