.product-tags {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-shrink: 0;
}
.btn.important.block {
  margin-top: 12px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-tags {
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-shrink: 0;
}
.btn.important.block {
  margin-top: 0;
}
.product-excerpt {
  min-height: 200px;
  display: block;
}
.row-flex-sections {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.schemat-section {
  min-width: 320px;
  max-width: 480px;
  flex: 1 1 320px;
}
.mobile-app-section {
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
}
.mobile-app-gallery-vertical {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.centered-heading {
  text-align: center;
}
.mobile-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-app-caption {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: #222;
  text-align: center;
  font-weight: 500;
}
.mobile-app-caption {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #222;
  text-align: center;
}
/* --- Aplikacja mobilna sekcja --- */
.mobile-app-gallery {
  display: flex;
  gap: 120px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.mobile-app-img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
}
.btn.secondary {
  background: #1f2937;
  color: #fff;
  border-color: #1f2937;
  box-shadow: 0 4px 14px rgba(31, 41, 55, 0.18);
}

.btn.secondary:hover {
  background: #374151;
  color: #fff;
  border-color: #374151;
}

.offer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
}

.offer-list li {
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.btn.important {
  background: var(--brand);
  color: #1f2937;
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.18);
  font-weight: 700;
  font-size: 1.08em;
  padding: 12px 22px;
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn.important:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(255, 196, 0, 0.22);
  color: #111827;
}

.zoom-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  font-size: 1.6em;
  padding: 6px 8px 4px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #1f2937;
  pointer-events: none;
  transition: background 0.2s;
}

.product-hero-media {
  position: relative;
}

.icon-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.icon-list li {
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cert-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.cert-list li {
  background: #f6f7fb;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px 16px;
  font-weight: 600;
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cert-list .cert-desc ul {
  background: none;
  border-radius: 0;
  margin: 6px 0 0 0;
  padding-left: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  width: 100%;
  list-style: disc inside;
}

.cert-list .cert-desc li {
  background: none !important;
  border-radius: 0 !important;
  margin-bottom: 2px;
  padding: 0 8px 0 0;
  font-size: 0.97em;
  color: #6b7280;
  font-weight: 400;
  box-shadow: none !important;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 100%;
  word-break: break-word;
}

.cert-list .cert-desc {
  margin: 6px 0 0 0;
  padding-left: 18px;
  font-weight: 400;
  color: #6b7280;
  font-size: 0.97em;
}

.cert-list .cert-desc ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.cert-list .cert-desc li {
  margin-bottom: 2px;
  font-size: 0.97em;
  color: #6b7280;
  font-weight: 400;
}

a.brand:hover,
.brand:focus {
  text-decoration: none;
}

:root {
  --bg: #0f1220;
  --ink: #0d0f16;
  --muted: #6b7280;
  --brand: #ffc400;
  --brand-ink: #1f2937;
  --card: #ffffff;
  --alt: #f6f7fb;
  --link: #0e6dfd;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--alt);
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 16px;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

ul.check {
  list-style: none;
  padding-left: 0;
}

ul.check li {
  position: relative;
  padding-left: 28px;
  margin: 6px 0;
}

ul.check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
}

ul.check.two {
  columns: 2;
  gap: 24px;
}

ul.dash {
  list-style: none;
  padding-left: 0;
}

ul.dash li {
  padding-left: 18px;
  position: relative;
  margin: 6px 0;
}

ul.dash li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #9ca3af;
}

ul.dash.two {
  columns: 2;
  gap: 24px;
}

.two-col {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-block;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  background: #fff;
  color: #111827;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #1f2937;
  box-shadow: 0 4px 14px rgba(255, 196, 0, 0.35);
}

.btn.ghost {
  background: transparent;
}

.btn.block {
  display: block;
  text-align: center;
}

.btn.small {
  padding: 8px 12px;
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.brand {
  font-weight: 800;
  color: #111827;
  display: flex;
  gap: 8px;
  align-items: center;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: none;
  color: var(--brand-ink);
}

.brand-logo img {
  width: 60px !important;
  height: 60px !important;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
}

#specyfikacja {
  scroll-margin-top: 80px;
}

#o-nas,
#oferta,
#galeria,
#kontakt {
  scroll-margin-top: 40px;
}

.nav a {
  color: #374151;
  font-weight: 600;
}

.nav a.active {
  color: #111827;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}

@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute;
    inset: 56px 0 auto auto;
    background: #fff;
    padding: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.18), 0 0 0 2px #f6f7fb;
    border-radius: 16px;
    margin: 16px 8px 0 8px;
    width: 90vw;
    max-width: 340px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav[style*="block"] {
    display: flex !important;
  }

  .nav-toggle {
    display: block;
  }
}

.hero {
  background-color: #0b0e1a;
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("../img/strona_glowna/mobile.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 36px 108px;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-cta {
  justify-content: center;
}

.hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 12px;
}

.hero p {
  font-size: clamp(16px, 1.8vw, 20px);
  opacity: 0.95;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
}

.card.highlight {
  border-left: 6px solid var(--brand);
}

.form label {
  display: block;
  font-weight: 600;
  margin: 10px 0 6px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  font: inherit;
}

.form button {
  margin-top: 8px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.feature .icon {
  font-size: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.25s;
  display: block;
}

.gallery a:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 28px;
  cursor: pointer;
}

.lightbox-close {
  top: 14px;
  right: 14px;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.product-hero {
  background: var(--alt);
  padding: 36px 0;
  border-bottom: 1px solid #e5e7eb;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 28px;
  align-items: center;
}

.product-hero-media {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px;
}

.product-hero-content .lead {
  color: #374151;
}

@media (max-width: 1000px) {
  .product-hero-inner {
    grid-template-columns: 1fr;
  }
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}

.certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .certs {
    grid-template-columns: 1fr;
  }
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.product-title {
  margin: 0;
}

.product-excerpt {
  color: #4b5563;
  margin: 0;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-tags span {
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 6px;
    width: auto;
    align-items: center;
  }

  .footer-copy {
    margin: 0 auto;
    font-size: 14px;
    color: #6b7280;
    width: 100%;
    text-align: center;
  }
}

.footer-copy {
  font-size: 14px;
  color: #6b7280;
  margin: 0 auto;
  text-align: center;
}

.contact {
  list-style: none;
  padding-left: 0;
}

.header-inner a {
  white-space: nowrap;
}

@media (min-width: 900px) {
  .hero {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
      ),
      url("../img/strona_glowna/desktop.jpg");
    min-height: 520px;
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
