:root {
  /* Kolory bazują na granacie i niebieskim akcencie z identyfikacji Prodaxis. */
  --primary: #006ee6;
  --primary-strong: #004ea8;
  --accent: #18a3ff;
  --navy: #071a33;
  --navy-2: #0c2748;
  --ink: #122033;
  --text: #405064;
  --muted: #6d7b8e;
  --line: #dbe4ef;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(7, 26, 51, 0.08);
  --shadow-md: 0 20px 55px rgba(7, 26, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-strong);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.3rem;
  font-size: clamp(2.5rem, 5vw, 4.85rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.08rem;
}

p {
  margin-bottom: 0;
}

.section-pad {
  padding: 108px 0;
}

.bg-soft {
  background:
    linear-gradient(180deg, rgba(245, 248, 252, 0.78), rgba(245, 248, 252, 1)),
    radial-gradient(circle at 10% 10%, rgba(0, 110, 230, 0.08), transparent 32%);
}

.site-navbar {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 228, 239, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-navbar.scrolled {
  padding: 9px 0;
  box-shadow: 0 12px 36px rgba(7, 26, 51, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 190px;
  padding: 0;
}

.brand-logo {
  display: block;
  width: 174px;
  height: auto;
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.16rem rgba(0, 110, 230, 0.2);
}

.nav-link {
  position: relative;
  color: #27364a;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.7rem 0.78rem !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.38rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.82rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: 0;
  box-shadow: 0 16px 28px rgba(0, 110, 230, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-strong), #07366f);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-strong);
  background: var(--white);
  border-color: rgba(0, 110, 230, 0.34);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: var(--primary-strong);
  background: #eef6ff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.nav-cta {
  padding-inline: 1.1rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 154px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(24, 163, 255, 0.18), transparent 28%),
    radial-gradient(circle at 0 100%, rgba(0, 110, 230, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 110px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 110, 230, 0.22), transparent);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--primary);
}

.section-label-light {
  color: #9ed4ff;
}

.section-label-light::before {
  background: #9ed4ff;
}

.hero-lead,
.section-text,
.section-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 34px;
}

.hero-proof div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(219, 228, 239, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 1rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.86rem;
}

.operations-panel {
  /* Panel w hero jest celowo stylizowany jak system raportowania produkcji. */
  position: relative;
  padding: 24px;
  color: #dbeafe;
  background:
    radial-gradient(circle at 85% 8%, rgba(24, 163, 255, 0.28), transparent 28%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 32px 82px rgba(7, 26, 51, 0.28);
  overflow: hidden;
}

.operations-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.panel-header,
.panel-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 800;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #30d158;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(48, 209, 88, 0.14);
}

.panel-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.panel-kpis div,
.schedule-card,
.chart-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.panel-kpis div {
  padding: 16px;
}

.panel-kpis span,
.panel-kpis small {
  display: block;
  color: #b9d9fb;
}

.panel-kpis strong {
  display: block;
  color: var(--white);
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.55rem 0;
}

.panel-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.schedule-card,
.chart-card {
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-weight: 850;
  margin-bottom: 16px;
}

.panel-title i {
  color: #7bc6ff;
}

.schedule-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: #dbeafe;
  font-size: 0.86rem;
}

.schedule-row strong {
  color: #9ed4ff;
  font-size: 0.78rem;
}

.schedule-track {
  height: 9px;
  background: rgba(219, 234, 254, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.schedule-track em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: inherit;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 156px;
}

.chart-bars span {
  flex: 1;
  min-width: 15px;
  background: linear-gradient(180deg, #6cc6ff, var(--primary));
  border-radius: 6px 6px 2px 2px;
}

.bar-1 { height: 42%; }
.bar-2 { height: 66%; }
.bar-3 { height: 52%; }
.bar-4 { height: 78%; }
.bar-5 { height: 62%; }
.bar-6 { height: 88%; }

.panel-footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.panel-footer i {
  color: #30d158;
}

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

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-inner span {
  padding: 8px 14px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
  background: #f2f7fd;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .section-label {
  justify-content: center;
}

.identity-card,
.service-card,
.why-card,
.process-step,
.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.identity-card {
  padding: 30px;
}

.identity-logo {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto 28px;
  border-radius: var(--radius);
}

.identity-list {
  display: grid;
  gap: 14px;
}

.identity-list div,
.contact-card div {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.identity-list i,
.contact-card i {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.2rem;
}

.service-card,
.why-card,
.process-step {
  height: 100%;
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.why-card:hover,
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 110, 230, 0.26);
  box-shadow: var(--shadow-md);
}

.service-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--primary);
  font-size: 1.45rem;
  background: linear-gradient(180deg, #eef7ff, #e8f2ff);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.service-card p,
.why-card p,
.process-step p {
  color: var(--muted);
  font-size: 0.96rem;
}

.bg-navy {
  color: #dbeafe;
  background:
    radial-gradient(circle at 15% 20%, rgba(24, 163, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy), #091427);
}

.bg-navy h2,
.bg-navy h3 {
  color: var(--white);
}

.bg-navy p {
  color: #b8cbe2;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.experience-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 18px;
  color: var(--white);
  font-weight: 750;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.experience-list i {
  color: #77c8ff;
  font-size: 1.25rem;
}

.why-card span,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 900;
  background: #eef7ff;
  border-radius: var(--radius);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cta-section {
  padding: 78px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(24, 163, 255, 0.36), transparent 26%),
    linear-gradient(135deg, var(--primary-strong), var(--navy));
  border-radius: var(--radius);
  box-shadow: 0 26px 65px rgba(7, 26, 51, 0.22);
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.cta-box h2 {
  max-width: 760px;
}

.cta-box p:not(.cta-kicker) {
  max-width: 760px;
  opacity: 0.9;
}

.cta-kicker {
  margin-bottom: 0.6rem;
  color: #9ed4ff !important;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.contact-card {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 24px;
}

.contact-form {
  padding: 32px;
}

.form-label {
  color: var(--ink);
  font-weight: 800;
}

.form-control {
  min-height: 54px;
  border-color: var(--line);
  border-radius: var(--radius);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.22rem rgba(0, 110, 230, 0.12);
}

textarea.form-control {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 28px 0;
  color: #c9d7e8;
  background: #07111f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand img {
  width: 150px;
  max-width: 100%;
  background: var(--white);
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #dbeafe;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  .panel-kpis,
  .panel-body {
    grid-template-columns: 1fr;
  }

  .panel-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 82px;
  }

  .section-pad {
    padding: 82px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .navbar-collapse {
    padding-top: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .hero-proof,
  .experience-list,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: 148px;
  }

  .panel-kpis,
  .hero-proof,
  .experience-list,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 56px 1fr;
  }

  .schedule-row strong {
    grid-column: 2;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2.35rem;
  }

  .section-pad {
    padding: 66px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-actions,
  .hero-actions .btn,
  .cta-box .btn {
    width: 100%;
  }

  .operations-panel,
  .identity-card,
  .contact-form,
  .cta-box {
    padding: 22px;
  }

  .panel-header,
  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
