/* ============================================================
   INBUD Dukaczewski — Landing CSS v3
   ============================================================ */

/* ─── RESET + BASE ────────────────────────────────────────── */

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
ol, ul { list-style: none; }

/* ─── UTILITIES ───────────────────────────────────────────── */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-weight: 600; z-index: 999;
}
.skip-link:focus { top: 1rem; }

/* ─── TYPOGRAPHY UTILITIES ────────────────────────────────── */

.text-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.text-mono {
  font-family: var(--font-mono);
  font-size: inherit;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.text-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-h2 em {
  font-style: italic;
  color: var(--accent);
}

.text-h3 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
}

.text-body {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

.text-stat {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-body); font-size: 0.88rem;
  font-weight: 500; letter-spacing: 0.025em;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative; white-space: nowrap; border-radius: var(--radius);
}

.btn__inner { display: flex; align-items: center; gap: 0.6em; }
.btn__arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--accent); color: #fff;
  padding: 0.95em 2em;
}
.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224, 93, 40, 0.3);
}

.btn--ghost {
  background: transparent; color: var(--text-secondary);
  padding: 0.8em 0; border-radius: 0;
  border-bottom: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text-primary); border-color: var(--text-secondary); }

.btn--outline {
  background: transparent; color: var(--text-primary);
  padding: 0.7em 1.4em;
  border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 1.15em 2.4em; font-size: 0.95rem; }
.btn--sm { padding: 0.55em 1.1em; font-size: 0.78rem; }
.btn--nav { font-size: 0.8rem; padding: 0.55em 1.2em; }
.btn--full { width: 100%; justify-content: center; }
.btn--magnetic { will-change: transform; }

/* ─── NAV ─────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--space-container);
  z-index: var(--z-nav);
  background: linear-gradient(to bottom, rgba(11,14,20,0.92) 0%, transparent 100%);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--ease-smooth),
              border-color 0.4s var(--ease-smooth);
}

.nav.is-scrolled {
  background: rgba(11, 14, 20, 0.96);
  border-bottom: 1px solid var(--border);
}

.nav__logo { display: flex; flex-direction: column; gap: 0.1rem; text-decoration: none; }

.nav__name {
  font-family: var(--font-mono); font-size: 1rem;
  font-weight: 400; letter-spacing: 0.12em;
  color: var(--text-primary);
}

.nav__sub {
  font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--bg-base); overflow: hidden;
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: var(--space-container);
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  max-width: 1440px; margin: 0 auto; width: 100%;
}

.hero__copy,
.hero__visual { min-width: 0; }

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}
.hero__eyebrow { margin-bottom: 1.5rem; }

.hero .label {
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.hero__eyebrow {
  opacity: 0;
  animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.98; letter-spacing: 0;
  color: var(--text-primary);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero__headline em { font-style: italic; color: var(--accent); }

.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75; color: var(--text-secondary);
  max-width: 44ch; margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero__actions {
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero__stats {
  display: flex; gap: clamp(2rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__stat { display: flex; flex-direction: column; gap: 0.35rem; }

/* Visual right */
.hero__visual { position: relative; }

.hero__image-wrap {
  position: relative;
  width: min(100%, 520px);
  height: clamp(420px, 68vh, 780px);
  margin-left: auto;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card);
  clip-path: inset(0 100% 0 0);
}

.hero__image {
  width: 100%; height: 120%;
  object-fit: cover; object-position: center center; display: block;
  transform: scale(1.15);
}

.hero__grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.022; pointer-events: none;
  mask-image: linear-gradient(to bottom right, black 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom right, black 0%, transparent 55%);
}

/* Bosch Partner Badge */
.hero__badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  opacity: 1;
}

.hero__badge img { height: 22px; width: auto; }
.hero__badge-text { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); line-height: 1.5; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: calc(var(--nav-h) + 2rem);
  }
  .hero__visual { width: 100%; }
  .hero__image-wrap {
    width: min(100%, 460px);
    height: clamp(320px, 62vh, 560px);
    margin: 0;
  }
  .hero__headline { font-size: 3.8rem; }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ─── TRUST BAR ───────────────────────────────────────────── */

.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar__facts {
  display: flex; align-items: center; flex-wrap: wrap;
  padding: 2rem var(--space-container);
}

.trust-bar__fact {
  flex: 1; min-width: 160px;
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 0.5rem 1.5rem;
}

.trust-bar__fact:first-child { padding-left: 0; }

.trust-bar__value {
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.04em; color: var(--accent);
}

.trust-bar__fact--badge {
  flex-direction: row; align-items: center; gap: 0.75rem;
}

.trust-bar__bosch-img { height: 24px; width: auto; }
.trust-bar__bosch-text { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.06em; }

.trust-bar__sep {
  width: 1px; height: 44px; background: var(--border); flex-shrink: 0;
}

.trust-bar__brands {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding: 1.25rem var(--space-container);
  border-top: 1px solid var(--border);
}

.trust-bar__brands-logos {
  display: flex; align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem); flex-wrap: wrap;
}

.brand-logo {
  height: 28px; width: auto; max-width: 130px;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity 0.35s;
  object-fit: contain;
}
.brand-logo:hover { opacity: 0.85; }

.brand-logo--footer {
  height: 18px; opacity: 0.3;
}
.brand-logo--footer:hover { opacity: 0.6; }

/* Brand text fallback when SVG unavailable */
.brand-text {
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: color 0.3s, border-color 0.3s;
}
.brand-text:hover { color: var(--text-secondary); border-color: rgba(240,237,232,0.2); }

@media (max-width: 768px) {
  .trust-bar__sep { display: none; }
  .trust-bar__fact { min-width: calc(50% - 0.5rem); padding: 0.5rem 0; }
}

/* ─── HERITAGE ────────────────────────────────────────────── */

.heritage {
  padding: var(--space-section) var(--space-container);
  background: var(--bg-base);
}

.heritage__wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 9rem);
  align-items: start;
  max-width: 1300px; margin: 0 auto;
}

.heritage__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.heritage__intro .text-label { margin-bottom: 1rem; display: block; }
.heritage__intro .text-h2 { margin-bottom: 1.5rem; }
.heritage__intro .text-body + .text-body { margin-top: 1rem; }

.heritage__timeline { display: flex; flex-direction: column; }

.heritage__node {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 2rem; padding: 2rem 0;
  border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(28px);
}

.heritage__node:last-child { border-bottom: 1px solid var(--border); }
.heritage__node--current { border-top-color: var(--accent); }

.heritage__node-meta { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 0.15rem; }
.heritage__gen { display: block; color: var(--accent); font-size: 0.63rem; letter-spacing: 0.12em; }
.heritage__period { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); display: block; }

.heritage__node-content h3 { color: var(--text-primary); margin-bottom: 0.8rem; }
.heritage__node-content .text-body { font-size: 0.9rem; }
.heritage__node-content .text-body + .text-body { margin-top: 0.75rem; }

.heritage__photo {
  margin-top: 1.25rem; max-width: 180px;
  border-radius: var(--radius); overflow: hidden;
  opacity: 0.6; filter: grayscale(1) contrast(1.1);
}
.heritage__photo img { width: 100%; height: auto; display: block; }

.heritage__badge-inline {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 1.25rem; padding: 0.6rem 1rem;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius); background: var(--accent-subtle);
  width: fit-content;
}
.heritage__badge-inline img { height: 18px; width: auto; }
.heritage__badge-inline .text-label { color: var(--accent); }
.heritage__badge-inline-text { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

@media (max-width: 1000px) {
  .heritage__wrap { grid-template-columns: 1fr; }
  .heritage__intro { position: static; margin-bottom: 2.5rem; }
}

@media (max-width: 600px) {
  .heritage__node { grid-template-columns: 1fr; gap: 0.6rem; }
  .heritage__node-meta { flex-direction: row; align-items: center; gap: 1rem; }
}

/* ─── SERVICES ────────────────────────────────────────────── */

.services {
  padding: var(--space-section) var(--space-container);
  background: var(--bg-section-alt);
}

.services__wrap { max-width: 1300px; margin: 0 auto; }
.services__header { margin-bottom: 4rem; }
.services__header .text-label { display: block; margin-bottom: 1rem; }
.services__header .text-h2 { margin-top: 0.5rem; }

.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}

.svc {
  background: var(--bg-card); padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  opacity: 0; transform: translateY(24px);
  transition: background 0.3s var(--ease-smooth);
}

.svc:hover { background: var(--bg-elevated); }

.svc__header { display: flex; align-items: center; justify-content: space-between; }

.svc__num { color: var(--accent); font-size: 0.63rem; letter-spacing: 0.12em; }

.svc__dot { width: 10px; height: 10px; border-radius: 50%; }
.svc__dot--heat    { background: var(--accent); }
.svc__dot--water   { background: var(--steel); }
.svc__dot--fire    { background: #e05050; }
.svc__dot--complex { background: #8b7355; }

.svc__title { font-size: 1.1rem; font-weight: 500; color: var(--text-primary); }

.svc__tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: auto; padding-top: 0.75rem;
}

.svc__tag {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.25em 0.6em;
  border: 1px solid var(--border); border-radius: 2px;
}

@media (max-width: 700px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ─── GALLERY — horizontal scroll ────────────────────────── */

.gallery {
  position: relative; overflow: hidden;
  background: var(--bg-base);
  padding-top: var(--space-section);
}

.gallery__header {
  padding: 0 var(--space-container);
  margin-bottom: 3rem;
  max-width: 1300px; margin-inline: auto;
  margin-bottom: 3rem;
}

.gallery__header .text-label { display: block; margin-bottom: 1rem; }
.gallery__header .text-h2 { margin-top: 0.5rem; }
.gallery__header .text-body { margin-top: 1rem; max-width: 50ch; }

.gallery__viewport { overflow: hidden; padding-bottom: var(--space-section); }

.gallery__track {
  display: flex; gap: 1.25rem;
  padding: 0 var(--space-container) 1rem;
  width: max-content; will-change: transform;
}

.gallery__item {
  position: relative; flex-shrink: 0;
  width: clamp(260px, 32vw, 480px);
  height: clamp(320px, 52vh, 620px);
  overflow: hidden; border-radius: var(--radius);
  background: var(--bg-card);
}

.gallery__item--wide { width: clamp(380px, 52vw, 680px); }
.gallery__item--tall { height: clamp(420px, 68vh, 780px); }

.gallery__item img {
  width: 100%; height: 115%;
  object-fit: cover; display: block;
  transition: transform 0.7s var(--ease-smooth), filter 0.5s var(--ease-smooth);
  filter: contrast(1.05) saturate(0.8);
}

.gallery__item:hover img { transform: scale(1.05); filter: contrast(1.1) saturate(0.95); }

.gallery__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 2.5rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(11,14,20,0.88) 0%, transparent 100%);
}

.gallery__caption-type {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary);
}

.gallery__caption-loc {
  font-size: 0.62rem; color: var(--text-secondary); letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .gallery__viewport { padding-bottom: var(--space-section); }
  .gallery__track { flex-wrap: wrap; width: 100%; }
  .gallery__item { width: calc(50% - 0.625rem); height: 200px; }
  .gallery__item--wide { width: 100%; }
  .gallery__item--tall { height: 260px; }
}

/* ─── FIT — Dla kogo ──────────────────────────────────────── */

.fit {
  padding: var(--space-section) var(--space-container);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fit__wrap { max-width: 1300px; margin: 0 auto; }
.fit__intro { margin-bottom: 4rem; }
.fit__intro .text-label { display: block; margin-bottom: 1rem; }
.fit__intro .text-body { max-width: 40ch; margin-top: 1.2rem; }

.fit__cols {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 4rem; align-items: start;
}

.fit__divider { width: 1px; background: var(--border); align-self: stretch; }

.fit__col-label { display: block; margin-bottom: 1.5rem; }
.fit__col-label--yes { color: var(--accent); }
.fit__col-label--no  { color: var(--text-muted); }

.fit__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }

.fit__list li {
  font-size: 0.92rem; color: var(--text-secondary);
  line-height: 1.65; padding-left: 1.5rem; position: relative;
}

.fit__list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.fit__list--no li::before { content: '—'; color: var(--text-muted); }

.fit__note {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-subtle);
}

@media (max-width: 900px) {
  .fit__cols { grid-template-columns: 1fr; }
  .fit__divider { width: 100%; height: 1px; }
}

/* ─── PROCESS ─────────────────────────────────────────────── */

.process {
  padding: var(--space-section) var(--space-container);
  background: var(--bg-base);
}

.process__wrap { max-width: 1300px; margin: 0 auto; }
.process__header { margin-bottom: 4rem; }
.process__header .text-label { display: block; margin-bottom: 1rem; }
.process__header .text-h2 { margin-top: 0.5rem; }

.process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}

.process__step {
  padding: 2rem 2rem 2rem 0; padding-top: 1.5rem;
  border-top: 2px solid var(--border);
  display: flex; flex-direction: column; gap: 0.8rem;
  position: relative;
  opacity: 0; transform: translateX(-16px);
}

.process__step:not(:last-child)::after {
  content: ''; position: absolute; top: 2rem; right: 0;
  width: 1px; height: calc(100% - 4rem); background: var(--border);
}

/* Colour line on hover */
.process__step::before {
  content: ''; position: absolute; top: -2px; left: 0;
  height: 2px; background: var(--accent); width: 0;
  transition: width 0.5s var(--ease-smooth);
}

.process__step:hover::before { width: 100%; }

.process__num {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; color: var(--accent);
}

.process__title {
  font-size: 1rem; font-weight: 500; color: var(--text-primary);
}

@media (max-width: 900px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(odd)::after { display: none; }
}

@media (max-width: 500px) {
  .process__steps { grid-template-columns: 1fr; }
  .process__step { padding-right: 0; }
  .process__step::after { display: none; }
}

/* ─── CONTACT FORM ────────────────────────────────────────── */

.contact {
  padding: var(--space-section) var(--space-container);
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
}

.contact__wrap {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 7vw, 9rem);
  align-items: start; max-width: 1300px; margin: 0 auto;
}

.contact__copy .text-label { display: block; margin-bottom: 1rem; }
.contact__copy .text-h2 { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.contact__copy .text-body { max-width: 38ch; }

.contact__direct {
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
}

.contact__phone {
  font-family: var(--font-mono); font-size: 1.4rem;
  color: var(--accent); letter-spacing: 0.04em;
  transition: color 0.2s;
}
.contact__phone:hover { color: var(--accent-light); }

.contact__bosch-badge {
  margin-top: 3rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.contact__bosch-badge img { height: 28px; width: auto; opacity: 0.55; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field > .text-label { color: var(--text-muted); }

.form-options { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.form-opt {
  display: flex; align-items: center;
  font-size: 0.82rem; color: var(--text-secondary);
  cursor: pointer; padding: 0.38em 0.85em;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  user-select: none;
}

.form-opt input { display: none; }

.form-opt:has(input:checked) {
  border-color: var(--accent); color: var(--accent); background: var(--accent-subtle);
}

.form-opt:hover { border-color: var(--text-muted); }

.form-input {
  width: 100%;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.8em 1em;
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-input::placeholder { color: var(--text-muted); }
.form-input--textarea { resize: vertical; min-height: 110px; }

.form-submit-note {
  font-size: 0.72rem; color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .contact__wrap { grid-template-columns: 1fr; }
  .form-row--2 { grid-template-columns: 1fr; }
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 4rem var(--space-container) 2rem;
}

.footer__wrap {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; align-items: start;
  max-width: 1300px; margin: 0 auto;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer__brand-name {
  font-family: var(--font-mono); font-size: 1rem;
  letter-spacing: 0.12em; color: var(--text-primary); display: block;
}

.footer__brand-sub {
  font-size: 0.63rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  display: block; margin-top: 0.2rem;
}

.footer__area {
  font-size: 0.82rem; color: var(--text-secondary);
  margin-top: 1rem; line-height: 1.7;
}

.footer__bosch { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__bosch img { height: 26px; width: auto; opacity: 0.45; }

.footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__phone, .footer__email {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--text-secondary); transition: color 0.2s;
}
.footer__phone:hover, .footer__email:hover { color: var(--accent); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  max-width: 1300px; margin: 0 auto;
}

.footer__brands { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 768px) {
  .footer__wrap { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ─── FLOATING CTA ────────────────────────────────────────── */

.floating-cta {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  z-index: var(--z-floating);
  opacity: 0; pointer-events: none; transform: translateY(60px);
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.45));
}

.floating-cta.is-visible {
  pointer-events: auto;
}

/* ─── V3 ADDITIONS ────────────────────────────────────────── */

/* Shorthand .label (= .text-label, used in hero eyebrow) */
.label {
  font-family: var(--font-body);
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
  display: block;
}

/* Nav ────────────────────────────────────────────────────── */
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav__logo {
  display: flex; flex-direction: column; gap: 0.08rem; text-decoration: none;
}
.nav__logo-mark { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: 0.12em; color: var(--accent); line-height: 1; }
.nav__logo-word { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: 0.12em; color: var(--text-primary); line-height: 1; }
.nav__logo-sub  { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.15rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__link  { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-secondary); transition: color 0.2s; }
.nav__link:hover { color: var(--text-primary); }
.nav__cta   { flex-shrink: 0; }
.nav__burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 28px; height: 28px; cursor: pointer;
  background: none; border: none; padding: 0;
}
.nav__burger span { width: 100%; height: 1.5px; background: var(--text-primary); display: block; border-radius: 1px; transition: opacity 0.2s; }

/* Mobile nav open state */
.nav__links.is-open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(11,14,20,0.98); backdrop-filter: blur(16px);
  padding: 1.5rem var(--space-container) 2.5rem;
  gap: 1.25rem; border-bottom: 1px solid var(--border);
  z-index: calc(var(--z-nav) - 1);
}
.nav__links.is-open .nav__link { font-size: 1rem; }

/* Buttons ────────────────────────────────────────────────── */
.btn--accent {
  background: var(--accent); color: #fff;
  padding: 0.95em 2em;
}
.btn--accent:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(224,93,40,0.35);
}

/* Hero ───────────────────────────────────────────────────── */
.hero__stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300; line-height: 1;
  letter-spacing: -0.02em; color: var(--text-primary);
}
.hero__stat-label {
  font-size: 0.63rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 0.25rem;
}
.hero__stat-label--place {
  font-size: 0.8rem; font-weight: 400;
  color: var(--text-secondary); text-transform: none;
  letter-spacing: 0; line-height: 1.45;
}

/* Trust bar ──────────────────────────────────────────────── */
.trust-bar__label {
  font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  display: block; margin-top: 0.2rem;
}
.trust-bar__brands-label {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  flex-shrink: 0; margin-right: 0.5rem;
}

/* Heritage ───────────────────────────────────────────────── */
.heritage__era-projects {
  list-style: none; margin-top: 1rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.heritage__era-projects li {
  font-size: 0.75rem; color: var(--text-muted);
  padding-left: 1.1rem; position: relative;
}
.heritage__era-projects li::before {
  content: '–'; position: absolute; left: 0; color: var(--accent);
}

/* Services ───────────────────────────────────────────────── */
.svc__desc {
  font-size: 0.88rem; color: var(--text-secondary);
  line-height: 1.65; flex: 1;
}

/* Fit ────────────────────────────────────────────────────── */
.fit__col-label {
  display: block; margin-bottom: 1.5rem; font-weight: 500;
}
.fit__col-label--yes { color: var(--accent); }
.fit__col-label--no  { color: var(--text-muted); }

/* Process ────────────────────────────────────────────────── */
.process__step .text-body { font-size: 0.88rem; }

/* Contact ────────────────────────────────────────────────── */
.contact__email {
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--text-secondary); transition: color 0.2s;
  display: block; margin-top: 0.4rem;
}
.contact__email:hover { color: var(--accent); }
.contact__direct {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.contact__direct > p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.form-submit-row {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.form-submit-note {
  font-size: 0.72rem; color: var(--text-muted); line-height: 1.55; max-width: 28ch;
}

/* Footer ─────────────────────────────────────────────────── */
.footer__nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a  { font-size: 0.8rem; color: var(--text-secondary); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text-primary); }
.footer__contact a { display: block; font-size: 0.82rem; color: var(--text-secondary); transition: color 0.2s; margin-bottom: 0.35rem; }
.footer__contact a:hover { color: var(--accent); }
.footer__contact p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.6; margin-top: 0.25rem; }

/* ─── RESPONSIVE ADDITIONS ────────────────────────────────── */

@media (max-width: 900px) {
  .footer__wrap { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav__links     { display: none; }
  .nav__links.is-open { display: flex; }
  .nav__burger    { display: flex; }
  .nav__cta       { display: none; }
  .footer__wrap   { grid-template-columns: 1fr; }
  .fit__cols      { grid-template-columns: 1fr; }
  .fit__divider   { display: none; }
  .contact__wrap  { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .process__steps { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
}

/* ─── REDUCED MOTION ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__eyebrow,
  .hero__headline,
  .hero__sub,
  .hero__actions,
  .hero__stats {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero__image-wrap { clip-path: none !important; }
  .hero__image      { transform: none !important; }
  .hero__badge,
  .heritage__node, .svc, .process__step,
  .trust-bar__fact, [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ══════════════════════════════════════════════════════════
   V4 REDESIGN — nowe komponenty
══════════════════════════════════════════════════════════ */

/* ─── ACCESSIBILITY ───────────────────────────────────────── */

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

/* ─── HERO ADDITIONS ──────────────────────────────────────── */

.trust__claim-text {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 44ch;
}

.btn--call {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  padding: 0.65em 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.btn--call:hover { color: var(--accent); border-color: var(--accent-muted); }

/* ─── HERITAGE — h-node redesign ─────────────────────────── */

/* Override old 2-column grid — keep opacity/transform for GSAP */
.heritage__node { display: block; grid-template-columns: unset; padding: 2.5rem 0; }

.h-node__meta {
  display: flex; align-items: baseline; gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.h-node__gen {
  font-size: 0.63rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}

.h-node__period {
  font-family: var(--font-mono);
  font-size: 0.78rem; color: var(--text-secondary);
}

.h-node__period--accent { color: var(--accent); }

.h-node__body h3 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500; color: var(--text-primary);
  margin-bottom: 1rem; line-height: 1.4;
}

.h-node__body .text-body + .text-body { margin-top: 0.85rem; }

.h-node__body strong { color: var(--text-primary); }

.h-node__blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
}

.h-node__photos {
  display: flex; gap: 1rem;
  margin-top: 1.5rem; flex-wrap: wrap;
}

.h-node__photo {
  flex: 1; min-width: 160px; max-width: 300px;
}

.h-node__photo--portrait { max-width: 260px; }

.h-node__photo img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: top center;
  border-radius: var(--radius);
  filter: grayscale(0.55) contrast(1.05);
  opacity: 0.72; display: block;
  transition: filter 0.5s var(--ease-smooth), opacity 0.5s;
}

.h-node__photo--portrait img { height: 320px; }

.h-node__photo:hover img {
  filter: grayscale(0.1) contrast(1.05);
  opacity: 0.9;
}

.h-node__photo figcaption {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--text-muted);
  letter-spacing: 0.08em; margin-top: 0.5rem;
}

.h-node__badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  margin-top: 1.5rem; padding: 0.65rem 1.1rem;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius); background: var(--accent-subtle);
  width: fit-content;
}

.h-node__badge img {
  height: 18px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.8;
}

.h-node__badge span {
  font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}

.h-node--current .h-node__gen,
.h-node--current .h-node__period { color: var(--accent); }

@media (max-width: 640px) {
  .h-node__photos { flex-direction: column; }
  .h-node__photo,
  .h-node__photo--portrait { max-width: 100%; }
  .h-node__photo img,
  .h-node__photo--portrait img { height: 200px; }
}

/* ─── BOOKING SECTION ─────────────────────────────────────── */

.booking {
  padding: var(--space-section) var(--space-container);
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
}

.booking__wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 7vw, 9rem);
  align-items: start; max-width: 1300px; margin: 0 auto;
}

.booking__copy .text-label { display: block; margin-bottom: 1rem; }
.booking__copy .text-h2    { margin-top: 0.5rem; }
.booking__copy .text-body  { max-width: 42ch; margin-top: 1.25rem; }

.booking__trust {
  margin-top: 2rem; list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.booking__trust li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text-secondary);
}

.booking__trust li::before {
  content: '✓'; color: var(--accent);
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}

.booking__direct {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.4rem;
}

.booking__direct .text-label { display: block; margin-bottom: 0.5rem; }

.booking__phone {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.2s;
}
.booking__phone:hover { color: var(--accent-light); }

.booking__hours {
  display: block; font-size: 0.78rem;
  color: var(--text-muted); margin-top: 0.25rem;
}

.booking__cta {
  display: flex; flex-direction: column; gap: 1.5rem;
}

.cal-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}

.cal-placeholder .text-label { color: var(--accent); margin-bottom: 0.25rem; }
.cal-placeholder .text-body  { max-width: 28ch; }
.cal-placeholder .booking__phone { font-size: 1.4rem; margin-top: 0.5rem; }

.booking__mini-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.booking__mini-form h3 {
  font-size: 1rem; font-weight: 500;
  color: var(--text-primary); margin-bottom: 0.25rem;
}

.booking__mini-form form {
  display: flex; flex-direction: column; gap: 0.85rem;
}

.heritage__motto {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(224, 93, 40, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .booking__wrap { grid-template-columns: 1fr; }
}

/* ─── NAV LOGO IMAGE ──────────────────────────────────────── */

.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ─── TRUST SECTION (new structure) ──────────────────────── */

.trust-section {
  padding: 5rem var(--space-container);
  background: var(--bg-section-alt);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trust__claim { max-width: 52ch; }

.trust__quote {
  font: italic 500 clamp(1.1rem, 2.2vw, 1.5rem)/1.4 var(--font-display);
  color: var(--text-primary);
  margin: 0;
  border: none;
  padding: 0;
}

.trust__cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust__facts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust__fact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.trust__val {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.trust__sep {
  height: 1px;
  background: var(--border);
}

@media (max-width: 768px) {
  .trust-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ─── BRAND LOGOS BAR ─────────────────────────────────────── */

.trust__brands {
  padding: 1.75rem var(--space-container);
  border-top: 1px solid var(--border);
  background: var(--bg-base);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust__brands-label {
  flex-shrink: 0;
  color: var(--text-muted);
}

.trust__brands-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* ─── PHOTO object-position OVERRIDES ────────────────────── */

/* Heritage node I (Pradziadek) — budynki/architektura */
.heritage__timeline > li:nth-child(1) .h-node__photo img {
  object-position: center center;
}

/* Heritage node II (Dziadek) — infrastruktura */
.heritage__timeline > li:nth-child(2) .h-node__photo img {
  object-position: center center;
}

/* Heritage node III (Ojciec) — portret przy pracy */
.heritage__timeline > li:nth-child(3) .h-node__photo img {
  object-position: center top;
}

/* Heritage node IV (Witold) — portret */
.heritage__timeline > li:nth-child(4) .h-node__photo img {
  object-position: center top;
}

/* Gallery items — all center */
.gallery__item img {
  object-position: center center;
}

/* Gallery sizes */
.gallery__item {
  height: clamp(280px, 45vw, 560px);
}
.gallery__item--wide {
  height: clamp(320px, 48vw, 600px);
}
.gallery__item--tall {
  height: clamp(380px, 58vw, 700px);
}

/* ─── RESPONSIVE HARDENING ───────────────────────────────── */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero__grid {
    gap: 2.25rem;
    padding-bottom: 4rem;
  }

  .hero__headline {
    font-size: 3.2rem;
    line-height: 1.02;
    margin-bottom: 1.5rem;
  }

  .hero__sub {
    margin-bottom: 2rem;
  }

  .hero__actions {
    margin-bottom: 2.25rem;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 1.25rem;
  }

  .hero__image-wrap {
    width: min(100%, 420px);
    height: 460px;
  }

  .trust__claim-text {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .hero__headline {
    font-size: 2.7rem;
  }

  .hero__actions {
    width: 100%;
    gap: 1rem;
  }

  .hero__actions .btn--primary {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero__image-wrap {
    height: 390px;
  }

  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall {
    width: 100%;
    height: 280px;
  }

  .trust__brands {
    gap: 1.25rem;
  }

  .trust__brands-logos {
    gap: 1.5rem;
  }
}

@media (max-width: 430px) {
  .hero__grid {
    padding-top: calc(var(--nav-h) + 1.5rem);
  }

  .hero__headline {
    font-size: 2.45rem;
  }

  .hero__stats {
    gap: 1rem;
  }

  .hero__image-wrap {
    height: 340px;
  }
}

@media (max-width: 380px) {
  .hero__headline {
    font-size: 2.25rem;
  }
}
