/* ==========================================================
   Podologia Dagmara Gryska – główny arkusz stylów
   ========================================================== */

:root {
	--bg: #f7f3ee;
	--bg-alt: #efe8df;
	--surface: #ffffff;
	--ink: #1f1b19;
	--ink-soft: #5d5550;
	--line: #e3dad0;
	--accent: #8e3a59;
	--accent-ink: #ffffff;
	--accent-soft: #f3e4ea;
	--dark: #1f1b19;
	--dark-ink: #f4eee8;
	--accent-light: #e6a9bf;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 24px 60px -28px rgba(31, 27, 25, .35);
	--container: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--font-body); font-size: 17px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 36em; }

/* Przyciski */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	font: 600 .98rem/1 var(--font-body); text-decoration: none;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #742c47; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Nagłówek */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 243, 238, .85);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; color: var(--accent); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; }
.brand-sub { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--accent); transition: right .3s var(--ease); }
.main-nav ul a:hover::after { right: 0; }
.nav-cta { min-height: 44px; padding: 0 22px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle .bar { width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-proof { display: flex; gap: clamp(20px, 4vw, 44px); list-style: none; padding: 30px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; }
.hero-proof span { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-badge {
	position: absolute; left: -24px; bottom: 36px; display: flex; align-items: center; gap: 10px;
	background: var(--surface); padding: 14px 20px; border-radius: 999px;
	font-weight: 600; font-size: .9rem; box-shadow: var(--shadow);
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #4caf7a; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76,175,122,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(76,175,122,0); } }

/* Pasek */
.marquee { background: var(--ink); color: var(--dark-ink); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; padding: 0 28px; white-space: nowrap; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--accent-light); margin-left: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sekcje */
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark h2 em, .section-dark .eyebrow { color: var(--accent-light); }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); }

/* Usługi */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 34px 30px 30px; position: relative; overflow: hidden;
	transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.service::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service-num { display: block; font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1rem; margin-bottom: 26px; }
.service p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Galeria */
.gallery { columns: 3 260px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin: 0 0 18px; }
.gallery-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-btn img { width: 100%; transition: transform .6s var(--ease); }
.gallery-btn:hover img { transform: scale(1.04); }
.gallery-item figcaption { font-size: .85rem; color: var(--ink-soft); padding: 10px 2px 0; }

/* O mnie */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.about-media { margin: 0; position: relative; isolation: isolate; }
.about-media::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border: 1.5px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.about-media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about-copy p:not(.eyebrow):not(.lead) { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .85rem; flex: none; }

/* Wizyta */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid rgba(244,238,232,.2); padding-top: 28px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--accent-light); margin-bottom: 18px; }
.steps p { color: rgba(244,238,232,.72); margin: 0; }

/* Opinie */
.reviews { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); }
.reviews-score { display: flex; flex-direction: column; text-align: center; padding: 28px 36px; background: var(--accent-soft); border-radius: var(--radius); }
.reviews-score .big { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; color: var(--accent); }
.reviews-score small { color: var(--ink-soft); margin-top: 6px; }
.reviews-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.reviews-copy p { color: var(--ink-soft); }
.reviews { grid-template-columns: auto 1fr minmax(220px, 300px); }
.reviews-media { margin: 0; align-self: stretch; }
.reviews-media img { display: block; width: 100%; height: 100%; min-height: 360px; max-height: 520px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
@media (max-width: 1020px) {
	.reviews { grid-template-columns: auto 1fr minmax(180px, 240px); gap: 28px; }
	.reviews-score { padding: 22px 24px; }
}
@media (max-width: 860px) {
	.reviews-media { justify-self: center; width: 100%; max-width: 420px; }
	.reviews-media img { min-height: 0; max-height: none; aspect-ratio: 4 / 5; height: auto; }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-family: var(--font-display); font-size: 1.3rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.6rem; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; max-width: 46em; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--bg-alt); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Stopka */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: 56px 0 96px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-mark { color: var(--accent-light); }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.footer-brand span { font-family: var(--font-body); font-size: .85rem; opacity: .65; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; opacity: .85; }
.footer-links a:hover { opacity: 1; color: var(--accent-light); }
.copyright { width: 100%; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid rgba(244,238,232,.12); font-size: .82rem; opacity: .55; }

/* Przycisk "Zadzwoń" na telefonie */
.mobile-call {
	position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; gap: 8px;
	background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
	padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(142,58,89,.7);
}
.mobile-call svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,16,15,.92); display: grid; place-items: center; padding: 56px 16px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 80vh; width: auto; border-radius: var(--radius-sm); }
.lightbox-caption { position: absolute; bottom: 20px; left: 16px; right: 16px; text-align: center; color: #fff; margin: 0; opacity: .85; }
.lightbox-close { position: absolute; top: 14px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Podstrony */
.page-content { padding: var(--section) 0; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.entry a { color: var(--accent); }

/* Animacje wejścia (tylko gdy działa JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.marquee-track, .hero-badge .dot { animation: none; }
}

/* Responsywność */
@media (max-width: 1020px) {
	.services { grid-template-columns: repeat(2, 1fr); }
	.main-nav ul { gap: 18px; }
}
@media (max-width: 860px) {
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 20px;
		background: var(--bg); padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line);
		visibility: hidden; opacity: 0; transform: translateY(-12px);
		transition: opacity .3s, transform .3s var(--ease), visibility .3s;
	}
	.main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav ul a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.5rem; border-bottom: 1px solid var(--line); }
	.main-nav ul a::after { display: none; }
	.hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-media { max-width: 480px; margin: 0 auto; width: 100%; }
	.hero-badge { left: 12px; }
	.about-media { max-width: 440px; }
	.about-media::before { inset: 18px -10px -10px 18px; }
	.steps { grid-template-columns: 1fr; gap: 32px; }
	.reviews { grid-template-columns: 1fr; }
	.mobile-call { display: inline-flex; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.brand-sub { display: none; }
	.services { grid-template-columns: 1fr; }
	.hero-proof { gap: 16px; justify-content: space-between; }
	.hero-proof strong { font-size: 1.6rem; }
	.hero-actions .btn { flex: 1 1 100%; }
	.gallery { columns: 2; column-gap: 10px; }
	.gallery-item { margin-bottom: 10px; }
	.contact-list li { grid-template-columns: 1fr; gap: 2px; }
	.map, .map iframe { min-height: 320px; }
}

/* ==========================================================
   Blog
   ========================================================== */
.main-nav ul a[aria-current="page"]::after { right: 0; }
.blog-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(24px, 4vw, 40px); }
.blog-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; }
.blog-list-section { padding-top: clamp(24px, 4vw, 48px); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card-title { font-size: 1.5rem; line-height: 1.2; margin-bottom: .6em; }
.post-card-body p:not(.post-meta) { color: var(--ink-soft); font-size: .96rem; }
.post-meta { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.read-more { margin-top: auto; font-weight: 700; font-size: .92rem; }
.post-card:hover .read-more { color: var(--accent); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cta-box { margin-top: clamp(56px, 8vw, 88px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--dark); color: var(--dark-ink); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.cta-box h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-box h2 em, .cta-box .eyebrow { color: var(--accent-light); }
.cta-box p:not(.eyebrow) { color: rgba(244,238,232,.75); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-box .btn-ghost { border-color: rgba(244,238,232,.5); color: var(--dark-ink); }
.cta-box .btn-ghost:hover { background: var(--dark-ink); color: var(--dark); }

/* Pojedynczy wpis */
.post-header { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.post-header h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.back-link { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.back-link:hover { color: var(--accent); }
.post-cover { margin-bottom: clamp(32px, 5vw, 56px); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.entry { font-size: 1.08rem; line-height: 1.8; }
.entry h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 1.6em 0 .6em; }
.entry h3 { margin: 1.4em 0 .5em; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--accent); }
.entry img { border-radius: var(--radius-sm); margin: 1.6em 0; }
.entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.author-box p { margin: 2px 0 0; color: var(--ink-soft); font-size: .95rem; }

@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
	.post-grid { grid-template-columns: 1fr; }
	.cta-box { grid-template-columns: 1fr; }
}

/* ==========================================================
   Booksy, oceny, poprawki
   ========================================================== */
.brand-maiden { font-style: italic; color: var(--ink-soft); font-size: .85em; }
.btn svg { width: 18px; height: 18px; flex: none; }
.stars { color: #e0a43a; letter-spacing: 2px; font-size: .55em; vertical-align: middle; }
.hero-proof strong .stars { font-size: .5em; margin-left: 4px; }

.service { display: flex; flex-direction: column; }
.service p { margin-bottom: 22px; }
.service-link { margin-top: auto; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--accent); }
.service-link span { display: inline-block; transition: transform .3s var(--ease); }
.service-link:hover span { transform: translateX(4px); }

.btn-light { background: var(--dark-ink); color: var(--dark); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(244,238,232,.45); color: var(--dark-ink); }
.btn-ghost-light:hover { background: var(--dark-ink); color: var(--dark); }

.booksy-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.booksy-lead { color: rgba(244,238,232,.75); max-width: 36em; margin-bottom: 40px; }
.booksy-section .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 8px; }
.booksy-section .steps li::before { font-size: 2.2rem; margin-bottom: 12px; }
.booksy-section .steps h3 { font-size: 1.2rem; }
.booksy-section .steps p { font-size: .92rem; }
.booksy-card {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
	background: var(--dark-ink); color: var(--dark); text-decoration: none;
	border-radius: var(--radius); padding: 44px 32px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
	transition: transform .4s var(--ease);
}
.booksy-card:hover { transform: translateY(-6px) rotate(-.5deg); }
/* Zdjęcie przy zapisach z kartą Booksy nachodzącą na nie */
.booksy-visual { position: relative; padding: 0 0 130px; max-width: 460px; justify-self: center; width: 100%; }
.booksy-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 35%; border-radius: var(--radius); }
.booksy-visual .booksy-card { position: absolute; right: -24px; bottom: 0; width: min(250px, 66%); padding: 22px 18px; gap: 2px; }
.booksy-visual .booksy-score { font-size: 3rem; }
.booksy-visual .booksy-card .stars { font-size: 1.1rem; }
.booksy-visual .booksy-count { font-size: .85rem; }
.booksy-visual .booksy-name { font-size: 1rem; margin-top: 8px; padding-top: 10px; }
.booksy-visual .booksy-cta { margin-top: 8px; font-size: .9rem; }
@media (max-width: 600px) {
	.booksy-visual { padding-bottom: 0; }
	.booksy-visual .booksy-card { position: relative; right: auto; width: 88%; margin: -64px auto 0; }
}
.booksy-score { font-family: var(--font-display); font-size: clamp(4rem, 8vw, 5.6rem); line-height: 1; color: var(--accent); }
.booksy-card .stars { font-size: 1.5rem; }
.booksy-count { font-weight: 600; color: var(--ink-soft); }
.booksy-name { font-family: var(--font-display); font-size: 1.2rem; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.booksy-cta { margin-top: 14px; font-weight: 700; color: var(--accent); }

.reviews-score .stars { font-size: 1.2rem; margin: 6px 0; }
.quote { margin: 0 0 18px; padding: 18px 22px; background: var(--bg); border-radius: var(--radius-sm); border-left: 3px solid var(--accent); }
.quote p { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.faq details a, .contact-list small { color: var(--accent); }
.contact-list small { color: var(--ink-soft); font-size: .88rem; }

@media (max-width: 860px) {
	.booksy-grid { grid-template-columns: 1fr; }
	.booksy-section .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.brand-name { font-size: 1.05rem; }
	.brand-mark { width: 38px; height: 38px; }
	.brand { gap: 10px; }
}

/* Logo */
.brand-logo { display: block; height: 56px; width: auto; color: var(--ink); }
.footer-logo { display: block; height: 72px; width: auto; color: var(--dark-ink); }
.footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
@media (max-width: 860px) {
	.brand-logo { height: 48px; }
}

/* Galeria „przed i po” – plansza z przyciskiem, każde zdjęcie rozmyte osobno (tylko gdy działa JS) */
.gallery-gate { position: relative; }
.gallery-cover { display: none; }
.js .gallery-gate .gallery { transition: max-height 1s var(--ease); }
.js .gallery-gate:not(.is-open) .gallery { max-height: 520px; overflow: hidden; user-select: none; }
.js .gallery-gate .gallery-btn img { transition: filter .9s var(--ease), transform .9s var(--ease); }
.js .gallery-gate:not(.is-open) .gallery-btn img { filter: blur(14px) saturate(.55); transform: scale(1.12); }
.js .gallery-cover {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	padding: 32px 20px;
	background: radial-gradient(ellipse 60% 55% at center, rgba(239,232,223,.94) 0%, rgba(239,232,223,.8) 45%, rgba(239,232,223,.25) 100%),
		linear-gradient(to bottom, rgba(239,232,223,0) 70%, var(--bg-alt) 100%);
	transition: opacity .6s var(--ease), visibility .6s;
}
.gallery-cover .eyebrow { margin-bottom: .8em; }
.gallery-cover-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 0 0 .4em; }
.gallery-cover-title em { color: var(--accent); }
.gallery-cover-text { color: var(--ink-soft); max-width: 30em; margin: 0 0 24px; }
.js .gallery-gate.is-open .gallery-cover { opacity: 0; visibility: hidden; pointer-events: none; }

/* Mapa ładowana dopiero po kliknięciu (RODO) */
.map { position: relative; }
.map-placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 28px;
	background:
		radial-gradient(circle at 30% 30%, rgba(142,58,89,.08), transparent 55%),
		repeating-linear-gradient(0deg, transparent 0 38px, rgba(31,27,25,.05) 38px 39px),
		repeating-linear-gradient(90deg, transparent 0 38px, rgba(31,27,25,.05) 38px 39px),
		var(--bg-alt);
}
.map-placeholder > svg { width: 40px; height: 40px; color: var(--accent); }
.map-addr { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.map-note { margin: 4px 0 0; max-width: 26em; font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
.map-note a { color: var(--accent); }
.map.is-loaded .map-placeholder { display: none; }
.copyright a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.copyright a:hover { color: var(--accent-light); }

/* H1: fraza „Podolog w Swarzędzu” nad hasłem */
.h1-top { display: block; font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-style: normal; letter-spacing: 0; color: var(--ink-soft); margin-bottom: .55em; line-height: 1.2; }

/* ==========================================================
   Menu „Usługi” (rozwijane) i karty usług
   ========================================================== */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a::before { content: ""; position: absolute; left: 100%; top: 50%; margin-left: 5px; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.main-nav .has-sub > a { margin-right: 10px; }
.main-nav .sub-menu {
	position: absolute; left: -18px; top: 100%; z-index: 5; display: block; min-width: 270px;
	padding: 10px; margin-top: 14px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.main-nav .has-sub:hover .sub-menu, .main-nav .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .93rem; white-space: nowrap; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover { background: var(--accent-soft); color: var(--accent); }

.service h3 a { text-decoration: none; }
.service h3 a:hover { color: var(--accent); }
.service-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.service-link-soft { color: var(--ink-soft); font-weight: 600; }
.service-link-soft:hover { color: var(--accent); }
a.service-card { text-decoration: none; color: inherit; }
a.service-card .service-link { margin-top: auto; }

.footer-services { width: 100%; padding-top: 24px; border-top: 1px solid rgba(244,238,232,.12); }
.footer-services p { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.footer-services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-services a { text-decoration: none; opacity: .8; font-size: .95rem; }
.footer-services a:hover { opacity: 1; color: var(--accent-light); }
.footer-services + .copyright { margin-top: 0; }

/* ==========================================================
   Podstrona usługi
   ========================================================== */
.usluga-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.usluga-hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.usluga-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 26px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.usluga-proof { margin: 26px 0 0; font-size: .92rem; color: var(--ink-soft); }
.usluga-proof strong { color: var(--ink); margin-right: 6px; }
.usluga-proof .stars { font-size: .8em; }
.symptoms { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.symptoms::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid var(--accent-soft); }
.symptoms-title { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 4px; }
.symptoms .checks { margin-top: 18px; gap: 14px; }
.symptoms .checks li { align-items: flex-start; font-size: .98rem; line-height: 1.45; }

.usluga-body { padding-top: 0; }
.usluga-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.usluga-layout .entry { max-width: 720px; }
.usluga-layout .entry > h2:first-child { margin-top: 0; }
.usluga-area { margin-top: 2em; padding: 18px 22px; background: var(--accent-soft); border-radius: var(--radius-sm); font-size: .98rem; line-height: 1.6; }
.usluga-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-card { background: var(--dark); color: var(--dark-ink); border-radius: var(--radius); padding: 28px; }
.side-card p { margin: 0 0 18px; color: rgba(244,238,232,.75); font-size: .95rem; }
.side-card .btn { width: 100%; }
.side-title { font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light) !important; margin: 0 0 10px !important; }
.side-phone { display: block; margin: 18px 0 6px; font-size: 1.35rem; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.side-phone:hover { color: var(--accent-light); }
.side-card .side-addr { margin: 0; font-size: .88rem; }
.side-services { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-services .side-title { color: var(--accent) !important; }
.side-services ul { list-style: none; margin: 0; padding: 0; }
.side-services a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .95rem; }
.side-services li:last-child a { border-bottom: 0; }
.side-services a:hover, .side-services a[aria-current] { color: var(--accent); }
.side-services a[aria-current] { font-weight: 700; }

.gallery-small .gallery { columns: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px; }
.gallery-small .gallery-item { width: min(320px, 100%); margin: 0; }
.js .gallery-small:not(.is-open) .gallery { max-height: 460px; }
.usluga .cta-box { margin-top: clamp(40px, 6vw, 64px); }

@media (max-width: 1020px) {
	.usluga-layout { grid-template-columns: 1fr; }
	.usluga-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.main-nav { max-height: calc(100vh - 76px); overflow-y: auto; }
	.main-nav .has-sub > a { margin-right: 0; }
	.main-nav .has-sub > a::before { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 4px 0 10px 14px; margin: 0; min-width: 0; }
	.main-nav .sub-menu::before { display: none; }
	.main-nav .sub-menu a { font-family: var(--font-body); font-size: 1rem; padding: 8px 0; border-bottom: 0; white-space: normal; }
	.main-nav .sub-menu a:hover { background: none; }
	.usluga-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.usluga-side { grid-template-columns: 1fr; }
	.gallery-small .gallery { gap: 10px; }
	.gallery-small .gallery-item { width: calc(50% - 5px); }
}

/* ===== Baner zgody na cookies – cienki pasek na dole ===== */
.cookie-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	max-height: 70vh; overflow-y: auto;
	background: var(--dark); color: var(--dark-ink);
	box-shadow: 0 -8px 24px -12px rgba(31,27,25,.4);
	font-size: .78rem; line-height: 1.4;
}
.cookie-bar[hidden] { display: none; }
.cookie-inner {
	max-width: var(--container); margin: 0 auto; padding: 7px var(--gutter);
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
}
.cookie-bar p { margin: 0; flex: 1 1 auto; }
.cookie-bar a { color: var(--accent-light); }
.cookie-prefs { order: -1; flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 4px 0 7px; border-bottom: 1px solid rgba(244,238,232,.15); }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.cookie-opt span { opacity: .6; }
.cookie-opt input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent-light); }
.cookie-opt input:disabled { opacity: .6; }
.cookie-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.cookie-more { opacity: .75; margin-right: 4px; }
.cookie-more:hover { opacity: 1; }
.cookie-bar .btn { min-height: 26px; padding: 0 12px; font-size: .78rem; font-weight: 600; transform: none; font-family: inherit; cursor: pointer; white-space: nowrap; border-width: 1px; }
.cookie-bar .btn-ghost-light { background: transparent; }
.cookie-bar .btn-ghost-light:hover { background: var(--dark-ink); color: var(--dark); }
.cookie-save { margin-left: auto; }
body.cookie-open .mobile-call { display: none; }
.link-btn {
	background: none; border: 0; padding: 0; font: inherit; color: inherit;
	text-decoration: underline; cursor: pointer;
}
@media (max-width: 600px) {
	.cookie-inner { padding: 6px 12px; }
	.cookie-bar p { flex-basis: 100%; }
	.cookie-actions { flex: 1 1 100%; }
	.cookie-more { margin-right: auto; }
}
