/* ==========================================================
   Kominki Stylowe – arkusz stylów
   ========================================================== */

:root {
  --bg: #14110f;
  --bg-alt: #1c1815;
  --surface: #241f1b;
  --surface-2: #2d2722;
  --border: rgba(255, 236, 214, .1);
  --text: #f5efe8;
  --muted: #b9ada1;
  --accent: #e0a64a;
  --accent-strong: #f0b75a;
  --ember: #d9622b;
  --on-accent: #1a120a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --container: 1200px;
  --header-h: 76px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-strong); }
ul, ol { list-style: none; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.fill { fill: currentColor; stroke: none; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--on-accent);
  padding: .75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 820px; }

h1, h2, h3 { line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--font-serif); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
h1 em, h2 em, .brand em { font-style: italic; color: var(--accent); }
p + p { margin-top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--on-accent); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.75rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(224, 166, 74, .6);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(224, 166, 74, .75); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.08); box-shadow: none; }
.btn-small { padding: .6rem 1.15rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-fb { background: #1877f2; color: #fff; box-shadow: 0 10px 30px -10px rgba(24, 119, 242, .6); }
.btn-fb:hover { background: #166fe0; color: #fff; box-shadow: 0 16px 36px -12px rgba(24, 119, 242, .75); }
.social-link {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; transition: transform .2s, background .2s;
}
.social-link:hover { transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; }
.social-link-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb-link { background: #1877f2; }
.fb-link:hover { color: #fff; background: #166fe0; }
.maps-link { background: #fff; color: #1f1f1f; }
.maps-link:hover { color: #1f1f1f; background: #f1f1f1; }
.social-links { display: flex; gap: .6rem; }
.gallery-more { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; text-align: center; }
.gallery-more p { color: var(--muted); margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(20, 17, 15, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand:hover { color: var(--text); }
.site-header .brand { position: relative; z-index: 2; }
.brand img { border-radius: 50%; object-fit: cover; }
.brand em { font-family: var(--font-serif); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a { color: var(--text); font-weight: 500; font-size: .95rem; position: relative; padding: .25rem 0; }
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,17,15,.95) 0%, rgba(20,17,15,.75) 45%, rgba(20,17,15,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    url("images/hero.jpg") 70% center / cover no-repeat;
}
.hero-content { max-width: var(--container); }
.hero-content > * { max-width: 660px; }
.hero h1 { margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e6dbcf; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 3rem; color: var(--muted); font-size: .95rem; }
.hero-badges strong { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split p { color: var(--muted); }
.split strong { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stats li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.stat-num, .stat-suffix { font-family: var(--font-serif); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--accent); line-height: 1; }
.stat-label { display: block; margin-top: .6rem; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.about-photo { margin-bottom: 1rem; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

.check-list { display: grid; gap: .35rem; margin: .75rem 0 1rem; }
.check-list li { position: relative; padding-left: 1.75rem; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.showroom {
  margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) 1.4fr auto; gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(224,166,74,.16), rgba(217,98,43,.08) 60%, transparent), var(--surface);
  border: 1px solid rgba(224,166,74,.3);
}
.showroom h3 { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: .75rem; }
.showroom p:not(.eyebrow) { color: var(--muted); }
.showroom-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.showroom-photo { width: 100%; height: 100%; min-height: 220px; max-height: 320px; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(224, 166, 74, .45); box-shadow: 0 24px 50px -24px rgba(224, 166, 74, .35); }
.card h3 { margin-bottom: .6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: rgba(224, 166, 74, .12); color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }
.card-featured { background: linear-gradient(160deg, #3a2a1a, var(--surface) 70%); border-color: rgba(224, 166, 74, .35); }
.tag { font-family: var(--font-sans); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: .2rem .6rem; border-radius: 999px; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter { font: inherit; font-size: .92rem; font-weight: 500; color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: .5rem 1.15rem; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.filter:hover { color: var(--text); border-color: rgba(224,166,74,.5); }
.filter.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery-item.is-hidden { display: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); cursor: zoom-in; }
.gallery-wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img, .gallery-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img, .gallery-item:hover .ph { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0; padding: 2.5rem 1.25rem 1rem; font-size: .92rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.gallery-item:has(.ph) { cursor: default; }
.ph { background: radial-gradient(circle at 50% 80%, rgba(240, 140, 50, .55), transparent 45%), linear-gradient(160deg, #3a2c22, #1b1612); }
.ph-1 { background: radial-gradient(circle at 50% 75%, rgba(255, 150, 60, .6), transparent 35%), linear-gradient(135deg, #574536, #241c16); }
.ph-2 { background: radial-gradient(circle at 35% 70%, rgba(230, 110, 40, .55), transparent 40%), linear-gradient(200deg, #3b3029, #16120f); }
.ph-3 { background: radial-gradient(circle at 60% 75%, rgba(255, 170, 70, .5), transparent 40%), linear-gradient(160deg, #6a3b26, #20140e); }
.ph-4 { background: radial-gradient(circle at 50% 65%, rgba(240, 160, 80, .45), transparent 38%), linear-gradient(120deg, #55534f, #1e1d1b); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 2rem; background: rgba(8, 6, 5, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 85vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox p { margin-top: 1rem; text-align: center; color: var(--muted); }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .3s; }
.steps li:hover { transform: translateY(-5px); }
.step-num { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Partners ---------- */
.partners .section-head { margin-inline: auto; text-align: center; margin-bottom: 3rem; max-width: 760px; }
.partner-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.partner-groups h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; text-align: center; }
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.partner-list li {
  display: grid; place-items: center; flex: 0 1 170px; min-height: 92px; text-align: center;
  font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: .03em; color: var(--text);
  padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.partner-list li:hover { border-color: rgba(224,166,74,.45); transform: translateY(-3px); }
.partner-list a { color: inherit; }
.partner-list a:hover { color: var(--accent); }
.partners-note { text-align: center; margin-top: 2rem; color: var(--muted); font-size: .95rem; }

/* ---------- Opinie ---------- */
.reviews-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.reviews-head p:not(.eyebrow) { color: var(--muted); }
.google-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
}
.g-logo { width: 48px; height: 48px; padding: 8px; border-radius: 12px; background: #fff; }
.google-card strong { display: block; font-size: 1.1rem; }
.google-card p { margin-top: .2rem; }
.rating { color: var(--text); }
.rating-note { color: var(--muted); font-size: .9rem; }
.stars { color: #fbbc04; letter-spacing: .1em; }
.google-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.25rem; margin-top: 3rem; }
.reviews:empty { display: none; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem; }
.review blockquote { color: var(--text); font-size: 1rem; line-height: 1.65; flex: 1; }
.review figcaption { color: var(--muted); font-size: .9rem; }
.review figcaption strong { color: var(--text); }

/* ---------- Poradnik ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.25rem; }
.article-card {
  display: flex; flex-direction: column; gap: .7rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  transition: transform .3s, border-color .3s;
}
.article-card:hover { color: var(--text); transform: translateY(-5px); border-color: rgba(224,166,74,.45); }
.article-card h2, .article-card h3 { font-family: var(--font-serif); font-size: 1.3rem; margin: 0; }
.article-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.article-card p + p { margin-top: 0; }
.article-tag { align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(224,166,74,.12); padding: .25rem .65rem; border-radius: 999px; }
.article-more { color: var(--accent); font-weight: 600; font-size: .95rem; }

/* Strony poradnika */
.article { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.article h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 1rem; }
.article-lead { font-size: 1.15rem; color: #e6dbcf; margin-bottom: 2rem; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2.5rem 0 .9rem; }
.article-body h3 { margin: 1.75rem 0 .6rem; }
.article-body p, .article-body li { color: var(--muted); }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: .75rem 0 1rem; display: grid; gap: .4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li::marker { color: var(--accent); }
.note { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.article-body table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.article-body th, .article-body td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.article-body thead th { color: var(--text); background: var(--surface); }
.article-body tbody th { color: var(--text); font-weight: 600; }
.article-body td { color: var(--muted); }
.article-cta { margin-top: 3rem; padding: 2rem; border-radius: var(--radius); background: linear-gradient(120deg, rgba(224,166,74,.16), transparent), var(--surface); border: 1px solid rgba(224,166,74,.3); }
.article-cta h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.article-cta p { color: var(--muted); margin-bottom: 1.25rem; }
.article-cta .btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.related ul { display: grid; gap: .5rem; }
.page-intro { max-width: 680px; margin-bottom: 2.5rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-75%) rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list > li > svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(224,166,74,.12); color: var(--accent); }
.contact-list strong { display: flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-list address { font-style: normal; }
.contact-list a { color: var(--text); font-size: 1.1rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }

.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 400; padding: .1rem 1.5rem .1rem 0; }
.hours td { color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 600; }
.open-status { font-size: .7rem; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px; background: rgba(90, 190, 120, .15); color: #7fd69a; }
.open-status.closed { background: rgba(230, 90, 70, .15); color: #f0907d; }

.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }

.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface) url("images/hero.jpg") center / cover; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; background: rgba(20,17,15,.82); font-size: .92rem; color: var(--muted); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 1.5rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.field label { font-size: .9rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .8rem 1rem; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field input[type="date"] { -webkit-appearance: none; appearance: none; color-scheme: dark; }
.field select { color-scheme: dark; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,166,74,.2); }
.field .invalid { border-color: #e06a55; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.checkbox input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--accent); }
.checkbox label { font-size: .85rem; font-weight: 400; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.form-status { margin-top: 1rem; font-size: .95rem; min-height: 1.5em; }
.form-status.error { color: #f0907d; }
.form-status.ok { color: #7fd69a; }

/* ---------- Footer ---------- */
.site-footer { background: #0e0c0a; border-top: 1px solid var(--border); padding-top: 4rem; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid .brand { margin-bottom: 1rem; }
.site-footer h3 { color: var(--text); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .4rem; }
.site-footer ul a, .footer-bottom a { color: var(--muted); }
.site-footer ul a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--border); font-size: .85rem; }

/* Mobile call button */
.call-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none;
  width: 58px; height: 58px; border-radius: 50%; place-items: center;
  right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom));
  background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.call-fab svg { width: 26px; height: 26px; }
.call-fab { transition: opacity .3s, visibility .3s; }
.call-fab.is-hidden { opacity: 0; visibility: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Simple page (polityka, 404) ---------- */
.page { padding: calc(var(--header-h) + 3rem) 0 5rem; min-height: 70vh; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.page h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 1.4rem; margin-top: .75rem; }
.page .site-header { background: rgba(20,17,15,.95); }

/* Efekty najechania tylko na urządzeniach z myszką */
@media (hover: none) {
  .card:hover, .steps li:hover, .partner-list li:hover, .btn:hover, .article-card:hover { transform: none; }
  .gallery-item:hover img, .gallery-item:hover .ph { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .site-nav { gap: 1.25rem; }
  .site-nav ul { gap: 1.1rem; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .site-nav ul a, .brand { white-space: nowrap; }
  /* ciasny nagłówek: sam telefon jako ikona, numer zostaje dla czytników ekranu */
  .site-nav .btn-small { font-size: 0; gap: 0; padding: .6rem; }
  .site-nav .btn-small svg { width: 20px; height: 20px; }
}

@media (min-width: 901px) and (max-width: 1000px) {
  .site-nav { gap: .9rem; }
  .site-nav ul { gap: .8rem; }
  .site-nav ul a { font-size: .9rem; }
  .brand { font-size: 1.05rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  /* bez backdrop-filter – inaczej menu "position: fixed" zamyka się w nagłówku */
  .site-header.scrolled, body.nav-open .site-header { background: rgba(20, 17, 15, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: var(--header-h) 1.5rem calc(2rem + env(safe-area-inset-bottom));
    background: rgba(14, 12, 10, .98); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    overflow-y: auto;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: .5rem; }
  .site-nav ul a { display: block; padding: .5rem 1rem; font-size: 1.5rem; font-family: var(--font-serif); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a.active { color: var(--accent); }
  .site-nav .btn { font-size: 1.05rem; padding: .9rem 1.6rem; }
  .site-nav .social-link { display: inline-flex; gap: .55rem; width: auto; height: auto; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1.05rem; }
  .site-nav .social-links { flex-wrap: wrap; justify-content: center; gap: .75rem; }
  .site-nav .social-link-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  body.nav-open { overflow: hidden; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }

  .hero-bg { background-position: center, center, 78% center; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
  .call-fab { display: grid; }
  .showroom { grid-template-columns: 1fr; }
  .partner-groups { grid-template-columns: 1fr; }
  .reviews-head { grid-template-columns: 1fr; }
  .lightbox { padding: 1rem; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 2.25rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
  .eyebrow { font-size: .72rem; letter-spacing: .14em; }

  .hero { padding: calc(var(--header-h) + 2rem) 0 2.5rem; align-items: flex-end; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(20,17,15,.55) 0%, rgba(20,17,15,.8) 45%, var(--bg) 100%),
      url("images/hero-mobile.jpg") 80% center / cover no-repeat;
  }
  .hero-actions { margin-top: 1.75rem; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { flex-direction: column; gap: .35rem; margin-top: 2rem; font-size: .9rem; }

  .stats li { padding: 1.25rem 1rem; }
  .card { padding: 1.5rem; }
  .card-icon { width: 46px; height: 46px; margin-bottom: 1rem; }
  .showroom-actions .btn { flex: 1 1 100%; }
  .gallery-more .btn { width: 100%; }

  /* filtry galerii – przewijany pasek */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-wide { grid-column: auto; grid-row: span 1; }

  .steps { grid-template-columns: 1fr; gap: .75rem; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; }
  .step-num { grid-row: span 2; font-size: 1.8rem; margin: 0; }

  .partner-list li { flex: 1 1 130px; min-height: 72px; font-size: 1.15rem; }

  .faq summary { padding: 1.15rem 2.25rem 1.15rem 0; font-size: 1rem; }
  .faq details p { padding-right: 0; }

  .contact-list > li > svg { width: 40px; height: 40px; padding: 10px; }
  .contact-actions .btn { flex: 1 1 auto; }
  .map { aspect-ratio: 4 / 3; }
  .contact-form { padding: 1.25rem; margin-inline: -4px; }
  .contact-form h3 { font-size: 1.35rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .google-card { padding: 1.25rem; }
  .google-actions .btn { flex: 1 1 100%; }
  .article-card { padding: 1.4rem; }
  .article { padding: calc(var(--header-h) + 1.75rem) 0 3.5rem; }
  .article-lead { font-size: 1.05rem; }
  .article-cta { padding: 1.5rem; }
  .article-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Strony ofertowe (kominki-*.html) ---------- */
.hero h1 .eyebrow { display: block; font-family: var(--font-sans); line-height: 1.5; }
.style-gallery { margin-top: 3rem; }
.style-gallery h2, .style-faq-title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 1.25rem; }
.style-faq-title { margin-top: 3.5rem; }
.card .article-more { display: inline-block; margin-top: .75rem; }
