:root {
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --ink: #131312;
  --hero: #161613;
  --hover-dark: #2A2925;
  --yellow: #F5B50A;
  --yellow-h: #E3A503;
  --gold: #B98700;
  --muted: #63635E;
  --muted-d: #8A897F;
  --line: #E7E6E1;
  --line-d: #2A2925;
  --soft: #B8B7AF;
  --soft-2: #D8D7CF;
  --chip: #34332D;
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: Archivo, "Helvetica Neue", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.db-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.db-section { padding: clamp(56px, 8vw, 96px) 0; }
.db-label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.db-label__bar { width: 34px; height: 3px; background: var(--yellow); display: block; }
.db-label__txt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-d);
}
.db-label__txt--y { color: var(--yellow); }
h1, h2, .db-h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
h1 { font-size: clamp(32px, 5.5vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
.db-muted { color: var(--muted); }
.db-lead { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--soft); text-wrap: pretty; }

.db-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: var(--r);
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}
.db-btn--primary { background: var(--yellow); color: var(--ink); }
.db-btn--primary:hover { background: var(--yellow-h); color: var(--ink); }
.db-btn--ghost {
  border: 1px solid #4A4941;
  color: var(--bg);
  background: transparent;
  font-weight: 700;
}
.db-btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.db-btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 26px;
}
.db-btn--outline:hover { background: var(--ink); color: var(--yellow); }
.db-btn--outline-light {
  border: 1px solid #4A4941;
  color: var(--bg);
  background: transparent;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 26px;
}
.db-btn--outline-light:hover { border-color: var(--yellow); color: var(--yellow); }
.db-btn--dark { background: var(--ink); color: var(--yellow); }
.db-btn--dark:hover { background: var(--hover-dark); color: var(--yellow); }
.db-btn--phone {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  flex-shrink: 0;
}
.db-btn--phone:hover { background: var(--yellow-h); color: var(--ink); }

/* Header */
.db-chrome { position: sticky; top: 0; z-index: 80; }
.db-topbar {
  background: var(--ink);
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.db-topbar__in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.db-topbar__left { display: flex; gap: clamp(14px, 2.5vw, 28px); align-items: center; flex-wrap: wrap; }
.db-topbar a { color: #E9E8E2; }
.db-topbar a:hover { color: var(--yellow); }
.db-topbar__addr { display: none; }
@media (min-width: 720px) { .db-topbar__addr { display: inline; } }

.db-header { background: var(--white); border-bottom: 1px solid var(--line); }
.db-header__in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.db-logo img { height: clamp(30px, 4.5vw, 38px); width: auto; display: block; }
.db-nav { display: none; gap: clamp(14px, 1.8vw, 26px); font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em; align-items: center; }
.db-nav a { color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.db-nav a:hover { color: var(--ink); }
.db-nav a.is-active { color: var(--ink); border-bottom-color: var(--yellow); }
.db-header__cta { display: none; }
.db-header__mob { display: flex; align-items: center; gap: 12px; }
.db-burger {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.db-burger span { width: 20px; height: 2px; background: var(--ink); display: block; transition: transform .2s ease, opacity .2s ease; }
.db-chrome.is-open .db-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.db-chrome.is-open .db-burger span:nth-child(2) { opacity: 0; }
.db-chrome.is-open .db-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.db-nav-m {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 8px clamp(16px, 4vw, 32px) 16px;
}
.db-chrome.is-open .db-nav-m { display: flex; }
.db-nav-m a {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid #F0EFEA;
  min-height: 44px;
}
.db-nav-m a:last-child { border-bottom: 0; }
.db-nav-m a.is-active { color: var(--ink); }

@media (min-width: 1020px) {
  .db-nav, .db-header__cta { display: flex; }
  .db-header__mob, .db-nav-m { display: none !important; }
}

/* Footer */
.db-footer { background: var(--ink); color: var(--muted-d); }
.db-footer__grid {
  padding: clamp(40px, 6vw, 64px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.db-footer__col { display: flex; flex-direction: column; gap: 12px; }
.db-footer__brand { gap: 18px; }
.db-footer__logo { height: 40px; width: auto; align-self: flex-start; }
.db-footer p { margin: 0; font-size: 14px; line-height: 1.7; max-width: 320px; text-wrap: pretty; }
.db-footer__badge { font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted); }
.db-footer__h {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--bg);
}
.db-footer a { color: var(--muted-d); font-size: 14.5px; }
.db-footer a:hover { color: var(--yellow); }
.db-footer__ue {
  height: 34px;
  align-self: flex-start;
  background: var(--white);
  padding: 5px 8px;
  border-radius: var(--r);
  margin-top: 8px;
}
.db-footer__bar { border-top: 1px solid var(--line-d); margin-top: 56px; }
.db-footer__bar-in {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* Page hero */
.db-pagehero { background: var(--hero); color: var(--bg); }
.db-pagehero__inner { padding: clamp(44px, 6vw, 72px) 0; display: flex; flex-direction: column; gap: 20px; }
.db-pagehero--img { position: relative; overflow: hidden; }
.db-pagehero--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.db-pagehero--img .db-pagehero__inner { position: relative; }
.db-pagehero__crumbs { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted-d); }
.db-pagehero__crumbs a { color: var(--muted-d); }
.db-pagehero__crumbs a:hover { color: var(--yellow); }
.db-pagehero__lead { margin: 0; max-width: 620px; font-size: 16.5px; line-height: 1.7; color: var(--soft); text-wrap: pretty; }
.db-pagehero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.db-pagehero__count { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--yellow); white-space: nowrap; }

/* Filters */
.db-filters {
  position: sticky;
  top: 117px;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.db-filters__in { padding: 14px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.db-chip {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  background: var(--white);
  color: var(--muted);
  min-height: 44px;
  transition: all .18s ease;
}
.db-chip.is-on { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.db-filters__lab { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted-d); margin-right: 12px; }

/* Cards */
.db-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}
.db-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: border-color .2s ease;
}
.db-card:hover { border-color: var(--soft); color: var(--ink); }
.db-card img { height: 230px; width: 100%; object-fit: cover; display: block; }
.db-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.db-card__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.db-card__idx { font-size: 13px; font-weight: 800; color: var(--yellow); }
.db-card__tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted-d); text-align: right; }
.db-card__title { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.db-card__more { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); padding-top: 4px; }

/* Home hero */
.db-hero { background: var(--hero); color: var(--bg); overflow: hidden; }
.db-hero__grid {
  padding: clamp(48px, 7vw, 88px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.db-hero__copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(48px, 7vw, 88px); }
.db-hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.06; }
.db-hero__lead { margin: 0; max-width: 520px; font-size: 17.5px; line-height: 1.7; color: var(--soft); text-wrap: pretty; }
.db-hero__btns { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.db-pills { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.db-pill {
  border: 1px solid var(--chip);
  color: var(--soft-2);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.db-hero__media { position: relative; height: clamp(320px, 48vw, 560px); align-self: end; }
.db-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.db-hero__badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--yellow); color: var(--ink);
  padding: 18px 24px; display: flex; flex-direction: column; gap: 2px;
}
.db-hero__badge strong { font-size: 26px; font-weight: 900; letter-spacing: -0.01em; }
.db-hero__badge span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; }
.db-stats { border-top: 1px solid var(--line-d); }
.db-stats__in {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
}
.db-stats strong { font-size: 32px; font-weight: 900; color: var(--bg); display: block; }
.db-stats span { font-size: 13px; color: var(--muted-d); font-weight: 600; letter-spacing: 0.06em; }

.db-logos { background: var(--white); border-bottom: 1px solid var(--line); }
.db-logos__in { padding: 24px 0; display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.db-logos__lab { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted-d); white-space: nowrap; }
.db-logos__row { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; flex: 1; justify-content: space-between; }
.db-logos img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.75; }

.db-home-oferta { padding: clamp(56px, 8vw, 96px) 0; background: var(--bg); }
.db-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.db-sec-head h2 { max-width: 560px; }
.db-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.db-tile {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.db-tile:hover { border-color: var(--soft); color: var(--ink); }
.db-tile img { height: 170px; width: 100%; object-fit: cover; display: block; }
.db-tile__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.db-tile__nr { font-size: 13px; font-weight: 800; color: var(--yellow); }
.db-tile__t { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.db-tile__d { font-size: 14px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

.db-about { padding: clamp(56px, 8vw, 96px) 0; background: var(--white); border-top: 1px solid var(--line); }
.db-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.db-video { position: relative; height: clamp(280px, 42vw, 460px); }
.db-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.db-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.db-play:hover { background: var(--yellow-h); }
.db-play i {
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid var(--ink);
  margin-left: 5px;
}
.db-about__copy { display: flex; flex-direction: column; gap: 24px; }
.db-points { display: flex; flex-direction: column; gap: 16px; }
.db-point { display: flex; gap: 16px; align-items: flex-start; }
.db-point b {
  min-width: 30px; height: 30px; background: var(--ink); color: var(--yellow);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.db-point p { margin: 0; font-size: 15px; line-height: 1.6; }

.db-picked { padding: clamp(56px, 8vw, 96px) 0; background: var(--hero); color: var(--bg); }
.db-picked .db-sec-head { margin-bottom: 0; }
.db-picked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 48px);
}
.db-pick { display: flex; flex-direction: column; gap: 16px; color: var(--bg); }
.db-pick:hover { color: var(--yellow); }
.db-pick img { height: 300px; width: 100%; object-fit: cover; display: block; }
.db-pick__tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--yellow); }
.db-pick__t { font-size: 18px; font-weight: 800; }
.db-pick__d { font-size: 13.5px; line-height: 1.6; color: var(--muted-d); }

.db-hcerts { padding: clamp(56px, 8vw, 96px) 0; background: var(--bg); }
.db-hcerts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.db-hcerts__side { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .db-hcerts__side { position: sticky; top: 150px; } }
.db-hcerts__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.db-hcert {
  display: flex; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.db-hcert:last-child { border-bottom: 0; }
.db-hcert:hover { color: var(--gold); }
.db-hcert__y { font-size: 15px; font-weight: 900; color: var(--gold); min-width: 56px; }
.db-hcert__t { font-size: 17px; font-weight: 800; display: block; }
.db-hcert__d { font-size: 14px; color: var(--muted); }

.db-hkontakt { padding: clamp(56px, 8vw, 96px) 0; background: var(--white); border-top: 1px solid var(--line); }
.db-hkontakt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(36px, 6vw, 72px);
}
.db-hkontakt__copy { display: flex; flex-direction: column; gap: 24px; }
.db-kv { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; }
.db-kv__row { display: flex; gap: 14px; }
.db-kv__k { font-weight: 800; min-width: 76px; color: var(--muted-d); font-size: 13px; letter-spacing: 0.08em; padding-top: 2px; }
.db-kv a { font-weight: 700; }

/* CTA */
.db-cta { background: var(--yellow); }
.db-cta__inner {
  padding: clamp(36px, 5vw, 56px) 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px 40px; flex-wrap: wrap;
}
.db-cta__title { margin: 0; font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }
.db-cta__kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--ink); display: block; margin-bottom: 8px; }

/* Forms */
.db-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.db-form--home { background: var(--bg); padding: clamp(20px, 4vw, 36px); }
.db-form__title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.db-form--home .db-form__title { font-size: 17px; }
.db-form__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.db-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.db-form label { display: flex; flex-direction: column; gap: 8px; }
.db-form label span { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--muted); }
.db-form input, .db-form textarea {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 14px 16px;
  font-size: 14.5px;
  border-radius: var(--r);
  outline: none;
  width: 100%;
}
.db-form--home input, .db-form--home textarea { background: var(--white); }
.db-form input:focus, .db-form textarea:focus { border-color: var(--ink); }
.db-form textarea { resize: vertical; }
.db-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.db-form__rodo { font-size: 12px; color: var(--muted-d); line-height: 1.6; max-width: 300px; }
.db-form__status { margin: 0; font-size: 14px; font-weight: 700; }
.db-form__status.is-ok { color: #1b7a32; }
.db-form__status.is-err { color: #b42318; }

/* Oferta */
.db-specs { display: flex; flex-direction: column; gap: 80px; }
.db-spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.db-spec__copy { display: flex; flex-direction: column; gap: 18px; }
.db-spec__nr { font-size: 15px; font-weight: 900; color: var(--yellow); }
.db-spec h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; }
.db-spec p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.db-spec img { height: 380px; width: 100%; object-fit: cover; display: block; }
.db-tags { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.db-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; background: var(--white);
}
.db-process { background: var(--hero); color: var(--bg); padding: clamp(56px, 8vw, 96px) 0; }
.db-process__grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .db-process__grid { grid-template-columns: repeat(5, 1fr); } }
.db-step { border-left: 1px solid var(--line-d); padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) {
  .db-step { padding: 4px 24px; }
  .db-step:last-child { border-right: 1px solid var(--line-d); }
}
.db-step__nr { font-size: 15px; font-weight: 900; color: var(--yellow); }
.db-step__t { font-weight: 800; font-size: 16px; }
.db-step__d { font-size: 13.5px; line-height: 1.65; color: var(--muted-d); }

/* O firmie */
.db-firma-hero .db-pagehero__inner { gap: 20px; }
.db-firma-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-top: 8px;
}
.db-firma-cols p { margin: 0; line-height: 1.7; text-wrap: pretty; }
.db-firma-cols p:first-child { font-size: 18px; color: var(--soft-2); }
.db-firma-cols p:last-child { font-size: 15.5px; color: var(--muted-d); line-height: 1.75; }
.db-wideimg { padding: clamp(36px, 5vw, 56px) 0 0; }
.db-wideimg img { height: 440px; width: 100%; object-fit: cover; display: block; }
.db-hist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
@media (min-width: 900px) { .db-hist-side { position: sticky; top: 150px; } }
.db-hist-side { display: flex; flex-direction: column; gap: 20px; }
.db-film-link { display: flex; align-items: center; gap: 16px; color: var(--ink); margin-top: 8px; }
.db-film-link:hover { color: var(--gold); }
.db-film-link__ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.db-film-link__ico i {
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--yellow);
  margin-left: 4px;
}
.db-film-link span { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }
.db-tl { border-top: 1px solid var(--line); padding: 24px 0; display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: baseline; }
.db-tl:last-child { border-bottom: 1px solid var(--line); }
.db-tl__y { font-size: 22px; font-weight: 900; color: var(--gold); }
.db-tl__t { font-weight: 800; font-size: 17px; display: block; }
.db-tl__d { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.db-brands { background: var(--white); border-top: 1px solid var(--line); }
.db-brands__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; margin-top: 40px; }
.db-brand { border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.db-brand--light { background: var(--bg); }
.db-brand--dark { background: var(--ink); color: var(--bg); }
.db-brand--dark:hover { border-color: var(--yellow); color: var(--bg); }
.db-brand img { height: 34px; width: auto; align-self: flex-start; }
.db-brand__name { font-size: 26px; font-weight: 900; letter-spacing: -0.01em; color: var(--yellow); }
.db-brand__k { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted-d); padding-top: 6px; }
.db-brand p { margin: 0; font-size: 14.5px; line-height: 1.7; }
.db-uebar {
  border: 1px solid var(--line);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg);
  margin-top: 20px;
}
.db-uebar img { height: 44px; flex-shrink: 0; }
.db-uebar p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* Certyfikaty */
.db-certs { display: flex; flex-direction: column; gap: 56px; }
.db-cert {
  display: flex; flex-wrap: wrap; gap: 24px 40px;
  align-items: flex-start; border-top: 1px solid var(--line); padding-top: 36px;
}
.db-cert__y { font-size: 24px; font-weight: 900; color: var(--gold); flex: 0 0 90px; }
.db-cert__copy { display: flex; flex-direction: column; gap: 12px; flex: 1 1 300px; min-width: min(100%, 300px); }
.db-cert__k { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted-d); }
.db-cert h2 { font-size: 30px; letter-spacing: -0.015em; line-height: 1.15; }
.db-cert p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 540px; }
.db-cert img { flex: 1 1 280px; width: 100%; max-width: 380px; border: 1px solid var(--line); background: var(--white); display: block; }

/* Referencje */
.db-tabs { display: flex; gap: 0; padding-top: 24px; flex-wrap: wrap; }
.db-tab {
  font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
  padding: 18px 32px; border: none; cursor: pointer;
  background: var(--hover-dark); color: var(--muted-d);
  min-height: 44px;
}
.db-tab.is-on { background: var(--yellow); color: var(--ink); }
.db-ref-head { display: flex; justify-content: space-between; align-items: baseline; gap: 40px; flex-wrap: wrap; }
.db-ref-head h2 span { color: var(--gold); }
.db-scans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.db-scan { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.db-scan:hover { color: var(--gold); }
.db-scan__box {
  height: 380px; border: 1px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.db-scan img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.db-scan span { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted-d); }

/* Realizacja */
.db-real-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.db-real-meta .db-label__txt { text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); }
.db-gallery { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.db-gallery__hero { display: block; background: var(--line); min-height: 200px; }
.db-gallery__hero img { width: 100%; height: clamp(300px, 52vw, 640px); object-fit: cover; display: block; }
.db-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.db-gallery__grid a { display: block; height: 240px; overflow: hidden; background: var(--line); }
.db-gallery__grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.db-gallery__grid a:hover img { transform: scale(1.03); }
.db-gallery__hint { font-size: 12.5px; color: var(--muted-d); }
.db-pager {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 32px;
}
.db-pager a { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.db-pager a:hover { color: var(--gold); }
.db-pager__lab { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted-d); }
.db-pager__t { font-size: 18px; font-weight: 800; }
.db-pager__next { text-align: right; margin-left: auto; }

/* Kontakt page */
.db-kontakt { padding: clamp(56px, 8vw, 96px) 0; }
.db-kontakt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(36px, 6vw, 72px);
}
.db-info { display: flex; flex-direction: column; }
.db-info__row {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.db-info__row:last-of-type { border-bottom: 1px solid var(--line); }
.db-info__k { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted-d); }
.db-info__v { font-size: 18px; font-weight: 600; padding-top: 4px; }
.db-info__s { font-size: 13.5px; color: var(--muted); }
.db-info__phones { display: flex; gap: 20px; padding-top: 4px; flex-wrap: wrap; }
.db-info img { width: 100%; height: 240px; object-fit: cover; display: block; margin-top: 28px; }

/* Lightbox */
.db-lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(19,19,18,.92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.db-lb.is-on { display: flex; }
.db-lb img { max-width: min(1100px, 96vw); max-height: 90vh; object-fit: contain; }
.db-lb button {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border: 0; background: var(--yellow);
  color: var(--ink); font-size: 22px; cursor: pointer; border-radius: var(--r);
}

.db-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
