/* Shared visual system for Kopiarki Trojmiasto. */

:root {
  --ink: #142033;
  --ink-soft: #26364d;
  --muted: #5b6879;
  --line: #dbe4ed;
  --line-strong: #c8d3df;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --panel: #ffffff;
  --accent: #1f9d40;
  --accent-dark: #17812f;
  --teal: #0f766e;
  --teal-soft: #e6f4f2;
  --gold: #b08a46;
  --radius: 8px;
  --maxw: 1160px;
  --shadow: 0 16px 42px rgba(20, 32, 51, .10);
  --shadow-soft: 0 8px 24px rgba(20, 32, 51, .07);
}

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

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

body {
  min-width: 320px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

.container {
  width: min(100% - 40px, var(--maxw));
  margin: 0 auto;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.12;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
}

h1 { font-size: 3.05rem; max-width: 13.5ch; margin-bottom: 20px; }
h2 { font-size: 2.05rem; margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
h4 { font-size: 1rem; }

p { margin-bottom: 16px; color: var(--muted); }
section p, section li { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(219, 228, 237, .9);
  backdrop-filter: blur(12px) saturate(160%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand span {
  color: #9aa6b4;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 650;
}

.nav-phone {
  color: #fff !important;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 10px 14px;
  white-space: nowrap;
}

.nav-phone:hover { background: var(--accent-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 95, 191, .20);
}

.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(31, 95, 191, .24);
}

.btn-outline {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 610px;
  padding: 92px 0 76px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image, url("/img/hero-office-copier.jpg")) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 18, 32, .88) 0%, rgba(9, 18, 32, .72) 38%, rgba(9, 18, 32, .20) 78%),
    linear-gradient(180deg, rgba(9, 18, 32, .22), rgba(9, 18, 32, .36));
}

.hero.hero-compact {
  min-height: 470px;
  padding: 74px 0 60px;
}

.hero.hero-service { --hero-image: url("/img/service-technician.jpg"); }
.hero.hero-audit { --hero-image: url("/img/print-audit.jpg"); }
.hero.hero-lineup { --hero-image: url("/img/xerox-versalink-lineup.jpg"); }

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero h2 {
  color: #fff;
  text-wrap: balance;
}

.hero .lead {
  max-width: 710px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, .88);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  max-width: 760px;
}

.hero-badges span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
  backdrop-filter: blur(8px);
}

.hero-badges b { color: #fff; }

section { padding: 68px 0; }
section.alt { background: var(--bg-alt); }

.section-intro {
  max-width: 730px;
  margin-bottom: 34px;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.trust-strip {
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.trust-item {
  padding: 18px;
  background: #fff;
}

.trust-item b {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.trust-item span {
  color: var(--muted);
  font-size: .9rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  display: block;
  color: var(--ink);
}

.card .icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: .95rem;
  font-weight: 800;
}

.feature-card {
  min-height: 100%;
}

.lead-list {
  list-style: none;
  margin: 16px 0 22px;
}

.lead-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
}

.lead-list li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.media-band {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 36px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.model-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.model-mark {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 850;
}

.model-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.model-meta span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: .86rem;
  font-weight: 700;
}

.note {
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  background: #fff8ea;
  color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero-meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.article-table { margin: 24px 0; }
.article-space { margin-top: 32px; }

.table-note {
  margin-top: 14px;
  font-size: .9rem;
}

.soon {
  color: var(--muted);
  font-size: .85em;
  font-weight: 650;
}

.price {
  font-size: 2rem;
  font-weight: 850;
  color: var(--accent);
}

.price small {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table.spec {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: .96rem;
}

table.spec th,
table.spec td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.spec th {
  background: var(--ink);
  color: #fff;
  font-weight: 750;
}

table.spec tr:last-child td { border-bottom: 0; }
table.spec tr:nth-child(even) td { background: var(--bg-alt); }

.faq details {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.25rem; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details[open] summary::after { content: "-"; }
.faq .faq-body { padding: 18px 20px; color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0 auto 24px; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--teal-soft); color: var(--ink); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .10); color: #fff; border-color: #fff; }

.crumb {
  margin: 0;
  padding: 16px 0;
  color: var(--muted);
  font-size: .88rem;
}

.crumb a { color: var(--muted); }

article .container.narrow {
  max-width: 780px;
}

article h2 {
  margin-top: 36px;
}

.site-footer {
  background: #101827;
  color: #c4cedb;
  padding: 50px 0 24px;
  font-size: .92rem;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer address {
  color: #aeb9c8;
}

.footer-muted { color: #aeb9c8; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.15fr;
  gap: 34px;
  margin-bottom: 30px;
}

.site-footer a { color: #d6dee8; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 18px;
  color: #8f9caf;
  font-size: .84rem;
}

address {
  font-style: normal;
  line-height: 1.8;
}

.center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (max-width: 980px) {
  h1 { font-size: 2.55rem; }
  h2 { font-size: 1.8rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .media-band { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-phone { text-align: center; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { width: min(100% - 28px, var(--maxw)); }
  h1 { font-size: 2.12rem; max-width: 12.8ch; }
  h2 { font-size: 1.56rem; }
  .hero,
  .hero.hero-compact {
    min-height: 560px;
    padding: 76px 0 58px;
    align-items: flex-end;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(9, 18, 32, .20) 0%, rgba(9, 18, 32, .78) 50%, rgba(9, 18, 32, .92) 100%);
  }

  .hero .lead { font-size: 1.05rem; }
  .hero-cta .btn { width: 100%; }
  section { padding: 52px 0; }
  .grid-3,
  .grid-2,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .model-card { grid-template-columns: 1fr; }
}


/* Lead form (paid/outbound conversion) */
.lead-form{max-width:560px;margin:0 auto 18px;display:grid;gap:10px;text-align:left}
.lead-form input[type=text],.lead-form input[type=tel]{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff;color:#0f172a}
.lead-form input:focus{outline:2px solid #0a5ad4;border-color:#0a5ad4}
.lead-form .hp{display:none!important}
.lead-form .rodo{display:flex;gap:8px;align-items:flex-start;font-size:.82rem;color:#475569;line-height:1.4}
.lead-form .rodo input{margin-top:3px}
.lead-form button{width:100%;margin-top:4px}

.brand-logo{height:38px;width:auto;display:block;margin-bottom:2px}
