/* ============================================================
   Bestway Transport — Uber-inspired design system
   Generated from DESIGN.md (getdesign.md/uber)
   Black & white duet · pill geometry · Inter (UberMove substitute)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* colors */
  --primary: #000000;
  --on-primary: #ffffff;
  --ink: #000000;
  --body: #5e5e5e;
  --mute: #afafaf;
  --hairline-mid: #4b4b4b;
  --canvas: #ffffff;
  --canvas-soft: #efefef;
  --canvas-softer: #f3f3f3;
  --surface-pressed: #e2e2e2;
  --on-dark: #ffffff;
  --black-elevated: #282828;

  /* radii */
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 999px;

  /* spacing */
  --s-xs: 6px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 20px;
  --s-2xl: 24px;
  --s-3xl: 32px;
  --s-4xl: 48px;
  --s-5xl: 80px;

  /* type */
  --font-display: 'Inter', system-ui, 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Inter', system-ui, 'Helvetica Neue', Arial, sans-serif;

  --container: 1200px;
}

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

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

body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--s-3xl);
  padding-right: var(--s-3xl);
}

/* ============================================================
   NAVBAR
   ============================================================ */
/* Floating dark pill navbar (tender-vision style) */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1280px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 9px 26px;
  background: rgba(18, 18, 18, .80);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
  transition: background .25s ease, box-shadow .25s ease;
}
.navbar.scrolled {
  background: rgba(12, 12, 12, .92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .42);
}
.navbar-logo { display: flex; align-items: center; }
.navbar-logo .logo { height: 32px; width: auto; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
}
.links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.link-wrapper { position: relative; }

.link,
.link-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, .84);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.link:hover,
.link-wrapper:hover > .link { background: rgba(255, 255, 255, .10); color: #fff; }

.link.active { background: rgba(255, 255, 255, .12); color: #fff; }

/* CTA pill in nav (Kontakt) — inverted white pill */
.link-wrapper .link.cta {
  background: #fff;
  color: #000;
  font-weight: 600;
  padding: 10px 20px;
}
.link-wrapper .link.cta:hover { background: rgba(255, 255, 255, .84); color: #000; }

/* dropdown (dark) */
.sub-list {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 232px;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  box-shadow: rgba(0, 0, 0, .45) 0 10px 30px 0;
  padding: var(--s-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.link-wrapper.collapse:hover .sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.link-small {
  display: block;
  width: 100%;
  border-radius: var(--r-md);
  font-weight: 500;
}
.link-small:hover { background: rgba(255, 255, 255, .10); color: #fff; }
.collapse .fa-angle-down { font-size: 12px; transition: transform .15s ease; }
.link-wrapper.collapse:hover .fa-angle-down { transform: rotate(180deg); }

/* hamburger */
.hamburger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
#myVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .68;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-title {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero-title strong {
  display: block;
  font-weight: 800;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: var(--s-lg);
}
.hero-arrow {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 32px;
  margin-left: -26px;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: var(--canvas);
  border-radius: var(--r-pill);
  box-shadow: rgba(0,0,0,.18) 0 4px 14px 0;
  animation: heroArrowBounce 2.2s ease-in-out infinite;
  transition: box-shadow .2s ease, background .2s ease;
}
.hero-arrow:hover { background: #f2f2f2; box-shadow: rgba(0,0,0,.28) 0 8px 22px 0; }
.hero-arrow img { width: 18px; height: 18px; }
@keyframes heroArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-arrow { animation: none; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.anchor { scroll-margin-top: 84px; }

section,
main.about {
  padding-top: var(--s-5xl);
  padding-bottom: var(--s-5xl);
}

/* polarity-flipped dark bands */
.cargo,
.transport {
  background: var(--ink);
  color: var(--on-dark);
}

.employees { background: var(--canvas); }
.about { background: var(--canvas); }
.partners { background: var(--canvas-softer); }

.subtitle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-3xl);
}
.subtitle--white { color: var(--on-dark); }

/* eyebrow-style for "O firmie" feel kept as heading */
.about .subtitle {
  font-size: clamp(28px, 3.4vw, 36px);
}

.text {
  font-size: 18px;
  line-height: 28px;
  color: var(--body);
}
.text--white { color: rgba(255,255,255,.82); }

.about-content { max-width: 760px; }
.about .text { font-size: 20px; line-height: 32px; color: var(--body); }

/* ============================================================
   ICON / FEATURE GRIDS  (cargo, employees, transport)
   ============================================================ */
.icons-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
}
.icon-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  padding: var(--s-2xl);
  border-radius: var(--r-xl);
  background: var(--canvas-soft);
  transition: transform .18s ease, box-shadow .18s ease;
  min-height: 168px;
}
.icon-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: rgba(0,0,0,.12) 0 4px 16px 0;
}

/* dark-band cards */
.cargo .icon-wrapper,
.transport .icon-wrapper {
  background: var(--black-elevated);
}
.cargo .icon-wrapper:hover,
.transport .icon-wrapper:hover {
  box-shadow: rgba(0,0,0,.45) 0 4px 16px 0;
}

/* font-awesome icons (cargo) */
.icon {
  font-size: 30px;
  color: var(--ink);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--canvas);
  border-radius: var(--r-pill);
}
.icon--white {
  color: var(--on-dark);
  background: rgba(255,255,255,.10);
}

/* image icons (employees, transport) */
.icon-wrapper img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.transport .icon-wrapper img {
  filter: brightness(0) invert(1);
}

.icon-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--ink);
  margin-top: auto;
}
.icon-text.text--white { color: var(--on-dark); }
.cargo .icon-text { color: var(--on-dark); }

/* ============================================================
   PARTNERS SLIDER
   ============================================================ */
.partners-title { text-align: center; }
.partners .subtitle { text-align: center; }

.partners-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}
.swiper-slide { display: flex; align-items: center; justify-content: center; }
.slide-image-wrapper {
  width: 100%;
  height: 120px;
  display: grid;
  place-items: center;
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
}
.slide-image {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .2s ease, opacity .2s ease;
}
.swiper-slide:hover .slide-image { filter: grayscale(0); opacity: 1; }

.button-prev,
.button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--canvas);
  border-radius: var(--r-pill);
  box-shadow: rgba(0,0,0,.14) 0 2px 8px 0;
  cursor: pointer;
  transition: transform .15s ease;
}
.button-prev:hover,
.button-next:hover { transform: translateY(-50%) scale(1.06); }
.button-prev { left: 0; }
.button-next { right: 0; }
.button-prev img,
.button-next img { width: 18px; height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary); color: var(--on-dark); }
.footer-top { padding: var(--s-5xl) 0 var(--s-4xl); }
.footer-top-wrapper {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4xl);
  flex-wrap: wrap;
}
.header-small {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-xl);
  color: var(--on-dark);
}
.contact-person {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-bottom: var(--s-xl);
}
.text--small { font-size: 15px; line-height: 24px; }
.contact-person .text { color: var(--on-dark); font-weight: 600; font-size: 16px; }

.person-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.10);
  border-radius: var(--r-pill);
  transition: background .15s ease;
}
.person-icon:hover { background: rgba(255,255,255,.22); }
.person-icon i { color: var(--on-dark); font-size: 16px; }

.contact-icons { display: flex; flex-direction: column; gap: var(--s-md); }
.contact-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--s-md);
  color: rgba(255,255,255,.82);
  transition: color .15s ease;
}
.contact-icon:hover { color: var(--on-dark); }
.contact-icon i { width: 20px; text-align: center; }
.contact-text { font-size: 15px; }

.footer-info {
  display: flex;
  gap: var(--s-md);
  color: rgba(255,255,255,.7);
}
.footer-info > i { font-size: 22px; margin-top: 2px; }
.info-wrapper { font-size: 14px; line-height: 24px; }

.footer-bottom {
  border-top: 1px solid var(--hairline-mid);
  padding: var(--s-2xl) 0;
}
.bottom-content {
  font-size: 13px;
  color: var(--mute);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .icons-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .navbar { padding: 8px 8px 8px 20px; width: calc(100% - 24px); }
  .container { padding-left: var(--s-lg); padding-right: var(--s-lg); }

  .navbar-links .links {
    position: fixed;
    inset: 80px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(18, 18, 18, .98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--r-xl);
    padding: var(--s-md);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .navbar-links .links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .link, .link-small { font-size: 17px; padding: 14px 16px; }
  .link.cta { justify-content: center; margin-top: var(--s-xs); }
  .sub-list {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding-left: var(--s-lg);
    min-width: 0;
  }
  .collapse .fa-angle-down { display: none; }

  /* hamburger visible */
  .hamburger {
    display: inline-block;
    cursor: pointer;
    background: transparent;
    border: 0;
    z-index: 110;
    margin-right: var(--s-md);
  }
  .hamburger-box { width: 26px; height: 20px; position: relative; display: block; }
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    position: absolute;
    width: 26px; height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, top .2s ease, opacity .2s ease;
  }
  .hamburger-inner { top: 50%; margin-top: -1px; }
  .hamburger-inner::before { top: -9px; }
  .hamburger-inner::after { top: 9px; }
  .hamburger.is-active .hamburger-inner { background: transparent; }
  .hamburger.is-active .hamburger-inner::before { top: 0; transform: rotate(45deg); }
  .hamburger.is-active .hamburger-inner::after { top: 0; transform: rotate(-45deg); }

  section, main.about { padding-top: var(--s-4xl); padding-bottom: var(--s-4xl); }
}

@media (max-width: 560px) {
  .icons-wrapper { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .footer-top-wrapper { flex-direction: column; gap: var(--s-3xl); }
}

/* ============================================================
   GALLERY SUBPAGE  (galeria.html)
   ============================================================ */
.subpage-main { padding-top: 0; }

.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  /* black fills from the very top (behind the floating navbar); extra top
     padding clears the menu so content isn't hidden under it */
  padding: calc(var(--s-5xl) + 56px) 0 var(--s-5xl);
}
.page-hero .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--s-md);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-hero p { color: rgba(255,255,255,.72); font-size: 18px; margin-top: var(--s-lg); max-width: 60ch; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r-pill);
}
.back-link:hover { background: var(--canvas-soft); }

/* gallery grid */
.gallery { background: var(--canvas); padding: var(--s-5xl) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.gallery-item {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--canvas-soft);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-note {
  margin-top: var(--s-3xl);
  padding: var(--s-2xl);
  background: var(--canvas-soft);
  border-radius: var(--r-xl);
  font-size: 15px;
  color: var(--body);
}
.gallery-note code {
  background: var(--canvas);
  padding: 2px 8px;
  border-radius: var(--r-md);
  font-size: 13px;
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-3xl);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--r-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--canvas);
  border-radius: var(--r-pill);
  border: 0; cursor: pointer;
  font-size: 20px;
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews { background: var(--canvas-softer); padding: var(--s-5xl) 0; }
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  flex-wrap: wrap;
  margin-bottom: var(--s-3xl);
}
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s-lg);
}
.review-card {
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}
.review-top { display: flex; align-items: center; gap: var(--s-md); }
.review-avatar {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 18px;
}
.review-meta strong { display: block; font-size: 16px; }
.review-meta span { font-size: 13px; color: var(--mute); }
.review-text { font-size: 18px; line-height: 28px; color: var(--ink); }
.review-card .recommends {
  font-size: 13px; font-weight: 500; color: var(--body);
  display: inline-flex; align-items: center; gap: 6px;
}
.reviews-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--on-dark);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
}
.reviews-cta:hover { background: var(--black-elevated); }

/* NET Service contact block */
.net-contact { background: var(--ink); color: var(--on-dark); padding: var(--s-5xl) 0; }
.net-contact h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(28px,4vw,40px);
  letter-spacing: -0.02em; margin-bottom: var(--s-3xl);
}
.net-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: var(--s-lg);
}
.net-card {
  background: var(--black-elevated);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
}
.net-card .label { font-size: 13px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.net-card .value { font-size: 18px; font-weight: 600; margin-top: 6px; word-break: break-word; }
.net-card a.value { color: var(--on-dark); }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOMEPAGE ENHANCEMENTS
   ============================================================ */

/* Buttons (pill CTAs) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--canvas); color: var(--ink); box-shadow: rgba(0,0,0,.16) 0 2px 8px 0; }
.btn-primary:hover { box-shadow: rgba(0,0,0,.22) 0 6px 18px 0; }
.btn-secondary { background: rgba(255,255,255,.12); color: var(--on-dark); backdrop-filter: blur(4px); }
.btn-secondary:hover { background: rgba(255,255,255,.22); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--black-elevated); }

/* Hero CTA row */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-top: var(--s-3xl);
}

/* Section eyebrow + lead */
.eyebrow-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: var(--s-md);
}
.cargo .eyebrow-tag,
.transport .eyebrow-tag { color: rgba(255,255,255,.5); }

.section-lead {
  font-size: 20px;
  line-height: 30px;
  color: var(--body);
  max-width: 62ch;
  margin-top: -8px;
  margin-bottom: var(--s-4xl);
}
.cargo .section-lead,
.transport .section-lead { color: rgba(255,255,255,.74); }

/* tighten subtitle when it sits under an eyebrow + above a lead */
.has-eyebrow .subtitle { margin-bottom: var(--s-md); }

/* Pre-footer CTA band */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s-5xl) 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3xl);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.cta-band p { color: rgba(255,255,255,.7); font-size: 18px; margin-top: var(--s-md); }
.cta-band-actions { display: flex; flex-direction: column; gap: var(--s-md); }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--on-dark);
}
.cta-phone i { font-size: 18px; opacity: .7; }

/* Scroll-reveal animations */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.icons-wrapper .icon-wrapper.reveal:nth-child(2) { transition-delay: .05s; }
.icons-wrapper .icon-wrapper.reveal:nth-child(3) { transition-delay: .1s; }
.icons-wrapper .icon-wrapper.reveal:nth-child(4) { transition-delay: .15s; }
.icons-wrapper .icon-wrapper.reveal:nth-child(5) { transition-delay: .1s; }
.icons-wrapper .icon-wrapper.reveal:nth-child(6) { transition-delay: .15s; }
.icons-wrapper .icon-wrapper.reveal:nth-child(7) { transition-delay: .2s; }
.icons-wrapper .icon-wrapper.reveal:nth-child(8) { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   MAP SECTION (Mapbox · monochrome)
   ============================================================ */
.map-section { background: var(--canvas); padding: var(--s-5xl) 0 0; }
.map-section .has-eyebrow { margin-bottom: var(--s-3xl); }

.map-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: clamp(400px, 56vh, 580px);
  box-shadow: rgba(0,0,0,.12) 0 4px 16px 0;
}
/* full-bleed, edge-to-edge map (no container) */
.map-wrap--full {
  border-radius: 0;
  box-shadow: none;
  height: clamp(460px, 64vh, 660px);
}
.map-card-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.map-card-layer .map-card {
  position: static;
  pointer-events: auto;
}
#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* "bez kolorów" — pełna monochromia mapy */
  filter: grayscale(1) contrast(1.05);
}

/* custom brand marker — black dot, white ring, soft pulse */
.map-marker {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #000;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  position: relative;
}
.map-marker::before {
  content: "";
  position: absolute; inset: -9px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  animation: markerPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes markerPulse {
  0%   { transform: scale(.5); opacity: .7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* floating Uber-style address card */
.map-card {
  position: absolute;
  top: var(--s-2xl);
  left: var(--s-2xl);
  z-index: 5;
  width: min(340px, calc(100% - 48px));
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  box-shadow: rgba(0,0,0,.16) 0 4px 16px 0;
}
.map-card .map-card-eyebrow {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: var(--s-sm);
}
.map-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: var(--s-xs);
}
.map-card address {
  font-style: normal;
  font-size: 16px; line-height: 24px;
  color: var(--body);
  margin-bottom: var(--s-lg);
}
.map-card .btn { width: 100%; justify-content: center; }

/* tame mapbox default controls into the monochrome look */
.mapboxgl-ctrl-group { border-radius: var(--r-pill) !important; overflow: hidden; }
.mapboxgl-ctrl-logo, .mapboxgl-ctrl-attrib { opacity: .65; }

@media (max-width: 560px) {
  .map-card-layer { align-items: flex-end; padding-bottom: var(--s-lg); }
  .map-card { width: 100%; padding: var(--s-lg); }
  .map-wrap { height: clamp(420px, 70vh, 560px); }
}

/* Scroll progress indicator (brand black) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--ink);
  z-index: 200;
  transition: width .08s linear;
}

/* footer brand logo (white version on dark footer) */
.footer-logo { height: 54px; width: auto; margin-bottom: var(--s-3xl); }
@media (max-width: 560px) { .footer-logo { height: 44px; } }

/* ============================================================
   WORKSHOP SERVICES (galeria/warsztat page)
   ============================================================ */
.services { background: var(--canvas); padding: var(--s-5xl) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.service-card {
  background: var(--canvas-soft);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: rgba(0,0,0,.12) 0 4px 16px 0; }
.service-card .s-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  font-size: 20px;
  margin-bottom: var(--s-lg);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.service-card p { font-size: 15px; line-height: 22px; color: var(--body); }

.page-hero .hero-cta { margin-top: var(--s-2xl); }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STYLE POLISH PASS
   ============================================================ */

/* About — two-column with feature highlights */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-5xl);
  align-items: center;
}
.about-grid .about-content { max-width: none; }
.about-features { display: grid; gap: var(--s-md); }
.feature {
  display: flex;
  gap: var(--s-lg);
  align-items: flex-start;
  background: var(--canvas-soft);
  border-radius: var(--r-lg);
  padding: var(--s-lg) var(--s-xl);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateX(4px); box-shadow: rgba(0,0,0,.08) 0 4px 14px 0; }
.feature > i {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  font-size: 17px;
}
.feature strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 2px; color: var(--ink); }
.feature span { font-size: 14px; line-height: 20px; color: var(--body); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-3xl); }
}

/* Hero — add bottom vignette for depth + arrow legibility */
.hero::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.12) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%);
}

/* Footer — clean ending now that the bottom bar is gone */
.footer-top { padding-bottom: var(--s-5xl); }

/* Card grids — slightly softer, more premium hover */
.icon-wrapper { border: 1px solid transparent; }
.cargo .icon-wrapper, .transport .icon-wrapper { border-color: rgba(255,255,255,.04); }

/* Section leads breathe a touch more */
.section-lead { margin-bottom: var(--s-4xl); }

/* ============================================================
   STYLE POLISH PASS 2
   ============================================================ */

/* --- Service/feature grids: bigger, more confident icons --- */
.icon-wrapper {
  gap: var(--s-lg);
  border-radius: var(--r-xl);
}
.icon {
  width: 54px; height: 54px;
  font-size: 23px;
}
.icon-wrapper img { width: 54px; height: 54px; }
.icon-text { font-size: 16px; line-height: 23px; font-weight: 500; }
/* index hero cargo cards: hairline so cards read on the black band */
.cargo .icon-wrapper, .transport .icon-wrapper { border: 1px solid rgba(255,255,255,.06); }
.cargo .icon-wrapper:hover, .transport .icon-wrapper:hover { border-color: rgba(255,255,255,.14); }

/* --- Partners slider: tidy uniform cards --- */
.slide-image-wrapper {
  height: 132px;
  border: 1px solid var(--canvas-soft);
  box-shadow: rgba(0,0,0,.03) 0 2px 8px 0;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.swiper-slide:hover .slide-image-wrapper {
  transform: translateY(-3px);
  border-color: var(--surface-pressed);
  box-shadow: rgba(0,0,0,.10) 0 6px 18px 0;
}
.slide-image { max-height: 64px; }

/* --- Gallery: masonry layout (natural aspect ratios) --- */
.gallery-grid {
  display: block;
  grid-template-columns: none;
  column-count: 3;
  column-gap: var(--s-lg);
}
.gallery-item {
  aspect-ratio: auto;
  break-inside: avoid;
  margin-bottom: var(--s-lg);
  display: block;
}
.gallery-item img { height: auto; }

/* --- Accessibility: visible focus rings that adapt to context --- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.link:focus-visible,
.gallery-item:focus-visible,
.hero-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: var(--r-pill);
}
.gallery-item:focus-visible { border-radius: var(--r-xl); }

/* --- Smoother, consistent motion --- */
.btn, .link, .icon-wrapper, .service-card, .feature, .gallery-item img, .net-card {
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
}

/* --- net-contact cards: subtle hover lift --- */
.net-card { transition: transform .2s ease, background .2s ease; }
.net-card:hover { transform: translateY(-3px); background: #2f2f2f; }

@media (max-width: 900px) {
  .gallery-grid { column-count: 2; }
}
@media (max-width: 560px) {
  .gallery-grid { column-count: 1; }
}

/* footer socials reused as Messenger/LinkedIn person pills — see .person-icon */

/* ============================================================
   POLISH PASS 3 — menu spacing + glassmorphism
   ============================================================ */

/* slightly more breathing room between nav items */
.links { gap: 6px; }

/* glassmorphism on the hero scroll arrow */
.hero-arrow {
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, .26);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

/* glassmorphism on the hero secondary CTA ("Skontaktuj się" / "Zobacz usługi") */
.btn-secondary {
  background: rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .30);
  color: var(--on-dark);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .50);
}

/* FIX: FA <i> styled as a pill — FA's own `.fas{display:inline-block}` (injected
   by the kit at runtime, equal specificity) was overriding `.icon{display:grid}`,
   pushing the glyph to the top-left. Higher specificity + flex re-centers it. */
.icon-wrapper .icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   CTA BAND — nicer phone card + button
   ============================================================ */
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  align-items: stretch;
  min-width: 300px;
}

/* phone as a glassy clickable card */
.cta-phone {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  padding: 14px 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-xl);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  color: var(--on-dark);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cta-phone:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .30);
  transform: translateY(-2px);
}
.cta-phone-icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: #fff; color: #000;
  border-radius: var(--r-pill);
  font-size: 18px;
}
.cta-phone i { opacity: 1; font-size: 18px; }
.cta-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.cta-phone-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
  margin-bottom: 2px;
}
.cta-phone-num {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

/* matching button */
.cta-band-btn {
  justify-content: center;
  padding: 16px 24px;
  gap: 10px;
}
.cta-band-btn i { font-size: 14px; transition: transform .2s ease; }
.cta-band-btn:hover i { transform: translateX(4px); }

/* ============================================================
   MOBILE FINALIZATION — pełna responsywność (wszystkie szerokości)
   ============================================================ */

/* nigdy nie pozwól na poziomy scroll */
/* clip (nie hidden!) — chroni przed poziomym scrollem, ale NIE psuje
   płynnego scrollowania do kotwic ani position: sticky */
html { overflow-x: clip; }
body { overflow-x: clip; }
img, video { max-width: 100%; }

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
  .icons-wrapper { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Duże telefony / małe tablety (≤ 720px) ---- */
@media (max-width: 720px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 0; }
  .cta-band-actions { width: 100%; min-width: 0; }
  .cta-phone, .cta-band-btn { width: 100%; }
}

/* ---- Telefony (≤ 560px) ---- */
@media (max-width: 560px) {
  .navbar { padding: 8px 8px 8px 16px; width: calc(100% - 20px); }
  .navbar-logo .logo { height: 28px; }

  .hero-title { font-size: clamp(30px, 8.5vw, 40px); }
  .hero-title strong { font-size: 12px; letter-spacing: .18em; }

  .subtitle { font-size: clamp(26px, 7vw, 34px); }
  .section-lead { font-size: 17px; line-height: 26px; }
  .about .text { font-size: 18px; line-height: 28px; }

  .icon-wrapper { min-height: 0; padding: var(--s-xl); }
  .service-card { padding: var(--s-xl); }
  .feature { padding: var(--s-md) var(--s-lg); }

  .cta-band h2 { font-size: clamp(26px, 7vw, 36px); }

  .footer-top-wrapper { gap: var(--s-2xl); }
  .footer-info { gap: var(--s-sm); }

  .page-hero h1 { font-size: clamp(30px, 8.5vw, 44px); }
  .page-hero p { font-size: 16px; }

  .map-wrap--full { height: clamp(360px, 60vh, 480px); }
  .reviews-head { flex-direction: column; align-items: flex-start; }
}

/* ---- Stack przycisków hero na wąskich (≤ 440px) ---- */
@media (max-width: 440px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; flex: none; }
}

/* ---- Małe telefony (≤ 380px) ---- */
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .cta-phone-num { font-size: 18px; }
  .cta-phone-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .link, .link-small { font-size: 16px; }
  .footer-top-wrapper { gap: var(--s-xl); }
  .container { padding-left: var(--s-md); padding-right: var(--s-md); }
}

/* footer stacks to single column earlier (tablety i telefony) */
@media (max-width: 768px) {
  .footer-top-wrapper { flex-direction: column; gap: var(--s-3xl); }
  .footer-info { gap: var(--s-md); }
}

/* ============================================================
   RWD POLISH 2 — drobne szlify mobilne
   ============================================================ */

/* hero korzysta z "small viewport height" na mobile (brak skoku przy pasku adresu) */
@supports (height: 100svh) {
  @media (max-width: 820px) {
    .hero { min-height: 100svh; }
  }
}

/* slider partnerów — ciaśniej na telefonach */
@media (max-width: 560px) {
  .partners-slider { padding: 0 44px; }
  .slide-image-wrapper { height: 112px; padding: var(--s-lg); }
  .button-prev, .button-next { width: 40px; height: 40px; }
}

/* bardzo małe telefony (≤ 480px) — ciaśniejszy rytm i rozmiary */
@media (max-width: 480px) {
  section, main.about { padding-top: var(--s-3xl); padding-bottom: var(--s-3xl); }
  .page-hero { padding: calc(var(--s-4xl) + 56px) 0 var(--s-4xl); }
  .map-section { padding-top: var(--s-4xl); }
  .hero-title { font-size: clamp(28px, 9vw, 36px); line-height: 1.1; }
  .cta-band-actions { gap: var(--s-sm); }
  .back-link { font-size: 14px; padding: 8px 14px; }
  .map-card h3 { font-size: 18px; }
}

/* ============================================================
   A11Y — rozwijane menu dostępne z klawiatury
   ============================================================ */
.link-wrapper.collapse:focus-within > .link { background: rgba(255, 255, 255, .10); color: #fff; }
.link-wrapper.collapse:focus-within .sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.link-wrapper.collapse:focus-within .fa-angle-down { transform: rotate(180deg); }
