/*
Theme Name: Alex Dental Clinic
Theme URI: https://alexdental.pl/
Author: Alex Dental Clinic
Description: Motyw dla centrum stomatologii i ortodoncji Alex Dental Clinic (Piotrków Trybunalski). Wszystkie treści edytowalne w panelu WordPress, pola szablonów oparte o Carbon Fields.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: alexdental
License: GPLv2 or later
*/

/* ==========================================================================
   Design tokens — wersja kolorystyczna: „Kaszmir, złoto i czekolada” (Wariant 4 z Figmy)
   ========================================================================== */
:root {
	--c-dark: #1a1a1a;
	--c-ink: #1f1b17;
	--c-text: #625f5a;
	--c-muted: #8f8a84;
	--c-primary: #553b2e;
	--c-primary-dark: #4a3428;
	--c-primary-soft: #efe7de;
	--c-cream: #fcfbf9;
	--c-beige: #f2ece4;
	--c-white: #ffffff;
	--c-gold: #b39560;
	--c-line: #e8e2da;
	--f-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--radius-lg: 24px;
	--radius-md: 16px;
	--shadow-card: 0 10px 30px rgba(37, 35, 32, 0.07);
	--wrap: 1200px;
	--gutter: 24px;
	--header-h: 76px;
}

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

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

body {
	margin: 0;
	background: var(--c-cream);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-ink); }
h1, h2, h3, h4 { color: var(--c-ink); font-family: var(--f-head); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: 56px; }
h2 { font-size: 48px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section--tight { padding: 80px 0; }
.section--beige { background: var(--c-beige); }
.section--primary { background: var(--c-primary); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { font-size: 17px; }

.eyebrow {
	display: inline-block;
	position: relative;
	padding-left: 14px;
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-primary);
}
.eyebrow--gold { color: var(--c-gold); }
.eyebrow::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 2px;
	background: var(--c-gold);
}
.eyebrow--plain { padding-left: 0; }
.eyebrow--plain::before { display: none; }

.lead { font-size: 18px; line-height: 1.65; color: var(--c-text); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 500 15px/1 var(--f-body);
	letter-spacing: .01em;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-white); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: #d6d1c9; }
.btn--ghost:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--dark { background: var(--c-dark); color: var(--c-white); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--dark:hover { background: #000; color: var(--c-white); }
.btn--light { background: var(--c-white); color: var(--c-ink); }
.btn--light:hover { background: var(--c-cream); color: var(--c-ink); }
.link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	font-size: 15px;
	color: var(--c-primary);
}
.link-more svg { transition: transform .2s ease; }
.link-more:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Topbar + header
   ========================================================================== */
.topbar { background: var(--c-dark); color: #d9d9d9; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar__items { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar a { color: #e9e9e9; display: inline-flex; align-items: center; gap: 10px; }
.topbar a:hover { color: var(--c-gold); }
.topbar svg { color: var(--c-gold); }
.topbar__hours { color: #bdbdbd; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 249, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--c-ink); font-family: var(--f-head); font-size: 20px; }
.brand:hover { color: var(--c-ink); }
.brand__mark {
	width: 44px; height: 44px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-primary-soft); color: var(--c-primary);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__img { max-height: 44px; width: auto; }
.brand--footer { color: var(--c-white); font-size: 22px; }
.brand--footer .brand__mark { background: #2e2521; color: #d8c3ae; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.primary-nav a { color: var(--c-ink); font-size: 15px; font-weight: 400; position: relative; padding: 6px 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.primary-nav a:hover { color: var(--c-ink); }
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .sub-menu { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-white); cursor: pointer; align-items: center; justify-content: center; color: var(--c-ink); }
.nav-toggle svg { width: 20px; height: 20px; }

/* ==========================================================================
   Hero (front page)
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--c-beige); min-height: 640px; display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(243, 236, 227, .94) 0%, rgba(243, 236, 227, .8) 40%, rgba(232, 222, 210, .32) 75%, rgba(226, 214, 200, .18) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 96px; width: 100%; }
.hero__content { max-width: 620px; }
.hero h1 { font-size: 64px; line-height: 1.02; margin-bottom: 28px; }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--c-text); max-width: 540px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 72px; }
.hero__stats {
	display: flex; flex-wrap: wrap; gap: 28px 40px;
	padding-top: 32px; border-top: 1px solid rgba(37, 35, 32, .12); max-width: 760px;
}
.hero__stat { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--c-ink); }
.hero__stat-icon {
	width: 44px; height: 44px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-white); color: var(--c-primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); flex: none;
}
.hero__stat-icon svg { width: 20px; height: 20px; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--c-beige); padding: 96px 0 88px; overflow: hidden; }
.page-hero::before {
	content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(85, 59, 46, .22) 0%, rgba(85, 59, 46, 0) 70%);
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: 56px; margin-bottom: 18px; }
.page-hero .lead { max-width: 640px; }
.breadcrumbs { font-size: 14px; color: var(--c-muted); margin-bottom: 26px; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-ink); }
.breadcrumbs span { margin: 0 8px; }

/* ==========================================================================
   Services (cards)
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
	display: flex; flex-direction: column;
	background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(37, 35, 32, .1); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-primary-soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { padding: 32px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 26px; margin-bottom: 12px; }
.service-card p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.service-card .link-more { margin-top: auto; }

/* ==========================================================================
   Quote / about band
   ========================================================================== */
.quote-band { position: relative; background: var(--c-beige); padding: 150px 0; text-align: center; overflow: hidden; }
.quote-band::before {
	content: ""; position: absolute; left: -160px; top: -120px; width: 480px; height: 480px; border-radius: 50%;
	background: radial-gradient(circle, rgba(85, 59, 46, .18) 0%, rgba(85, 59, 46, 0) 70%);
}
.quote-band__inner { position: relative; max-width: 860px; margin: 0 auto; }
.quote-band blockquote { margin: 0 0 22px; }
.quote-band blockquote p { font-family: var(--f-head); font-size: 50px; line-height: 1.16; color: var(--c-ink); margin: 0; }
.quote-band__text { font-size: 18px; color: var(--c-text); max-width: 600px; margin: 0 auto 40px; }

/* ==========================================================================
   CTA (booking band)
   ========================================================================== */
.cta-band { background: var(--c-primary); padding: 96px 0; }
.cta-card {
	background: var(--c-primary-dark); border-radius: 32px; padding: 80px 72px;
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.cta-card h2 { color: var(--c-white); font-size: 52px; margin-bottom: 18px; }
.cta-card p { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 520px; margin: 0; }
.cta-card__side { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-phone { display: flex; align-items: center; gap: 18px; color: var(--c-white); }
.cta-phone:hover { color: var(--c-white); }
.cta-phone__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; }
.cta-phone small { display: block; font-size: 14px; opacity: .8; line-height: 1.2; }
.cta-phone strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 30px; line-height: 1.2; }
.cta-card .btn { margin-top: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-dark); color: #b9b9b9; padding: 88px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer-about p { max-width: 320px; color: #a6a6a6; margin: 22px 0 26px; line-height: 1.7; }
.socials { display: flex; gap: 12px; }
.socials a {
	width: 42px; height: 42px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #2a2a2a; color: #e6e6e6;
}
.socials a:hover { background: var(--c-primary); color: var(--c-white); }
.socials svg { width: 18px; height: 18px; }
.site-footer h4 { font-family: var(--f-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e6e6e6; font-weight: 500; margin-bottom: 22px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-list a { color: #b1b1b1; }
.footer-list a:hover { color: var(--c-white); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: #b1b1b1; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--c-primary); }
.footer-contact a { color: #e6e6e6; }
.footer-bottom { border-top: 1px solid #2d2d2d; padding: 28px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #7d7d7d; }
.footer-bottom a { color: #9a9a9a; }
.footer-bottom a:hover { color: var(--c-white); }
.footer-bottom nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }

/* ==========================================================================
   Generic content, blog, search, 404
   ========================================================================== */
.content-narrow { max-width: 780px; }
.prose h2 { font-size: 36px; margin-top: 1.6em; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; }
.prose img { border-radius: var(--radius-md); margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--c-gold); font-family: var(--f-head); font-size: 24px; color: var(--c-ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; font-size: 16px; color: var(--c-ink); }
.checklist li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23553b2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-primary-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--c-muted); margin-bottom: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card__meta a { color: var(--c-primary); }
.post-card h3 { font-size: 24px; margin-bottom: 12px; }
.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card p { font-size: 15px; margin-bottom: 22px; }
.post-card .link-more { margin-top: auto; }

.post-hero { padding: 88px 0 48px; background: var(--c-beige); }
.post-hero h1 { font-size: 56px; max-width: 860px; margin-bottom: 22px; }
.post-hero__meta { font-size: 15px; color: var(--c-muted); display: flex; gap: 18px; flex-wrap: wrap; }
.post-hero__meta a { color: var(--c-primary); }
.post-cover { margin: -24px auto 72px; max-width: 1100px; padding: 0 var(--gutter); }
.post-cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 8; object-fit: cover; }

.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--c-line); font-size: 15px; }
.post-nav a { color: var(--c-ink); }

.pagination { margin-top: 64px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); color: var(--c-ink); background: var(--c-white); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }

.search-form { display: flex; gap: 12px; max-width: 620px; margin-top: 32px; }
.search-form input[type="search"] {
	flex: 1; height: 56px; padding: 0 24px; border-radius: 999px; border: 1px solid #d6d1c9; background: var(--c-white);
	font: 16px var(--f-body); color: var(--c-ink);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.search-form .btn { height: 56px; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.search-results li { background: var(--c-white); border-radius: var(--radius-md); padding: 26px 30px; box-shadow: var(--shadow-card); }
.search-results h3 { font-size: 24px; margin-bottom: 8px; }
.search-results h3 a { color: var(--c-ink); }
.search-results span { font-size: 13px; color: var(--c-primary); text-transform: uppercase; letter-spacing: .1em; }
.search-results p { margin: 8px 0 0; font-size: 15px; }

.error-404 { text-align: center; padding: 140px 0 160px; position: relative; overflow: hidden; }
.error-404__code { font-family: var(--f-head); font-size: 180px; line-height: 1; color: var(--c-primary-soft); margin-bottom: -20px; }
.error-404 h1 { font-size: 52px; }
.error-404 .lead { max-width: 560px; margin: 0 auto 40px; }
.error-404 .hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.empty-note { padding: 40px; border-radius: var(--radius-md); background: var(--c-white); box-shadow: var(--shadow-card); color: var(--c-text); }

/* ==========================================================================
   Service detail
   ========================================================================== */
.service-hero { padding: 96px 0 0; background: var(--c-beige); }
.service-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service-hero h1 { font-size: 56px; }
.service-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 24px 60px rgba(37, 35, 32, .12); }
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero { padding-bottom: 96px; }
.service-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.service-block { margin-bottom: 64px; }
.service-block h2 { font-size: 40px; margin-bottom: 20px; }
.service-block p { font-size: 17px; line-height: 1.75; }
.service-side { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-card); }
.side-card h3 { font-size: 26px; margin-bottom: 14px; }
.side-card p { font-size: 15px; }
.side-card .btn { width: 100%; margin-top: 8px; }
.faq { display: grid; gap: 14px; }
.faq details { background: var(--c-white); border-radius: var(--radius-md); padding: 22px 26px; box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--f-head); font-size: 21px; color: var(--c-ink); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-size: 24px; color: var(--c-primary); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; font-size: 15px; }

/* ==========================================================================
   Listings: oferta, zespół, sprzęt, galeria, certyfikaty, cennik
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.team-card__media { aspect-ratio: 4 / 5; background: var(--c-primary-soft); overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 28px 30px 32px; }
.team-card h3 { font-size: 26px; margin-bottom: 6px; }
.team-card__role { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; font-weight: 500; }
.team-card p { font-size: 15px; margin: 0; }
.team-card a { color: var(--c-ink); }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-card); }
.about-split__media img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { font-size: 44px; margin-bottom: 22px; }
.about-split p { font-size: 17px; }
.about-split .signature { font-family: var(--f-head); font-size: 22px; color: var(--c-ink); margin-top: 28px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-card); }
.value-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 24px; margin-bottom: 12px; }
.value-card p { font-size: 15px; margin: 0; }

.equip-list { display: grid; gap: 96px; }
.equip-item { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.equip-item--flip .equip-item__media { order: 2; }
.equip-item__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.equip-item__media img { width: 100%; height: 100%; object-fit: cover; }
.equip-item h3 { font-size: 36px; margin-bottom: 18px; }
.equip-item p { font-size: 17px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-grid a { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-primary-soft); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cert-card { background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 34px 32px; display: flex; flex-direction: column; gap: 16px; }
.cert-card__seal { width: 56px; height: 56px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; }
.cert-card h3 { font-size: 23px; margin: 0; }
.cert-card p { font-size: 15px; margin: 0; }
.cert-card__tag { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--c-gold); font-weight: 500; }

.hours-card { background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 48px 52px; max-width: 720px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours-table th, .hours-table td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 500; color: var(--c-ink); width: 50%; }
.hours-table td { color: var(--c-text); text-align: right; }

.price-list { background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 12px 40px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.price-row:last-child { border-bottom: 0; }
.price-row h3 { font-size: 22px; margin: 0; }
.price-row p { font-size: 14px; margin: 4px 0 0; }
.price-row strong { font-family: var(--f-head); font-weight: 400; font-size: 24px; color: var(--c-ink); white-space: nowrap; }
.price-group + .price-group { margin-top: 56px; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.promo-card { background: var(--c-primary); color: var(--c-white); border-radius: var(--radius-lg); padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.promo-card h3 { color: var(--c-white); font-size: 28px; margin: 0; }
.promo-card p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; }
.promo-card__badge { align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .18); padding: 7px 14px; border-radius: 999px; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.info-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: var(--shadow-card); display: flex; gap: 22px; align-items: flex-start; }
.info-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.info-card h3 { font-size: 22px; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: 16px; color: var(--c-ink); margin: 0; }
.info-card small { display: block; font-size: 13px; color: var(--c-muted); margin-bottom: 4px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 300px; box-shadow: var(--shadow-card); margin-top: 8px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-card); }
.form-card h2 { font-size: 36px; margin-bottom: 8px; }
.form-card > p { font-size: 15px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; color: var(--c-ink); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
	width: 100%; border: 1px solid #dcd7cf; border-radius: 14px; background: var(--c-cream);
	padding: 15px 18px; font: 15px var(--f-body); color: var(--c-ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); background: var(--c-white); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.form-consent { font-size: 13px; color: var(--c-muted); margin: 18px 0 24px; line-height: 1.6; }
.form-consent label { display: flex; gap: 12px; align-items: flex-start; }
.form-consent input { margin-top: 4px; accent-color: var(--c-primary); }
.form-notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 24px; font-size: 15px; }
.form-notice--ok { background: var(--c-primary-soft); color: #4a3428; }
.form-notice--err { background: #f8e7e5; color: #8a2f25; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	h1 { font-size: 48px; }
	h2 { font-size: 40px; }
	.hero h1 { font-size: 52px; }
	.primary-nav ul { gap: 22px; }
	.services-grid, .post-grid, .team-grid, .cert-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
	.values-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cta-card { padding: 60px 48px; }
	.service-body { grid-template-columns: 1fr; }
	.service-side { position: static; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.topbar__hours { display: none; }
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--c-cream); border-bottom: 1px solid var(--c-line);
		padding: 12px var(--gutter) 28px; display: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: 17px; }
	.primary-nav a::after { display: none; }
	.header-cta .btn { display: none; }
	.hero { min-height: 0; }
	.hero__inner { padding-top: 80px; padding-bottom: 64px; }
	.hero__media::after { background: linear-gradient(180deg, rgba(252, 251, 249, .94) 0%, rgba(252, 251, 249, .82) 60%, rgba(252, 251, 249, .6) 100%); }
	.hero h1 { font-size: 44px; }
	.hero__actions { margin-bottom: 48px; }
	.section { padding: 80px 0; }
	.section__head { margin-bottom: 40px; }
	.quote-band { padding: 96px 0; }
	.quote-band blockquote p { font-size: 36px; }
	.cta-card { grid-template-columns: 1fr; padding: 48px 32px; border-radius: 24px; gap: 32px; }
	.cta-card h2 { font-size: 40px; }
	.page-hero h1, .service-hero h1, .post-hero h1 { font-size: 42px; }
	.service-hero__grid, .about-split, .equip-item, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
	.equip-item--flip .equip-item__media { order: 0; }
	.about-split__media { aspect-ratio: 4 / 3; }
	.equip-list { gap: 64px; }
	.contact-grid { gap: 40px; }
	.form-card { padding: 32px 24px; }
	.hours-card { padding: 32px 28px; }
	.error-404__code { font-size: 130px; }
	.error-404 h1 { font-size: 40px; }
}

@media (max-width: 640px) {
	:root { --gutter: 20px; }
	body { font-size: 15px; }
	h1 { font-size: 38px; }
	h2 { font-size: 34px; }
	.hero h1 { font-size: 40px; }
	.hero__lead { font-size: 17px; }
	.hero__stats { gap: 18px 24px; }
	.hero__stat { font-size: 14px; }
	.btn { height: 50px; padding: 0 24px; }
	.services-grid, .post-grid, .team-grid, .cert-grid, .promo-grid, .values-grid, .gallery-grid { grid-template-columns: 1fr; }
	.service-card__body { padding: 26px 24px 28px; }
	.footer-grid { grid-template-columns: 1fr; gap: 40px; }
	.topbar .wrap { flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; gap: 6px; }
	.topbar__items { gap: 14px 22px; }
	.quote-band blockquote p { font-size: 30px; }
	.cta-phone strong { font-size: 26px; }
	.form-grid { grid-template-columns: 1fr; }
	.price-list { padding: 8px 22px; }
	.price-row { flex-direction: column; gap: 6px; }
	.page-hero { padding: 72px 0 64px; }
	.page-hero h1, .service-hero h1, .post-hero h1, .error-404 h1 { font-size: 36px; }
	.search-form { flex-direction: column; }
	.post-nav { flex-direction: column; }
	.error-404__code { font-size: 110px; }
	.section--tight { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Pomocnicze klasy (ikony, odstępy używane w szablonach)
   ========================================================================== */
.adx-icon { width: 22px; height: 22px; flex: none; }
.adx-icon--sm { width: 16px; height: 16px; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--c-primary); }
.service-card__media { display: block; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-72 { margin-top: 72px; }
.mb-96 { margin-bottom: 96px; }
.mt-0 { padding-top: 0; }
.h2-sm { font-size: 36px; margin-bottom: 20px; }
.h2-md { font-size: 36px; margin-bottom: 24px; }
.center-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.side-card .btn + .btn { margin-top: 12px; }
.side-card .footer-list { color: var(--c-text); }
.hero__actions--tight { margin-top: 32px; }
.error-404 .search-form { margin: 0 auto; }
.pt-0 { padding-top: 0; }
.search-wrap { max-width: 520px; margin: 48px auto 0; }
.service-hero__media--portrait { aspect-ratio: 4 / 5; }
.hero__actions--tight { margin-top: 32px; }

/* Widżety: stopka i panel aktualności */
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-bottom: 56px; border-top: 1px solid #2d2d2d; padding-top: 56px; }
.footer-widget { color: #b1b1b1; font-size: 15px; }
.footer-widget .widget-title { font-family: var(--f-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e6e6e6; font-weight: 500; margin: 0 0 18px; }
.footer-widget a { color: #b1b1b1; }
.footer-widget a:hover { color: var(--c-white); }
.footer-widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.post-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 64px; }
.post-widgets .widget-title { font-family: var(--f-head); font-weight: 400; font-size: 24px; color: var(--c-ink); margin: 0 0 14px; }
.post-widgets .widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.post-widgets .widget a { color: var(--c-ink); }
@media (max-width: 900px) { .footer-widgets { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Baner cookies
   ========================================================================== */
.cookie-banner {
	position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 100;
	max-width: 860px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 22px 26px; border-radius: var(--radius-md);
	background: var(--c-white); color: var(--c-text); font-size: 15px; line-height: 1.6;
	box-shadow: 0 18px 50px rgba(37, 35, 32, .18); border: 1px solid var(--c-line);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; }
.cookie-banner__text a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.cookie-banner .btn { height: 46px; padding: 0 22px; font-size: 14px; }
@media (max-width: 640px) {
	.cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; padding: 20px; }
	.cookie-banner__actions .btn { flex: 1; }
}

/* ==========================================================================
   Animacje i interakcje (delikatne; wyłączane przy prefers-reduced-motion)
   ========================================================================== */
@keyframes adx-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes adx-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes adx-zoom {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}
@keyframes adx-slide-up {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

/* Wejście hero: kolejne elementy wjeżdżają jeden po drugim */
.hero__content > * { animation: adx-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__content > :nth-child(1) { animation-delay: .05s; }
.hero__content > :nth-child(2) { animation-delay: .15s; }
.hero__content > :nth-child(3) { animation-delay: .25s; }
.hero__content > :nth-child(4) { animation-delay: .35s; }
.hero__content > :nth-child(5) { animation-delay: .5s; }
.hero__media img { animation: adx-zoom 2.4s cubic-bezier(.2, .7, .2, 1) both; }
.hero__stat { animation: adx-fade .8s ease both; }
.hero__stats .hero__stat:nth-child(1) { animation-delay: .6s; }
.hero__stats .hero__stat:nth-child(2) { animation-delay: .7s; }
.hero__stats .hero__stat:nth-child(3) { animation-delay: .8s; }

/* Pojawianie się sekcji przy przewijaniu (dodawane przez JS) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* Nagłówek zmienia cień po przewinięciu */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(37, 35, 32, .08); background: rgba(252, 251, 249, .99); }
.brand__mark { transition: transform .4s cubic-bezier(.2, .7, .2, 1), background .3s ease; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }

/* Hovery: przyciski, karty, linki */
.btn--primary { box-shadow: 0 8px 20px rgba(85, 59, 46, .25); }
.btn--primary:hover { box-shadow: 0 12px 26px rgba(85, 59, 46, .35); }
.btn--ghost:hover { background: var(--c-white); }
.btn:active { transform: translateY(0) scale(.98); }
.service-card, .post-card, .team-card, .value-card, .cert-card, .promo-card, .info-card {
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.post-card:hover, .team-card:hover, .value-card:hover, .cert-card:hover, .promo-card:hover, .info-card:hover {
	transform: translateY(-4px); box-shadow: 0 18px 40px rgba(37, 35, 32, .1);
}
.team-card__media img, .post-card__media img { transition: transform .6s ease; }
.team-card:hover .team-card__media img, .post-card:hover .post-card__media img { transform: scale(1.04); }
.footer-list a { display: inline-block; transition: color .2s ease, transform .2s ease; }
.footer-list a:hover { transform: translateX(4px); }
.socials a { transition: background .25s ease, color .25s ease, transform .25s ease; }
.socials a:hover { transform: translateY(-2px); }
.cta-phone__icon { transition: transform .4s cubic-bezier(.2, .7, .2, 1), background .3s ease; }
.cta-phone:hover .cta-phone__icon { transform: scale(1.08) rotate(-6deg); background: rgba(255, 255, 255, .26); }
.gallery-grid a { transition: transform .35s ease, box-shadow .35s ease; }
.gallery-grid a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37, 35, 32, .12); }
.faq details { transition: box-shadow .3s ease, transform .3s ease; }
.faq details[open] { box-shadow: 0 12px 30px rgba(37, 35, 32, .08); }
.faq summary::after { transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.price-row { transition: background .25s ease, padding .25s ease; }
.price-row:hover { background: var(--c-cream); padding-left: 12px; padding-right: 12px; }
.primary-nav a::after { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.quote-band blockquote p { transition: letter-spacing .6s ease; }
.cookie-banner { animation: adx-slide-up .5s cubic-bezier(.2, .7, .2, 1) both; }
.primary-nav.is-open { animation: adx-fade .25s ease both; }

@media (prefers-reduced-motion: reduce) {
	.hero__content > *, .hero__media img, .hero__stat, .cookie-banner, .primary-nav.is-open { animation: none !important; }
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* Bardzo wąskie ekrany: nazwa w jednej linii */
@media (max-width: 360px) {
	.brand { font-size: 17px; gap: 10px; }
	.brand__mark { width: 38px; height: 38px; }
	.brand__name { white-space: nowrap; }
}

/* Lista „Inne usługi” w panelu bocznym: linki czytelne na białej karcie */
.side-card .footer-list a { color: var(--c-ink); }
.side-card .footer-list a:hover { color: var(--c-primary); }
