/* ===== FONT ===== */
@font-face {
  font-family: "NeoSansPro";
  /*src: url("NeoSansPro-Regular.otf") format("opentype");*/
  /*src: url("../fonts/NeoSansPro-Regular.otf") format("opentype");*/
  src: url("/test/fonts/NeoSansPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET / BASE ===== */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "NeoSansPro", Arial, sans-serif;
  font-size: 1.1rem;
  scroll-behavior: smooth;
  color: #415a77;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

ul {
  list-style: none;
}


ul li::marker {
    color: #973642;
    font-size: 20px;
}


a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

a:focus {
  outline: none;
}

/* ===== HELPERS ===== */
.background_grey {
  background-color: #415a77;
}

.background_main {
  background-color: #f1f1f1;
}

.animate,
.animate1 {
  opacity: 0;
}

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center; /* JEDYNE pionowe centrowanie */
  height: 70px; /* STAŁA wysokość paska */
}

/* logo */
.nav-logo img {
  height: 40px;
  display: block;
}

/* menu – domyślnie ukryte */
.nav-menu {
  display: none;
}

/* ===== DESKTOP lg+ ===== */
@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    flex: 1;
    justify-content: space-between;
  }

  .nav-menu li {
    display: flex;
    align-items: center; /* zabezpieczenie */
  }

  .nav-menu a {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 3px;
  }
}

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-row {
  height: 70px; /* wysokość paska */
}

.nav-logo img {
  height: 40px;
  display: block;
  padding-right: 20px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== md–lg ===== */
@media (max-width: 991.98px) {
  .nav-logo {
    display: none;
  }

  .nav-menu a {
    font-size: 0.81rem;
  }
}

/* < md – menu znika (Bootstrap i tak ukrywa col, ale na czysto) */
@media (max-width: 767.98px) {
  .main-nav {
    display: none;
  }
}

/* ===== MOBILE ONLY ===== */
@media (min-width: 768px) {
  .mobile-nav,
  .mobile-menu,
  .mobile-overlay {
    display: none;
  }
}

/* top bar */
.mobile-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
}

.mobile-bar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

/* logo */
.mobile-logo img {
  height: 40px;
  display: block;
}

/* hamburger */
.mobile-hamburger {
  background: none;
  border: 0;
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-hamburger span {
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 1050;
}

/* menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s;
  z-index: 1200;
  padding: 24px;
}

.mobile-menu ul {
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ACTIVE */
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

#baner {
  padding-top: 85px;
  padding-bottom: 50px;
}

#baner img {
  padding: 10px;
  margin-top: 20px;
}

#header {
  /*height: max(67vh, 500px);*/
  background-image: url(../img/header-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===== BUBBLE COMPONENT ===== */
.bubble {
  margin-top: 55px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;

  width: 100%;
  max-width: 355px;
  height: 152px;

  padding: 65px 40px;
  background-color: #e6e6e4;
  border-radius: 999px;
}

/* ogonek */
.bubble::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: -17px;

  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 18px solid #e6e6e4;
}

/* ikona */
.bubble-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* content */
.bubble-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* tytuł */
.bubble-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #415a77;
  text-align: center;
}

/* CTA */
.bubble-cta {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #b23a3a;
  text-align: center;
}

.bubble-cta::before {
  content: "▶ ";
}

@media (max-width: 399.98px) {
  .bubble-tall {
    height: 200px;
    /*font-size: 1rem !important;*/
  }
}

/* MOBILE */
@media (max-width: 767.98px) {
  .bubble {
    height: 140px;
  }
}

footer {
  letter-spacing: 0.01rem;
}

footer center {
  font-size: 0.7rem;
}

@media (min-width: 768px) {
  .footer-address {
    border-left: 2px solid #973642;
  }
}

#onas,
#gospodarcze {
  margin-top: 60px;
}

#onas ul {
  list-style: disc;
  padding-left: 1.2rem;
  line-height: 2rem;
}

.section-icon {
  text-align: center;
}

.section-icon img {
  height: 120px;
}

.section-icon h2 {
  margin: 0;
  font-weight: 600;
  /*color: #415a77;*/
}

.photo {
  max-width: 110%;
  padding-top: 35px;
}

.background_dark_grey {
  background-color: #d7d7d7;
}

.btn {
  background-color: #973642;
  color: #fff;
}

@media (max-width: 767.98px) {
  .onas-img {
    max-width: 260px;
  }
  #gospodarcze{
    margin-top: 10px;
  }
}

.red-dark {
  color: #973642;
}

#gospodarcze ul {
  list-style: disc;
}

#gospodarcze {
  line-height: 1.2;
  font-weight: bold;
}

.nav-menu .active a {
  /*border-bottom: solid 2px #973642;*/
  box-shadow: inset 0 -2px 0 0 #973642;  /* jak border-bottom: 2px #d00; */
}


.box {
  box-shadow: inset 0 -2px 0 0 #d00;  /* jak border-bottom: 2px #d00; */
}

footer, #kontakt {
  font-size: 1rem;
}

@media (max-width: 399.98px) {
  .bubble-tall {
    height: 200px;
    border-radius: 65px;
    /*font-size: 1rem !important;*/
  }
}