/*
Theme Name:  Hair Garden
Theme URI:   https://hairgarden.oktorej.pl
Author:      Oktorej
Description: Motyw salonu Hair Garden — kierunek wyprowadzony wprost z logo: ciemnozielona kreska na czystej bieli, dużo powietrza, jeden ciemny pas w stopce jako podpis marki. Motyw jasny, świadomie bez wariantu ciemnego. Wymaga wtyczki rezerwacyjnej OKtorej (ClickBook): nazwa salonu, telefon, adres, godziny otwarcia i cennik pochodzą z jej ustawień, a sekcja rezerwacji osadza jej widget. Bez wtyczki strona nadal działa — pokazuje dane zapasowe i chowa rezerwację.
Version:     2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License:     GPL-2.0-or-later
Text Domain: hair-garden
Tags:        one-column, custom-menu, custom-logo, translation-ready
*/

/* ============================================================
   Paleta:  Biel #FFFFFF · Wash #F5F8F3 · Zieleń marki #1D4A2E
            Zieleń głęboka #133220 · Atrament #16241B · Ciepły #A9744E

   Typografia: Iowan Old Style / Palatino — kursywa jak w logotypie
               Avenir Next — tekst i rozstrzelone wersaliki
   ============================================================ */

:root {
	color-scheme: light;

	--paper:      #FFFFFF;
	--wash:       #F5F8F3;
	--wash-2:     #EDF2E9;
	--ink:        #16241B;
	--ink-soft:   #4C5D51;
	--ink-faint:  #87958B;
	--line:       #DFE6DA;
	--line-soft:  #EDF1E9;

	/* Zieleń pobrana wprost z kreski logo (rdzeń ≈ #163916) — czysty,
	   głęboki zielony bez niebieskiego zafarbu. */
	--brand:      #1C4622;
	--brand-soft: #2A6435;
	--brand-deep: #102E17;
	--brand-wash: #E5EEE2;
	--on-brand:   #F3F8F1;
	--on-brand-soft: #A6BFAB;

	--warm:       #A9744E;

	--shadow-card: 0 1px 2px rgba(16, 46, 23, .04), 0 14px 34px -22px rgba(16, 46, 23, .3);

	--serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', 'Hoefler Text', Georgia, serif;
	--sans: 'Avenir Next', Avenir, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

	/* Kroje logotypu — wyłącznie w znaku, nie w nagłówkach. Didone ma
	   włoskowate cienkie kreski: świetny w logo, kruchy w tekście. */
	--logo-serif: Didot, 'Bodoni 72', 'Playfair Display', 'Hoefler Text', 'Iowan Old Style', Georgia, serif;
	--logo-sans: Futura, 'Century Gothic', 'Avenir Next', 'Trebuchet MS', sans-serif;

	--measure: 62ch;
	--pad: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- baza ---------- */

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

p {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 2px;
}

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

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 200;
	width: auto;
	height: auto;
	clip: auto;
	padding: .75rem 1.25rem;
	background: var(--brand);
	color: var(--on-brand);
	border-radius: 999px;
}

.wrap {
	width: min(1120px, 100%);
	margin-inline: auto;
	padding-inline: var(--pad);
}

.eyebrow {
	margin: 0;
	font-size: .688rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.lede {
	max-width: var(--measure);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

/* ---------- nagłówek ---------- */

.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(1.3) blur(12px);
	border-bottom: 1px solid var(--line-soft);
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 78px;
}

/* Logotyp poziomy: znak z logo salonu obok logotypu złożonego z tekstu.
   Pionowy oryginał (ilustracja nad dwoma wierszami) w 78-pikselowym pasku
   miałby nieczytelny napis, więc rozkładam go w poziomie — standardowy
   zabieg przy przenoszeniu znaku pionowego do nagłówka.
   W oryginale napis jest czarny, a zielona jest tylko ilustracja. */
.brand {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin-right: auto;
	text-decoration: none;
	color: var(--ink);
}

.brand__mark {
	height: 54px;
	width: auto;
	flex: none;
}

.brand__type {
	display: block;
}

/* Logotyp nigdy się nie łamie — dwuwierszowe „Hair / Garden" to już inny znak. */
.brand__name {
	display: block;
	font-family: var(--logo-serif);
	font-style: italic;
	font-size: 1.4rem;
	line-height: 1;
	letter-spacing: .005em;
	color: var(--ink);
	white-space: nowrap;
}

.brand__sub {
	display: block;
	margin-top: .3rem;
	font-family: var(--logo-sans);
	font-size: .5rem;
	font-weight: 400;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ink-soft);
	white-space: nowrap;
}

.brand .custom-logo {
	max-height: 62px;
	width: auto;
}

@media (max-width: 420px) {
	.brand__mark { height: 44px; }
	.brand__name { font-size: 1.2rem; }
}

.nav {
	display: flex;
	gap: 1.75rem;
	font-size: .875rem;
}

.nav ul {
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav a {
	padding-block: .25rem;
	color: var(--ink-soft);
	text-decoration: none;
	background-image: linear-gradient(var(--brand), var(--brand));
	background-size: 0% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .28s ease, color .28s ease;
}

.nav a:hover {
	color: var(--brand);
	background-size: 100% 1px;
}

.tel {
	font-size: .875rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--ink-soft);
	text-decoration: none;
}

.tel:hover {
	color: var(--brand);
}

/* Na wąskich ekranach CTA przejmuje przyklejony pasek na dole. */
@media (max-width: 900px) {
	.nav,
	.tel,
	.topbar__inner > .btn {
		display: none;
	}

	.brand {
		text-align: left;
	}

	.brand__sub-city {
		display: none;
	}
}

/* ---------- przyciski ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .8rem 1.6rem;
	font-family: var(--sans);
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: transform .18s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--solid {
	background: var(--brand);
	color: var(--on-brand);
}

.btn--solid:hover {
	background: var(--brand-soft);
}

.btn--outline {
	background: transparent;
	color: var(--brand);
	border-color: var(--line);
}

.btn--outline:hover {
	border-color: var(--brand);
}

/* ---------- hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--paper);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
	gap: 0 clamp(2rem, 6vw, 5rem);
	align-items: center;
	padding-block: clamp(3.5rem, 10vw, 7rem);
}

.hero__title {
	max-width: 15ch;
	margin-block: 1.5rem 1.75rem;
	font-size: clamp(2.3rem, 6.2vw, 4.3rem);
	line-height: 1.04;
	letter-spacing: -0.024em;
	color: var(--brand-deep);
}

.hero__title em {
	font-style: italic;
	color: var(--brand);
}

.hero__lede {
	max-width: 46ch;
	font-size: 1.06rem;
	color: var(--ink-soft);
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 2.25rem;
}

.hero__trust {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-top: 2.25rem;
	font-size: .813rem;
	color: var(--ink-faint);
}

.stars {
	font-size: .75rem;
	letter-spacing: .12em;
	color: var(--warm);
}

/* Rozwiane włosy z logotypu, sprowadzone do samych linii. */
.hair {
	position: absolute;
	right: -8%;
	bottom: -12%;
	width: min(52vw, 640px);
	pointer-events: none;
	opacity: .16;
}

.hair path {
	fill: none;
	stroke: var(--brand);
	stroke-width: 1.1;
	stroke-linecap: round;
}

.hero__card {
	position: relative;
	padding: 1.6rem;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--paper);
	box-shadow: var(--shadow-card);
}

.hero__card h2 {
	margin-bottom: 1rem;
	font-family: var(--sans);
	font-size: .688rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.hours {
	width: 100%;
	border-collapse: collapse;
	font-size: .875rem;
	font-variant-numeric: tabular-nums;
}

.hours td {
	padding: .42rem 0;
	border-bottom: 1px solid var(--line-soft);
}

.hours tr:last-child td {
	border-bottom: 0;
}

.hours td:first-child {
	color: var(--ink-soft);
}

.hours td:last-child {
	text-align: right;
	color: var(--ink);
}

.hours .is-closed td:last-child {
	color: var(--ink-faint);
}

.now-pill {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin-top: 1.1rem;
	font-size: .75rem;
	letter-spacing: .04em;
	color: var(--ink-faint);
}

.now-pill i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	font-style: normal;
	background: #3E8C55;
	box-shadow: 0 0 0 3px rgba(62, 140, 85, .16);
}

.now-pill.is-shut i {
	background: var(--warm);
	box-shadow: 0 0 0 3px rgba(169, 116, 78, .16);
}

@media (max-width: 1000px) {
	.hero__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.hero__card {
		max-width: 380px;
	}

	.hair {
		display: none;
	}
}

/* ---------- pas dowodów ---------- */

.proof {
	border-block: 1px solid var(--line);
	background: var(--wash);
}

.proof__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
}

.proof__cell {
	padding: 1.6rem clamp(1rem, 3vw, 2rem);
	background: var(--wash);
}

.proof__cell strong {
	display: block;
	margin-bottom: .3rem;
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--brand-deep);
}

.proof__cell span {
	font-size: .813rem;
	color: var(--ink-faint);
}

@media (max-width: 860px) {
	.proof__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- sekcje ---------- */

.section {
	padding-block: clamp(3.5rem, 9vw, 6.5rem);
	border-bottom: 1px solid var(--line);
}

.section:last-of-type {
	border-bottom: 0;
}

.section__head {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0 3rem;
	margin-bottom: 3rem;
}

.section__head-inner {
	max-width: var(--measure);
}

.section__title {
	margin-block: .85rem .9rem;
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
	line-height: 1.14;
	color: var(--brand-deep);
}

.section__title em {
	font-style: italic;
	color: var(--brand);
}

.section__body {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0 3rem;
}

@media (max-width: 1000px) {
	.section__head,
	.section__body {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.section__head > .rail-mark,
	.section__body > .rail-mark {
		display: none;
	}
}

.rail-mark {
	padding-top: .55rem;
	font-size: .688rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

/* ---------- o salonie ---------- */

.about {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

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

.about__prose {
	max-width: var(--measure);
	color: var(--ink-soft);
}

.about__prose p + p {
	margin-top: 1.1rem;
}

.pullquote {
	margin: 0 0 1.75rem;
	padding-left: 1.5rem;
	border-left: 2px solid var(--brand);
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.3rem, 2.6vw, 1.75rem);
	line-height: 1.35;
	color: var(--brand-deep);
}

.pullquote cite {
	display: block;
	margin-top: .9rem;
	font-family: var(--sans);
	font-style: normal;
	font-size: .688rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.portrait {
	display: grid;
	place-content: center;
	gap: .4rem;
	padding: 2rem;
	aspect-ratio: 4 / 5;
	text-align: center;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: var(--wash);
	overflow: hidden;
}

.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3px;
}

.ph-label {
	font-size: .688rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.ph-note {
	max-width: 24ch;
	margin-inline: auto;
	font-size: .813rem;
	color: var(--ink-faint);
}

/* ---------- usługi ---------- */

.services {
	border-top: 1px solid var(--line-soft);
}

.svc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 100px 120px;
	gap: 1rem 1.5rem;
	align-items: baseline;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--line-soft);
}

.svc__name {
	font-family: var(--serif);
	font-size: 1.2rem;
	color: var(--brand-deep);
}

.svc__desc {
	grid-column: 1 / -1;
	max-width: 58ch;
	margin-top: -.6rem;
	font-size: .875rem;
	color: var(--ink-faint);
}

.svc__dur {
	text-align: right;
	font-size: .813rem;
	font-variant-numeric: tabular-nums;
	color: var(--ink-faint);
}

.svc__price {
	text-align: right;
	white-space: nowrap;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	color: var(--brand);
}

.svc__price b {
	font-weight: 600;
}

@media (max-width: 640px) {
	.svc {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.svc__dur {
		grid-row: 2;
		grid-column: 2;
	}

	.svc__desc {
		grid-row: 2;
		grid-column: 1;
		margin-top: 0;
	}
}

.note {
	max-width: 56ch;
	margin-top: 1.5rem;
	padding-left: 1rem;
	border-left: 2px solid var(--line);
	font-size: .813rem;
	color: var(--ink-faint);
}

/* ---------- kroki wizyty ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	border: 1px solid var(--line);
	background: var(--line);
}

.step {
	padding: 1.75rem 1.5rem;
	background: var(--paper);
}

.step__n {
	display: block;
	margin-bottom: .9rem;
	font-family: var(--serif);
	font-size: .875rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .08em;
	color: var(--brand);
}

.step h3 {
	margin-bottom: .5rem;
	font-size: 1.125rem;
	color: var(--brand-deep);
}

.step p {
	font-size: .875rem;
	color: var(--ink-faint);
}

@media (max-width: 860px) {
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

/* ---------- galeria ---------- */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
}

.tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: 1rem;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid var(--line);
	border-radius: 3px;
}

.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--sw);
}

.tile img {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tile span {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #FBF7F2;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

/* ---------- rezerwacja ---------- */

.booking {
	background: var(--wash);
}

/* ---------- widget rezerwacji (wtyczka OKtorej/ClickBook) ----------
   Widget montuje się w .bw-root i przynosi własne tokeny — domyślnie
   oliwkę OKtorej, czyli NASZ kolor firmowy, nie salonu. Przemalowanie
   idzie przez te zmienne; selektor .bw-root wygrywa specyficznością
   z :root, więc wystarczy to jedno miejsce.

   Wartości w oklch, bo taka jest skala widgetu. Wyprowadzone z zieleni
   kreski logo (#1C4622) — samo obrócenie `hue` nie zadziałałoby:
   chroma tej zieleni to 0.077 i trzeba ruszyć wszystkie trzy składowe. */
.bw-root {
	--color-brand-50: oklch(0.971 0.009 134.9);
	--color-brand-100: oklch(0.939 0.019 137.8);
	--color-brand-200: oklch(0.916 0.018 131.9);
	--color-brand-300: oklch(0.829 0.031 151.4);
	--color-brand-400: oklch(0.618 0.053 152.1);
	--color-brand-500: oklch(0.481 0.075 150.0);
	--color-brand-600: oklch(0.354 0.077 146.6);
	--color-brand-700: oklch(0.314 0.065 147.5);
	--color-brand-800: oklch(0.271 0.055 149.1);
	--color-brand-900: oklch(0.216 0.041 149.6);

	/* Akcent jest kolorem WYŁĄCZNIE NA TŁO — jako tekst daje ~1.6:1.
	   Idzie zawsze w parze z accent-fg, tak jak w oryginale widgetu. */
	--color-accent: oklch(0.876 0.038 67.3);
	--color-accent-fg: oklch(0.271 0.055 149.1);

	--color-text: oklch(0.244 0.026 155.8);
	--color-text-soft: oklch(0.46 0.028 154.4);
	--color-text-mute: oklch(0.46 0.028 154.4);
	--color-border: oklch(0.916 0.018 131.9);
	--color-border-strong: oklch(0.876 0.024 133.0);

	--color-surface-2: oklch(0.992 0.003 132.4);
	--color-surface-3: oklch(0.984 0.005 132.4);
	--color-surface-4: oklch(0.975 0.007 132.4);
	--color-surface-5: oklch(0.958 0.012 134.0);
	--color-surface-6: oklch(0.939 0.019 137.8);

	/* Widget ma własny stos systemowy; tu font strony jest ustawiony na pewno. */
	font-family: inherit;
}

/* Panel widgetu ma dosiadać tła sekcji, nie pływać nad nim bez ramy. */
.booking .bw-root {
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--paper);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

/* ---------- opinie ---------- */

.reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

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

.review {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	min-height: 170px;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: var(--paper);
}

.review.is-placeholder {
	border-style: dashed;
}

.review__mark {
	font-family: var(--serif);
	font-size: 2rem;
	line-height: .6;
	color: var(--brand-wash);
}

.review__text {
	font-size: .938rem;
	color: var(--ink-soft);
}

.review__slot {
	font-size: .875rem;
	font-style: italic;
	color: var(--ink-faint);
}

.review__meta {
	margin-top: auto;
	font-size: .688rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.score {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: var(--wash);
}

.score__big {
	font-family: var(--serif);
	font-size: 2.25rem;
	line-height: 1;
	color: var(--brand);
}

.score__txt {
	font-size: .875rem;
	color: var(--ink-faint);
}

.score a {
	color: var(--brand);
	text-underline-offset: 3px;
}

/* ---------- kontakt ---------- */

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
}

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

.contact dl {
	display: grid;
	margin: 0;
}

.contact__row {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 1rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: .938rem;
}

.contact__row dt {
	padding-top: .25rem;
	font-size: .688rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.contact__row dd {
	margin: 0;
}

.contact__row a {
	color: var(--ink);
	text-decoration-color: var(--line);
	text-underline-offset: 3px;
}

.contact__row a:hover {
	color: var(--brand);
	text-decoration-color: var(--brand);
}

.map {
	display: grid;
	place-content: center;
	gap: .5rem;
	min-height: 300px;
	padding: 2rem;
	text-align: center;
	border: 1px solid var(--line);
	border-radius: 3px;
	background:
		linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 46px,
		linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 46px 100%,
		var(--wash);
}

.map iframe {
	width: 100%;
	min-height: 300px;
	border: 0;
	border-radius: 3px;
}

.map__pin {
	width: 12px;
	height: 12px;
	margin: 0 auto .75rem;
	border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 0 0 6px rgba(29, 74, 46, .16);
}

/* ---------- stopka: jedyny ciemny pas, podpis marki ---------- */

.footer {
	padding-block: 3.5rem 2.5rem;
	background: var(--brand-deep);
	color: var(--on-brand-soft);
	font-size: .875rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(169, 193, 175, .2);
}

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

.footer h2 {
	margin: 0 0 1rem;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.15rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--on-brand);
}

.footer ul {
	display: grid;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer a {
	color: var(--on-brand-soft);
	text-decoration: none;
}

.footer a:hover {
	color: var(--on-brand);
}

.footer__brand {
	max-width: 34ch;
	color: var(--on-brand-soft);
}

.footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.75rem;
	font-size: .75rem;
	color: rgba(169, 193, 175, .7);
}

/* ---------- pasek mobilny ---------- */

.mobilebar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 60;
	display: none;
	gap: .5rem;
	padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(12px);
}

.mobilebar .btn {
	flex: 1;
}

@media (max-width: 900px) {
	.mobilebar {
		display: flex;
	}

	body {
		padding-bottom: 72px;
	}
}

/* ---------- animacje ---------- */

.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

.rise {
	opacity: 0;
	transform: translateY(16px);
	animation: rise .9s cubic-bezier(.2, .7, .3, 1) forwards;
}

.rise:nth-child(1) { animation-delay: .05s; }
.rise:nth-child(2) { animation-delay: .16s; }
.rise:nth-child(3) { animation-delay: .27s; }
.rise:nth-child(4) { animation-delay: .38s; }
.rise:nth-child(5) { animation-delay: .49s; }

@keyframes rise {
	to {
		opacity: 1;
		transform: none;
	}
}

.hair path {
	stroke-dasharray: 900;
	stroke-dashoffset: 900;
	animation: draw 2.6s cubic-bezier(.3, .7, .3, 1) forwards;
}

.hair path:nth-child(1) { animation-delay: .1s; }
.hair path:nth-child(2) { animation-delay: .25s; }
.hair path:nth-child(3) { animation-delay: .4s; }
.hair path:nth-child(4) { animation-delay: .55s; }
.hair path:nth-child(5) { animation-delay: .7s; }
.hair path:nth-child(6) { animation-delay: .85s; }

@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		transition-duration: .001ms !important;
	}

	.reveal,
	.rise {
		opacity: 1;
		transform: none;
	}

	.hair path {
		stroke-dashoffset: 0;
	}
}
