/* Fonty hostowane lokalnie: Outfit (variable 300–700) i Instrument Serif italic — licencja SIL OFL */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/outfit-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/outfit-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================
   Rem-Bud  |  base.css
   Tokeny, reset, typografia, nawigacja, przyciski, stopka
   ===================================================== */

:root {
  --paper: #fbf9f5;      /* ciepłe złamane tło (GUST G1) */
  --mist: #f3efe8;
  --mist-2: #e9e3d9;
  --line: #e4ded3;
  --ink: #15150f;
  --ink-soft: #5a5a52;
  --ink-faint: #67675f;  /* kontrast ≥ 4,5:1 także na --mist */
  --accent: #c43f0b;     /* biały tekst na akcencie ≥ 5:1 */
  --accent-deep: #b93c0a;
  --accent-text: #a8360a; /* pomarańcz jako tekst (eyebrow, ceny, numery) */
  --accent-soft: #fbe9df;
  --dark: #2b2521;       /* ciemne powierzchnie: ciepły grafit-brąz (wariant A „espresso", 21.10.2026) */
  --dark-2: #231e1b;
  --ok: #2f7d4f;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 18px 40px rgba(21, 21, 15, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
h1 em, h2 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent-text); }
h1 em { font-size: 1.08em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 20px; letter-spacing: -0.015em; }
h4 { font-size: 17px; letter-spacing: -0.01em; }

p.lead { font-size: 18px; color: var(--ink-soft); line-height: 1.65; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* ============ PRZYCISKI ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { flex: none; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }

.btn-sm { padding: 11px 20px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; color: var(--ink);
  transition: gap 0.2s var(--ease), color 0.2s;
}
.link-arrow:hover { gap: 12px; color: var(--accent); }

/* ============ NAWIGACJA ============ */
header.site-header { position: sticky; top: 0; z-index: 40; }
.nav-bar {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
header.site-header.scrolled .nav-bar { border-bottom-color: var(--line); }
header.site-header.menu-open .nav-bar { background: var(--paper); border-bottom-color: var(--line); }

/* pasek na całą szerokość: Menu + logo | linki wyśrodkowane | telefon */
.nav-bar > .wrap { max-width: none; padding: 0 40px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); gap: 24px; }
.nav-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.nav > .nav-phone { justify-self: end; }

.nav-links { display: flex; align-items: center; gap: 6px; transition: opacity 0.3s var(--ease); }
.nav-links > a,
.nav-drop > button {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 8px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--ink-soft); text-decoration: none;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links > a::after,
.nav-drop > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links > a:hover, .nav-drop > button:hover, .nav-drop:hover > button, .nav-drop.open > button { color: var(--ink); }
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after,
.nav-drop:hover > button::after, .nav-drop.open > button::after, .nav-drop.active > button::after { transform: scaleX(1); }
.nav-links > a[aria-current="page"], .nav-drop.active > button { color: var(--ink); }
.nav-drop > button svg { transition: transform 0.35s var(--ease); }
.nav-drop:hover > button svg, .nav-drop.open > button svg { transform: rotate(180deg); }
header.site-header.menu-open .nav-links { opacity: 0; pointer-events: none; }

/* rozwijane „Usługi” w dół */
.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -8px);
  width: 320px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s;
}
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-drop-panel, .nav-drop.open .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav-drop-panel a {
  display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink);
  transition: background 0.2s, transform 0.3s var(--ease);
}
.nav-drop-panel a:hover { background: var(--mist); }
.nav-drop-panel a[aria-current="page"] { background: var(--accent-soft); }
.nav-drop-panel a b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nav-drop-panel a small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-faint); }

.logo { text-decoration: none; color: var(--ink); line-height: 1.15; flex: none; display: inline-flex; align-items: center; gap: 12px; }
.logo-img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.logo-text { display: block; }
.logo b { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; display: block; }
.logo b em { font-style: normal; color: var(--accent); }
.logo span { font-weight: 400; font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.01em; }

/* przycisk MENU */
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--mist); border: 1px solid transparent; color: var(--ink); cursor: pointer;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), border-color 0.25s, transform 0.2s var(--ease);
}
.menu-btn:hover { background: var(--mist-2); }
.menu-btn:active { transform: scale(0.97); }
header.site-header.menu-open .menu-btn { background: var(--dark); color: #fff; }
.menu-icon { position: relative; width: 20px; height: 14px; display: block; }
.menu-icon i {
  position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease), width 0.3s var(--ease);
}
.menu-icon i:first-child { top: 2px; }
.menu-icon i:last-child { top: 10px; width: 13px; }
.menu-btn:hover .menu-icon i:last-child { width: 20px; }
header.site-header.menu-open .menu-icon i { width: 20px; top: 6px; }
header.site-header.menu-open .menu-icon i:first-child { transform: rotate(45deg); }
header.site-header.menu-open .menu-icon i:last-child { transform: rotate(-45deg); }
.menu-label { position: relative; display: block; height: 1.2em; overflow: hidden; min-width: 56px; }
.menu-label span { display: block; line-height: 1.2; transition: transform 0.45s var(--ease), opacity 0.3s; }
.menu-label span:last-child { position: absolute; inset: 0; transform: translateY(110%); opacity: 0; }
header.site-header.menu-open .menu-label span:first-child { transform: translateY(-110%); opacity: 0; }
header.site-header.menu-open .menu-label span:last-child { transform: none; opacity: 1; }

.nav-phone {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  background: var(--dark); color: #fff; text-decoration: none;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.nav-phone:hover { background: var(--accent); }

/* ============ MENU PEŁNOEKRANOWE ============ */
.menu {
  position: fixed; inset: 0; z-index: 1;
  background: var(--paper);
  --ox: 160px; --oy: 36px;
  clip-path: circle(0px at var(--ox) var(--oy));
  visibility: hidden; pointer-events: none;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.menu.open {
  clip-path: circle(160% at var(--ox) var(--oy));
  visibility: visible; pointer-events: auto;
  transition: clip-path 0.9s var(--ease), visibility 0s;
}
body.menu-open { overflow: hidden; }

.menu-inner {
  min-height: 100%; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 48px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: start;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list > li {
  border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  transition-delay: 0s;
}
.menu-list > li:last-child { border-bottom: 1px solid var(--line); }
.menu.open .menu-list > li { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i) * 0.07s); }

.menu-list > li > a,
.menu-list > li > button {
  display: flex; align-items: center; gap: 22px; width: 100%;
  padding: 22px 0; background: none; border: none; cursor: pointer; text-align: left;
  color: var(--ink); text-decoration: none;
  font-family: inherit; font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  transition: color 0.25s, padding-left 0.4s var(--ease);
}
.menu-list > li > a:hover, .menu-list > li > button:hover { padding-left: 14px; }
.menu-list > li > a[aria-current="page"], .menu-group.active > button { color: var(--accent); }
.menu-list .num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent-text); min-width: 28px; align-self: flex-start; margin-top: 10px; }
.menu-list > li > a svg { margin-left: auto; flex: none; opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.4s var(--ease); color: var(--accent); }
.menu-list > li > a:hover svg { opacity: 1; transform: none; }
.menu-group > button .chev { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.5s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; }
.menu-group > button:hover .chev { border-color: var(--ink); }
.menu-group.open > button .chev { transform: rotate(180deg); background: var(--dark); color: #fff; border-color: var(--dark); }

/* rozwijane usługi */
.menu-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.menu-group.open .menu-sub { grid-template-rows: 1fr; }
.menu-sub > div { overflow: hidden; }
.menu-sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 26px 50px; }
.menu-sub li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.menu-group.open .menu-sub li { opacity: 1; transform: none; transition-delay: calc(0.12s + var(--j) * 0.06s); }
.menu-sub a {
  display: block; padding: 16px 18px; border-radius: var(--r); text-decoration: none; color: var(--ink);
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2;
  background: var(--mist); transition: background 0.25s, transform 0.3s var(--ease);
}
.menu-sub a:hover { background: var(--accent-soft); transform: translateY(-2px); }
.menu-sub a[aria-current="page"] { background: var(--dark); color: #fff; }
.menu-sub a small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--ink-soft); }
.menu-sub a[aria-current="page"] small { color: rgba(255,255,255,0.7); }

/* panel boczny */
.menu-side { position: sticky; top: calc(var(--nav-h) + 56px); opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease) 0.4s, transform 0.8s var(--ease) 0.4s; }
.menu.open .menu-side { opacity: 1; transform: none; }
.menu-visual { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.menu-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.5s var(--ease), transform 1.2s var(--ease); }
.menu-visual img.active { opacity: 1; transform: scale(1); }
.menu-contact { margin-top: 26px; display: grid; gap: 6px; }
.menu-contact a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.menu-contact a.big { font-size: 24px; letter-spacing: -0.02em; }
.menu-contact a:hover { color: var(--accent); }
.menu-contact p { margin-top: 8px; font-size: 14px; color: var(--ink-faint); line-height: 1.55; }

/* ============ SEKCJE ============ */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.bg-mist { background: var(--mist); }
.bg-ink { background: linear-gradient(135deg, #2f2823, var(--dark-2)); color: #fff; }           /* ciemna sekcja w rytmie strony (GUST G7) */
.art { background: url(../img/logo-mark.svg) center / 56px no-repeat, repeating-linear-gradient(135deg, transparent 0 18px, rgba(21, 21, 15, 0.05) 18px 19px), var(--mist-2); border-radius: var(--r-lg); width: 100%; }
.hero-media .art { aspect-ratio: 4 / 4.4; }
.page-hero .art { aspect-ratio: 5 / 4; }
.split .art { aspect-ratio: 4 / 3.3; }
.viz-band .art { position: absolute; inset: 0; border-radius: 0; background-size: 72px, auto, auto; }
.bg-ink h2 { color: #fff; }
.bg-ink .sec-head p { color: rgba(255, 255, 255, 0.72); }
.bg-ink .split h2 + p, .bg-ink .points .pt p { color: rgba(255, 255, 255, 0.72); }
.bg-ink .points .pt { border-color: rgba(255, 255, 255, 0.14); }
.bg-ink .points .ico { background: rgba(255, 255, 255, 0.1); color: #f0a070; }
.bg-ink .link-arrow { color: #fff; }
.bg-ink .link-arrow:hover { color: #f0a070; }
.bg-ink .eyebrow { color: #f0a070; }
.bg-ink .eyebrow::before { background: #f0a070; }

.sec-head { max-width: 62ch; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head.row > div { max-width: 60ch; }

/* ============ BREADCRUMBS ============ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-faint); margin-bottom: 20px; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink-soft); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }

/* ============ STOPKA ============ */
footer.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand .logo-img { margin-bottom: 14px; }
.foot-brand b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.foot-brand b em { font-style: normal; color: var(--accent); }
.foot-brand p { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); max-width: 36ch; }
.foot-brand p + p { margin-top: 8px; color: var(--ink-faint); }
.site-footer .foot-h { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 600; }
.site-footer li { font-size: 15px; color: var(--ink-soft); padding: 5px 0; }
.site-footer li a { text-decoration: none; color: var(--ink-soft); transition: color 0.2s; }
.site-footer li a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--ink-faint);
}
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }
.foot-bottom .legal { display: flex; gap: 18px; }
.foot-bottom .credit { width: 100%; }
.foot-bottom .credit a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom .credit a:hover { color: var(--ink); }

/* ============ FAB (mobile) ============ */
.call-fab {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 50;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 15px 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600;
  box-shadow: 0 14px 34px rgba(196, 63, 11, 0.35);
}
.call-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab {
  display: none; position: fixed; right: 164px; bottom: 21px; z-index: 50; width: 48px; height: 48px; border-radius: 50%;
  align-items: center; justify-content: center; background: #25D366; color: #0b1f12;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.wa-fab.show { opacity: 1; transform: none; pointer-events: auto; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1360px) {
  .logo-text span { display: none; }
  .nav-links > a, .nav-drop > button { padding: 10px 11px; }
}

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-bar > .wrap { padding: 0 24px; }
}

@media (max-width: 1024px) {
  .menu-inner { grid-template-columns: 1fr; gap: 40px; padding-top: calc(var(--nav-h) + 32px); }
  .menu-side { position: static; }
  .menu-visual { display: none; }
  .menu-contact { padding-top: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .logo-img { width: 38px; height: 38px; }
  .logo-text { display: none; }
  .nav-left { gap: 12px; }
  .menu-btn { padding: 0 14px; }
  .nav-phone { width: 44px; padding: 0; justify-content: center; }
  .nav-phone span { display: none; }
  .menu-list > li > a, .menu-list > li > button { padding: 16px 0; gap: 14px; }
  .menu-list .num { margin-top: 6px; min-width: 22px; }
  .menu-sub ul { grid-template-columns: 1fr; padding-left: 0; }
  .menu-group > button .chev { width: 38px; height: 38px; }
  section { padding: 64px 0; }
  section.tight { padding: 48px 0; }
  .sec-head { margin-bottom: 32px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .call-fab, .wa-fab { display: inline-flex; }  /* widoczne dopiero po zjechaniu z hero (klasa .show z JS) */
  footer.site-footer { padding-bottom: 96px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
}

/* =====================================================
   Rem-Bud  |  components.css
   Sekcje i komponenty treści (strona główna + podstrony)
   ===================================================== */

/* ============ HERO (strona główna) ============ */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero p.lead { margin-top: 22px; max-width: 46ch; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.hero-note svg { color: var(--ok); }

.hero-media { position: relative; }
.hero-media .main { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); }
.hero-media .float {
  position: absolute; left: -44px; bottom: 36px; width: 44%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); border: 6px solid #fff; box-shadow: 0 24px 60px rgba(21, 21, 15, 0.16);
}

/* ============ PAGE HERO (podstrony) ============ */
.page-hero { padding: 40px 0 64px; }
.page-hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.page-hero p.lead { margin-top: 20px; max-width: 50ch; }
.page-hero img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.page-hero.plain { padding-bottom: 32px; }
.page-hero.plain .grid { grid-template-columns: 1fr; }
.page-hero.plain p.lead { max-width: 60ch; }

/* ============ PASEK ZAUFANIA ============ */
.trust { border-block: 1px solid var(--line); padding: 26px 0; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.trust li svg { flex: none; color: var(--accent); margin-top: 3px; }
.trust li b { color: var(--ink); font-weight: 600; display: block; }

/* ============ KARTY USŁUG ============ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.svc .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.svc .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc:hover .media img { transform: scale(1.04); }
.svc .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 20px; }
.svc p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.svc .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.svc .more svg { transition: transform 0.25s var(--ease); }
.svc:hover .more svg { transform: translateX(4px); }
.svc:hover .more { color: var(--accent); }
.svc.tint { background: var(--mist); border-color: transparent; }
.svc.tint .ico { background: #fff; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.svc .ico { margin-bottom: 18px; }

/* ============ SPLIT (zdjęcie + treść) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-lg); }
.split h2 + p, .split h3 + p { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.split .btn, .split .link-arrow { margin-top: 28px; }

.points { margin-top: 30px; }
.points .pt { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.points .pt:last-child { border-bottom: 1px solid var(--line); }
.points .pt h3 { font-size: 16.5px; }
.points .pt p { font-size: 15px; color: var(--ink-soft); margin-top: 3px; }
.bg-mist .points .ico { background: #fff; }

/* ============ CHECKLIST ============ */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
}
.bg-mist .check { border-color: transparent; }
.check svg { flex: none; color: var(--accent); margin-top: 2px; }
.check h3, .check h2 { font-size: 16.5px; }
.check p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }

/* ============ GALERIA ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--r); background: var(--mist); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 44px 22px 20px;
  background: linear-gradient(to top, rgba(16, 16, 14, 0.72), transparent);
  color: #fff; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em;
}
.g-item .cap small { display: block; font-weight: 400; font-size: 13px; opacity: 0.8; margin-top: 2px; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item.hidden { display: none; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ============ PRZED / PO ============ */
.ba-wrap { max-width: 960px; margin: 0 auto; }
.ba { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 9; --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before-layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba .knob {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 10px 30px rgba(21, 21, 15, 0.28); pointer-events: none;
}
.ba .tag {
  position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); pointer-events: none;
}
.ba .tag.before { left: 16px; }
.ba .tag.after { right: 16px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-faint); }

/* ============ OPINIE ============ */
.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.op { background: #fff; border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
.bg-mist .op { border-color: transparent; }
.op .stars { display: flex; gap: 3px; color: var(--accent); }
.op blockquote { font-size: 16.5px; line-height: 1.6; color: var(--ink); border: none; margin: 0; }
.op .who { margin-top: auto; font-size: 14px; color: var(--ink-faint); }
.op .who b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.bg-ink .op { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.bg-ink .op blockquote { color: #fff; }
.bg-ink .op .who { color: rgba(255, 255, 255, 0.62); }
.bg-ink .op .who b { color: #fff; }
.bg-ink .op .stars { color: #f0a070; }

/* ============ PROCES ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 20px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent-text); margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ============ TABELA PORÓWNAWCZA ============ */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; background: var(--mist); }
.cmp tr:last-child td { border-bottom: none; }
.cmp td:first-child { font-weight: 600; color: var(--ink); }
.cmp td.hi { color: var(--ink); background: var(--accent-soft); font-weight: 500; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; color: var(--ink); transition: transform 0.3s var(--ease), background 0.2s;
}
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--dark); color: #fff; border-color: var(--dark); }
.faq-list .answer { padding: 0 48px 22px 0; font-size: 16px; color: var(--ink-soft); line-height: 1.65; }

/* ============ CTA ============ */
.cta { background: linear-gradient(135deg, #2f2823, var(--dark-2)); color: #fff; border-radius: var(--r-lg); padding: 64px 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, 0.72); max-width: 50ch; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cta .btn-ghost:hover { border-color: #fff; }
.cta .hours { font-size: 14px; color: rgba(255, 255, 255, 0.55); text-align: center; }

/* ============ WYNAJEM ============ */
.rent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rent-card { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.rent-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rent-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.rent-card h3, .rent-card h2 { font-size: 22px; }
.rent-card p { margin-top: 8px; font-size: 15.5px; color: var(--ink-soft); }
.rent-card ul { margin-top: 18px; display: grid; gap: 8px; }
.rent-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.rent-card li svg { flex: none; color: var(--accent); margin-top: 4px; }
.price-row { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--mist); font-size: 15px; font-weight: 600; }
.price b { color: var(--accent-text); font-size: 19px; }
.price span { font-weight: 500; color: var(--ink-faint); font-size: 13.5px; }

/* ============ BANER ZE ZDJĘCIEM (projektanci) ============ */
.viz { padding: 0; }
.viz-band { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.viz-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viz-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,21,15,0.18), rgba(21,21,15,0) 60%); }
.viz-card {
  position: relative; z-index: 1; max-width: 520px; margin: 88px 0; padding: 44px 48px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
}
.viz-card h2 { font-size: clamp(26px, 2.8vw, 36px); }
.viz-card p { margin-top: 14px; font-size: 16.5px; color: var(--ink-soft); }
.viz-card .btn { margin-top: 26px; }

a.rent-card { text-decoration: none; color: inherit; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; }
a.rent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
a.rent-card .more { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
a.rent-card:hover .more { color: var(--accent); }

/* ============ KONTAKT ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.c-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.3s var(--ease); background: #fff; }
a.c-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.c-card small { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.c-card b { display: block; font-size: 18px; font-weight: 600; margin-top: 3px; letter-spacing: -0.01em; }
.c-card p { font-size: 14.5px; color: var(--ink-soft); margin-top: 3px; }

.form { background: var(--mist); border-radius: var(--r-lg); padding: 36px; }
.form h2, .form h3 { font-size: 22px; }
.btn-wa { background: #25D366; color: #0b1f12; }                      /* zieleń WhatsApp, ciemny tekst ≥ 7:1 */
.btn-wa:hover { background: #1ebe5b; }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; text-align: center; }
.form-note a { color: var(--ink); font-weight: 600; }
.form .consent { display: block; }
.form > p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; padding: 13px 15px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 21, 15, 0.06); }
.consent { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { color: var(--ink); }
.form .btn { margin-top: 20px; width: 100%; }
.form-status { margin-top: 14px; font-size: 14.5px; color: var(--ok); display: none; font-weight: 500; }
.form-status.show { display: block; }
.form-status.err { color: #a3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.map-ph {
  margin-top: 18px; border-radius: var(--r); background: var(--mist); border: 1px dashed var(--line);
  min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; font-size: 14.5px; color: var(--ink-faint);
}
.map-ph iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r); min-height: 300px; }

/* ============ O FIRMIE ============ */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 26px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.bg-mist .fact { border-color: transparent; }
.fact b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.fact span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }

.area-card { border-radius: var(--r-lg); background: var(--mist); padding: 40px 36px; }
.area-card > b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.area-card .radius { display: block; margin-top: 8px; font-size: 17px; color: var(--ink-soft); }
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-soft); }

/* ============ PROSE (polityka, 404) ============ */
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { margin-top: 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--ink); }
.prose .meta { font-size: 14px; color: var(--ink-faint); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid, .page-hero .grid, .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .hero-media .float { left: 16px; bottom: 16px; width: 40%; }
  .services, .check-grid, .op-grid { grid-template-columns: 1fr 1fr; }
  .trust ul, .steps, .facts { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px 36px; }
  .viz-band { min-height: 440px; }
  .viz-card { margin: 56px 0; padding: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 16px 0 56px; }
  .hero-grid { gap: 22px; }
  .hero-media { order: -1; }                         /* zdjęcie nad H1: miejsce widać od razu (GUST G4, G13) */
  .hero p.lead { margin-top: 16px; font-size: 16.5px; }
  .hero-actions { margin-top: 26px; }
  .page-hero { padding: 16px 0 48px; }
  .hero-media .main, .hero-media .art { aspect-ratio: 2 / 1; }
  .hero-media .float { display: none; }
  .services, .check-grid, .op-grid, .rent-grid { grid-template-columns: 1fr; }
  .trust ul, .steps, .facts { grid-template-columns: 1fr; gap: 18px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-item.tall { grid-row: span 1; }
  .g-item.wide { grid-column: span 1; }
  .cta { padding: 40px 24px; border-radius: var(--r); }
  .viz-band { min-height: 0; }
  .viz-card { margin: 32px 0; padding: 28px 22px; }
  .form { padding: 24px 20px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .faq-list .answer { padding-right: 0; }
  .faq-list summary { font-size: 16.5px; padding: 18px 0; }
  .price-row { flex-direction: column; align-items: stretch; }
}
