/* =========================================================
   Siostry Logopedki – style motywu
   Kolor bazowy marki: #bdd6f6
   ========================================================= */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff") format("woff"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans.woff") format("woff"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff") format("woff"); font-weight: 500 700; font-display: swap; }

:root {
	--brand: #bdd6f6;
	--brand-50: #f2f7fe;
	--brand-100: #e3eefc;
	--brand-200: #d0e2f9;
	--brand-400: #8fb6ea;
	--blue: #2b5a9c;
	--blue-700: #1e4479;
	--ink: #1f2a3a;
	--ink-2: #2a3a50;
	--muted: #586477;
	--line: #e3e8ef;
	--paper: #fbf9f5;
	--beige: #f3ece0;
	--tape: #e8dbc2;
	--sun: #efb066;
	--white: #fff;

	--f-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--f-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--f-hand: "Caveat", "Segoe Print", cursive;

	--r-sm: 12px;
	--r: 20px;
	--r-lg: 32px;
	--shadow: 0 1px 2px rgba(31, 42, 58, .04), 0 12px 32px -12px rgba(31, 42, 58, .14);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--sec: clamp(64px, 9vw, 120px);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.sl-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.sl-skip:focus { left: 8px; color: #fff; }

.sl-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sl-wrap--narrow { max-width: 820px; }
.sl-center { text-align: center; }

.sl-icon { width: 1.25em; height: 1.25em; flex: none; }

.sl-eyebrow {
	font-family: var(--f-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--blue); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.sl-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.sl-hand { font-family: var(--f-hand); font-weight: 700; color: var(--blue); line-height: 1; }

/* ---------- Przyciski ---------- */
.sl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1;
	padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
	white-space: nowrap;
}
.sl-btn:hover { transform: translateY(-1px); }
.sl-btn--primary { background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 68, 121, .55); }
.sl-btn--primary:hover { background: var(--ink); color: #fff; }
.sl-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.sl-btn--ghost:hover { background: var(--ink); color: #fff; }
.sl-btn--light { background: var(--brand); color: var(--ink); }
.sl-btn--light:hover { background: #fff; color: var(--ink); }
.sl-btn--sm { padding: 12px 20px; font-size: .95rem; }

.sl-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: 4px; }
.sl-textlink:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Nagłówek ---------- */
.sl-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 249, 245, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.sl-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31, 42, 58, .4); }
.admin-bar .sl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sl-header { top: 46px; } }
.sl-header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }

.sl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.sl-brand__mark { width: 76px; height: auto; }
.sl-brand__text { display: flex; flex-direction: column; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .06em; line-height: 1.05; font-size: .95rem; }
.sl-brand__text strong { font-weight: 600; }
.sl-brand__custom { max-height: 56px; width: auto; }

.sl-nav { margin-left: auto; }
.sl-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sl-menu > li { position: relative; }
.sl-menu a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.sl-menu a:hover, .sl-menu .current-menu-item > a, .sl-menu .current-menu-ancestor > a, .sl-menu .current_page_item > a { background: var(--brand-100); color: var(--ink); }
.sl-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
	background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.sl-menu .sub-menu a { border-radius: 10px; font-weight: 600; }
.sl-menu li:hover > .sub-menu, .sl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sl-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.sl-nav__phone { display: none; }

.sl-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.sl-header__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.sl-header__tel .sl-icon { color: var(--blue); }
.sl-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand-100); cursor: pointer; position: relative; }
.sl-burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.sl-burger span:first-child { top: 18px; } .sl-burger span:last-child { top: 26px; }
.sl-burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.sl-burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1120px) { .sl-header__tel span { display: none; } }
@media (max-width: 980px) {
	.sl-burger { display: block; }
	.sl-header__tel { display: none; }
	.sl-header__inner { min-height: 68px; gap: 12px; }
	.sl-brand__mark { width: 60px; }
	.sl-nav {
		position: fixed; inset: 68px 0 0 0; background: var(--paper); padding: 16px var(--gutter) 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s; margin: 0;
	}
	.admin-bar .sl-nav { inset-block-start: calc(68px + 46px); }
	.sl-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.sl-menu { flex-direction: column; gap: 0; }
	.sl-menu a { font-size: 1.25rem; font-family: var(--f-head); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
	.sl-menu a:hover, .sl-menu .current-menu-item > a, .sl-menu .current_page_item > a { background: none; color: var(--blue); }
	.sl-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; background: none; min-width: 0; }
	.sl-menu .sub-menu a { font-size: 1.05rem; font-family: var(--f-body); border: 0; padding: 9px 4px; color: var(--muted); }
	.sl-menu .menu-item-has-children > a::after { display: none; }
	.sl-nav__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 1.3rem; font-weight: 700; text-decoration: none; color: var(--ink); }
	body.sl-nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.sl-brand__text { font-size: .82rem; }
	.sl-header__actions .sl-btn--sm { padding: 11px 14px; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.sl-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 10%, rgba(255,255,255,.7), transparent 60%),
		linear-gradient(180deg, var(--paper) 0%, var(--brand-100) 100%);
	padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px);
}
.sl-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sl-hero h1 { margin-bottom: 24px; }
.sl-mark { position: relative; white-space: nowrap; color: var(--blue); }
.sl-hero h1 { position: relative; z-index: 0; }
.sl-hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.sl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.sl-ages { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sl-ages li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .95rem; }
.sl-ages .sl-icon { color: var(--blue); width: 1.35em; height: 1.35em; }

.sl-hero__media { position: relative; }
.sl-hero__photo {
	position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--brand);
	box-shadow: 0 30px 60px -30px rgba(31, 42, 58, .35); transform: rotate(1.2deg);
	border: 10px solid #fff;
}
.sl-hero__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sl-hero__media::before, .sl-hero__media::after { /* taśma jak na zdjęciu */
	content: ""; position: absolute; z-index: 2; width: 110px; height: 34px; background: var(--tape); opacity: .9;
	box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.sl-hero__media::before { top: -12px; left: 18%; transform: rotate(-6deg); }
.sl-hero__media::after { top: 14%; right: -34px; transform: rotate(62deg); width: 90px; }
.sl-hero__note {
	position: absolute; left: -36px; bottom: 9%; z-index: 3; margin: 0;
	background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow); transform: rotate(-4deg);
}
.sl-hero__note .sl-hand { font-size: 1.65rem; }

@media (max-width: 900px) {
	.sl-hero__grid { grid-template-columns: 1fr; }
	.sl-hero__media { max-width: 520px; margin: 8px auto 0; width: 100%; }
	.sl-hero__note { left: 8px; bottom: -18px; }
}
@media (max-width: 480px) { .sl-mark { white-space: normal; } }

/* ---------- Sekcje ---------- */
.sl-section { padding: var(--sec) 0; }
.sl-section--flush { padding-top: 24px; }
.sl-section--tint { background: var(--brand-50); }
.sl-section--dark { background: var(--ink); color: #dfe7f2; }
.sl-section--dark h2, .sl-section--dark h3 { color: #fff; }
.sl-section--dark .sl-eyebrow { color: var(--brand); }

.sl-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sl-head .sl-eyebrow { justify-content: center; }
.sl-head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.sl-section--dark .sl-head p:last-child { color: #b9c6d8; }
.sl-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.sl-head--row .sl-eyebrow { justify-content: flex-start; }
.sl-head--row h2 { margin: 0; }
@media (max-width: 640px) { .sl-head--row { flex-direction: column; align-items: flex-start; } }

/* ---------- Dla kogo: dzieci / dorośli ---------- */
.sl-audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sl-aud { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); overflow: hidden; }
.sl-aud h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.sl-aud > p { font-size: 1.05rem; margin-bottom: 26px; max-width: 32em; }
.sl-aud__hand { display: inline-block; font-size: 1.7rem; margin-bottom: 8px; transform: rotate(-2deg); }

.sl-aud--kids { background: var(--brand); }
.sl-aud--kids::after { /* gwiazdki jak na zdjęciu */
	content: ""; position: absolute; right: 24px; top: 22px; width: 84px; height: 84px; opacity: .95;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M30 6c2 16 6 20 22 22-16 2-20 6-22 22-2-16-6-20-22-22 16-2 20-6 22-22z'/%3E%3Cpath d='M64 46c1 10 4 13 14 14-10 1-13 4-14 14-1-10-4-13-14-14 10-1 13-4 14-14z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.sl-aud--adults { background: var(--ink); color: #dfe7f2; }
.sl-aud--adults h3 { color: #fff; }
.sl-aud--adults .sl-aud__hand { color: var(--brand); }
.sl-aud--adults::after {
	content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
	border: 2px solid rgba(189, 214, 246, .25); box-shadow: 0 0 0 26px rgba(189, 214, 246, .06);
}

.sl-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sl-links a {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 15px 18px; border-radius: 14px; text-decoration: none; font-weight: 700; transition: .2s;
}
.sl-aud--kids .sl-links a { background: rgba(255,255,255,.7); color: var(--ink); }
.sl-aud--kids .sl-links a:hover { background: #fff; }
.sl-aud--adults .sl-links a { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.1); }
.sl-aud--adults .sl-links a:hover { background: rgba(189, 214, 246, .16); }
.sl-links .sl-icon { transition: transform .2s; }
.sl-links a:hover .sl-icon { transform: translateX(4px); }
@media (max-width: 820px) { .sl-audience__grid { grid-template-columns: 1fr; } }

/* ---------- Kafle usług ---------- */
.sl-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.sl-services > * { grid-column: span 2; }
.sl-services > :nth-last-child(2):nth-child(3n+1), .sl-services > :last-child:nth-child(3n+2) { grid-column: span 3; }
@media (max-width: 960px) { .sl-services { grid-template-columns: 1fr 1fr; } .sl-services > *, .sl-services > :nth-last-child(2):nth-child(3n+1), .sl-services > :last-child:nth-child(3n+2) { grid-column: auto; } }
@media (max-width: 600px) { .sl-services { grid-template-columns: 1fr; } }
.sl-services--page { margin: 8px 0 40px; }
.sl-service {
	position: relative; display: flex; flex-direction: column; gap: 6px;
	padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
	text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sl-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.sl-service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-100); color: var(--blue); margin-bottom: 14px; }
.sl-service__icon .sl-icon { width: 28px; height: 28px; }
.sl-service--adults .sl-service__icon { background: var(--ink); color: var(--brand); }
.sl-service--both .sl-service__icon { background: linear-gradient(135deg, var(--brand-100) 50%, var(--beige) 50%); }
.sl-service h3 { margin: 6px 0 4px; font-size: 1.25rem; }
.sl-service p { color: var(--muted); font-size: .98rem; margin: 0 0 18px; flex: 1; }
.sl-service__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: .95rem; }
.sl-service:hover .sl-service__more .sl-icon { transform: translateX(4px); }
.sl-service__more .sl-icon { transition: transform .2s; }
.sl-service .sl-tag { position: absolute; top: 28px; right: 24px; }

.sl-tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.sl-tag--kids { background: var(--brand-100); color: var(--blue-700); }
.sl-tag--adults { background: var(--ink); color: #fff; }
.sl-tag--both { background: var(--beige); color: #6b5530; }

/* ---------- O nas ---------- */
.sl-about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sl-about__media {
	position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); background: var(--brand);
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding: 40px; text-align: center; overflow: hidden;
}
.sl-about__media::before { content: ""; position: absolute; inset: 18px; border: 2px dashed rgba(255,255,255,.75); border-radius: 24px; pointer-events: none; }
.sl-about__illu { width: 82%; max-width: 380px; position: relative; }
.sl-about__quote { position: relative; background: #fff; padding: 22px 28px; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 10px 24px -14px rgba(31,42,58,.35); margin: 0; }
.sl-about__quote::before { content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 26px; background: var(--tape); transform: translateX(-50%) rotate(3deg); }
.sl-about__quote .sl-hand { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.sl-about__names { position: relative; font-family: var(--f-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; color: var(--blue-700); margin: 0; }
.sl-about { position: relative; z-index: 0; }
.sl-lead { font-size: 1.2rem; color: var(--ink-2); }
.sl-values { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.sl-values li { display: flex; gap: 14px; align-items: flex-start; }
.sl-values .sl-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-100); color: var(--blue); }
.sl-values span { padding-top: 8px; }
@media (max-width: 860px) {
	.sl-about__grid { grid-template-columns: 1fr; }
	.sl-about__media { max-width: 460px; width: 100%; aspect-ratio: auto; padding: 48px 28px; }
}

/* ---------- Kroki ---------- */
.sl-steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.sl-steps li { position: relative; padding: 28px 24px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.sl-steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--ink); font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px; }
.sl-steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sl-steps p { margin: 0; color: #b9c6d8; font-size: .98rem; }
@media (max-width: 960px) { .sl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sl-steps { grid-template-columns: 1fr; } }

/* ---------- Wpisy ---------- */
.sl-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sl-post {
	display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); background: #fff;
	border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: .25s; min-height: 220px;
}
.sl-post:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.sl-post h3 { font-size: 1.3rem; flex: 1; margin: 0; }
.sl-post p { color: var(--muted); font-size: .97rem; margin: 0; }
.sl-post__cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.sl-post__img { border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 8px; }
.sl-post--adults { background: var(--beige); border-color: transparent; }
.sl-post--kids { background: var(--brand-50); border-color: var(--brand-100); }

.sl-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sl-chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.sl-chips a:hover { border-color: var(--blue); color: var(--blue); }
.sl-empty { max-width: 720px; margin: 0 auto; text-align: center; }
.sl-empty .sl-hand { font-size: 2rem; }
.sl-pagination { margin-top: 40px; text-align: center; }
.sl-pagination .page-numbers { display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.sl-pagination .current { background: var(--ink); color: #fff; }

/* ---------- Kontakt ---------- */
.sl-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin: 8px 0 24px; }
.sl-contact-card { padding: 32px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.sl-contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 22px; }
.sl-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.sl-contact-list .sl-icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-100); color: var(--blue); }
.sl-contact-list strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.sl-contact-list span { line-height: 1.5; }
.sl-contact-list a { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.sl-map { border-radius: var(--r); overflow: hidden; min-height: 340px; background: var(--brand-100); border: 1px solid var(--line); }
.sl-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
@media (max-width: 820px) { .sl-contact-grid { grid-template-columns: 1fr; } }

/* ---------- Formularz ---------- */
.sl-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 32px; scroll-margin-top: 100px; }
.sl-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.sl-form input[type=text], .sl-form input[type=tel], .sl-form input[type=email], .sl-form textarea {
	width: 100%; font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #cfd8e3; background: var(--paper); color: var(--ink);
}
.sl-form input:focus, .sl-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--brand-100); background: #fff; }
.sl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sl-form__choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sl-form__choice legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.sl-form__choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #cfd8e3; cursor: pointer; font-weight: 600; }
.sl-form__choice label:has(input:checked) { border-color: var(--blue); background: var(--brand-100); }
.sl-form__choice input { accent-color: var(--blue); }
.sl-form__consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: .9rem !important; color: var(--muted); }
.sl-form__consent input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.sl-form__hp { position: absolute; left: -9999px; }
.sl-form .sl-btn { justify-self: start; }
.sl-optional { font-weight: 400; color: var(--muted); }
.sl-alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.sl-alert--ok { background: #e4f4ea; color: #1d5a35; }
.sl-alert--err { background: #fdeaea; color: #8a2222; }
@media (max-width: 600px) { .sl-form__row { grid-template-columns: 1fr; } }

/* ---------- Podstrony ---------- */
.sl-pagehead {
	padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
	background: linear-gradient(180deg, var(--paper), var(--brand-100));
	border-bottom: 1px solid var(--brand-200);
}
.sl-pagehead h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 10px 0 0; }
.sl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.sl-crumbs a { color: var(--muted); text-decoration: none; }
.sl-crumbs a:hover { color: var(--blue); }
.sl-meta { color: var(--muted); margin: 12px 0 0; }

.sl-content { padding: clamp(40px, 6vw, 72px) 0 var(--sec); }
.sl-prose > * + * { margin-top: 0; }
.sl-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.2em 0 .6em; }
.sl-prose h3 { margin: 1.8em 0 .5em; }
.sl-prose > h2:first-child { margin-top: 0; }
.sl-prose .is-lead { font-size: clamp(1.15rem, 1.8vw, 1.32rem); color: var(--ink-2); line-height: 1.55; }
.sl-prose ul, .sl-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.sl-prose li { margin-bottom: .5em; }
.sl-prose li::marker { color: var(--blue); }
.sl-prose ul.is-style-check { list-style: none; padding: 0; display: grid; gap: 10px; }
.sl-prose ul.is-style-check li {
	position: relative; padding: 14px 18px 14px 52px; background: var(--brand-50); border-radius: 14px; margin: 0;
}
.sl-prose ul.is-style-check li::before {
	content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4479' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.sl-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--brand); font-size: 1.15rem; }
.sl-prose figure { margin: 2em 0; }
.sl-prose img { border-radius: var(--r); }
.sl-prose table { width: 100%; border-collapse: collapse; }
.sl-prose th, .sl-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.sl-featured img { width: 100%; }
.sl-disclaimer { margin-top: 40px; padding: 16px 20px; border-radius: 12px; background: var(--beige); font-size: .92rem; color: #5d5140; }

.sl-faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 10px; padding: 0; }
.sl-faq summary { cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.sl-faq summary::-webkit-details-marker { display: none; }
.sl-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--blue); font-size: 1.2rem; transition: transform .2s; }
.sl-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sl-faq > p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

.sl-cta-box {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin: 48px 0 0; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); background: var(--brand);
}
.sl-cta-box p { margin: 0; color: var(--ink-2); }
.sl-cta-box__title { font-family: var(--f-head); font-weight: 600; font-size: 1.5rem; color: var(--ink) !important; margin-bottom: 6px !important; letter-spacing: -.01em; }
.sl-cta-box > div:first-child { flex: 1 1 320px; }
.sl-cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sl-cta-box .sl-btn--ghost { background: rgba(255,255,255,.5); border-color: transparent; }
.sl-cta-box .sl-btn--ghost:hover { background: #fff; color: var(--ink); }

.sl-price { border-radius: var(--r); border: 1px solid var(--line); background: #fff; overflow: hidden; margin-bottom: 16px; }
.sl-price__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sl-price__row:last-child { border: 0; }
.sl-price__row span:last-child { font-weight: 700; color: var(--blue); white-space: nowrap; }

/* Zespół */
.sl-team { display: grid; gap: 24px; margin: 40px 0; }
.sl-team__photo { margin: 0 !important; }
.sl-team__photo img { width: 100%; border-radius: var(--r-lg); }
.sl-team__people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sl-person { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.sl-person h3 { margin: 0 0 4px; font-size: 1.45rem; }
.sl-person__role { color: var(--blue); font-weight: 700; font-size: .95rem; }
@media (max-width: 640px) { .sl-team__people { grid-template-columns: 1fr; } }

/* Notatki robocze (tylko zalogowani) */
.sl-todo { margin: 14px 0; padding: 12px 16px; border-radius: 10px; background: #fff7d6; border: 1px dashed #d9b400; color: #5c4a00; font-size: .9rem; line-height: 1.5; }

/* ---------- Stopka ---------- */
.sl-footer { background: var(--brand); color: var(--ink); padding: 72px 0 0; }
.sl-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.sl-footer img { width: 110px; margin-bottom: 10px; }
.sl-footer__name { font-family: var(--f-head); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.sl-footer__h { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 14px; }
.sl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sl-footer a { color: var(--ink); text-decoration: none; }
.sl-footer a:hover { color: var(--blue-700); text-decoration: underline; }
.sl-footer__social { display: flex; gap: 16px; margin-top: 16px; font-weight: 700; }
.sl-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(31, 42, 58, .14); font-size: .9rem; }
@media (max-width: 900px) { .sl-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sl-footer__grid { grid-template-columns: 1fr; gap: 28px; } .sl-footer__bottom { flex-direction: column; padding-bottom: 96px; } }

/* Pływający przycisk (telefon) – tylko mobile */
.sl-fab { display: none; }
@media (max-width: 760px) {
	.sl-fab {
		position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
		display: flex; align-items: center; justify-content: center; gap: 10px;
		padding: 16px; border-radius: 999px; background: var(--blue-700); color: #fff; font-weight: 700; text-decoration: none;
		box-shadow: 0 14px 30px -10px rgba(30, 68, 121, .6);
		transform: translateY(140%); transition: transform .3s;
	}
	.sl-fab.is-visible { transform: none; }
	.sl-fab:hover { color: #fff; }
}

/* Gutenberg – podstawowe wyrównania */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { background: var(--blue-700); color: #fff; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; }
.has-brand-background-color { background-color: var(--brand); } .has-brand-color { color: var(--brand); }
.has-brand-50-background-color { background-color: var(--brand-50); }
.has-ink-blue-color { color: var(--blue); } .has-ink-blue-background-color { background-color: var(--blue); }
.has-graphite-color { color: var(--ink); } .has-graphite-background-color { background-color: var(--ink); }
.has-beige-background-color { background-color: var(--beige); } .has-paper-background-color { background-color: var(--paper); }

/* Animacja wejścia */
.sl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.sl-reveal.is-in { opacity: 1; transform: none; }

/* ---------- SEO: H1 w hero + sekcja lokalna ---------- */
.sl-hero__h1 { display: flex; flex-direction: column; margin-bottom: 24px; }
.sl-hero__kw { font-family: var(--f-body); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; line-height: 1.4; }
.sl-hero__slogan { display: block; }
.sl-local { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sl-local__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sl-local__copy p { color: var(--ink-2); }
.sl-local__copy a { font-weight: 700; }
.sl-local__nap { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: var(--brand-50); font-weight: 600; }
.sl-local__nap .sl-icon { color: var(--blue); margin-top: 3px; }
.sl-local__faq .sl-faq { background: var(--paper); }
@media (max-width: 860px) { .sl-local__grid { grid-template-columns: 1fr; } }

/* ---------- v1.2: logo z napisem, dwa telefony ---------- */
.sl-brand__logo { height: 58px; width: auto; }
@media (max-width: 980px) { .sl-brand__logo { height: 46px; } }
@media (max-width: 380px) { .sl-brand__logo { height: 40px; } }
.sl-header__tels { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.sl-header__tels a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.sl-header__tels a:hover { color: var(--blue); }
.sl-ph__name { font-weight: 600; color: var(--muted); font-size: .85em; }
@media (max-width: 1180px) { .sl-header__tels { display: none; } }
.sl-nav__phones { display: none; }
@media (max-width: 980px) {
	.sl-nav__phones { display: grid; gap: 6px; margin-top: 24px; }
	.sl-nav__phone { margin-top: 0 !important; }
	.sl-nav__phone small { font-size: .75em; font-weight: 600; color: var(--muted); }
}
.sl-contact-phones em { font-style: normal; color: var(--muted); font-size: .9rem; margin-left: 4px; }
.sl-footer .sl-footer__logo { width: 170px; height: auto; margin-bottom: 14px; }
.sl-footer__phones .sl-ph__name { color: var(--blue-700); }
.sl-local__nap a { font-weight: 700; }
@media (max-width: 760px) {
	.sl-fab { gap: 8px; padding: 0; background: none; box-shadow: none; }
	.sl-fab a {
		flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; border-radius: 999px;
		background: var(--blue-700); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(30, 68, 121, .6);
	}
	.sl-fab a:hover { color: #fff; }
}

/* ---------- Baner cookies ---------- */
.sl-cookie {
	position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(440px, calc(100vw - 32px));
	background: #fff; border-radius: 24px; padding: 22px 24px 20px; border: 1px solid var(--brand-200);
	box-shadow: 0 24px 60px -20px rgba(31, 42, 58, .35), 0 0 0 6px rgba(189, 214, 246, .35);
	opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease;
}
.sl-cookie.is-open { opacity: 1; transform: none; }
.sl-cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sl-cookie__illu { width: 72px; height: auto; flex: none; }
.sl-cookie__title { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; margin: 0; color: var(--ink); line-height: 1.2; }
.sl-cookie__text { font-size: .93rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 16px; }
.sl-cookie__text a { color: var(--blue); font-weight: 700; }
.sl-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sl-cookie__actions .sl-btn { flex: 1 1 140px; }
.sl-cookie__more { background: none; border: 0; padding: 8px 4px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sl-cookie__prefs { display: grid; gap: 8px; margin: 0 0 16px; }
.sl-switch { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--brand-50); cursor: pointer; }
.sl-switch.is-locked { cursor: default; opacity: .85; }
.sl-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sl-switch__ui { flex: none; position: relative; width: 40px; height: 24px; margin-top: 2px; border-radius: 999px; background: #cfd8e3; transition: background .2s; }
.sl-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.sl-switch input:checked + .sl-switch__ui { background: var(--blue-700); }
.sl-switch input:checked + .sl-switch__ui::after { transform: translateX(16px); }
.sl-switch input:focus-visible + .sl-switch__ui { outline: 3px solid var(--blue); outline-offset: 2px; }
.sl-switch strong { display: block; font-size: .93rem; }
.sl-switch small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
body.sl-cookie-on .sl-fab { transform: translateY(160%) !important; }
@media (max-width: 560px) {
	.sl-cookie { left: 8px; right: 8px; bottom: 8px; width: auto; border-radius: 20px; padding: 18px 18px 16px; }
}
.sl-footer__links { display: inline-flex; gap: 20px; align-items: center; }
.sl-cookie-open { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; }
.sl-cookie-open:hover { color: var(--blue-700); text-decoration: underline; }

/* Mapa – zastępnik do czasu zgody */
.sl-map { position: relative; }
.sl-map__ph {
	height: 100%; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center;
	background:
		radial-gradient(circle at 30% 20%, rgba(255,255,255,.65), transparent 55%),
		repeating-linear-gradient(45deg, rgba(43,90,156,.05) 0 2px, transparent 2px 22px),
		var(--brand-100);
}
.sl-map__ph p { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 30em; }
.sl-map__pin { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.sl-map__pin .sl-icon { width: 26px; height: 26px; }
.sl-map__ext { font-weight: 700; font-size: .9rem; }
.sl-cookie [hidden], .sl-cookie[hidden] { display: none !important; }

/* Menu mobilne: rozmycie tła w nagłówku zamykało menu w pasku – na telefonie pełne tło zamiast rozmycia */
@media (max-width: 980px) {
	.sl-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
	.sl-nav { top: 68px; height: calc(100vh - 68px); height: calc(100dvh - 68px); z-index: 49; }
	.admin-bar .sl-nav { top: calc(68px + 46px); height: calc(100dvh - 114px); }
	body.sl-nav-open .sl-cookie, body.sl-nav-open .sl-fab { display: none !important; }
}


/* ---------- Opinie Google ---------- */
.sl-stars { display: inline-flex; gap: 3px; }
.sl-stars svg { width: 1.1em; height: 1.1em; fill: var(--sun); }
.sl-reviews { padding-top: 0; }
.sl-reviews__card {
	position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
	padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--brand-100); border: 1px solid var(--brand-200); overflow: hidden;
}
.sl-reviews__score {
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 34px; border-radius: 24px;
	background: #fff; box-shadow: var(--shadow); transform: rotate(-2deg); min-width: 200px;
}
.sl-reviews__num { font-family: var(--f-head); font-weight: 700; font-size: 3.6rem; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.sl-reviews__score .sl-stars svg { width: 26px; height: 26px; }
.sl-reviews__count { font-weight: 700; color: var(--muted); font-size: .95rem; }
.sl-reviews__copy h2 { margin-bottom: 12px; }
.sl-reviews__copy > p:not(.sl-eyebrow) { color: var(--ink-2); max-width: 38em; }
.sl-reviews__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sl-reviews__note { position: absolute; right: 28px; top: 22px; margin: 0; transform: rotate(4deg); }
.sl-reviews__note .sl-hand { font-size: 1.45rem; text-align: right; display: block; }
@media (max-width: 1100px) { .sl-reviews__note { display: none; } }
@media (max-width: 760px) {
	.sl-reviews__card { grid-template-columns: 1fr; text-align: center; }
	.sl-reviews__score { margin: 0 auto; }
	.sl-reviews__copy .sl-eyebrow { justify-content: center; }
	.sl-reviews__actions { justify-content: center; }
}
.sl-gbadge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--brand-50); font-size: .95rem; }
.sl-gbadge a { font-weight: 700; margin-left: auto; }
