/* ═══════════════════════════════════════════════════════
   LAUGHING MAN – LM-VIP.pl
   Pixel-perfect recreation from Figma file YfmOicKaTEa5CohPvjwMHF
   Fonts: Manrope + Playfair Display
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Manrope', sans-serif;
  color: #1A1C1C;
  background: #F9F9F9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; cursor: pointer; background: transparent; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ── Design Tokens ───────────────────────────────────── */
:root {
  --gold:         #C8A45D;
  --black:        #0B0B0B;
  --white:        #FFFFFF;
  --text-dark:    #1A1C1C;
  --text-mid:     #444748;
  --gray-light:   #EEEEEE;
  --nav-border:   #C4C7C7;
  --page-width:   1280px;
  --content-width: 1120px;
  --pad:          80px;
}

/* ── Typography helpers ──────────────────────────────── */
.label-gold {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.label-center { text-align: center; }

.heading-playfair-40 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  color: var(--text-dark);
}

.text-center { text-align: center; }
.text-white  { color: var(--white); }

.text-body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
}
.text-muted { color: var(--text-mid); }
.text-body.text-white { color: var(--white); }
.service-text-white { color: rgba(255,255,255,0.7); }

/* ── Layout ──────────────────────────────────────────── */
.container {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  width: 100%;
}
.section-white { background: #FFFFFF; }

.section-inner {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 96px 80px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--black);
  padding: 12px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 187.39px;
  min-height: 38px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-gold {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 20px 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 258px;
  min-height: 56px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.85; }

.btn-outline-white {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 20px 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 56px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ══════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════ */
.header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--nav-border);
}

.nav {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  height: 86px;
  margin: 0 auto;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: calc(70vh - 87px);
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 75px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 94px;
  height: 100%;
}

.hero-text { max-width: 768px; }

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 70.4px;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 23px;
}

.hero-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9);
  max-width: 672px;
  margin-bottom: 23px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 32px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge-icon {
  width: 16px;
  height: 20px;
  flex-shrink: 0;
}

.hero-badge-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════════════════════
   O NAS
══════════════════════════════════════════════════════ */
.section-onas-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.onas-left .label-gold { margin-bottom: 16px; }

.onas-left .heading-playfair-40 { margin-bottom: 16px; }

.onas-text { display: flex; flex-direction: column; gap: 16px; }

.onas-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
}

.stat-card {
  min-height: 134px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.stat-card-border {
  border: 1px solid var(--gray-light);
  background: var(--white);
}

.stat-card-dark {
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.stat-card-bottom {
  grid-column: 1 / -1;
  grid-row: 2;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 48px;
  color: var(--gold);
}

.stat-number-white { color: var(--white); }
.stat-number-gold  { color: var(--gold); }
.stat-card-bottom .stat-number { color: var(--black); }

.stat-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  text-transform: none;
}
.stat-label-white { color: var(--white); }

/* ══════════════════════════════════════════════════════
   USŁUGI
══════════════════════════════════════════════════════ */
.section .container {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 250px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card-white {
  background: var(--white);
  border: 1px solid var(--gray-light);
}

.service-card-dark {
  background: var(--black);
}

.service-icon {
  width: auto;
  height: 30px;
  max-width: 36px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0;
  transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-icon {
  filter: brightness(1.15) drop-shadow(0 0 4px rgba(200,164,93,0.35));
  transform: scale(1.06);
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-dark);
}

.service-title-white { color: var(--white); }

/* ══════════════════════════════════════════════════════
   FLOTA
══════════════════════════════════════════════════════ */
.flota-header {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 96px;
}

.flota-header .label-gold { margin-bottom: 16px !important; }

#flota {
  padding-bottom: 0 !important;
}

.flota-nav {
  display: flex;
  gap: 8px;
}

.flota-nav-btn {
  width: 49px;
  height: 49px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.flota-nav-btn:hover { background: var(--gray-light); }

.flota-grid {
  display: flex;
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  overflow: hidden;
}

.flota-card {
  background: var(--white);
  border: none;
  display: flex;
  flex-direction: column;
  flex: 0 0 598px;
  min-height: 638px;
  min-width: 0;
}

.flota-card-img-wrap {
  width: 100%;
  height: 371px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 58px;
}

.flota-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.flota-card-info {
  padding: 0 58px 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.flota-car-name {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-dark);
}

.flota-car-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
  flex: 1;
  max-width: 483px;
}

.flota-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: auto;
  padding-top: 24px;
  min-width: 0;
}

.flota-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-shrink: 0;
}

.flota-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.2s;
  white-space: nowrap;
}
.flota-link:hover { color: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════
   BEZPIECZEŃSTWO
══════════════════════════════════════════════════════ */
.section-security {
  position: relative;
  background: var(--black);
  width: 100%;
  min-height: 604px;
  overflow: hidden;
}

.security-bg {
  position: absolute;
  inset: 0;
}

.security-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.security-content {
  position: relative;
  z-index: 2;
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 528px 1fr;
  gap: 64px;
  align-items: start;
}

.security-left .label-gold { margin-bottom: 16px; }

.security-left .heading-playfair-40 {
  color: var(--white);
  margin-bottom: 0;
}

.security-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-item img {
  animation: lm-badge-glow 4.8s ease-in-out infinite;
  opacity: 0.55;
  flex-shrink: 0;
}
.security-item:nth-child(1) img { animation-delay: 0s;    }
.security-item:nth-child(2) img { animation-delay: 1.2s;  }
.security-item:nth-child(3) img { animation-delay: 2.4s;  }
.security-item:nth-child(4) img { animation-delay: 3.6s;  }

.security-quote-wrap {
  display: flex;
  align-items: stretch;
  padding-top: 0;
}

.security-quote-card {
  background: rgba(0,0,0,0.46);
  border: 2px solid rgba(200,164,93,0.3);
  min-height: 412px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.security-quote-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--white);
  text-align: center;
}

.security-quote-text {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--white);
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   DOŚWIADCZENIE / AKTUALNOŚCI
══════════════════════════════════════════════════════ */
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.blog-header > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.blog-viewport {
  overflow: hidden;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  transition: transform 0.46s cubic-bezier(0.16,1,0.3,1);
}

/* karuzela aktywna — track poziomy */
.articles-grid.is-carousel {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  transition: transform 0.46s cubic-bezier(0.16,1,0.3,1);
}
.articles-grid.is-carousel .article-card {
  flex: 0 0 calc(25% - 24px);
  min-width: 0;
}

.blog-dots-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.blog-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 12px;
  min-width: 0;
}

.article-img-wrap {
  width: 100%;
  height: 256px;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}

/* top & bottom lines */
.article-img-wrap::before,
.article-img-wrap::after {
  content: '';
  position: absolute;
  background: var(--gold);
  pointer-events: none;
  transition: none;
}

/* top + bottom */
.article-img-wrap::before {
  top: 0; left: 0;
  height: 3px;
  width: 0;
  box-shadow: 0 253px 0 0 var(--gold);
  z-index: 2;
}
/* left + right */
.article-img-wrap::after {
  top: 0; left: 0;
  width: 3px;
  height: 0;
  box-shadow: calc(100% - 3px) 0 0 0 var(--gold);
  z-index: 2;
}

@keyframes lm-border-h {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes lm-border-v {
  from { height: 0; }
  to   { height: 100%; }
}

.article-card:hover .article-img-wrap::before {
  animation: lm-border-h 0.28s cubic-bezier(0.4,0,0.2,1) forwards;
}
.article-card:hover .article-img-wrap::after {
  animation: lm-border-v 0.28s 0.26s cubic-bezier(0.4,0,0.2,1) forwards;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: var(--text-dark);
}

/* ══════════════════════════════════════════════════════
   KONTAKT
══════════════════════════════════════════════════════ */
.kontakt-inner {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 432px 1fr;
  gap: 80px;
  align-items: start;
}

.kontakt-left .label-gold { margin-bottom: 16px; }
.kontakt-left .heading-playfair-40 { margin-bottom: 32px; }

.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.kontakt-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.kontakt-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.kontakt-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
  padding: 48px;
}

/* FORM */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.form-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.form-label-top { order: 1; }

.form-input-wrap {
  border-bottom: 1px solid var(--nav-border);
  background: transparent;
}

.form-input {
  width: 100%;
  padding: 13px 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
}

.form-input::placeholder { color: var(--text-mid); }

.form-date-input {
  min-height: 46px;
  color: var(--text-mid);
}

.form-date-input:focus,
.form-date-input:valid {
  color: var(--text-dark);
}

.form-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .6;
}

.form-select-wrap {
  border-bottom: 1px solid var(--nav-border);
  background: transparent;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.form-select-placeholder {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: var(--text-mid);
}

.form-select-arrow { width: 16px; height: 16px; }

.form-textarea-wrap {
  border-bottom: 1px solid var(--nav-border);
  background: transparent;
}

.form-textarea {
  width: 100%;
  height: 111px;
  min-height: 111px;
  padding: 12px 0 60px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
  resize: none;
}

.form-textarea::placeholder { color: var(--text-mid); }

.btn-submit {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 18px 24px;
  text-align: center;
  transition: opacity 0.2s;
  cursor: pointer;
  width: 100%;
}
.btn-submit:hover { opacity: 0.85; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-main {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 64px 80px;
  min-height: 257px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.5);
  max-width: 360px;
}

.footer-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 16.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.footer-social-btn:hover { border-color: var(--gold); }

.footer-bottom {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 32px 80px;
}

.footer-copy {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.footer-copy strong { font-weight: 600; color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE / WCAG MOTION
══════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  :root { --pad: 48px; }

  .container,
  .section-inner,
  .nav,
  .hero-content,
  .flota-header,
  .security-content,
  .kontakt-inner,
  .footer-main,
  .footer-bottom {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .nav-links { gap: 28px; }

  .hero-heading {
    font-size: clamp(48px, 5.3vw, 64px);
    line-height: 1.1;
  }

  .section-onas-inner,
  .security-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .flota-card {
    flex-basis: min(598px, calc(100vw - 96px));
  }
}

@media (max-width: 980px) {
  :root { --pad: 40px; }

  .nav {
    gap: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav .btn-primary {
    margin-left: auto;
  }

  .hero {
    height: calc(100vh - 87px);
    min-height: 520px;
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 56px;
    gap: 56px;
  }

  .hero-text {
    max-width: 720px;
  }

  .hero-desc {
    white-space: normal;
  }

  .section-onas-inner,
  .security-content,
  .kontakt-inner {
    grid-template-columns: 1fr;
  }

  .onas-stats {
    padding-top: 0;
  }

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

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

  .article-img-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .footer-main,
  .footer-right {
    align-items: flex-start;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-right {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root { --pad: 24px; }

  .heading-playfair-40 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.14;
  }

  .text-body {
    font-size: 15px;
    line-height: 23px;
  }

  .nav {
    height: auto;
    min-height: 78px;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-wrap: wrap;
  }

  .nav-logo img {
    width: 176px;
    height: auto;
  }

  .nav .btn-primary {
    min-width: 0;
    padding: 12px 18px;
    font-size: 13px;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 52px;
    gap: 32px;
    height: auto;
    justify-content: flex-start;
  }

  .hero-heading {
    font-size: clamp(38px, 11.4vw, 52px);
    line-height: 1.08;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 26px;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .flota-card-footer,
  .flota-links {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-gold,
  .btn-outline-white {
    width: 100%;
    min-width: 0;
  }

  .section .container,
  .section-inner,
  .kontakt-inner,
  .security-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  #flota {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .section-onas-inner,
  .services-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .onas-stats {
    grid-template-columns: 1fr;
  }

  .stat-card-bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card {
    min-height: auto;
  }

  .flota-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }

  .flota-grid {
    padding-left: var(--pad);
    padding-right: var(--pad);
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .flota-grid::-webkit-scrollbar {
    display: none;
  }

  .flota-card {
    flex-basis: calc(100vw - (var(--pad) * 2));
    min-height: 0;
    scroll-snap-align: start;
  }

  .flota-card-img-wrap {
    height: clamp(240px, 58vw, 340px);
    padding: 0 20px;
  }

  .flota-card-info {
    padding: 0 24px 36px;
  }

  .flota-card-footer {
    gap: 20px;
    margin-top: 8px;
  }

  .flota-links {
    gap: 14px;
  }

  .security-quote-card {
    min-height: 320px;
    padding: 36px 24px;
  }

  .kontakt-form-wrap {
    padding: 32px 24px;
  }

  .footer-main {
    padding-top: 56px;
    padding-bottom: 56px;
  }

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

  .footer-tagline,
  .onas-text .text-body,
  .security-left .text-body,
  .flota-car-desc {
    max-width: none;
  }

  .onas-text br,
  .security-left br,
  .flota-car-desc br,
  .article-title br,
  .footer-tagline br {
    display: none;
  }
}

@media (max-width: 420px) {
  :root { --pad: 18px; }

  .nav {
    justify-content: center;
    text-align: center;
  }

  .nav .btn-primary {
    width: 100%;
  }

  .hero-heading {
    letter-spacing: -0.04em;
  }

  .stat-number {
    font-size: 42px;
    line-height: 42px;
  }
}

/* ══════════════════════════════════════════════════════
   FLEET CAROUSEL
══════════════════════════════════════════════════════ */

/* viewport — ukrywa overflow */
.fleet-viewport {
  width: min(100vw, var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  overflow: hidden;
  cursor: default;
}
.fleet-viewport.is-dragging { cursor: grabbing; user-select: none; }

/* track — flex row, karty side-by-side */
.fleet-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

/* karta karuzeli — zachowuje oryginalne wymiary .flota-card */
.fcard {
  flex: 0 0 598px;
  min-width: 0;
}

@media (max-width: 1180px) {
  .fleet-viewport {
    width: 100vw;
  }

  .fcard {
    flex-basis: min(598px, calc(100vw - 96px));
  }
}

@media (max-width: 720px) {
  .fleet-viewport {
    width: calc(100vw - (var(--pad) * 2));
  }

  .fcard {
    flex-basis: 100%;
  }
}

.fcard-btn.flota-link {
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
}

.fcard-calendar {
  display: none;
  margin-top: 28px;
  border-top: 1px solid var(--gray-light);
  padding-top: 24px;
}

.fcard-calendar.open {
  display: block;
}

/* dot pagination */
.fleet-dots-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0 80px 48px;
}

.fleet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  transition: background .2s, width .25s;
  padding: 0;
  flex-shrink: 0;
}
.fleet-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* przyciski prev/next — disabled state */
.flota-nav-btn:disabled { opacity: 0.35; cursor: default; }

/* skeleton loader */
.fcard-skeleton .flota-card-img-wrap {
  background: #e8e8e8;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.fcard-img-ph {
  width: 100%;
  height: 371px;
  background: #e8e8e8;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.fcard-skel-line {
  height: 14px;
  background: var(--gray-light);
  border-radius: 4px;
  margin-bottom: 10px;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}
.fcard-skel-title { width: 55%; height: 22px; margin-bottom: 14px; }
.fcard-skel-desc  { width: 80%; }

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* select w formularzu kontaktowym */
.form-select-real {
  width: 100%;
  padding: 13px 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-mid);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--nav-border);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.form-select-real:focus { border-color: var(--gold); }
.form-select-real option { background: var(--white); color: var(--text-dark); }

.skip-link:focus {
  position: fixed !important;
  top: 8px;
  left: 8px;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  background: var(--gold);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  z-index: 99999;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.avcal-loading,
.avcal-error,
.avcal-selection {
  font: 600 12px/1.5 'Manrope', sans-serif;
  color: var(--text-dark);
}

.avcal-error {
  color: #7a1f1f;
  margin-bottom: 12px;
}

.avcal-nav,
.avcal-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.avcal-month,
.avcal-dow,
.avcal-legend-item {
  font: 700 11px/1 'Manrope', sans-serif;
  letter-spacing: .08em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.avcal-arr {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gray-light);
  color: var(--text-dark);
}

.avcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 16px;
}

.avcal-dow {
  text-align: center;
  color: var(--gold);
}

.avcal-cell {
  min-height: 34px;
  border: 1px solid var(--gray-light);
  color: var(--text-dark);
  font: 600 12px/1 'Manrope', sans-serif;
}

.avcal-empty {
  border: 0;
}

.avcal-free:hover,
.avcal-sel {
  background: var(--gold);
  color: var(--white);
}

.avcal-booked,
.avcal-past {
  opacity: .35;
  cursor: not-allowed;
}

.avcal-legend {
  justify-content: flex-start;
  margin-top: 14px;
  flex-wrap: wrap;
}

.avcal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--gray-light);
}

.avcal-dot-free { background: #b9c9b3; }
.avcal-dot-booked { background: #b8a6a6; }
.avcal-dot-sel { background: var(--gold); }

.avcal-selection {
  margin-top: 14px;
}

.avcal-confirm {
  width: 100%;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--black);
  color: var(--white);
  font: 700 12px/1 'Manrope', sans-serif;
  letter-spacing: .12em;
}

/* ═══════════════════════════════════════════════════════
   LUXURY ANIMATIONS — scroll-reveal + hero entrance
   ═══════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────── */
@keyframes lm-fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lm-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lm-scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lm-slideRight {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lm-goldLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes lm-heroWord {
  from { opacity: 0; transform: translateY(16px) skewY(1.5deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}

/* ── Hero entrance ───────────────────────────────────── */
.hero-content {
  animation: lm-fadeIn 1.1s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-heading {
  animation: lm-fadeInUp 1s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-desc {
  animation: lm-fadeInUp 1s 0.38s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-cta {
  animation: lm-fadeInUp 0.9s 0.58s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-badges {
  animation: lm-fadeIn 1s 0.85s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes lm-heartbeat {
  0%   { transform: scale(1);    filter: brightness(1); }
  14%  { transform: scale(1.07); filter: brightness(1.15) drop-shadow(0 0 4px rgba(200,164,93,0.35)); }
  28%  { transform: scale(1);    filter: brightness(1); }
  42%  { transform: scale(1.04); filter: brightness(1.08) drop-shadow(0 0 3px rgba(200,164,93,0.2)); }
  56%  { transform: scale(1);    filter: brightness(1); }
  100% { transform: scale(1);    filter: brightness(1); }
}

.security-quote-icon {
  animation: lm-heartbeat 3.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes lm-badge-glow {
  0%   { opacity: 0.55; filter: brightness(1);   }
  50%  { opacity: 1;    filter: brightness(1.35) drop-shadow(0 0 6px rgba(200,164,93,0.7)); }
  100% { opacity: 0.55; filter: brightness(1);   }
}

.hero-badge {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.35s;
  animation: lm-badge-glow 3.6s ease-in-out infinite;
  opacity: 0.55;
}
.hero-badge:nth-child(1) { animation-delay: 0s;    }
.hero-badge:nth-child(2) { animation-delay: 1.2s;  }
.hero-badge:nth-child(3) { animation-delay: 2.4s;  }

/* ── Gold decorative line under section labels ───────── */
.label-gold {
  position: relative;
}
.label-gold::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  margin-top: 6px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s 0.3s cubic-bezier(0.16,1,0.3,1);
}
.label-gold.is-visible::after,
.in-view .label-gold::after {
  transform: scaleX(1);
}

/* ── Scroll-reveal base states ───────────────────────── */
.reveal-up,
.reveal-fade,
.reveal-scale,
.reveal-card,
.reveal-left {
  will-change: opacity, transform;
}

.reveal-up    { opacity: 0; transform: translateY(30px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-fade  { opacity: 0; transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-card  { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s; }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }

/* ── Visible state ───────────────────────────────────── */
.reveal-up.is-visible,
.reveal-fade.is-visible,
.reveal-scale.is-visible,
.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger delays ──────────────────────────────────── */
[data-delay="80"]  { transition-delay: 80ms  !important; }
[data-delay="120"] { transition-delay: 120ms !important; }
[data-delay="160"] { transition-delay: 160ms !important; }
[data-delay="200"] { transition-delay: 200ms !important; }
[data-delay="260"] { transition-delay: 260ms !important; }
[data-delay="320"] { transition-delay: 320ms !important; }
[data-delay="380"] { transition-delay: 380ms !important; }
[data-delay="440"] { transition-delay: 440ms !important; }

/* ── Header — subtle slide-in on page load ───────────── */
.header {
  animation: lm-fadeIn 0.7s 0.05s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── Stat cards — counter entrance ──────────────────── */
.stat-card {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* ── Service cards ───────────────────────────────────── */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

/* ── Article cards ───────────────────────────────────── */
.article-img {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.article-card:hover .article-img {
  transform: scale(1.04);
}

/* ── Fleet card image zoom ───────────────────────────── */
.flota-card-img {
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.flota-card:hover .flota-card-img {
  transform: scale(1.04);
}

/* ── Security quote card ─────────────────────────────── */

/* ── Nav links ───────────────────────────────────────── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Buttons — scale micro-interaction ───────────────── */
.btn-gold,
.btn-outline-white,
.btn-primary {
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.btn-gold:hover,
.btn-outline-white:hover,
.btn-primary:hover {
  transform: scale(1.03);
}

/* ── Counter digits ──────────────────────────────────── */
.cdigit {
  display: inline-block;
  transition: transform 0.08s ease, opacity 0.08s ease;
}
.csuffix {
  display: inline-block;
  opacity: 0.75;
}

@keyframes lm-counter-glow {
  0%   { text-shadow: 0 0 0px transparent; }
  30%  { text-shadow: 0 0 18px rgba(200,164,93,0.7), 0 0 40px rgba(200,164,93,0.3); }
  100% { text-shadow: 0 0 0px transparent; }
}
.counter-done {
  animation: lm-counter-glow 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ── Scroll progress bar (gold line at top) ──────────── */
#lm-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE FIXES — tablet & mobile
   ══════════════════════════════════════════════════════ */

/* ── Tablet wide (≤1180px) ───────────────────────────── */
@media (max-width: 1180px) {
  /* security – stała szerokość lewej kolumny nie pasuje */
  .security-content {
    grid-template-columns: 1fr 1fr;
  }

  /* flota dots padding */
  .fleet-dots-wrap {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  /* kontakt – stała szerokość 432px może być za wąska */
  .kontakt-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* ── Tablet narrow (≤980px) ──────────────────────────── */
@media (max-width: 980px) {
  /* NAV — logo + przycisk w jednej linii */
  .nav {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  /* Hero – mniejszy gap między tekstem a badges */
  .hero-content {
    gap: 40px;
  }

  .hero-heading {
    font-size: clamp(40px, 6vw, 58px);
    line-height: 1.1;
  }

  /* Usługi – 3 karty w 2 kol, 6. karta zajmuje całą szerokość */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
  }

  /* Onas stats – 2 kolumny na tablecie */
  .onas-stats {
    grid-template-columns: 1fr 1fr;
    padding-top: 8px;
  }
  .stat-card-bottom {
    grid-column: 1 / -1;
  }

  /* Security – 2 kolumny → 1 */
  .security-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .security-quote-wrap {
    padding-top: 0;
  }

  /* Kontakt – pełna szerokość formularza */
  .kontakt-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Hero badges – poziomo ale z zawijaniem */
  .hero-badges {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Artykuły – 2 kolumny */
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile (≤720px) ─────────────────────────────────── */
@media (max-width: 720px) {
  /* Przyciski – reset min-width na mobile */
  .btn-gold,
  .btn-outline-white,
  .btn-primary {
    min-width: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero CTA – stack na jedną kolumnę */
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  /* Hero badges – stack pionowo */
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Nagłówki sekcji */
  .heading-playfair-40 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.18;
  }

  /* Sekcja O Nas – 1 kolumna */
  .section-onas-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Stats – 2 kolumny na mobile */
  .onas-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-card-bottom {
    grid-column: 1 / -1;
  }
  .stat-card {
    padding: 24px 16px;
    min-height: 110px;
  }
  .stat-number {
    font-size: 38px;
    line-height: 1;
  }

  /* Usługi – 1 kolumna na mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .service-card {
    padding: 24px;
    min-height: auto;
  }

  /* Flota header – stack */
  .flota-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  /* Flota card – full width */
  .fcard,
  .flota-card {
    flex-basis: 100%;
    min-height: auto;
  }

  .flota-card-img-wrap {
    height: clamp(200px, 52vw, 300px);
    padding: 0 16px;
  }

  .flota-card-info {
    padding: 16px 20px 32px;
    gap: 12px;
  }

  .flota-card-footer {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 16px;
  }

  .flota-links {
    flex-direction: row;
    gap: 20px;
  }

  /* Security – 1 kolumna */
  .security-content {
    padding: 64px var(--pad);
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .security-quote-card {
    min-height: auto;
    padding: 32px 20px;
  }

  .security-quote-heading,
  .security-quote-text {
    font-size: 18px;
    line-height: 1.5;
  }

  /* Artykuły – 1 kolumna */
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-img-wrap {
    height: auto;
    aspect-ratio: 16/9;
  }

  .article-card {
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-light);
  }

  .article-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .article-title {
    font-size: 20px;
    line-height: 1.35;
  }

  /* Kontakt */
  .kontakt-inner {
    padding: 64px var(--pad);
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kontakt-form-wrap {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Footer */
  .footer-main {
    flex-direction: column;
    gap: 32px;
    padding: 48px var(--pad);
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start;
  }

  .footer-tagline {
    max-width: none;
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-bottom {
    padding: 24px var(--pad);
  }

  /* Blog header – stack */
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* ukryj <br> na mobile */
  .onas-text br,
  .security-left br,
  .flota-car-desc br,
  .article-title br,
  .footer-tagline br,
  .hero-heading br,
  .hero-desc br {
    display: none;
  }

  /* Dots pagination */
  .fleet-dots-wrap {
    padding: 0 var(--pad) 40px;
  }
}

/* ── Small mobile (≤480px) ───────────────────────────── */
@media (max-width: 480px) {
  :root { --pad: 18px; }

  .hero-heading {
    font-size: clamp(32px, 10vw, 44px);
    letter-spacing: -0.03em;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.65;
  }

  /* Nav – logo + button w jednej linii */
  .nav {
    flex-wrap: nowrap;
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: 68px;
  }

  .nav-logo img {
    width: 150px;
  }

  .nav .btn-primary {
    min-width: 0;
    padding: 10px 14px;
    font-size: 12px;
    width: auto;
  }

  /* Stats – 1 kolumna na bardzo małych */
  .onas-stats {
    grid-template-columns: 1fr;
  }

  .stat-card-bottom {
    grid-column: auto;
  }

  /* Security tekst */
  .security-quote-heading,
  .security-quote-text {
    font-size: 16px;
  }

  /* Flota card image */
  .flota-card-img-wrap {
    height: clamp(160px, 48vw, 240px);
    padding: 0 12px;
  }

  /* Kontakt form */
  .kontakt-form-wrap {
    padding: 24px 16px;
  }

  /* Przycisk submit */
  .btn-submit {
    padding: 16px;
    font-size: 13px;
  }
}

/* ══════════════════════════════════════════════════════
   HAMBURGER / MOBILE MENU
   ══════════════════════════════════════════════════════ */

/* burger button — widoczny tylko na mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), opacity .2s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* backdrop */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 199;
  opacity: 0;
  transition: opacity .3s;
}
.nav-backdrop.visible {
  opacity: 1;
}

/* mobile menu drawer */
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
}
.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--gray-light);
}
.nav-mobile-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-mid);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color .2s;
}
.nav-mobile-close:hover { color: var(--text-dark); }

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}
.nav-mobile-links .nav-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-light);
  transition: color .2s, background .2s;
}
.nav-mobile-links .nav-link:last-child { border-bottom: none; }
.nav-mobile-links .nav-link:hover {
  color: var(--gold);
  background: #fafaf8;
}

.nav-mobile-cta {
  padding: 24px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-mobile-cta .btn-primary {
  width: 100%;
  justify-content: center;
  min-width: 0;
}
.nav-mobile-tel {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .2s;
}
.nav-mobile-tel:hover { color: var(--gold); }

/* show burger + hide desktop CTA on mobile */
@media (max-width: 980px) {
  .nav-burger { display: flex; }
  .nav-desktop-cta { display: none; }
  .nav-backdrop { display: block; }
}

/* ══════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ══════════════════════════════════════════════════════ */
#cookieBanner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: #111;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
#cookieBanner.visible { transform: translateY(0); }
.cookie-text {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  flex: 1;
  min-width: 220px;
}
.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  background: var(--gold);
  color: #111;
  border: none;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-btn-accept:hover { opacity: .85; }
.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.15);
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.8); }
@media (max-width: 600px) {
  #cookieBanner { padding: 16px 20px; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-reject { flex: 1; text-align: center; }
}
