/*
Theme Name: AdwokatUSA E3-B1 · Granat
Theme URI: https://www.adwokatusa.com/
Author: Cieszyński Law Group LLC
Author URI: https://www.adwokatusa.com/
Description: Wariant E3-B1: mozaika na białym tle w granacie, małe zdjęcie założyciela przy nazwisku. Na bazie motywu Urban Slate · Gabinet 2.5.4.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: adwokatusa-slate-gabinet
Tags: one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, blog
*/

/* ==========================================================================
   Baza wspólna dla wszystkich wariantów (zmienne definiuje wariant)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-body, 1.0625rem);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.site-main:focus { outline: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto; clip-path: none; width: auto; height: auto; z-index: 100000;
	background: var(--surface); color: var(--text); padding: 1rem;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--accent); color: var(--accent-ink); padding: .75rem 1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2rem, var(--wrap, 1200px)); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(100% - 4rem, var(--wrap, 1200px)); } }

.section { padding-block: var(--section-y, clamp(4rem, 9vw, 8rem)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Przyciski ------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .7em 1.25em;
	border: 1px solid transparent; border-radius: var(--radius-btn, 6px);
	font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover, var(--text)); color: var(--accent-ink); }
.btn--ghost { border-color: var(--line-strong, var(--line)); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--lg { min-height: 52px; padding: .9em 1.6em; font-size: 1rem; }

/* Pasek górny ----------------------------------------------------------- */
.topbar { font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.topbar__contact { display: flex; gap: 1.25rem; }
.topbar a { text-decoration: none; }
@media (max-width: 719px) { .topbar__promise { display: none; } .topbar__in { justify-content: center; } }

/* Nagłówek -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg, var(--bg)); transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { margin-right: auto; }
.brand__name { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; }
.brand__name:hover { color: var(--text); }
.custom-logo { max-height: 44px; width: auto; }
@media (max-width: 479px) { .brand__text { font-size: .95rem; white-space: nowrap; } .nav-toggle__label { display: none; } .nav-toggle { padding: 0 .8rem; } }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav .menu { display: flex; gap: 1.5rem; list-style: none; }
.site-nav .menu a { text-decoration: none; font-size: var(--fs-menu, .95rem); color: var(--muted); }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--text); }
.site-nav .sub-menu { display: none; }

.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1px solid var(--line); border-radius: var(--radius-btn, 6px); min-height: 44px; padding: 0 .9rem; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h, 72px) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 2rem;
		padding: 2rem 1rem 6rem; background: var(--bg);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
		overflow-y: auto;
	}
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 1rem 0; font-size: 1.5rem; color: var(--text); border-bottom: 1px solid var(--line); font-family: var(--font-display); }
	.site-nav__cta { align-self: flex-start; }
	.nav-open { overflow: hidden; }
}

/* Nagłówek podstrony ---------------------------------------------------- */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: calc(clamp(2.25rem, 5vw, 4rem) * var(--h-scale, 1)); max-width: none; text-wrap: pretty; }
.page-head__lead { margin-top: 1.25rem; max-width: 60ch; color: var(--muted); font-size: 1.125rem; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .875rem; }
.page-head__code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 11rem); line-height: 1; color: var(--accent); margin-bottom: 1rem; }
.page-head .search-form { margin-top: 2rem; }

/* Lista wpisów ---------------------------------------------------------- */
.post-list { display: grid; }
.post-row { border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row__link { display: grid; gap: .5rem; padding-block: 1.75rem; text-decoration: none; }
.post-row__link:hover { color: inherit; }
.post-row__link:hover .post-row__title { color: var(--accent); }
.post-row__meta { display: flex; gap: 1rem; font-size: .8125rem; color: var(--muted); }
.post-row__cat { color: var(--accent); }
.post-row__title { font-family: var(--font-display); font-size: calc(clamp(1.25rem, 2.2vw, 1.6rem) * var(--h-scale, 1)); line-height: 1.2; font-weight: 600; transition: color .2s; max-width: 40ch; }
.post-row__excerpt { color: var(--muted); max-width: 70ch; }

.empty { padding: 3rem 0; color: var(--muted); display: grid; gap: 1.5rem; }

.pagination .nav-links, .post-nav .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--radius-btn, 6px); text-decoration: none; }
.pagination .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.post-nav { padding-bottom: 3rem; }
.post-nav .nav-links { justify-content: space-between; }
.post-nav a { display: grid; gap: .25rem; max-width: 40ch; text-decoration: none; font-family: var(--font-display); font-size: 1.1rem; }
.post-nav .nav-next { margin-left: auto; text-align: right; }
.post-nav__label { font-family: var(--font-body); font-size: .8125rem; color: var(--muted); }

/* Wpis ------------------------------------------------------------------ */
.single__thumb { margin-block: 2.5rem 0; }
.single__thumb img { width: 100%; border-radius: var(--radius-lg, 8px); }
.single__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) {
	.single__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 5rem; max-width: calc(var(--content-w, 70ch) + 300px + 5rem); }
	.no-post-sidebar .single__grid { grid-template-columns: minmax(0, 1fr); max-width: var(--content-w, 70ch); }
	.no-post-sidebar .single__aside { position: static; }
}
.single__aside { display: grid; gap: 2rem; align-content: start; }
@media (min-width: 1024px) { .single__aside { position: sticky; top: 96px; } }
.ask { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg, 8px); background: var(--surface); display: grid; gap: 1rem; color: var(--muted); }
.ask__title { font-family: var(--font-display); font-size: calc(1.35rem * var(--h-scale, 1)); color: var(--text); line-height: 1.2; }
.ask .btn { justify-self: start; }
.disclaimer { color: var(--muted); font-size: .8125rem; padding-bottom: 1.5rem; }
.widget { color: var(--muted); }
.widget__title { font-size: 1rem; margin-bottom: .75rem; color: var(--text); }
.widget ul { list-style: none; display: grid; gap: .5rem; }

/* Treść edytora --------------------------------------------------------- */
.entry-content { max-width: var(--content-w, var(--page-w, 70ch)); font-size: var(--fs-body, 1.0625rem); }
.entry-content > .alignwide, .entry-content > .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.entry-content { overflow-wrap: break-word; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-size: calc(clamp(1.6rem, 3vw, 2.1rem) * var(--h-scale, 1)); margin-top: 2.2em; }
.entry-content h3 { font-size: calc(1.35rem * var(--h-scale, 1)); margin-top: 1.8em; }
.entry-content h4 { font-size: calc(1.1rem * var(--h-scale, 1)); margin-top: 1.6em; }
.entry-content a { color: var(--accent); }
.entry-content a:hover { color: var(--text); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content blockquote, .wp-block-quote { margin-inline: 0; padding: .25em 0 .25em 1.5em; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; }
.entry-content cite { display: block; margin-top: .75em; font-family: var(--font-body); font-size: .875rem; font-style: normal; color: var(--muted); }
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: .75em 1em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { color: var(--text); font-weight: 600; }
.entry-content code { font-family: var(--font-mono, ui-monospace, monospace); font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: 4px; }
.entry-content pre { overflow-x: auto; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, 8px); }
.entry-content pre code { background: none; padding: 0; }
.entry-content img { border-radius: var(--radius-lg, 8px); }
.entry-content figcaption, .wp-element-caption { margin-top: .6em; font-size: .875rem; color: var(--muted); }
.entry-content strong { color: var(--text); }
.wp-block-button__link { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-btn, 6px); padding: .75em 1.4em; font-weight: 600; text-decoration: none; }
.entry-content .wp-block-button__link { color: var(--accent-ink); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--text); border: 1px solid var(--line-strong, var(--line)); }
.has-text-align-center { text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.alignwide { max-width: none; }
.wp-block-image, .wp-block-embed { margin-inline: 0; }
.sticky, .bypostauthor, .gallery-caption { }

/* Formularze ------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], textarea, select {
	width: 100%; min-height: 48px; padding: .75em 1em;
	background: var(--surface); color: var(--text);
	border: 1px solid var(--line-strong, var(--line)); border-radius: var(--radius-btn, 6px);
	font: inherit;
}
textarea { min-height: 160px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
::placeholder { color: var(--muted); opacity: .8; }
label { display: block; margin-bottom: .4rem; font-size: .9rem; color: var(--muted); }
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-form__input { flex: 1; }
input[type="submit"], .wpcf7-submit { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius-btn, 6px); min-height: 48px; padding: 0 1.5rem; font-weight: 600; cursor: pointer; }

/* Komentarze ------------------------------------------------------------ */
.comments { max-width: 70ch; padding-bottom: 3rem; }
.comments__title { font-size: calc(1.5rem * var(--h-scale, 1)); margin-bottom: 1.5rem; }
.comment-list { list-style: none; display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.comment-body { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg, 8px); }
.comment-meta { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.comment-form > p { margin-bottom: 1rem; }

/* Zamykające CTA (bazowy układ) ----------------------------------------- */
.cta__in { display: grid; gap: 1.25rem; }
.cta__lead { color: var(--muted); max-width: 52ch; font-size: 1.125rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }

/* Stopka ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; padding-top: clamp(3rem, 6vw, 5rem); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1.4fr 1fr; gap: 4rem; } }
.site-footer__about { display: grid; gap: 1rem; max-width: 42ch; align-content: start; }
.site-footer__name { font-family: var(--font-display); color: var(--text); font-size: 1.25rem; font-weight: 600; }
.site-footer__social { display: flex; gap: 1.25rem; }
.site-footer__title { font-family: var(--font-body); font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .8125rem; }
.site-footer__bottom .menu { display: flex; gap: 1.5rem; }
.site-footer__top { margin-left: auto; }

/* Pasek mobilny --------------------------------------------------------- */
.mobile-bar { display: none; }
@media (max-width: 719px) {
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
		background: var(--header-bg, var(--bg)); border-top: 1px solid var(--line);
	}
	body { padding-bottom: 72px; }
}


/* ==========================================================================
   Urban Slate — paleta i elementy wspólne dla trzech wariantów
   Łupek (slate) · beton (concrete) · grafit (steel)
   ========================================================================== */
:root {
	--slate-950: #12181D;
	--slate-900: #1A232A;
	--slate-800: #25313A;
	--slate-700: #34424D;
	--slate-500: #56636E;
	--slate-300: #A9B4BD;
	--concrete-100: #E9EDF0;
	--concrete-50: #F4F6F7;
	--white: #FFFFFF;
	--steel: #4A5057;
	--steel-light: #B8BEC4;
	--steel-dark: #2F3439;

	--font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Archivo", system-ui, sans-serif;
	--font-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--radius-btn: 0;
	--radius-lg: 0;
	--wrap: 1320px;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.012em; }
.btn { font-stretch: 108%; font-weight: 600; letter-spacing: .01em; }

/* Znak firmy (gdy brak logo) */
.brand__mark {
	display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .45rem;
	font-stretch: 112%; font-weight: 800; font-size: .78rem; letter-spacing: .06em;
	background: var(--mark-bg, var(--slate-900)); color: var(--mark-ink, var(--concrete-50));
	border-bottom: 3px solid var(--mark-line, var(--steel));
}
.brand__text { font-stretch: 108%; font-weight: 600; letter-spacing: -.005em; }

/* Linijka nad nagłówkiem */
.eyebrow {
	display: flex; align-items: center; gap: .75rem;
	font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--eyebrow, var(--accent));
}
.eyebrow::before { content: ""; flex: none; width: 2rem; height: 1px; background: currentColor; }

.text-link { color: var(--link, var(--accent)); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.text-link::after { content: " →"; }
.text-link:hover { color: var(--text); }

.section-head { display: grid; gap: 1rem; align-content: start; }
.section-head__title { font-size: calc(clamp(2.1rem, 4.6vw, 3.5rem) * var(--h-scale, 1)); line-height: 1; font-stretch: 112%; }
.section-head__lead { color: var(--muted); font-size: 1.0625rem; max-width: 40ch; }

/* Portret -------------------------------------------------------------- */
.portrait { margin: 0; position: relative; }
.portrait__frame { position: relative; overflow: hidden; aspect-ratio: var(--portrait-ratio, 4 / 5); background: var(--slate-800); }
.portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--portrait-y, 25%); }
.portrait__ph {
	position: absolute; inset: 0; display: grid; place-items: center;
	background:
		repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(233, 237, 240, .07) calc(12.5% - 1px) 12.5%),
		linear-gradient(165deg, var(--slate-700) 0%, var(--slate-900) 55%, var(--slate-950) 100%);
}
.portrait__ph::after { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 1px; background: rgba(184, 190, 196, .45); }
.portrait__initials {
	position: relative; font-family: var(--font-display); font-stretch: 62%; font-weight: 300;
	font-size: clamp(6rem, 16vw, 13rem); line-height: 1; letter-spacing: -.02em; color: rgba(233, 237, 240, .22);
}
.portrait__add {
	position: absolute; z-index: 3; right: 1rem; top: 1rem;
	padding: .55rem .85rem; background: var(--steel); color: var(--white);
	font-size: .8125rem; font-weight: 600; text-decoration: none;
}
.portrait__add:hover { background: var(--steel-dark); color: var(--white); }
/* Portret dołączony do motywu: kwadratowe zdjęcie, twarz na ok. 30% wysokości */
.portrait--bundled .portrait__img { object-position: 50% 30%; }
.portrait__name { display: block; font-family: var(--font-display); font-weight: 700; font-stretch: 108%; }
.portrait__role { display: block; font-size: .875rem; }

/* Zegary (układ ustala wariant) ---------------------------------------- */
.clock { display: grid; gap: .4rem; align-content: start; }
.clock p { margin: 0; }
.clock__place { font-size: .875rem; }
.clock__time { font-stretch: 112%; font-weight: 300; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .7rem; }
.clock__day { font-size: 1rem; font-stretch: 100%; font-weight: 600; letter-spacing: 0; }
.clock__note { font-size: .8125rem; }
.clock__colon { animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Usługi: akordeon ------------------------------------------------------ */
.services__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .services__grid { grid-template-columns: 360px 1fr; gap: 5rem; } .services .section-head { position: sticky; top: 110px; align-self: start; } }
.acc { border-top: 1px solid var(--line-strong); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__summary { list-style: none; display: grid; grid-template-columns: 2.5rem 1fr auto 28px; align-items: center; gap: 1.25rem; padding: 1.6rem 0; cursor: pointer; }
.acc__summary::-webkit-details-marker { display: none; }
.acc__summary:hover .acc__title { color: var(--accent); }
.acc__summary:focus-visible { outline-offset: 0; }
.acc__num { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.acc__title { font-stretch: 112%; font-weight: 700; font-size: calc(clamp(1.2rem, 2.2vw, 1.75rem) * var(--h-scale, 1)); line-height: 1.15; transition: color .2s; }
.acc__count { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.acc__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-strong); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform .25s; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item[open] .acc__icon { background: var(--accent); border-color: var(--accent); }
.acc__item[open] .acc__icon::before, .acc__item[open] .acc__icon::after { background: var(--accent-ink); }
.acc__item[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { padding: 0 0 2rem calc(2.5rem + 1.25rem); display: grid; gap: 1.25rem; }
.acc__lead { color: var(--muted); max-width: 56ch; }
.acc__items { list-style: none; display: grid; }
@media (min-width: 640px) { .acc__items { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.acc__items li { padding: .75rem 0; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .acc__count { display: none; } .acc__summary { grid-template-columns: 2rem 1fr 28px; gap: .9rem; } .acc__body { padding-left: 0; } }

/* Kroki ----------------------------------------------------------------- */
.steps__head { display: grid; gap: 1rem; }
.steps__list { list-style: none; display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps__item { display: grid; gap: .65rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.steps__num { font-stretch: 112%; font-weight: 300; font-size: 3.25rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps__title { font-size: calc(1.5rem * var(--h-scale, 1)); font-stretch: 108%; }
.steps__item p { color: var(--muted); max-width: 34ch; }

/* Wiedza ---------------------------------------------------------------- */
.notes__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.notes__head .eyebrow { margin-bottom: 1rem; }
.notes__grid { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 860px) { .notes__grid { grid-template-columns: repeat(3, 1fr); } .note + .note { border-left: 1px solid var(--line); } }
.note a { display: grid; gap: .9rem; height: 100%; padding: 2rem 0; text-decoration: none; align-content: start; grid-template-rows: auto auto 1fr auto; }
@media (min-width: 860px) { .note a { padding: 2rem 2rem 2.25rem; } .note:first-child a { padding-left: 0; } }
.note + .note a { border-top: 1px solid var(--line); }
@media (min-width: 860px) { .note + .note a { border-top: 0; } }
.note a:hover { color: inherit; }
.note a:hover .note__title { color: var(--accent); }
.note__cat { color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.note__title { font-stretch: 108%; font-weight: 700; font-size: calc(1.3rem * var(--h-scale, 1)); line-height: 1.22; transition: color .2s; }
.note__excerpt { color: var(--muted); font-size: .95rem; }
.note__date { color: var(--muted); font-size: .8125rem; }

/* Założyciel (bazowy) --------------------------------------------------- */
.founder__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .founder__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.founder__head { display: grid; gap: 1rem; align-content: start; }
.founder__name { font-size: calc(clamp(2.1rem, 4.4vw, 3.75rem) * var(--h-scale, 1)); line-height: .98; max-width: 12ch; font-stretch: 112%; }
.founder__role { color: var(--muted); }
.founder__body { display: grid; gap: 1.75rem; align-content: start; }
.founder__bio { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.45; max-width: 46ch; }
.founder__facts { width: 100%; border-collapse: collapse; font-size: .95rem; }
.founder__facts th, .founder__facts td { text-align: left; vertical-align: top; padding: .9rem 0; border-top: 1px solid var(--line); }
.founder__facts tr:last-child th, .founder__facts tr:last-child td { border-bottom: 1px solid var(--line); }
.founder__facts th { color: var(--muted); font-weight: 400; width: 34%; padding-right: 1.5rem; }

/* CTA (bazowy) ---------------------------------------------------------- */
.cta { padding-block: clamp(4rem, 9vw, 7.5rem); }
.cta__title { font-size: calc(clamp(2.4rem, 6vw, 5.5rem) * var(--h-scale, 1)); line-height: .96; max-width: 14ch; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }

.page-head__title { font-weight: 800; letter-spacing: -.02em; font-stretch: 112%; }
.post-row__title { font-stretch: 108%; }

/* Białe tło we wszystkich wariantach: sekcje rozdzielają linie, nie kolorowe pasy ----- */
.topbar { background: var(--bg); color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--text); }
.topbar a:hover { color: var(--accent); }
.cta { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); }
.cta__in::before { content: ""; width: 3.5rem; height: 3px; background: var(--accent); margin-bottom: .5rem; }
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.site-footer a:hover { color: var(--accent); }

/* WooCommerce: przyciski, ceny, oceny i zakładki w kolorach motywu ------------------ */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	padding: .75em 1.35em; border: 1px solid var(--line-strong); border-radius: var(--radius-btn, 0);
	background: transparent; color: var(--text);
	font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: transparent; border-color: var(--text); color: var(--text); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt,
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #respond input#submit.alt:hover,
.wc-block-components-button:not(.is-link):hover, .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); opacity: .55; }
.woocommerce :is(div.product p.price, div.product span.price, ul.products li.product .price) { color: var(--text); font-weight: 600; }
.woocommerce :is(div.product .price, ul.products li.product .price) del { color: var(--muted); opacity: 1; font-weight: 400; }
.woocommerce :is(div.product .price, ul.products li.product .price) ins { text-decoration: none; }
.woocommerce span.onsale {
	min-width: 0; min-height: 0; padding: .4em .75em; border-radius: 0; line-height: 1.2;
	background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.woocommerce .star-rating span, .woocommerce .star-rating span::before { color: var(--accent); }
.woocommerce .quantity .qty { width: 4.5em; min-height: 44px; padding: .5em; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg); color: var(--text); font: inherit; }
.woocommerce div.product .woocommerce-tabs ul.tabs { margin: 0 0 1.75rem; padding: 0; border-bottom: 1px solid var(--line); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 1.5rem -1px 0; padding: 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .75rem 0; color: var(--muted); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--accent); background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--text); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: calc(1.05rem * var(--h-scale, 1)); font-weight: 600; color: var(--text); }
.woocommerce ul.products li.product a img { border-radius: var(--radius-lg, 0); }
.woocommerce :is(.woocommerce-message, .woocommerce-info) { border-top-color: var(--accent); background: var(--surface); color: var(--text); }
.woocommerce :is(.woocommerce-message, .woocommerce-info)::before { color: var(--accent); }
.woocommerce .woocommerce-error { border-top-color: #B42318; }

/* Tytuły H1 stron i wpisów na całą szerokość kontenera ------------------------------ */
.page-head__title { max-width: none; width: 100%; text-wrap: pretty; }
body.single-post .page-head .wrap,
body.single-product .page-head .wrap { --wrap: var(--site-wrap, 1320px); }

/* Wyszukiwarka w menu --------------------------------------------------------------- */
.menu-search { position: relative; list-style: none; }
.menu-search__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0;
	background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-search__toggle svg { width: 20px; height: 20px; display: block; }
.menu-search__toggle:hover,
.menu-search.is-open .menu-search__toggle { color: var(--accent, #34424D); }
@media (min-width: 960px) {
	.menu-search__panel {
		display: none;
		position: absolute; right: 0; top: calc(100% + 14px); z-index: 70;
		width: 420px; max-width: 80vw; padding: .75rem;
		background: var(--bg, #fff); border: 1px solid var(--line, #dfe3e6);
		box-shadow: 0 10px 30px rgba(18, 24, 29, .12);
	}
	.menu-search.is-open .menu-search__panel { display: block; }
	.menu-search__panel .search-form { max-width: none; }
}
@media (max-width: 959px) {
	.menu-search__toggle { display: none; }
	.menu-search__panel { margin-top: 1rem; }
	.menu-search__panel .search-form { max-width: none; }
}

/* Przycisk "Kontakt" ---------------------------------------------------------------- */
.btn--contact {
	position: relative; isolation: isolate; overflow: hidden;
	gap: .65em; padding-inline: .6em 1.15em; min-height: 48px;
	background: var(--slate-900, #1A232A); border-color: var(--slate-900, #1A232A); color: var(--white, #fff);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 8px 18px -10px rgba(18, 24, 29, .65);
	transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s;
}
.btn--contact .btn__icon {
	display: inline-grid; place-items: center; flex: none;
	width: 2.1em; height: 2.1em; border-radius: 50%;
	background: rgba(255, 255, 255, .14); color: var(--white, #fff);
	transition: background-color .2s, transform .25s;
}
.btn--contact .btn__icon svg, .btn--contact .btn__arrow { width: 1.1em; height: 1.1em; flex: none; }
.btn--contact .btn__arrow { margin-left: .05em; opacity: .85; transition: transform .25s, opacity .2s; }
.btn--contact::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 48%, transparent 66%);
	transform: translateX(-120%);
}
.btn--contact:hover, .btn--contact:focus-visible {
	background: var(--slate-950, #12181D); border-color: var(--slate-950, #12181D); color: var(--white, #fff);
	transform: translateY(-2px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 14px 26px -12px rgba(18, 24, 29, .7);
}
.btn--contact:hover::after { transform: translateX(120%); transition: transform .8s ease; }
.btn--contact:hover .btn__arrow, .btn--contact:focus-visible .btn__arrow { transform: translateX(4px); opacity: 1; }
.btn--contact:hover .btn__icon { background: rgba(255, 255, 255, .22); transform: rotate(-8deg); }
.btn--contact:active { transform: translateY(0); box-shadow: 0 4px 10px -6px rgba(18, 24, 29, .6); }
.btn--contact:focus-visible { outline: 3px solid var(--steel-light, #B8BEC4); outline-offset: 3px; }

/* Delikatne zwrócenie uwagi na przycisk w nagłówku: dwa sygnały po wczytaniu strony */
.site-nav__cta.btn--contact { animation: alg-contact-ring 1.8s ease-out 1.2s 2; }
@keyframes alg-contact-ring {
	0% { box-shadow: 0 0 0 0 rgba(74, 80, 87, .45), 0 8px 18px -10px rgba(18, 24, 29, .65); }
	100% { box-shadow: 0 0 0 14px rgba(74, 80, 87, 0), 0 8px 18px -10px rgba(18, 24, 29, .65); }
}
@media (prefers-reduced-motion: reduce) {
	.btn--contact, .btn--contact .btn__arrow, .btn--contact .btn__icon { transition: none; }
	.site-nav__cta.btn--contact { animation: none; }
	.btn--contact::after { display: none; }
	.btn--contact:hover, .btn--contact:focus-visible { transform: none; }
}
.mobile-bar .btn--contact { min-height: 48px; padding-inline: .45em .9em; justify-content: center; }
.mobile-bar .btn--contact .btn__arrow { display: none; }

/* Obrazek wyróżniający w <picture> (gdy jest ukrywany na telefonie) */
.single__thumb picture { display: block; }

/* Lista usług (sklep): równe kafelki, przyciski w jednej linii */
.woocommerce ul.products { display: flex; flex-wrap: wrap; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { display: flex; flex-direction: column; float: none; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { flex: 1 1 auto; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }

/* Ramka "O autorze" (wtyczka): bez zdjęcia tekst zajmuje całą szerokość, a przy włączonej opcji
   w miejscu zdjęcia pokazuje się portret założyciela z motywu */
.clg-author__grid > .clg-author__body:only-child { grid-column: 1 / -1; }
.alg-author-photo .clg-author__grid:not(:has(.clg-author__photo, .clg-author__img))::before {
	content: ""; display: block; width: 128px; height: 128px;
	background: var(--surface-2, #E9EDF0) url("assets/founder-portrait.webp") 50% 28% / cover no-repeat;
	filter: grayscale(.15);
}
.alg-author-photo .clg-author__grid:not(:has(.clg-author__photo, .clg-author__img)) > .clg-author__body:only-child { grid-column: auto; }

/* Sekcja zamykająca: szerokość treści na komputerze (Customizer: Szerokość sekcji zamykającej) */
@media (min-width: 960px) {
	.cta .cta__in > * { max-width: var(--cta-w, 100%); }
	.cta .cta__title { max-width: var(--cta-w, 100%); text-wrap: balance; }
}

/* Archiwum WooCommerce w kontenerze motywu */
.shop-archive .woocommerce-products-header { margin: 0; padding: 0; }
.shop-archive .woocommerce-products-header .term-description { margin-bottom: 1.5rem; color: var(--muted); }
.shop-archive .woocommerce-result-count { color: var(--muted); }

/* ==========================================================================
   Wariant "Gabinet": białe tło, redakcyjny. Portret w łupkowym passe-partout
   z podpisem jak w galerii, zegary w formie rejestru, kursywa Newsreader jako głos.
   ========================================================================== */
:root {
	--bg: var(--white);
	--surface: var(--white);
	--surface-2: var(--concrete-100);
	--line: #D8DFE4;
	--line-strong: #B4BFC7;
	--text: var(--slate-950);
	--muted: var(--slate-500);
	--accent: var(--steel);
	--accent-hover: var(--steel-dark);
	--accent-ink: var(--white);
	--header-bg: var(--white);
}

h1, h2, h3, h4 { font-stretch: 100%; font-weight: 600; letter-spacing: -.02em; }
.section-head__title, .page-head__title { font-stretch: 100%; font-weight: 600; letter-spacing: -.025em; }

/* Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; gap: 2rem; }
.hero__copy { display: contents; }
.hero__intro { order: 1; display: grid; gap: 1.25rem; }
.hero__media { order: 2; }
.hero__body { order: 3; display: grid; gap: 1.5rem; }
.hero__title { font-size: calc(clamp(2.5rem, 5vw, 4.6rem) * var(--h-scale, 1)); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; max-width: 14ch; }
.hero__lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; max-width: 40ch; color: var(--slate-800); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Passe-partout */
.hero__portrait { background: var(--slate-900); padding: clamp(.7rem, 1.4vw, 1.1rem); }
.hero__portrait .portrait__frame { --portrait-ratio: 4 / 5; }
.hero__portrait .portrait__cap {
	display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: baseline;
	padding: 1rem .25rem .35rem; color: var(--concrete-100);
}
.hero__portrait .portrait__cap::before { content: ""; grid-row: 1 / 3; align-self: center; width: 1.75rem; height: 2px; background: var(--steel-light); }
.hero__portrait .portrait__name { font-size: 1rem; }
.hero__portrait .portrait__role { color: var(--slate-300); }

/* Zegary: rejestr */
.hero__clocks { margin-top: .75rem; }
.hero__clocks .clocks__grid { display: grid; border-top: 1px solid var(--slate-950); }
.hero__clocks .clock { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.hero__clocks .clock__place { color: var(--muted); font-size: .9375rem; }
.hero__clocks .clock__time { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -.01em; justify-content: end; }
.hero__clocks .clock.clock--due { grid-template-rows: auto auto; padding: 1.1rem 1rem; margin-top: .5rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--steel); }
.hero__clocks .clock.clock--due .clock__place { grid-row: 1 / 3; color: var(--slate-800); max-width: 26ch; }
.hero__clocks .clock.clock--due .clock__time { color: var(--steel); font-weight: 600; }
.hero__clocks .clock__day { font-size: .9375rem; }
.hero__clocks .clock__note { grid-column: 2; text-align: right; color: var(--muted); }

@media (min-width: 960px) {
	.hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: center; }
	.hero__copy { display: grid; gap: 2rem; grid-column: 2; grid-row: 1; align-content: center; }
	.hero__media { grid-column: 1; grid-row: 1; }
	.hero__portrait .portrait__frame { max-height: calc(100svh - 230px); min-height: 480px; width: 100%; }
}

/* Założyciel: list ------------------------------------------------------ */
.founder { border-block: 1px solid var(--line); }
@media (min-width: 960px) { .founder__grid { grid-template-columns: 4fr 8fr; } }
.founder__name { font-weight: 600; letter-spacing: -.03em; }
.founder__bio { font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.4; max-width: 34ch; color: var(--slate-900); padding-left: 1.5rem; border-left: 2px solid var(--steel); }

/* Kroki: karty ---------------------------------------------------------- */
.steps__item { padding: 1.75rem; border: 1px solid var(--line); border-top: 3px solid var(--slate-900); }
.steps__item:first-child { border-top-color: var(--steel); }

/* CTA: kursywa ---------------------------------------------------------- */
.cta__title { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-stretch: 100%; letter-spacing: -.015em; max-width: 16ch; line-height: 1.02; }

/* Zmiany wprowadzone na stronie (wcześniej w osobnym kodzie "adwokatusa-poprawki") ---- */
/* Strona główna: mniejsze zdjęcie założyciela */
@media (min-width: 960px) {
	.hero__grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
	.hero__portrait .portrait__frame { min-height: 0; max-height: none; }
}
@media (max-width: 959px) {
	.hero__media { max-width: 320px; margin-inline: auto; }
}
/* Wpisy: bez panelu bocznego, tekst ok. 900 px; tytuł, zdjęcie i tekst od tej samej lewej krawędzi */
.single-post .single__aside { display: none; }
html body.single-post .single__grid { grid-template-columns: minmax(0, 1fr); max-width: none; }
html body.single-post .single__thumb { max-width: none; }
.single-post .entry-content,
.single-post .comments,
.single-post .clg-author { max-width: 900px; }
/* Rozmiary tytułów i elementy wpisów (wcześniej w osobnym kodzie "clg-title-size") */
:root { --clg-h1-scale: .9; }
h1.page-head__title { font-size: calc(clamp(2.25rem, 5vw, 4rem) * var(--h-scale, 1) * var(--clg-h1-scale)); }
h1.hero__title { font-size: calc(clamp(2.5rem, 5vw, 4.6rem) * var(--h-scale, 1) * var(--clg-h1-scale)); }
html body .cta__title { font-size: max(1.75rem, calc(clamp(2.4rem, 6vw, 5.5rem) * var(--h-scale, 1) * .5)); }
.single-post .disclaimer { display: none !important; }
.single-post .post-nav, .single-post .post-navigation { display: none !important; }
.single-post .page-head__title, .single-post h1.entry-title, .single-post main h1 { font-size: clamp(20px, calc(14.0909px + 1.4773vw), 33px); }
/* Produkty: bez panelu bocznego, zdjęcie i opis na całą szerokość pod tytułem */
.single-product .single__aside { display: none; }
html body.single-product .single__grid { grid-template-columns: minmax(0, 1fr); max-width: none; }


/* ==========================================================================
   E3-B1 · Granat (mozaika, białe tło)
   ========================================================================== */
body.e3b {
	--slate-950: #14213d; --slate-900: #14213d; --slate-800: #1b2c4f; --slate-700: #2c3a57; --slate-500: #4d5a73; --slate-300: #a9b8d0;
	--concrete-100: #eaf0f8; --concrete-50: #f5f7fb; --steel: #1f4e8c; --steel-dark: #14213d; --steel-light: #b8c6de;
	--bg: #ffffff; --surface: #ffffff; --surface-2: #eaf0f8; --line: #c9d3e3; --line-strong: #8fa3c4;
	--text: #14213d; --muted: #4d5566; --accent: #1f4e8c; --accent-hover: #14213d; --accent-ink: #ffffff; --header-bg: #ffffff;
	--font-display: "IBM Plex Sans", system-ui, sans-serif; --font-body: "IBM Plex Sans", system-ui, sans-serif; --font-serif: "IBM Plex Sans", system-ui, sans-serif;
}
body.e3b .site-header { border-bottom-color: var(--line); }
body.e3b .e3-sec { padding-block: clamp(2rem, 4vw, 3.5rem) 0; }
body.e3b .e3-sec--hero { padding-top: 2rem; }
body.e3b .e3-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
body.e3b .e3-cell { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
body.e3b .e3-kicker { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .8125rem; line-height: 1.4; text-transform: uppercase; color: var(--accent); }
body.e3b .e3-h1 { font-size: clamp(2.5rem, 4.8vw, 4.25rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 600; font-stretch: normal; }
body.e3b .e3-h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; margin-bottom: 1.25rem; }
body.e3b .e3-h3 { font-size: 1.4rem; line-height: 1.25; font-weight: 600; }
body.e3b .e3-lead { font-size: 1.25rem; color: var(--muted); max-width: 36em; font-style: normal; }
body.e3b .e3-sub { color: var(--muted); margin: -.5rem 0 1.25rem; }
body.e3b .e3-text { color: var(--muted); }
body.e3b .e3-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
body.e3b .e3-hero__main { justify-content: center; padding: clamp(1.75rem, 4vw, 3rem); gap: 1.5rem; }
body.e3b .e3-hero__side { display: flex; flex-direction: column; min-width: 0; }
body.e3b .e3-person { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 1.25rem; }
body.e3b .e3-person__photo { width: 150px; flex: none; }
body.e3b .e3-person__img { width: 150px; height: 188px; object-fit: cover; object-position: 50% 25%; }
body.e3b .e3-person__text { flex: 1 1 140px; display: flex; flex-direction: column; gap: .5rem; }
body.e3b .e3-person__name { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
body.e3b .e3-person__name a { text-decoration: none; }
body.e3b .e3-person__role { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
body.e3b .e3-reply { flex: 1 1 auto; justify-content: center; background: var(--accent); color: #ffffff; gap: .5rem; }
body.e3b .e3-reply__num { font-size: 2.75rem; font-weight: 700; line-height: 1; }
body.e3b .e3-contact { gap: .75rem; }
body.e3b .e3-clocks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .875rem; }
body.e3b .e3-due { font-size: .9375rem; color: var(--muted); }
body.e3b .e3-contact__line { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; }
body.e3b .e3-contact__line a { text-decoration: none; }
body.e3b .e3-list { list-style: none; display: flex; flex-direction: column; }
body.e3b .e3-list li { border-top: 1px solid var(--line); padding: .6rem 0; font-size: .9375rem; }
body.e3b .e3-svc--main .e3-h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
body.e3b .e3-more { margin-top: auto; }
body.e3b .e3-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent); font-weight: 600; }
body.e3b .e3-all { background: var(--accent); justify-content: flex-end; min-height: 180px; }
body.e3b .e3-all a { color: #ffffff; font-weight: 600; text-decoration: none; }
body.e3b .e3-all a:hover { text-decoration: underline; }
body.e3b .e3-all__main { font-size: 1.6rem; line-height: 1.25; }
body.e3b .e3-bio { font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.55; }
body.e3b .e3-link { color: var(--accent); font-weight: 600; text-decoration: none; }
body.e3b .e3-steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
body.e3b .e3-steps li { border-top: 4px solid var(--text); padding-right: 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
body.e3b .e3-steps__num { width: 56px; height: 56px; margin-top: -2px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #ffffff; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 1.125rem; }
body.e3b .e3-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
body.e3b .e3-post a { display: flex; flex-direction: column; justify-content: center; gap: .9rem; height: 100%; text-decoration: none; }
body.e3b .e3-post__img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
body.e3b .e3-post__title { font-size: 1.3rem; line-height: 1.35; font-weight: 600; }
body.e3b .e3-post--main .e3-post__title { font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.25; }
body.e3b .e3-date { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .8125rem; color: var(--muted); }
body.e3b.home section.cta { padding-block: clamp(2.5rem, 5vw, 4rem); }
body.e3b section.cta { color: #ffffff; background: #14213d; margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
body.e3b .cta__title { color: #ffffff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; max-width: 24ch; font-weight: 600; font-stretch: normal; }
body.e3b .cta__lead { color: #ffffff; }
body.e3b section.cta .btn--primary { background: #ffffff; color: #14213d; }
body.e3b section.cta .btn--ghost { border-color: #ffffff; color: #ffffff; }
body.e3b .cta__title { font-style: normal; letter-spacing: -.01em; }
body.e3b .cta__in::before { background: #b8c6de; }
@media (min-width: 640px) {
	body.e3b .e3-founder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.e3b .e3-founder__bio { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
	body.e3b .e3-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.e3b .e3-svc--main { grid-column: span 2; }
	body.e3b .e3-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	body.e3b .e3-hero { grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr); }
	body.e3b .e3-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.e3b .e3-svc--main { grid-column: span 2; grid-row: span 2; }
	body.e3b .e3-founder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body.e3b .e3-blog { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
	body.e3b .e3-post--main { grid-row: span 2; }
}


/* Dodatkowy CSS przeniesiony z Wygląd → Dostosuj (motyw Gabinet) */
.single-product .single__aside { display: none; }
.single-product .single__grid { grid-template-columns: minmax(0, 760px); }

body.e3b .home-content:not(:has(.entry-content > :not(script):not(style))) { padding-block: 0; }
body.e3b section.cta .btn--contact .btn__icon { background: #eaf0f8; color: #14213d; }
@media (min-width: 960px) {
	body.e3b .cta__in { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 3rem; }
	body.e3b .cta__in::before, body.e3b .cta__title, body.e3b .cta__lead { grid-column: 1; }
	body.e3b .cta__actions { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; justify-content: center; margin: 0; padding-left: 3rem; border-left: 1px solid rgba(255, 255, 255, .3); }
}

@media (max-width: 479px) {
	body.e3b .e3-person { flex-wrap: nowrap; padding: 1.25rem; gap: 1rem; }
	body.e3b .e3-person__photo, body.e3b .e3-person__img { width: 104px; }
	body.e3b .e3-person__img { height: 130px; }
	body.e3b .e3-person__text { flex: 1 1 0; min-width: 0; gap: .25rem; }
}

/* Linki w sekcjach usług na stronie głównej (28.11.2026) */
body.e3b .e3-list li a { display: block; margin: -.6rem 0; padding: .6rem 0; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
body.e3b .e3-list li a:hover, body.e3b .e3-list li a:focus-visible { text-decoration-thickness: 2px; }
body.e3b .e3-svc__links { display: flex; flex-direction: column; align-items: flex-start; margin: 0; }
body.e3b .e3-svc--main .e3-svc__links { margin-top: auto; }
body.e3b .e3-svc__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Czerwony przycisk „Wybrane Usługi”: czerwień z logo (28.11.2026) */
body.e3b .e3-actions .btn--logo { background: #d7261e; border-color: #d7261e; color: #ffffff; }
body.e3b .e3-actions .btn--logo:hover, body.e3b .e3-actions .btn--logo:focus-visible { background: #b01e18; border-color: #b01e18; color: #ffffff; }
