/* ================================================================
   M-GEO — style.css v3.0
   Modern UX/UI: scroll-snap sections, fluid typography, responsive
================================================================ */

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

:root {
  --navy:      #002B5B;
  --navy-deep: #001a3a;
  --blue:      #007BFF;
  --blue-lt:   #e8f3ff;
  --blue-mid:  #3395ff;
  --white:     #FFFFFF;
  --grey:      #f6f8fc;
  --text:      #1e2a3a;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --sh:        0 4px 24px rgba(0,43,91,.08);
  --sh-lg:     0 16px 48px rgba(0,43,91,.14);
  --sh-xl:     0 28px 64px rgba(0,43,91,.18);
  --r:         16px;
  --r-lg:      24px;
  --nav-h:     68px;
  --t:         .25s ease;
  --t-slow:    .5s ease;
  /* Bezpieczny padding sekcji: nav + margines górny + margines dolny */
  --sec-pt:    calc(var(--nav-h) + 28px);
  --sec-pb:    28px;
  --gutter:    clamp(24px, 6vw, 96px);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow: hidden;
  height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 700; }
p  { line-height: 1.7; color: var(--muted); }

span { color: var(--blue); }

/* ── SCROLL CONTAINER ───────────────────────────────────────── */
#page-wrap {
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  scrollbar-width: none;
}
#page-wrap::-webkit-scrollbar { display: none; }

/* ── SEKCJE ─────────────────────────────────────────────────── */
.section,
.sub-section {
  height: 100dvh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--sec-pt) var(--gutter) var(--sec-pb);
}

/* ── INNER WRAPPER ──────────────────────────────────────────── */
.inner {
  width: 100%;
  max-width: 1140px;
  max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* contact-grid też musi być nad paskami */
.contact-grid {
  position: relative;
  z-index: 2;
}

/* ── TŁA SEKCJI ─────────────────────────────────────────────── */
.bg-grey  { background: var(--grey); }
.bg-navy  { background: var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy span { color: var(--blue-mid); }
.bg-navy p { color: rgba(255,255,255,.72); }

/* ── BRAND STRIPES ───────────────────────────────────────────── */
.brand-stripes {
  position: absolute;
  left: 0; bottom: 0;
  width: 30%; height: 100%;
  clip-path: inset(0);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.bs {
  position: absolute;
  left: -20%; width: 140%;
  transform-origin: top left;
  transform: rotate(45deg) translateX(-110%);
  transition: transform .9s cubic-bezier(.25,1,.5,1);
}
.brand-stripes.visible .bs-1 { transform: rotate(45deg) translateX(0); transition-delay: .1s; }
.brand-stripes.visible .bs-2 { transform: rotate(45deg) translateX(0); transition-delay: .25s; }
.bs-1 { height: 7%; bottom: 38%; }
.bs-2 { height: 7%; bottom: 23%; }

/* Mobile — wrapper szerszy, paski przy dolnej lewej krawędzi,
   końce giną za prawą krawędzią wrappera (clip-path: inset(0)) */
@media (max-width: 768px) {
  .brand-stripes {
    width: 55%;   /* szerszy kadr — oba paski w pełni widoczne */
    height: 40%;  /* tylko dolna część sekcji */
    bottom: 0;
    top: auto;
  }
  /* Paski niżej — przy samej dolnej krawędzi sekcji */
  .bs-1 { height: 9%; bottom: 52%; }
  .bs-2 { height: 9%; bottom: 30%; }
}

/* Kolory pasków zależnie od tła sekcji */
#about   .bs-1 { background: rgba(255,255,255,.18); }
#about   .bs-2 { background: var(--blue); }
#offer   .bs-1 { background: var(--navy); }
#offer   .bs-2 { background: var(--blue); }
#pricing .bs-1 { background: var(--navy); }
#pricing .bs-2 { background: var(--blue); }
#contact .bs-1 { background: var(--navy); opacity: .08; }
#contact .bs-2 { background: var(--blue); opacity: .12; }

/* Podstrony — paski w sekcjach bez zdjęcia */
.sub-section .bs-1 { background: var(--navy); }
.sub-section .bs-2 { background: var(--blue); }
.sub-section.bg-grey .bs-1 { background: var(--navy); }
.sub-section.bg-grey .bs-2 { background: var(--blue); }
.sub-section.bg-navy .bs-1 { background: rgba(255,255,255,.15); }
.sub-section.bg-navy .bs-2 { background: var(--blue-mid); }
/* ── O NAS — split poziomy, równe kolumny, bez zdjęcia ─────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  height: calc(100dvh - var(--sec-pt) - var(--sec-pb));
}
.about-split-left,
.about-split-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.about-split-left {
  border-right: 1px solid var(--border);
  padding-right: clamp(24px, 4vw, 56px);
}
.about-split-right {
  padding-left: clamp(24px, 4vw, 56px);
}
.about-split-left h2,
.about-split-right h2 { margin-bottom: clamp(8px,1.2vh,16px); }
.about-split-lead { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: .7rem; }
.about-split-desc { font-size: .83rem; color: var(--muted); line-height: 1.85; margin-bottom: clamp(12px,1.8vh,22px); }

.team-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: clamp(12px,1.8vh,22px); }
.team-member {
  display: flex; align-items: center; gap: 12px;
  background: var(--grey); border-radius: 12px; padding: 11px 14px;
  border-left: 3px solid var(--blue);
  transition: background var(--t), transform var(--t);
}
.team-member:hover { background: #fff; transform: translateX(3px); }
.tm-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--blue-lt); color: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .92rem;
}
.tm-info h3 { font-size: .84rem; color: var(--navy); margin-bottom: 1px; }
.tm-info .tm-role { font-size: .67rem; color: var(--muted); }
.tm-info a { font-size: .75rem; color: var(--blue); font-weight: 600; }

.about-split-stats {
  display: flex; gap: clamp(14px,2.5vw,36px);
  padding: clamp(10px,1.4vh,16px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(14px,2vh,22px);
}
.split-stat-n { display: block; font-size: clamp(1.4rem,2.2vw,2rem); font-weight: 800; color: var(--blue); line-height: 1; }
.split-stat-l { display: block; font-size: .63rem; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin-top: 3px; }

/* ── DRONE BANNER — nowa sekcja na stronie głównej z wideo ─── */
#drone-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
#drone-banner .drone-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
#drone-banner .drone-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,43,91,.88) 0%, rgba(0,20,50,.75) 100%);
  z-index: 1;
}
#drone-banner .stripe-wrap {
  position: absolute; left: 0; bottom: 0;
  width: 30%; height: 100%;
  clip-path: inset(0); overflow: hidden; z-index: 2;
  transform: translateX(0);
}
.drone-banner-content {
  position: relative; z-index: 3;
  max-width: 680px;
}
.drone-banner-tag {
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--blue-mid); margin-bottom: .8rem;
}
.drone-banner-content h2 { color: #fff; font-size: clamp(1.9rem,3.5vw,3.2rem); margin-bottom: 1rem; }
.drone-banner-content h2 span { color: var(--blue-mid); }
.drone-banner-desc {
  color: rgba(255,255,255,.78); font-size: clamp(.86rem,1.1vw,1rem);
  line-height: 1.75; margin-bottom: 1.6rem; max-width: 540px;
}
.drone-banner-stats {
  display: flex; gap: clamp(20px,4vw,52px);
  margin-bottom: 2rem; padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.dbs-n { display: block; font-size: clamp(1.5rem,2.5vw,2.2rem); font-weight: 800; color: var(--blue-mid); line-height: 1; }
.dbs-l { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,.45); margin-top: 3px; }
@media (max-width: 768px) {
  #drone-banner .drone-video-bg { display: none; }
  #drone-banner { background: var(--navy-deep); }
  .drone-banner-stats { gap: 16px; }
  .dbs-n { font-size: 1.3rem; }
}

/* ── DRONY — sekcja z wideo w tle ───────────────────────────── */
.drone-cta-video {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.drone-video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.drone-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 60, .72);
  z-index: 1;
}
.drone-cta-video h2 { color: #fff; }
.drone-cta-video span { color: var(--blue-mid); }
.drone-cta-video p.subtitle { color: rgba(255,255,255,.75); }
.drone-cta-video .inner { position: relative; z-index: 2; }

@media (max-width: 768px) {
  .drone-video-bg,
  .drone-video-overlay { display: none; }
  .drone-cta-video { background: var(--navy); }
}

/* ── DRONY — nagłówek+tekst wyśrodkowane pionowo względem kwadratu ── */
.drone-split-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;         /* wyśrodkowanie w poziomie względem zdjęcia */
  margin-bottom: clamp(16px, 2.2vh, 28px);
  padding-bottom: clamp(16px, 2.2vh, 28px);
  border-bottom: 1px solid var(--border);
}
.drone-split-txt { display: flex; flex-direction: column; justify-content: center; }
.drone-split-txt h2 { margin-bottom: clamp(8px,1.2vh,14px); }
.drone-split-txt p  { color: var(--muted); font-size: .88rem; line-height: 1.75; margin-bottom: clamp(12px,1.8vh,20px); }
/* Kwadratowe zdjęcie — aspect-ratio 1/1 */
.drone-split-img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: calc((100dvh - var(--sec-pt) - var(--sec-pb)) * 0.52);
}
.drone-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drone-split-bottom h3 { font-size: clamp(.92rem,1.2vw,1.05rem); margin-bottom: clamp(10px,1.4vh,16px); }

/* Mobile */
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr; height: auto; overflow-y: auto;
  }
  .about-split-left {
    border-right: none; border-bottom: 1px solid var(--border);
    padding-right: 0; padding-bottom: 20px; height: auto;
  }
  .about-split-right { padding-left: 0; height: auto; }
  .drone-split-top { grid-template-columns: 1fr; }
  .drone-split-img { aspect-ratio: 1/1; max-height: 50vw; }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal.in { opacity: 1; transform: none; }

/* ── NAGŁÓWKI SEKCJI ────────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.section-title h2 { margin-bottom: 6px; }
.section-title p  { font-size: .9rem; max-width: 500px; margin: 0 auto; }

/* ================================================================
   NAV
================================================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(0, 43, 91, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  line-height: 1;
}
.logo-m { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-links a {
  display: block;
  padding: 7px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .84rem;
  color: rgba(255,255,255,.82);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav-links li.active a { background: var(--blue); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--t);
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-dropdown {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(0,27,60,.97);
  backdrop-filter: blur(16px);
  z-index: 199;
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.nav-dropdown.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown ul { padding: 12px 0 18px; }
.nav-dropdown ul li a {
  display: block;
  padding: 12px 28px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  border-left: 3px solid transparent;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.nav-dropdown ul li a:hover,
.nav-dropdown ul li.active a {
  background: rgba(0,123,255,.15);
  border-color: var(--blue);
  color: #fff;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  background: var(--blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  border: 2px solid var(--blue);
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: .2px;
}
.btn:hover {
  background: #0069d9;
  border-color: #0069d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,123,255,.32);
}
.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); box-shadow: 0 8px 24px rgba(0,43,91,.32); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(18px, 2.5vh, 32px);
}

/* ================================================================
   HERO (index.html)
================================================================ */
#hero {
  /* Column layout: slider + kafelki w jednej sekcji */
  padding: calc(var(--nav-h) + 14px) 10vw 14px;
  overflow: hidden;
  background: var(--grey);
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  align-items: stretch;
}

/* Slider wypełnia przestrzeń po odjęciu kafelków i marginesów */
#hero .hero-slider {
  flex: 1;
  min-height: 0;   /* pozwala flex-child kurczyć się poniżej auto */
  width: 100%;
  height: auto;    /* nadpisuje height:100% z bazowej reguły */
}

/* Kafelki pod sliderem — 20dvh wysokości, 4 kolumny */
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  height: 20dvh;
  min-height: 110px;
  max-height: 160px;
  flex-shrink: 0;
}
.hero-tiles .tile {
  height: 100%;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /* nadpisz domyślne .tile marginy */
  margin: 0;
  border-bottom: 4px solid transparent;
  text-decoration: none;
  color: inherit;
}
.hero-tiles .tile:hover { border-color: var(--blue); transform: translateY(-4px); }
.hero-tiles .tile i  { font-size: 1.4rem; margin-bottom: 2px; }
.hero-tiles .tile h3 { font-size: .75rem; margin-bottom: 0; }
.hero-tiles .tile p  { font-size: .64rem; line-height: 1.35; color: var(--muted); text-align: center; }

/* Nav arrows — wyśrodkowane w obszarze slidera (bez kafelków) */
.h-arrow {
  position: absolute;
  /* Slider startuje od nav+14px, kafelki zajmują 20dvh+14pb+12gap na dole.
     Środek slidera = nav+14 + (100dvh - nav - 14 - 12 - 20dvh - 14) / 2    */
  top: calc(var(--nav-h) + 14px + (100dvh - var(--nav-h) - 40px - 20dvh) / 2);
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  color: var(--navy);
  z-index: 10;
  transition: color var(--t), transform var(--t);
}
.h-arrow:hover { color: var(--blue); transform: translateY(-50%) scale(1.1); }
.h-arrow.prev { left: clamp(8px, 1%, 16px); }
.h-arrow.next { right: clamp(8px, 1%, 16px); }

/* Slajd z wideo w tle */
.slide-video { background: #000; }
.slide-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-slider {
  width: 100%; height: 100%;
  border-radius: clamp(18px, 2.2vw, 32px);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 56px rgba(0,0,0,.16);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .85s ease-in-out;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    #fff 0%, #fff 40%, rgba(255,255,255,.55) 55%, rgba(255,255,255,0) 68%);
}

/* PASKI — dokładna kopia z oryginalnego działającego projektu */
.stripe-wrap {
  position: absolute; left: 0; bottom: 0;
  width: 30%; height: 100%;
  clip-path: inset(0);
  z-index: 2;
  transform: translateX(-105%);
  transition: transform .85s cubic-bezier(.25,1,.5,1);
  overflow: hidden;
}
.slide.active .stripe-wrap { transform: translateX(0); transition-delay: .15s; }

.stripe {
  position: absolute;
  left: -20%; width: 140%;
  transform-origin: top left;
  transform: rotate(45deg);
}
.s-navy { height: 7%; bottom: 38%; background: var(--navy); }
.s-blue { height: 7%; bottom: 23%; background: var(--blue); }

/* Slide content */
.slide-content {
  position: absolute; top: 50%; left: 10%;
  transform: translateY(-50%);
  width: min(44%, 520px);
  z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; transition: opacity .55s ease;
}
.slide.active .slide-content { opacity: 1; transition-delay: .35s; }

.slide-logo {
  width: clamp(90px, 17vw, 210px); height: auto;
  margin-bottom: clamp(10px, 1.6vw, 20px);
  filter: drop-shadow(0 2px 6px rgba(0,43,91,.12));
}
.slide-title {
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 800; line-height: 1.08;
  margin-bottom: clamp(10px, 1.4vw, 18px);
}
.slide-text {
  color: #111;
  font-size: clamp(.86rem, 1.05vw, 1.12rem);
  font-weight: 500; line-height: 1.62;
  margin-bottom: clamp(14px, 2vw, 26px);
}
.slide-btn {
  display: inline-flex; align-items: center;
  padding: clamp(10px,1.3vw,15px) clamp(22px,2.8vw,44px);
  background: var(--navy); color: #fff;
  border-radius: 50px; font-weight: 700;
  font-size: clamp(.78rem,.92vw,.98rem);
  text-transform: uppercase; letter-spacing: .8px;
  border: 2.5px solid #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  transition: all var(--t);
}
.slide-btn:hover { background: var(--blue); transform: translateY(-2px); }

/* Slide dots */
.slider-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,43,91,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t), transform var(--t);
}
.dot.active { background: var(--navy); transform: scale(1.3); }

/* Mobile hero — ORYGINALNY styl: białe tło, paski, tekst ciemny */
.mob-hero { display: none; }

@keyframes fadeDown { to { opacity:1; transform:none; } }
@keyframes fadeUp   { to { opacity:1; transform:none; } }

/* ================================================================
   O NAS
================================================================ */
#about { background: var(--navy); }

.about-bg-letter {
  position: absolute;
  top: -10%; right: -2%;
  font-size: clamp(30vw, 42vw, 52vw);
  font-weight: 800;
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.about-row {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  width: 100%;
}
/* Wariant bez zdjęcia — jedna kolumna, wyśrodkowana */
.about-row--noimg {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.about-text {}
.about-h {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 800;
  margin-bottom: clamp(12px, 1.8vh, 20px);
}
.about-h span { color: var(--blue-mid); }
.about-lead {
  color: #c8deff;
  font-size: clamp(.9rem, 1.2vw, 1.1rem);
  font-weight: 300;
  margin-bottom: clamp(10px, 1.5vh, 18px);
  line-height: 1.72;
}
.about-desc {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  line-height: 1.85;
  margin-bottom: clamp(18px, 2.5vh, 32px);
}
.about-stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(18px, 2.5vh, 32px);
}
.stat-item {}
.stat-n {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1;
}
.stat-l {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: rgba(255,255,255,.45);
  margin-top: 3px;
}
/* Oryginalna klasa z index.html */
.about-img {
  position: relative;
  flex-shrink: 0;
  width:  clamp(320px, 52vh, 560px);
  height: clamp(320px, 52vh, 560px);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-frame {
  position: absolute; inset: -8px;
  border: 2px solid rgba(0,123,255,.35);
  border-radius: calc(var(--r-lg) + 8px);
  z-index: -1;
  pointer-events: none;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
  object-fit: cover;
  max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb) - 20px);
  height: clamp(280px, 48dvh, 520px);
}
.about-img-deco {
  position: absolute;
  top: -12px; left: -12px;
  width: 100%; height: 100%;
  border: 2px solid rgba(0,123,255,.4);
  border-radius: var(--r-lg);
  z-index: -1;
}
.about-img-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,123,255,.4);
  text-align: center;
  min-width: 110px;
}
.about-img-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.about-img-badge span {
  font-size: .65rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ================================================================
   USŁUGI (offer grid)
================================================================ */
#offer { background: var(--grey); }

.offer-wrap { width: 100%; position: relative; z-index: 2; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
}
.tile {
  background: #fff;
  padding: clamp(20px, 2.2vw, 32px) clamp(16px, 1.5vw, 22px);
  border-radius: var(--r);
  text-align: center;
  box-shadow: var(--sh);
  border-bottom: 3px solid transparent;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.tile:hover::before { transform: scaleX(1); }
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--blue);
}
.tile i { font-size: 2.2rem; color: var(--blue); margin-bottom: 12px; display: block; }
.tile h3 { font-size: .92rem; margin-bottom: 7px; color: var(--navy); }
.tile p  { color: var(--muted); font-size: .8rem; line-height: 1.6; }

.center-cta {
  text-align: center;
  margin-top: clamp(16px, 2.2vh, 28px);
}

/* ================================================================
   DRONY
================================================================ */
#drone { position: relative; overflow: hidden; }

.drone-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1473968512647-3e447244af8f?w=1920&q=85') center/cover no-repeat;
  z-index: 0;
}
.drone-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,43,91,.92) 0%, rgba(0,20,50,.88) 100%);
}
/* Wideo nadpisuje zdjęcie fallback gdy się załaduje */
#drone .drone-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
#drone .drone-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,43,91,.85) 0%, rgba(0,20,50,.80) 100%);
  z-index: 2;
}
.drone-box {
  position: relative; z-index: 3;
  text-align: center;
  max-width: 700px;
}
.drone-box h2 { color: #fff; margin-bottom: clamp(10px, 1.5vh, 18px); }
.drone-box p  { color: rgba(255,255,255,.8); font-size: clamp(.86rem, 1.1vw, 1rem); margin-bottom: 0; }

@media (max-width: 768px) {
  #drone .drone-video-bg,
  #drone .drone-video-overlay { display: none; }
}

/* ================================================================
   CENNIK
================================================================ */
#pricing { background: var(--grey); }

.price-wrap { width: 100%; position: relative; z-index: 2; }
.price-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(12px, 1.8vh, 20px);
  flex-wrap: wrap;
  gap: 10px;
}
.price-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-lt);
  border-left: 3px solid var(--blue);
  padding: 9px 14px;
  border-radius: 0 10px 10px 0;
  font-size: .78rem;
  color: var(--navy);
}
.price-table {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb) - 100px);
  overflow: visible;
  position: relative;
  z-index: 1;
}
.price-head {
  display: flex;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
}
.price-body {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  border-radius: 0 0 var(--r) var(--r);
}
.price-body::-webkit-scrollbar { width: 4px; }
.price-body::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

.price-row {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: background var(--t), border-left-color var(--t), z-index 0s;
  border-left: 3px solid transparent;
  background: #fff; /* solidne białe tło — nigdy przezroczyste */
}
.price-row:last-child { border-bottom: none; }
.price-row:hover {
  background: var(--blue-lt);
  border-left-color: var(--blue);
  z-index: 30; /* wyżej niż wszystkie inne wiersze gdy hover */
}
.p-tip {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--navy); /* solidne tło — bez przeźroczystości */
  color: rgba(255,255,255,.88);
  padding: 9px 24px;
  font-size: .76rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t), visibility var(--t), transform var(--t);
  z-index: 31; /* wyżej niż hover wiersz */
  pointer-events: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  /* Szerokość = wiersz, nie wychodzi poza tabelę */
  white-space: normal;
  word-break: break-word;
}
.price-row:hover .p-tip { opacity: 1; visibility: visible; transform: none; }

.pn { flex: 2.5; font-weight: 600; color: var(--navy); font-size: .85rem; }
.pd { flex: 2; color: var(--muted); font-size: .78rem; }
.pp { flex: 1; text-align: right; font-weight: 700; color: var(--blue); font-size: .85rem; }

/* ================================================================
   KONTAKT (sekcja na stronie głównej i kontakt.html)
================================================================ */
#contact { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 clamp(24px, 4vw, 60px);
  align-items: center;
  width: 100%;
  height: calc(100dvh - var(--sec-pt) - var(--sec-pb));
  position: relative;
  z-index: 2;
}
.c-left {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 18px);
  padding-right: clamp(16px, 3vw, 48px);
  height: 100%;
  justify-content: center;
}
.c-left h2 { margin-bottom: clamp(8px, 1.2vh, 14px); }
.c-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.c-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--blue-lt);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.c-item h4 { font-size: .75rem; color: var(--navy); margin-bottom: 2px; }
.c-item p, .c-item a { font-size: .76rem; color: var(--muted); line-height: 1.55; }
.c-item a:hover { color: var(--blue); }
.c-map {
  flex: 1;
  min-height: 120px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sh);
}
.c-map iframe { width: 100%; height: 100%; border: none; display: block; }
.c-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 50px;
  padding: 7px 16px;
  font-size: .75rem;
  font-weight: 600;
  transition: background var(--t);
  align-self: flex-start;
}
.c-fb:hover { background: var(--blue); }
.c-fb i { font-size: .9rem; }

/* Pionowy pasek */
.c-divider { position: relative; width: 1px; }
.c-divider::before {
  content: '';
  position: absolute;
  left: 0; width: 1px;
  top: 50%; height: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,43,91,.3) 20%,
    rgba(0,43,91,.8) 50%,
    rgba(0,43,91,.3) 80%,
    transparent 100%
  );
  border-radius: 1px;
  transition: height 1.1s cubic-bezier(.4,0,.2,1), top 1.1s cubic-bezier(.4,0,.2,1);
}
.c-divider.go::before { top: 5%; height: 90%; }

.c-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.4vh, 16px);
  padding-left: clamp(16px, 3vw, 48px);
  height: 100%;
}
.c-right h2 { margin-bottom: clamp(8px, 1.2vh, 14px); }

.p-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grey);
  border-radius: 12px;
  padding: 13px 16px;
  border-left: 3px solid var(--blue);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.p-card:hover { transform: translateX(4px); box-shadow: var(--sh); background: #fff; }
.p-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--blue-lt);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.p-info h4   { font-size: .84rem; color: var(--navy); margin-bottom: 1px; }
.p-info .role { font-size: .68rem; color: var(--muted); }
.p-info a    { font-size: .78rem; color: var(--blue); font-weight: 600; }
.area-row    { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.area-tag {
  background: var(--blue-lt);
  color: var(--navy);
  border: 1px solid rgba(0,123,255,.2);
  padding: 3px 11px;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 600;
}

/* ================================================================
   FOOTER — wewnątrz ostatniej sekcji
================================================================ */

/* Ostatnia sekcja — scroll-snap-stop: normal pozwala przejechać do footera */
.has-footer {
  scroll-snap-stop: normal;
}

/* ================================================================
   FOOTER
================================================================ */
#main-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  font-size: .84rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.2fr 1fr;
  gap: 24px;
  padding: 20px var(--gutter) 12px;
  align-items: start;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
  display: block;
}
.footer-logo span { color: var(--blue); }
.footer-tag { color: rgba(255,255,255,.48); font-size: .7rem; line-height: 1.5; }
.footer-brand-row { margin-bottom: 6px; }
#main-footer h4 {
  color: #fff;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 8px;
}
#main-footer ul { display: flex; flex-direction: column; gap: 5px; }
#main-footer li { display: flex; gap: 7px; align-items: flex-start; font-size: .72rem; }
#main-footer li i { color: var(--blue); font-size: .7rem; margin-top: 2px; flex-shrink: 0; }
#main-footer a { color: rgba(255,255,255,.65); transition: color var(--t); }
#main-footer a:hover { color: #fff; }
#main-footer strong { display: block; color: rgba(255,255,255,.88); }
.footer-team li { flex-direction: column; gap: 1px; }

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 6px 10px;
  color: rgba(255,255,255,.82) !important;
  font-size: .7rem;
  transition: background var(--t);
}
.fb-link:hover { background: rgba(24,119,242,.25); }
.fb-link i { font-size: .9rem; color: #4267B2; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  padding: 8px var(--gutter);
  color: rgba(255,255,255,.28);
  font-size: .65rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.2fr 1fr;
  gap: 32px;
  padding: clamp(48px, 8vh, 96px) var(--gutter) 32px;
  align-items: start;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: block;
}
.footer-logo span { color: var(--blue); }
.footer-tag { color: rgba(255,255,255,.48); font-size: .74rem; line-height: 1.6; }
.footer-brand-row { margin-bottom: 8px; }
#main-footer h4 {
  color: #fff;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 10px;
}
#main-footer ul { display: flex; flex-direction: column; gap: 7px; }
#main-footer li { display: flex; gap: 8px; align-items: flex-start; font-size: .77rem; }
#main-footer li i { color: var(--blue); font-size: .75rem; margin-top: 3px; flex-shrink: 0; }
#main-footer a { color: rgba(255,255,255,.65); transition: color var(--t); }
#main-footer a:hover { color: #fff; }
#main-footer strong { display: block; color: rgba(255,255,255,.88); }
.footer-team li { flex-direction: column; gap: 1px; }

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 8px 12px;
  color: rgba(255,255,255,.82) !important;
  font-size: .75rem;
  transition: background var(--t);
}
.fb-link:hover { background: rgba(24,119,242,.25); }
.fb-link i { font-size: 1rem; color: #4267B2; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  padding: 10px var(--gutter);
  color: rgba(255,255,255,.28);
  font-size: .68rem;
}

/* ================================================================
   PODSTRONY — Sekcje ogólne
================================================================ */
.sub-title {
  margin-bottom: clamp(18px, 2.5vh, 32px);
}
.sub-title h2 { text-align: center; }

/* Siatka kart usług */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.svc-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: transform var(--t), box-shadow var(--t);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.svc-card img {
  width: 100%;
  height: clamp(140px, 18vh, 200px);
  object-fit: cover;
}
.svc-card-body { padding: clamp(14px, 1.8vw, 20px); }
.svc-card-body h3 { font-size: .9rem; margin-bottom: 6px; }
.svc-card-body p  { color: var(--muted); font-size: .79rem; line-height: 1.6; }

/* Dwie kolumny */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.two-col.rev .col-img { order: -1; }
.col-img {
  border-radius: var(--r);
  overflow: hidden;
  height: clamp(220px, 40dvh, 420px);
}
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.col-txt h2  { margin-bottom: clamp(12px, 1.6vh, 18px); }
.col-txt p   { color: var(--muted); font-size: .88rem; line-height: 1.8; margin-bottom: .8rem; }
.col-txt p:last-of-type { margin-bottom: 0; }

/* Zespół */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.team-card {
  background: #fff;
  border-radius: var(--r);
  padding: clamp(20px, 2.5vw, 32px) 18px;
  text-align: center;
  box-shadow: var(--sh);
  border-top: 3px solid var(--blue);
  transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.team-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.team-card h3    { font-size: .9rem; margin-bottom: 3px; }
.team-card .role { color: var(--muted); font-size: .72rem; margin-bottom: 8px; }
.team-card a     { color: var(--blue); font-size: .8rem; font-weight: 600; }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

/* Cennik podstron */
.price-table.sub-price {
  max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb) - 140px);
}

/* CTA sekcje — navy bg */
.cta-section { text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: clamp(8px, 1.2vh, 14px); }
.cta-section .subtitle {
  color: rgba(255,255,255,.7);
  font-size: clamp(.85rem, 1.1vw, 1rem);
  max-width: 460px;
  margin: 0 auto clamp(18px, 2.5vh, 28px);
}

/* ================================================================
   TABLET ≤ 1060px
================================================================ */
@media (max-width: 1060px) {
  :root {
    --gutter: clamp(20px, 4vw, 48px);
  }

  .about-row { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .about-text { order: 1; }
  .about-img-wrap { order: 0; max-width: 460px; margin: 0 auto; width: 100%; }
  .about-img-wrap img { height: clamp(200px, 28dvh, 280px); }
  .about-img-badge { bottom: -10px; right: -10px; padding: 10px 14px; min-width: 90px; }
  .about-img-badge strong { font-size: 1.3rem; }
  .about-stats { justify-content: center; }
  .about-h { text-align: center; }
  .about-lead, .about-desc { text-align: center; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .c-divider { display: none; }
  .c-left, .c-right { padding: 0; height: auto; }
  .c-left h2, .c-right h2 { text-align: center; }

  .two-col { grid-template-columns: 1fr; }
  .two-col.rev .col-img { order: 0; }
  .col-img { height: clamp(180px, 28dvh, 280px); }

  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-team { display: none; }
}

/* ================================================================
   MOBILE ≤ 768px
================================================================ */
@media (max-width: 768px) {
  :root {
    --nav-h:  58px;
    --gutter: 16px;
    --sec-pt: calc(var(--nav-h) + 14px);
    --sec-pb: 14px;
  }

  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-dropdown { display: block; }

  /* ── HERO mobile ─────────────────────────────────────────── */
  #hero {
    padding: 0;
    background: #fff;
    flex-direction: column; /* reset do absolutnego layoutu */
    gap: 0;
  }
  /* Slider wraca do pełnego ekranu na mobile */
  #hero .hero-slider { flex: none; height: 100%; }
  /* Kafelki ukryte na mobile */
  .hero-tiles { display: none; }
  .h-arrow { display: none; }
  .hero-slider { position: absolute; inset: 0; border-radius: 0; box-shadow: none; background: #fff; }
  .slide { background: #fff; }
  .slide.active { background: #fff !important; }
  .slide-bg, .slide-overlay, .slide-content, .slider-dots { display: none !important; }
  /* Wideo w slajdzie zawsze ukryte na mobile */
  .slide-video-bg { display: none !important; }
  .stripe-wrap {
    display: block !important;
    position: absolute; left: 0; bottom: 0;
    width: 52%; height: 100%;
    clip-path: inset(0); z-index: 3;
    animation: stripIn .85s cubic-bezier(.25,1,.5,1) .2s both;
    transition: none !important; overflow: hidden;
  }
  @keyframes stripIn { from { transform: translateX(-108%); } to { transform: translateX(0); } }
  .stripe-wrap .stripe { left: -20%; width: 200%; }
  .stripe-wrap .s-navy { height: 7%; bottom: 22%; }
  .stripe-wrap .s-blue { height: 7%; bottom: 7%; }
  .mob-hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: absolute; inset: 0; z-index: 10;
    padding: calc(var(--nav-h) + 12px) var(--gutter) 28px;
    text-align: center; background: transparent;
  }
  .mob-logo { width: calc(100vw - var(--gutter) * 2 - 4px); max-width: 340px; margin-bottom: 16px; opacity: 0; transform: translateY(-10px); animation: fadeDown .55s ease .3s both; }
  .mob-text { font-size: .84rem; color: var(--text); line-height: 1.6; margin-bottom: 20px; max-width: 290px; opacity: 0; animation: fadeUp .55s ease .5s both; }
  .mob-btn  { opacity: 0; animation: fadeUp .55s ease .7s both; }
  @keyframes fadeDown { to { opacity:1; transform:none; } }
  @keyframes fadeUp   { to { opacity:1; transform:none; } }

  /* ── Sekcje — wyśrodkowane pionowo, inner scrolluje gdy za dużo ── */
  .section {
    height: 100dvh; min-height: 100dvh;
    padding: var(--sec-pt) var(--gutter) var(--sec-pb);
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  /* Podstrony — zawsze od góry pod menu */
  .sub-section {
    height: 100dvh; min-height: 100dvh;
    padding: var(--sec-pt) var(--gutter) var(--sec-pb);
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
  }
  .inner {
    max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb));
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .inner::-webkit-scrollbar { display: none; }

  /* Strona główna sekcje też od góry gdy mają dużo treści */
  #contact {
    align-items: flex-start;
    justify-content: flex-start;
  }
  #contact .contact-grid {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb));
    height: auto;
    align-items: flex-start;
  }

  /* ── O NAS ──────────────────────────────────────────────── */
  .about-img-wrap { display: none; }
  .about-h { font-size: 1.4rem; text-align: center; }
  .about-lead, .about-desc { text-align: center; font-size: .83rem; }
  .about-stats { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .about-split { grid-template-columns: 1fr; height: auto; gap: 0; }
  .about-split-left { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 16px; height: auto; }
  .about-split-right { padding-left: 0; padding-top: 16px; height: auto; }
  .about-split-left h2, .about-split-right h2 { text-align: center; font-size: 1.3rem; }
  .about-split-lead { font-size: .82rem; text-align: center; }
  .about-split-desc { font-size: .78rem; text-align: center; }
  .about-split-stats { justify-content: center; gap: 18px; }
  .split-stat-n { font-size: 1.4rem; }
  .about-split-right .btn { align-self: center !important; width: 100%; justify-content: center; }
  .team-member { padding: 9px 11px; }
  .tm-info h3 { font-size: .78rem; }

  /* ── USŁUGI ──────────────────────────────────────────────── */
  .svc-grid { grid-template-columns: 1fr; gap: 8px; }
  .svc-card img { height: 90px; }
  .svc-card-body { padding: 9px 11px; }
  .svc-card-body h3 { font-size: .78rem; }
  .svc-card-body p  { font-size: .7rem; }
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 11px 8px; }
  .tile i { font-size: 1.5rem; margin-bottom: 5px; }
  .tile h3 { font-size: .7rem; }
  .tile p  { font-size: .64rem; }

  /* ── DRONY ───────────────────────────────────────────────── */
  .drone-split-top { grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; }
  .drone-split-txt { text-align: center; }
  .drone-split-txt h2 { font-size: 1.3rem; margin-bottom: 8px; }
  .drone-split-txt p  { font-size: .8rem; margin-bottom: 10px; }
  .drone-split-txt .btn { width: 100%; justify-content: center; }
  .drone-split-img { aspect-ratio: 16/9; max-height: 160px; width: 100%; }
  .drone-split-bottom h3 { font-size: .88rem; margin-bottom: 8px; }

  /* ── CENNIK ──────────────────────────────────────────────── */
  .price-table { max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb) - 72px); }
  .price-table.sub-price { max-height: calc(100dvh - var(--sec-pt) - var(--sec-pb) - 80px); }
  .price-head { display: none; }
  .price-row  { flex-wrap: wrap; gap: 2px; padding: 8px 11px; }
  .price-row:hover { border-left-color: transparent; background: var(--blue-lt); }
  .p-tip { display: none; }
  .pn { flex: 1 1 100%; font-size: .76rem; }
  .pd { flex: 1; font-size: .68rem; }
  .pp { font-size: .78rem; font-weight: 700; }
  .price-note { font-size: .7rem; padding: 6px 9px; }
  .price-intro { flex-direction: column; gap: 6px; align-items: flex-start; margin-bottom: 8px; }
  .price-intro h2 { font-size: 1.3rem; }

  /* ── KONTAKT ─────────────────────────────────────────────── */
  .contact-grid { grid-template-columns: 1fr; height: auto; gap: 9px; }
  .c-divider { display: none; }
  .c-left, .c-right { padding: 0; height: auto; }
  .c-left h2, .c-right h2 { text-align: center; font-size: 1.2rem; margin-bottom: 8px; }
  .c-item { gap: 8px; }
  .c-item h4 { font-size: .7rem; }
  .c-item p, .c-item a { font-size: .7rem; }
  .c-icon { width: 30px; height: 30px; font-size: .75rem; }
  .c-map { min-height: 120px; flex: none; }
  .c-fb { font-size: .7rem; padding: 5px 10px; }
  .p-card { padding: 8px 10px; }
  .p-avatar { width: 32px; height: 32px; font-size: .82rem; }
  .p-info h4 { font-size: .76rem; }
  .p-info .role { font-size: .62rem; }
  .p-info a { font-size: .7rem; }
  .area-row { gap: 4px; margin-top: 4px; }
  .area-tag { font-size: .6rem; padding: 2px 7px; }

  /* ── CTA sekcje ──────────────────────────────────────────── */
  .cta-section h2 { font-size: 1.3rem; text-align: center; }
  .cta-section .subtitle { font-size: .82rem; text-align: center; }

  /* CTA sekcje (granatowe) — wyśrodkowane pionowo na mobile */
  .sub-section.cta-section {
    align-items: center;
    justify-content: center;
  }
  .sub-section.cta-section .inner {
    justify-content: center;
    overflow-y: visible;
  }
  .btn-group { gap: 8px; margin-top: 14px; }
  .btn-group .btn { width: 100%; justify-content: center; }

  /* ── Brand stripes mobile ────────────────────────────────── */
  .brand-stripes { width: 55%; height: 40%; bottom: 0; top: auto; }
  .bs-1 { height: 9%; bottom: 52%; }
  .bs-2 { height: 9%; bottom: 30%; }

  /* ── Footer ──────────────────────────────────────────────── */
  .has-footer { scroll-snap-stop: normal; }
  .footer-inner { grid-template-columns: 1fr; gap: 0; padding: 14px var(--gutter) 8px; }
  .footer-team  { display: none; }
  .footer-logo  { font-size: 1.1rem; }
  .footer-tag   { font-size: .68rem; }
  #main-footer h4 { font-size: .64rem; margin-top: 11px; margin-bottom: 6px; }
  #main-footer li { font-size: .69rem; }
  .fb-link { font-size: .69rem; padding: 5px 9px; }
  .footer-copy { font-size: .61rem; padding: 6px var(--gutter); }

  /* ── Misc ────────────────────────────────────────────────── */
  .two-col { grid-template-columns: 1fr; }
  .two-col.rev .col-img { order: 0; }
  .col-img { height: 150px; }
  .col-txt h2, .col-txt p { text-align: center; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sub-section h2 { text-align: center; }
}

/* ================================================================
   XS ≤ 420px
================================================================ */
@media (max-width: 420px) {
  .offer-grid { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .svc-grid   { grid-template-columns: 1fr; }
  .about-stats { gap: 10px; }
}


/* ================================================================
   BLOG — strona aktualności + single + preview na głównej
================================================================ */
/* Wspólne */
.blog-pill{display:inline-block;padding:4px 12px;border-radius:50px;background:var(--blue);color:#fff;font-size:.63rem;font-weight:700;text-transform:uppercase;letter-spacing:.8px;}
.blog-pill.small{font-size:.58rem;padding:3px 9px;}
.blog-pill.large{font-size:.7rem;padding:5px 14px;margin-bottom:.8rem;}
.blog-meta-row{display:flex;gap:10px;flex-wrap:wrap;}
.blog-meta-row span{font-size:.68rem;color:rgba(255,255,255,.6);display:flex;align-items:center;gap:4px;}
.blog-meta-row.small span{color:var(--muted);}
.blog-meta-row i{color:var(--blue);font-size:.6rem;}
.blog-meta-row.small i{color:var(--blue);}

/* Blog section (aktualności) */
.blog-section{background:var(--grey);align-items:flex-start;}
.blog-inner{display:flex;flex-direction:column;gap:clamp(16px,2.5vh,28px);width:100%;}
.blog-top{display:flex;flex-direction:column;gap:14px;}
.blog-top-text h1{font-size:clamp(1.6rem,3vw,2.6rem);margin:.4rem 0 .5rem;}
.blog-top-text h1 span{color:var(--blue);}
.blog-top-text p{color:var(--muted);font-size:.88rem;}
.blog-label{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:1.8px;color:var(--blue);}
.blog-cats{display:flex;flex-wrap:wrap;gap:7px;}
.blog-cat-pill{padding:5px 14px;border-radius:50px;font-size:.75rem;font-weight:600;background:#fff;color:var(--navy);border:1.5px solid var(--border);text-decoration:none;transition:all var(--t);}
.blog-cat-pill:hover,.blog-cat-pill.active{background:var(--blue);color:#fff;border-color:var(--blue);}

/* Wyróżniony wpis */
.blog-feat{border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);}
.blog-feat-media{display:block;position:relative;height:clamp(240px,40vh,440px);overflow:hidden;text-decoration:none;}
.blog-feat-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.blog-feat:hover .blog-feat-media img{transform:scale(1.04);}
.blog-feat-ph{width:100%;height:100%;background:linear-gradient(135deg,var(--navy),#1d3557);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.15);font-size:4rem;}
.blog-feat-glass{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,15,40,.94) 0%,rgba(0,15,40,.55) 50%,rgba(0,15,40,.08) 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(16px,2.5vw,36px);gap:8px;}
.blog-feat-info{display:flex;flex-direction:column;gap:7px;}
.blog-feat-info h2{font-size:clamp(1.1rem,2vw,1.8rem);color:#fff;font-weight:800;line-height:1.25;}
.blog-feat-info p{color:rgba(255,255,255,.72);font-size:clamp(.8rem,.95vw,.94rem);line-height:1.65;max-width:580px;}
.blog-feat-cta{display:inline-flex;align-items:center;gap:7px;color:#fff;font-size:.8rem;font-weight:700;background:var(--blue);padding:9px 20px;border-radius:50px;align-self:flex-start;transition:background var(--t);}
.blog-feat-cta:hover{background:#0066dd;}

/* Siatka kart */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;}
.blog-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;display:flex;flex-direction:column;transition:transform var(--t),box-shadow var(--t);}
.blog-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg);}
.blog-card-img{display:block;position:relative;height:148px;overflow:hidden;text-decoration:none;}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.blog-card:hover .blog-card-img img{transform:scale(1.06);}
.blog-card-ph{width:100%;height:100%;background:linear-gradient(135deg,var(--navy),#1d3557);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.15);font-size:2rem;}
.blog-card-body{padding:12px 14px 10px;flex:1;display:flex;flex-direction:column;gap:5px;}
.blog-card-body h3{font-size:.85rem;font-weight:700;line-height:1.35;}
.blog-card-body h3 a{color:var(--navy);text-decoration:none;transition:color var(--t);}
.blog-card-body h3 a:hover{color:var(--blue);}
.blog-card-body p{font-size:.74rem;color:var(--muted);line-height:1.55;flex:1;}
.blog-card-more{display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:700;color:var(--blue);text-decoration:none;margin-top:3px;transition:gap var(--t);}
.blog-card-more:hover{gap:9px;}

/* Paginacja */
.blog-pager{display:flex;justify-content:center;}
.blog-pager .page-numbers{display:flex;gap:5px;list-style:none;padding:0;margin:0;flex-wrap:wrap;justify-content:center;}
.blog-pager .page-numbers li a,.blog-pager .page-numbers li span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:.8rem;font-weight:700;background:#fff;color:var(--navy);border:2px solid var(--border);text-decoration:none;transition:all var(--t);}
.blog-pager .page-numbers li a:hover{background:var(--blue);color:#fff;border-color:var(--blue);}
.blog-pager .page-numbers li .current{background:var(--navy);color:#fff;border-color:var(--navy);}

/* Blog empty */
.blog-empty{text-align:center;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:10px;}
.blog-empty i{font-size:2.5rem;color:var(--blue);opacity:.3;}
.blog-empty h3{color:var(--navy);}
.blog-empty p{color:var(--muted);font-size:.86rem;}

/* Single post */
.blog-post-top{background:var(--navy);align-items:flex-end;padding-bottom:clamp(20px,3.5vh,44px);min-height:36dvh;}
.blog-post-top.has-img .bpt-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0;}
.blog-post-top.has-img .bpt-ov{position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(0,15,40,.94) 0%,rgba(0,15,40,.5) 55%,rgba(0,15,40,.1) 100%);}
.bpt-inner{position:relative;z-index:2;max-width:860px;}
.bbread{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.68rem;color:rgba(255,255,255,.45);margin-bottom:.7rem;}
.bbread a{color:rgba(255,255,255,.55);text-decoration:none;transition:color var(--t);}
.bbread a:hover{color:#fff;}
.bbread i{font-size:.5rem;}
.bbread span{color:rgba(255,255,255,.85);}
.bpt-title{font-size:clamp(1.3rem,2.8vw,2.4rem);font-weight:800;color:#fff;line-height:1.2;margin:.55rem 0 .7rem;}
.bpt-meta{display:flex;gap:14px;flex-wrap:wrap;}
.bpt-meta span{font-size:.7rem;color:rgba(255,255,255,.55);display:flex;align-items:center;gap:5px;}
.bpt-meta i{color:#60a5fa;}

.blog-post-body{background:var(--grey);align-items:flex-start;}
.bpost-wrap{display:grid;grid-template-columns:1fr 280px;gap:20px;width:100%;align-items:start;}
.bpost-content{background:#fff;border-radius:var(--r);padding:clamp(20px,3vw,44px);box-shadow:var(--sh);font-size:clamp(.86rem,1vw,.98rem);line-height:1.82;color:var(--text);}
.bpost-content h2{font-size:clamp(1.1rem,1.8vw,1.5rem);color:var(--navy);margin:1.8rem 0 .6rem;}
.bpost-content h3{font-size:clamp(.95rem,1.4vw,1.2rem);color:var(--navy);margin:1.4rem 0 .45rem;}
.bpost-content p{margin-bottom:.95rem;}
.bpost-content ul,.bpost-content ol{padding-left:1.3rem;margin-bottom:.95rem;}
.bpost-content li{margin-bottom:.3rem;}
.bpost-content img{max-width:100%;border-radius:10px;margin:1rem 0;}
.bpost-content blockquote{border-left:4px solid var(--blue);padding:.75rem 1.1rem;background:var(--blue-lt);border-radius:0 10px 10px 0;margin:1.3rem 0;font-style:italic;color:var(--navy);}
.bpost-content a{color:var(--blue);}
.bpost-content strong{color:var(--navy);}
.bpost-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid var(--border);}
.bpost-tags i{color:var(--muted);align-self:center;font-size:.8rem;}
.btag{padding:3px 11px;border-radius:50px;font-size:.7rem;background:var(--grey);color:var(--navy);text-decoration:none;border:1px solid var(--border);transition:all var(--t);}
.btag:hover{background:var(--blue);color:#fff;border-color:var(--blue);}
.bpost-nav{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:1.5rem;}
.bpn-item{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:10px;background:var(--grey);text-decoration:none;border:1px solid var(--border);transition:all var(--t);}
.bpn-item:hover{background:var(--blue);border-color:var(--blue);}
.bpn-item:hover *{color:#fff!important;}
.bpn-item.right{flex-direction:row-reverse;text-align:right;}
.bpn-item span{display:block;font-size:.6rem;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);}
.bpn-item strong{display:block;font-size:.76rem;color:var(--navy);line-height:1.3;}
.bpn-item i{flex-shrink:0;color:var(--blue);}

/* Sidebar */
.bpost-side{display:flex;flex-direction:column;gap:12px;}
.bsw{background:#fff;border-radius:var(--r);padding:18px;box-shadow:var(--sh);}
.bsw-logo{font-size:1.5rem;font-weight:800;color:var(--navy);margin-bottom:6px;}
.bsw-logo span{color:var(--blue);}
.bsw p{font-size:.76rem;color:var(--muted);line-height:1.5;}
.bsw-h{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--navy);margin-bottom:10px;padding-bottom:7px;border-bottom:2px solid var(--blue);}
.bsw-item{display:flex;gap:9px;align-items:center;padding:6px 0;border-bottom:1px solid var(--border);text-decoration:none;}
.bsw-item:last-child{border-bottom:none;}
.bsw-item img{width:44px;height:44px;object-fit:cover;border-radius:7px;flex-shrink:0;}
.bsw-ph{width:44px;height:44px;border-radius:7px;flex-shrink:0;background:var(--blue-lt);color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:.85rem;}
.bsw-t{display:block;font-size:.74rem;font-weight:600;color:var(--navy);line-height:1.3;transition:color var(--t);}
.bsw-item:hover .bsw-t{color:var(--blue);}
.bsw-d{display:block;font-size:.63rem;color:var(--muted);margin-top:1px;}
.bsw-dark{background:var(--navy);text-align:center;}
.bsw-icon{font-size:1.6rem;color:var(--blue);display:block;margin-bottom:6px;}
.bsw-dark h4{color:#fff;font-size:.86rem;margin-bottom:5px;}
.bsw-dark a{color:#60a5fa;font-size:.9rem;font-weight:700;text-decoration:none;}

/* Preview na stronie głównej */
#news{background:var(--grey);flex-direction:column;}
.news-wrap{width:100%;}
.news-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:clamp(14px,2vh,24px);flex-wrap:wrap;gap:10px;}
.news-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:1.6px;color:var(--blue);display:block;margin-bottom:4px;}
.news-head h2{margin:0;}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.news-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;display:flex;flex-direction:column;transition:transform var(--t),box-shadow var(--t);}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg);}
.news-card-img{display:block;position:relative;height:142px;overflow:hidden;text-decoration:none;}
.news-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.news-card:hover .news-card-img img{transform:scale(1.06);}
.news-card-ph{width:100%;height:100%;background:linear-gradient(135deg,var(--navy),#1d3557);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.15);font-size:2rem;}
.news-pill{position:absolute;top:9px;left:9px;display:inline-block;padding:3px 9px;border-radius:50px;background:var(--blue);color:#fff;font-size:.58rem;font-weight:700;text-transform:uppercase;letter-spacing:.6px;}
.news-card-body{padding:12px 13px 10px;flex:1;display:flex;flex-direction:column;gap:5px;}
.news-meta{display:flex;gap:9px;}
.news-meta span{font-size:.65rem;color:var(--muted);display:flex;align-items:center;gap:3px;}
.news-meta i{color:var(--blue);font-size:.58rem;}
.news-card-title{font-size:.85rem;font-weight:700;line-height:1.33;flex:1;}
.news-card-title a{color:var(--navy);text-decoration:none;transition:color var(--t);}
.news-card-title a:hover{color:var(--blue);}
.news-card-exc{font-size:.73rem;color:var(--muted);line-height:1.52;}

/* Responsive */
@media(max-width:1060px){
  .bpost-wrap{grid-template-columns:1fr;}
  .bpost-side{display:grid;grid-template-columns:1fr 1fr;}
  .bpost-nav{grid-template-columns:1fr;}
  .bpn-item.right{flex-direction:row;text-align:left;}
  .news-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:768px){
  .blog-grid{grid-template-columns:1fr;}
  .blog-feat-media{height:220px;}
  .bpost-side{grid-template-columns:1fr;}
  .news-grid{grid-template-columns:1fr;}
  .news-head{flex-direction:column;align-items:flex-start;}
}
