/* =========================================================
   BHPX - GLOBAL CSS
   FINAL / CLEAN / RESPONSIVE
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;

  font-family: Arial, Helvetica, sans-serif;

  background: #050505;
  color: #ffffff;

  line-height: 1.6;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  max-width: 100%;

  background: rgba(5, 5, 5, 0.96);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(12px);

  overflow: hidden;
}

.navbar {
  width: 100%;
  min-width: 0;
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  min-width: 0;
}

.logo img {
  width: auto;
  height: 72px;

  object-fit: contain;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav ul {
  display: flex;
  align-items: center;

  gap: 30px;

  list-style: none;
}

nav a {
  color: #e8e8e8;

  font-size: 15px;
  font-weight: 600;

  transition: color 0.3s ease;
}

nav a:hover {
  color: #10b981;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 25px;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
  white-space: nowrap;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-primary {
  background: #10b981;
  color: #ffffff;

  border: 1px solid #10b981;
}

.btn-primary:hover {
  background: #0ea271;
  border-color: #0ea271;

  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  color: #10b981;

  border-color: #10b981;

  background: rgba(16, 185, 129, 0.05);
}


/* =========================================================
   HERO - GŁÓWNY
========================================================= */

.hero {
  position: relative;

  width: 100%;
  min-height: 680px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #050505;
}


/* =========================================================
   HERO - ZDJĘCIE
========================================================= */

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

  z-index: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  /*
     WAŻNE:
     brak mocnego zoomu.
     Dzięki temu zdjęcie jest większe
     w kadrze tak jak w wersji testowej.
  */
  transform: none;

  opacity: 1;

  filter:
    saturate(0.9)
    contrast(1.05);
}


/* =========================================================
   HERO - CIEMNE PRZEJŚCIE
========================================================= */

.hero-bg::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      #050505 0%,
      rgba(5, 5, 5, 0.98) 7%,
      rgba(5, 5, 5, 0.82) 22%,
      rgba(5, 5, 5, 0.42) 48%,
      rgba(5, 5, 5, 0.08) 72%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0.05) 0%,
      rgba(5, 5, 5, 0.10) 55%,
      rgba(5, 5, 5, 0.60) 82%,
      #050505 100%
    );
}


/* =========================================================
   HERO - DELIKATNE ŚWIATŁO
========================================================= */

.hero::before {
  content: "";

  position: absolute;

  z-index: 1;

  width: 550px;
  height: 550px;

  right: 15%;
  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero .container {
  position: relative;
  z-index: 5;
}

.hero-content {
  width: 100%;
  max-width: 720px;

  padding: 105px 0 125px;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1,
.hero-content h1 {
  max-width: 750px;

  margin-bottom: 25px;

  color: #ffffff;

  font-size: clamp(46px, 6vw, 76px);

  line-height: 1.02;

  font-weight: 800;

  letter-spacing: -2.5px;

  text-shadow:
    0 8px 35px rgba(0, 0, 0, 0.55);
}


/*
   POMARAŃCZOWY AKCENT
   Przywrócony z wersji testowej.
*/

.hero h1 span,
.hero-content h1 span {
  color: #f59e0b;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero p,
.hero-content p {
  max-width: 640px;

  margin-bottom: 34px;

  color: #d0d0d0;

  font-size: 19px;

  line-height: 1.75;

  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.8);
}


/* =========================================================
   HERO BADGE
========================================================= */

.hero-badge {
  display: inline-flex;
  align-items: center;

  margin-bottom: 20px;

  padding: 9px 15px;

  color: #f59e0b;

  font-size: 14px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(8px);

  text-shadow:
    0 3px 15px rgba(0, 0, 0, 0.9);
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
  position: relative;
  z-index: 5;

  display: flex;
  align-items: center;

  gap: 14px;

  flex-wrap: wrap;

  margin-top: 30px;
}


/* =========================================================
   HERO - DRON / BUDOWA
========================================================= */

.hero.hero-dron,
.hero.hero-budowa {
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 15, 27, 0.94) 0%,
      rgba(7, 15, 27, 0.82) 35%,
      rgba(7, 15, 27, 0.52) 65%,
      rgba(7, 15, 27, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 15, 27, 0.35) 0%,
      rgba(7, 15, 27, 0.05) 55%,
      rgba(7, 15, 27, 0.88) 100%
    ),
    url("dronnabudowie.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.hero-dron::after,
.hero.hero-budowa::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 70% 45%,
      rgba(255, 255, 255, 0.04),
      transparent 45%
    );
}


/* =========================================================
   HERO - PRAWO PRACY
========================================================= */

.hero-prawo-pracy {
  position: relative;

  width: 100%;
  min-height: 680px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(7, 15, 27, 0.94) 0%,
      rgba(7, 15, 27, 0.82) 35%,
      rgba(7, 15, 27, 0.50) 65%,
      rgba(7, 15, 27, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 15, 27, 0.30) 0%,
      rgba(7, 15, 27, 0.05) 55%,
      rgba(7, 15, 27, 0.90) 100%
    ),
    url("prawopracy.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-prawo-pracy::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 70% 45%,
      rgba(255, 255, 255, 0.04),
      transparent 45%
    );
}

.hero-prawo-pracy .hero-content {
  position: relative;
  z-index: 2;
}

.hero-prawo-pracy .hero-content h1 {
  color: #ffffff;
}

.hero-prawo-pracy .hero-content p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-prawo-pracy .hero-badge {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(8px);
}


/* =========================================================
   HERO - POMIARY ELEKTRYCZNE
========================================================= */

.hero-pomiary {
  position: relative;

  width: 100%;
  min-height: 680px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(7, 15, 27, 0.88) 0%,
      rgba(7, 15, 27, 0.62) 45%,
      rgba(7, 15, 27, 0.38) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 15, 27, 0.18) 0%,
      rgba(7, 15, 27, 0.08) 55%,
      rgba(7, 15, 27, 0.78) 100%
    ),
    url("pomiary.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-pomiary::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 70% 45%,
      rgba(255, 255, 255, 0.05),
      transparent 45%
    );
}

.hero-pomiary .hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  margin: 0 auto;

  padding: 80px 20px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;
}

.hero-pomiary .hero-content h1 {
  margin: 0;

  color: #ffffff;

  text-align: center;

  font-size: clamp(52px, 7vw, 92px);

  line-height: 0.95;

  letter-spacing: -2px;
}

.hero-pomiary .hero-content h1 span {
  display: inline-block;

  color: #f59e0b;
}

.hero-pomiary .hero-content p {
  max-width: 720px;

  margin: 30px auto 0;

  color: rgba(255, 255, 255, 0.9);

  text-align: center;

  font-size: 18px;

  line-height: 1.7;
}

.hero-pomiary .hero-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 16px;

  margin-top: 32px;
}


/* =========================================================
   STATS
========================================================= */

.stats {
  position: relative;
  z-index: 5;

  width: 100%;

  padding: 38px 0;

  background: #080808;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.stat {
  text-align: center;
}

.stat h3 {
  margin-bottom: 3px;

  color: #10b981;

  font-size: 42px;

  line-height: 1.2;

  font-weight: 800;
}

.stat p {
  color: #bdbdbd;

  font-size: 14px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  width: 100%;

  padding: 95px 0;
}

.section-light {
  background: #f6f7f8;

  color: #111111;
}

.section-title {
  max-width: 800px;

  margin: 0 auto 55px;

  text-align: center;
}

.section-title .small,
.about .small,
.cta .small {
  margin-bottom: 8px;

  color: #10b981;

  font-size: 14px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.section-title h2 {
  font-size: 42px;

  line-height: 1.15;

  font-weight: 800;
}


/* =========================================================
   CONTENT
========================================================= */

.content-section {
  width: 100%;

  padding: 95px 0;

  background: #050505;
}

.content-text {
  max-width: 850px;

  margin: 0 auto;
}

.content-text p {
  margin-bottom: 22px;

  color: #c9c9c9;

  font-size: 17px;

  line-height: 1.8;
}

.content-text p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
  width: 100%;

  padding: 95px 0;

  background: #f6f7f8;

  color: #111111;
}

.services {
  width: 100%;
  max-width: 1120px;

  margin-left: auto;
  margin-right: auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.card {
  min-width: 0;
  max-width: 100%;

  padding: 32px;

  background: #ffffff;

  border: 1px solid #e6e6e6;

  border-radius: 22px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.09);
}

.icon {
  width: 68px;
  height: 68px;

  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #eafaf3;

  border: 1px solid rgba(16, 185, 129, 0.12);

  border-radius: 18px;

  color: #10b981;
}

.icon svg {
  width: 32px;
  height: 32px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 13px;

  color: #111111;

  font-size: 23px;

  line-height: 1.2;
}

.card p {
  margin-bottom: 20px;

  color: #555555;

  font-size: 15px;
}

.card a {
  color: #10b981;

  font-size: 15px;

  font-weight: 700;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
  max-width: 900px;

  margin: 0 auto;
}

.about h2 {
  margin-bottom: 22px;

  font-size: 44px;

  line-height: 1.15;
}

.about > div > p {
  max-width: 800px;

  margin-bottom: 30px;

  color: #c9c9c9;

  font-size: 17px;
}

.list {
  display: flex;

  flex-direction: column;

  gap: 14px;
}

.list div {
  display: flex;

  align-items: center;

  gap: 12px;

  color: #eeeeee;

  font-size: 16px;
}

.check {
  flex: 0 0 24px;

  width: 24px;
  height: 24px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #10b981;

  border-radius: 50%;

  color: #ffffff;

  font-size: 14px;

  font-weight: 700;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
  width: 100%;

  padding: 85px 0;

  background: #080808;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-contact .container {
  max-width: 750px;
}

.cta {
  width: 100%;
  min-width: 0;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;

  padding: 55px;

  background:
    radial-gradient(
      circle at 85% 50%,
      rgba(16, 185, 129, 0.12),
      transparent 35%
    ),
    #101010;

  border: 1px solid rgba(16, 185, 129, 0.18);

  border-radius: 28px;
}

.cta-content {
  min-width: 0;
}

.cta h2 {
  max-width: 750px;

  margin-bottom: 15px;

  font-size: 38px;

  line-height: 1.15;
}

.cta p {
  max-width: 650px;

  color: #bdbdbd;

  font-size: 16px;
}


/* =========================================================
   KONTAKT
========================================================= */

#kontakt .cta {
  justify-content: center;

  text-align: center;
}

#kontakt .cta-content,
#kontakt .cta > div {
  width: 100%;
  max-width: 850px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

#kontakt .cta h2 {
  max-width: 750px;

  margin: 0 auto 15px;
}

#kontakt .cta p,
#kontakt .cta > div > p {
  margin-left: auto;
  margin-right: auto;
}

.contact-box {
  width: 100%;
  max-width: 650px;

  margin: 38px auto 0;

  padding: 30px;

  background: #101010;

  border: 1px solid rgba(16, 185, 129, 0.25);

  border-radius: 20px;

  text-align: center;
}

.contact-box h3 {
  margin-bottom: 15px;

  font-size: 24px;
}

.contact-box p {
  margin-bottom: 5px;

  color: #bdbdbd;
}

.phone {
  display: block;

  margin: 10px 0 8px;

  color: #10b981;

  font-size: 34px;

  line-height: 1.2;

  font-weight: 800;
}

.phone a {
  color: #10b981;
}

.email,
.contact-email {
  display: block;

  margin: 5px 0 25px;

  color: #10b981;

  font-size: 17px;

  font-weight: 600;

  transition: color 0.3s ease;
}

.email:hover,
.contact-email:hover {
  color: #0ea271;
}

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 10px;

  margin-top: 25px;
}

.contact-link {
  width: fit-content;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #ffffff;

  font-size: 17px;

  font-weight: 600;

  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #10b981;
}

.contact-link svg {
  width: 20px;
  height: 20px;

  flex-shrink: 0;

  color: #10b981;

  stroke-width: 1.8;
}

.contact-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-top: 22px;

  flex-wrap: wrap;
}


/* =========================================================
   COMPACT CONTACT
========================================================= */

.compact-contact {
  width: 100%;

  padding: 24px 0;
}

.contact-inline {
  width: 100%;
  max-width: 400px;

  margin: 0 auto;

  padding: 18px 22px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;

  background: rgba(255, 255, 255, 0.02);

  border: 1px solid #16a34a;

  border-radius: 16px;
}

.contact-inline2 {
  width: 100%;

  padding: 18px 22px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;

  background: rgba(255, 255, 255, 0.02);

  border: 1px solid #16a34a;

  border-radius: 16px;
}

.contact-left {
  min-width: 0;
}

.contact-left h2 {
  margin: 4px 0 0;

  font-size: 1.5rem;

  line-height: 1.1;
}

.contact-center {
  display: flex;

  flex-direction: column;

  gap: 8px;

  min-width: 0;
}

.contact-actions .btn {
  padding: 9px 16px;

  font-size: 0.85rem;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  width: 100%;

  padding: 35px 0;

  background: #050505;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #9a9a9a;

  text-align: center;

  font-size: 14px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .container {
    width: min(100% - 32px, 760px);
  }


  /* HEADER */

  .navbar {
    min-height: 82px;
  }

  nav {
    display: none;
  }

  .logo img {
    height: 62px;
  }


  /* HERO */

  .hero {
    min-height: 620px;
  }

  .hero-bg img {
    object-position: center;
  }

  .hero-bg::after {
    background:
      linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.25) 0%,
        rgba(5, 5, 5, 0.50) 48%,
        rgba(5, 5, 5, 0.85) 75%,
        #050505 100%
      );
  }

  .hero-content {
    max-width: 760px;

    margin: 0 auto;

    padding: 100px 0 125px;

    text-align: center;
  }

  .hero h1,
  .hero-content h1,
  .hero p,
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }


  /* DRON / BUDOWA */

  .hero.hero-dron,
  .hero.hero-budowa,
  .hero-prawo-pracy,
  .hero-pomiary {
    min-height: 620px;
  }

  .hero.hero-dron,
  .hero.hero-budowa {
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 15, 27, 0.72) 0%,
        rgba(7, 15, 27, 0.82) 55%,
        rgba(7, 15, 27, 0.96) 100%
      ),
      url("dronnabudowie.jpg");

    background-position: center;
  }


  /* PRAWO PRACY */

  .hero-prawo-pracy {
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 15, 27, 0.72) 0%,
        rgba(7, 15, 27, 0.84) 55%,
        rgba(7, 15, 27, 0.96) 100%
      ),
      url("prawopracy.jpg");

    background-position: center;
  }

  .hero-prawo-pracy .hero-content {
    padding: 80px 20px;
  }


  /* POMIARY */

  .hero-pomiary {
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 15, 27, 0.68) 0%,
        rgba(7, 15, 27, 0.82) 55%,
        rgba(7, 15, 27, 0.96) 100%
      ),
      url("pomiary.jpg");

    background-position: center center;
  }

  .hero-pomiary .hero-content {
    padding: 80px 20px;
  }


  /* SERVICES */

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


  /* STATS */

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


  /* ABOUT */

  .about h2 {
    font-size: 38px;
  }


  /* CTA */

  .cta {
    flex-direction: column;

    align-items: flex-start;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .container {
    width: calc(100% - 28px);

    max-width: none;
  }


  /* =======================================================
     HEADER
  ======================================================= */

  .navbar {
    width: 100%;

    min-height: 72px;

    gap: 8px;
  }

  .logo {
    min-width: 0;

    flex-shrink: 1;
  }

  .logo img {
    width: auto;

    max-width: 150px;

    height: 52px;
  }

  .navbar > .btn {
    flex: 0 1 auto;

    min-width: 0;

    max-width: 150px;

    min-height: 40px;

    padding: 0 12px;

    font-size: 12px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
  }


  /* =======================================================
     HERO
  ======================================================= */

  .hero {
    min-height: 590px;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;

    object-position: 65% center;

    /*
       Brak scale(1.08).
       Przywraca większy kadr zdjęcia.
    */
    transform: none;

    opacity: 0.68;
  }

  .hero-bg::after {
    background:
      linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.20) 0%,
        rgba(5, 5, 5, 0.48) 40%,
        rgba(5, 5, 5, 0.82) 68%,
        #050505 100%
      );
  }

  .hero-content {
    width: 100%;

    max-width: 100%;

    padding: 90px 0 110px;

    text-align: center;
  }

  .hero-badge {
    margin-bottom: 16px;

    padding: 8px 12px;

    font-size: 12px;

    letter-spacing: 1px;
  }

  .hero h1,
  .hero-content h1 {
    max-width: 100%;

    font-size: 42px;

    line-height: 1.05;

    letter-spacing: -1px;

    margin-bottom: 20px;
  }

  .hero p,
  .hero-content p {
    max-width: 100%;

    font-size: 16px;

    line-height: 1.65;

    margin-bottom: 28px;
  }

  .hero-actions {
    width: 100%;

    flex-direction: column;

    align-items: stretch;

    justify-content: center;
  }

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


  /* =======================================================
     DRON / BUDOWA / PRAWO
  ======================================================= */

  .hero.hero-dron,
  .hero.hero-budowa,
  .hero-prawo-pracy {
    min-height: 620px;
  }

  .hero.hero-dron .hero-content,
  .hero.hero-budowa .hero-content,
  .hero-prawo-pracy .hero-content {
    padding: 80px 20px;
  }


  /* =======================================================
     POMIARY
  ======================================================= */

  .hero-pomiary {
    min-height: 620px;
  }

  .hero-pomiary .hero-content {
    width: 100%;

    padding: 80px 14px;
  }

  .hero-pomiary .hero-content h1 {
    max-width: 100%;

    font-size: clamp(42px, 13vw, 64px);

    line-height: 0.98;

    letter-spacing: -1.5px;
  }

  .hero-pomiary .hero-content p {
    max-width: 100%;

    margin-top: 24px;

    font-size: 16px;

    line-height: 1.6;
  }

  .hero-pomiary .hero-actions {
    width: 100%;

    flex-direction: column;

    gap: 12px;

    margin-top: 26px;
  }

  .hero-pomiary .hero-actions .btn {
    width: 100%;
  }


  /* =======================================================
     STATS
  ======================================================= */

  .stats {
    padding: 30px 0;
  }

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

    gap: 25px 10px;
  }

  .stat h3 {
    font-size: 32px;
  }

  .stat p {
    font-size: 12px;
  }


  /* =======================================================
     SECTIONS
  ======================================================= */

  .section,
  .content-section,
  .services-section {
    padding: 65px 0;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2 {
    font-size: 31px;
  }

  .content-text p {
    font-size: 16px;

    line-height: 1.7;
  }


  /* =======================================================
     SERVICES
  ======================================================= */

  .services {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 18px;
  }

  .services .card {
    width: 100%;

    min-width: 0;

    max-width: 100%;
  }

  .card {
    padding: 27px;
  }


  /* =======================================================
     ABOUT
  ======================================================= */

  .about h2 {
    font-size: 32px;
  }

  .about > div > p {
    font-size: 16px;
  }

  .list div {
    align-items: flex-start;

    font-size: 15px;
  }


  /* =======================================================
     CTA
  ======================================================= */

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

  .cta {
    width: 100%;

    padding: 30px 24px;

    border-radius: 22px;

    gap: 25px;

    align-items: stretch;
  }

  .cta h2 {
    font-size: 29px;
  }

  .cta p {
    font-size: 15px;
  }

  .cta .btn {
    width: 100%;
  }


  /* =======================================================
     KONTAKT
  ======================================================= */

  #kontakt .cta {
    align-items: center;
  }

  #kontakt .cta-content,
  #kontakt .cta > div {
    width: 100%;

    max-width: 100%;
  }

  #kontakt .contact-box {
    width: 100%;

    padding: 24px 20px;

    margin-top: 30px;
  }

  .contact-box {
    padding: 24px 20px;
  }

  .phone {
    font-size: 27px;

    overflow-wrap: anywhere;
  }

  .email,
  .contact-email {
    font-size: 17px;

    overflow-wrap: anywhere;
  }

  .contact-details {
    width: 100%;

    margin-top: 20px;
  }

  .contact-link {
    width: 100%;

    justify-content: center;

    font-size: 16px;
  }

  .contact-actions {
    width: 100%;

    flex-direction: column;

    align-items: stretch;

    justify-content: center;
  }

  .contact-actions .btn {
    width: 100%;
  }


  /* =======================================================
     COMPACT CONTACT
  ======================================================= */

  .contact-inline,
  .contact-inline2 {
    width: 100%;

    flex-direction: column;

    align-items: stretch;

    gap: 16px;
  }

  .contact-center {
    width: 100%;
  }

  .contact-actions .btn {
    flex: 1;

    text-align: center;
  }


  /* =======================================================
     FOOTER
  ======================================================= */

  footer {
    padding: 30px 14px;

    font-size: 13px;
  }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 420px) {

  .navbar {
    gap: 6px;
  }

  .logo img {
    max-width: 125px;

    height: 48px;
  }

  .navbar > .btn {
    max-width: 125px;

    min-height: 38px;

    padding: 0 10px;

    font-size: 11px;
  }
}


/* =========================================================
   VERY VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .navbar > .btn {
    display: none;
  }

  .hero {
    min-height: 550px;
  }

  .hero-content {
    padding-top: 75px;
    padding-bottom: 90px;
  }

  .hero h1,
  .hero-content h1 {
    font-size: 35px;

    letter-spacing: -0.8px;
  }

  .hero p,
  .hero-content p {
    font-size: 15px;
  }

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

  .section-title h2 {
    font-size: 28px;
  }

  .about h2 {
    font-size: 29px;
  }

  .cta h2 {
    font-size: 27px;
  }

  .phone {
    font-size: 24px;
  }
}


/* =========================================================
   SAFETY - ANTI OVERFLOW
========================================================= */

.container,
.hero-content,
.cta,
.card,
.contact-box,
.contact-inline,
.contact-inline2 {
  min-width: 0;
}

h1,
h2,
h3,
p,
a,
span {
  overflow-wrap: break-word;
}


/* =========================================================
   MOBILE - FULL WIDTH SAFETY
========================================================= */

@media (max-width: 600px) {

  .section > .container,
  .services-section > .container,
  .content-section > .container,
  .cta-section > .container,
  .stats > .container {
    width: calc(100% - 28px);

    max-width: none;
  }

  .card,
  .cta,
  .contact-box,
  .contact-inline,
  .contact-inline2 {
    max-width: 100%;
  }
}