/* ==========================================================================
   ONER CARBON — design tokens
   ========================================================================== */
:root {
  --bg: #0a0c0e;
  --panel: #14171a;
  --panel-raised: #1c2024;
  --line: #2a2f34;
  --ink: #f3f5f6;
  --ink-dim: #9aa3ab;
  --ink-faint: #5f676e;
  --blue: #1e9bd7;
  --blue-bright: #4fc3e8;
  --blue-deep: #0f5c80;

  --display: "Space Grotesk", "Archivo", sans-serif;
  --body: "IBM Plex Sans", "Inter", sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", monospace;

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--blue-bright);
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 12, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo .mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  border-right-color: transparent;
  transform: rotate(-45deg);
}
.logo .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  font-weight: 500;
  margin-left: 2px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0; padding: 0;
}
nav.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--ink); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--bg) !important;
  background: var(--blue-bright);
  padding: 10px 18px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: #78d4ef; transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(84vw, 380px);
  background: var(--panel);
  border-left: 1px solid var(--line);
  z-index: 200;
  padding: 100px 36px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
}
.mobile-nav a.active { color: var(--blue-bright); }
.mobile-nav .btn { margin-top: 30px; width: 100%; justify-content: center; }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(5,6,7,0.6);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--blue-bright); color: #05161c; }
.btn-primary:hover { background: #78d4ef; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-arrow::after { content: "→"; transition: transform 0.2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/oparcie_01.jpg") center 30% / cover no-repeat;
  opacity: 0.4;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,12,14,0.97) 30%, rgba(10,12,14,0.55) 62%, rgba(10,12,14,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-content .eyebrow { margin-bottom: 22px; }
.hero-content h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--blue-bright);
}
.hero-content p {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 480px;
  margin-bottom: 38px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-specs {
  position: absolute;
  right: 32px;
  bottom: 56px;
  z-index: 2;
  display: flex;
  gap: 36px;
  font-family: var(--mono);
}
.hero-specs .spec { text-align: right; }
.hero-specs .spec .n {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.hero-specs .spec .l {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION shared
   ========================================================================== */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-top: 18px;
  line-height: 1.1;
}
.section-head p {
  color: var(--ink-dim);
  font-size: 17px;
  margin-top: 18px;
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ==========================================================================
   SPEC GRID (dimension-line motif)
   ========================================================================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec-card {
  background: var(--panel);
  padding: 34px 26px;
  position: relative;
}
.spec-card .tick {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue-bright);
  letter-spacing: 0.1em;
}
.spec-card .val {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  margin: 14px 0 8px;
}
.spec-card .val span { font-size: 18px; color: var(--ink-dim); font-weight: 500; }
.spec-card .lbl { font-size: 14px; color: var(--ink-dim); }

/* ==========================================================================
   PRODUCT SHOWCASE (variants)
   ========================================================================== */
.showcase {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase img { border-radius: 4px; }
.showcase-copy .eyebrow { margin-bottom: 20px; }
.showcase-copy h3 { font-size: 30px; margin-bottom: 18px; }
.showcase-copy p { color: var(--ink-dim); margin-bottom: 28px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; }
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-dim);
}
.feature-list li:first-child { padding-top: 0; }
.feature-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue-bright);
  flex-shrink: 0;
}
.feature-list li strong { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   TIMELINE STRIP (about / values)
   ========================================================================== */
.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-item { padding-top: 24px; border-top: 1px solid var(--line); }
.value-item .idx { font-family: var(--mono); color: var(--blue-bright); font-size: 13px; }
.value-item h4 { font-size: 19px; margin: 14px 0 10px; }
.value-item p { color: var(--ink-dim); font-size: 15px; margin: 0; }

/* ==========================================================================
   WOZEK (info-only) BAND
   ========================================================================== */
.wozek-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wozek-band .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
.wozek-visual {
  aspect-ratio: 4/3;
  background: url("assets/oner.jpg") center 18% / cover no-repeat;
  border: 1px solid var(--line);
  position: relative;
}
.wozek-visual::after {
  content: "NIE NA SPRZEDAŻ ONLINE";
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  background: rgba(10,12,14,0.75);
  padding: 6px 10px;
  border: 1px solid var(--line);
}
.wozek-copy h2 { font-size: clamp(28px, 3vw, 38px); margin: 18px 0 20px; }
.wozek-copy p { color: var(--ink-dim); font-size: 16px; margin-bottom: 28px; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--blue-deep), #0a2e40 70%);
  border: 1px solid var(--blue-deep);
  padding: 70px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h3 { font-size: 30px; max-width: 460px; }
.cta-band .btn-primary { flex-shrink: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #050607;
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col p, .footer-col a {
  display: block;
  color: var(--ink-dim);
  font-size: 14.5px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--blue-bright); }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
  font-family: var(--mono);
}

/* ==========================================================================
   UNDER CONSTRUCTION PAGE
   ========================================================================== */
.uc-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-top: 76px;
  overflow: hidden;
  background: var(--bg);
}
.uc-hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/oner.jpg") center 35% / cover no-repeat;
  opacity: 0.5;
}
.uc-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,14,0.55) 0%, rgba(10,12,14,0.98) 92%);
}
.uc-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
  max-width: 680px;
}
.uc-hero-content .eyebrow { margin-bottom: 20px; }
.uc-hero-content h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.uc-hero-content p {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 520px;
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition: background 0.2s ease;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: var(--panel-raised); }
.doc-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid var(--blue-deep);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: 0.02em;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info .doc-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.doc-info .doc-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
}
.doc-download {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--blue-deep);
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.doc-download:hover { background: rgba(79,195,232,0.1); border-color: var(--blue-bright); }

.uc-contact-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-dim);
}
.uc-contact-row a { color: var(--blue-bright); }
.uc-contact-row strong { color: var(--ink); display: block; font-size: 12.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }

@media (max-width: 620px) {
  .doc-item { flex-wrap: wrap; padding: 22px 20px; }
  .doc-download { width: 100%; justify-content: center; margin-top: 6px; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  nav.main-nav, .header-actions .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .showcase { grid-template-columns: 1fr; padding: 40px; }
  .wozek-band .wrap { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 70px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .value-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-specs { position: static; margin-top: 50px; justify-content: flex-start; }
  .hero-content { max-width: 100%; }
  section { padding: 70px 0; }
  .cta-band { padding: 44px 30px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .spec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-specs { flex-wrap: wrap; gap: 24px; }
}
