.container-fluid.no-gutter {
  --bs-gutter-x: 0;
}

.btn-lg {
  border-radius: 0 !important;
}

a.btn {
  transition: background-color 0.4s, color 0.4s;
  padding: 1.25rem 2.5rem;
}

.fs-1 {
  font-size: calc(2rem * 0.8) !important;
  /* 2rem * 0.8 = 1.6rem */
}

.fs-2 {
  font-size: calc(1.75rem * 0.8) !important;
  /* 1.75rem * 0.8 = 1.4rem */
}

.fs-3 {
  font-size: calc(1.5rem * 0.8) !important;
  /* 1.5rem * 0.8 = 1.2rem */
}

.fs-4 {
  font-size: calc(1.25rem * 0.8) !important;
  /* 1.25rem * 0.8 = 1rem */
}

.fs-5 {
  font-size: calc(1.125rem * 0.8) !important;
  /* 1.125rem * 0.8 = 0.9rem */
}

.fs-6 {
  font-size: calc(1rem * 0.8) !important;
  /* 1rem * 0.8 = 0.8rem */
}

@media (max-width: 1199px) {
  .fs-1 {
    font-size: calc(1.75rem * 0.8) !important;
    /* 1.75rem * 0.8 = 1.4rem */
  }

  .fs-2 {
    font-size: calc(1.5rem * 0.8) !important;
    /* 1.5rem * 0.8 = 1.2rem */
  }

  .fs-3 {
    font-size: calc(1.25rem * 0.8) !important;
    /* 1.25rem * 0.8 = 1rem */
  }
}

@media (max-width: 767px) {
  .fs-1 {
    font-size: calc(1.5rem * 0.8) !important;
    /* 1.5rem * 0.8 = 1.2rem */
  }

  .fs-2 {
    font-size: calc(1.25rem * 0.8) !important;
    /* 1.25rem * 0.8 = 1rem */
  }

  .fs-3 {
    font-size: calc(1.125rem * 0.8) !important;
    /* 1.125rem * 0.8 = 0.9rem */
  }
}

a.btn {
  text-transform: uppercase;
}

.hamburger-menu-panel {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.hamburger-menu-panel.active {
  right: 0;
}

.hamburger-menu-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
}

.hamburger-close-btn {
	position: absolute;
	top: 0rem;
	right: 0.5rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--bs-primary);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: all 0.3s ease;
	z-index: 2001;
}

.hamburger-nav {
  margin-bottom: 0rem;
}

.hamburger-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.hamburger-menu-list li {
  margin: 0;
}

.hamburger-menu-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--bs-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  padding: 0.75rem 1rem;
}

.hamburger-menu-link:hover {
  text-decoration: underline;
}

.helper-booking {
  cursor: pointer;
}

.hamburger-social {
  display: flex;
  gap: 0rem;
  margin-bottom: 0rem;
}

.hamburger-social-link {
  font-size: 1.2rem;
  color: var(--bs-primary);
  padding: 0.75rem;
}

.hamburger-lang {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  /* 75% of typical size */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hamburger-lang-link {
  color: var(--bs-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.hamburger-lang-link.active,
.hamburger-lang-link:hover {
  text-decoration: underline;
}

.hamburger-lang-separator {
  color: var(--bs-primary);
  margin: 0 0.5rem;
}

.hamburger-reservation-btn {
  background: var(--bs-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  /* 75% of typical size */
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--bs-primary);
}

.hamburger-reservation-btn:hover {
  background: transparent;
  color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.3);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .hamburger-menu-panel {
    width: 100vw;
    right: -100vw;
  }

  .hamburger-menu-panel.active {
    right: 0;
  }
}

/* Overlay for closing menu */
.hamburger-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hamburger-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

hr {
  max-width: 50px;
  height: 2px;
  background: #fff;
  border: none !important;
  opacity: 1;
}

a.btn i {
  left: -5px;
  position: relative;
}

.helper-logo {
  width: 168px;
  height: auto;
}

.btn-primary {
  color: var(--bs-white);
}

.btn-primary:hover {
  color: var(--bs-primary);
  background-color: var(--bs-white);
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

#owl-hero h1 {
  text-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

#owl-hero .btn {
  background-color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1400px) {
  .container {
    max-width: 1136px;
    /* 1420px * 0.8 = 1136px */
  }

  .helper-logo {
    max-width: 100px;
  }
}

body {
  overflow-x: hidden;
  /*background: url(../temp-apayo/test02.jpg) no-repeat top center;*/
  font-family: "playfair-display", serfi;
  color: #434142;
}

body>section:first-of-type {
  min-height: 720px !important;
}

body>section:first-of-type #owl-hero,
body>section:first-of-type .owl-stage-outer,
body>section:first-of-type .owl-stage,
body>section:first-of-type .owl-carousel .owl-item,
body>section:first-of-type .item,
body>section:first-of-type .item video {
  min-height: 720px !important;
}

.special-font {
  font-family: "p22-marcel-script-pro", sans-serif;
  font-weight: 400;
  /* normal */
}

.special-dot {
  position: relative;
}

.special-dot::before {
  content: "";
  border-left: 2px solid rgb(var(--bs-primary-rgb));
  position: absolute;
  left: 0px;
  top: 50%;
  margin-top: -10px;
  width: 2px;
  display: block;
  height: 20px;
}

span.hr {
  width: 100%;
  height: 2px;
  display: block;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(199, 191, 172, 1) 10%, rgba(135, 118, 76, 1) 50%, rgba(240, 238, 233, 1) 90%, rgba(255, 255, 255, 0) 100%);
}

.container.no-gutter {
  --bs-gutter-x: 0;
}

.row.no-gutter {
  --bs-gutter-x: 0;
}

.lh-135 {
  line-height: 1.35em !important;
}

/* Kontener bloku (para dwóch kolumn) */
.block-pair {
  position: relative;
  overflow: visible;
  height: 100%;
}

/* wewnętrzny row dwóch kolumn (zawsze 2 kolumny obok siebie) */
.block-inner {
  display: flex;
  width: 100%;
  gap: 0;
  height: 100%;
}

/* pojedyncza "komórka" wewnątrz pary */
.block-item {
  flex: 0 0 50%;
  /* dwie równe kolumny (50% każda) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  text-align: center;
  min-height: 220px;
  /* możesz dopasować */
  box-sizing: border-box;
  background: transparent;
  cursor: pointer;
  position: relative;
}

/* zapewnia, że kolumny w bloku mają tę samą wysokość zewnętrznie */
.block-col {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.block-col:after {
  content: "";
  right: -1px;
  width: 2px;
  display: block;
  top: 0px;
  bottom: 0px;
  background: linear-gradient(180deg, #fff0 0%, #c7bfac 10%, #87764c 50%, #f0eee9 90%, #fff0 100%);
}

.block-col.block-col-3:after,
.block-col.block-col-7:after,
.block-col.block-col-11:after,
.block-col.block-col-15:after {
  display: none !important;
}

/* obraz i tytuł */
.block-item img {
  max-width: 128px;
  margin-bottom: .8rem;
  display: block;
}

.block-item h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 1px;
}



.homepage-block-table .table th:first-child,
.homepage-block-table .table td:first-child {
  text-align: left;
  letter-spacing: 0.2em;
}

.homepage-block-table .table th:not(:first-child),
.homepage-block-table .table td:not(:first-child) {
  text-align: center;
}

.homepage-block-table .table th,
.homepage-block-table .table td {
  padding: 1.5rem;
}

.homepage-block-table .table tbody tr:nth-child(even) td {
  background: var(--bs-light);
}

/* overlay który nakłada się na całą parę (blok) */
.block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* (tylko na blok) */
  height: 100%;
  background: rgba(139, 119, 66, 0.8);
  /* przybliżony kolor */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10;
  text-align: left;
  box-sizing: border-box;
  opacity: 0;
  transform-origin: top;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;

  transform: translateY(-75%);
}

/* aktywna klasa pokazuje overlay */
.block-overlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* na małych ekranach możesz chcieć inny wygląd tekstu */
@media (max-width: 1200px) {

  .hamburger-menu-content {
    padding: 1rem 2rem;
  }


  .block-item {
    padding: 2rem 1rem;
    min-height: 180px;
  }

  .block-overlay {
    padding: 1rem;
    text-align: left;
  }

  .block-col.block-col-1:after,
  .block-col.block-col-5:after,
  .block-col.block-col-9:after,
  .block-col.block-col-13:after {
    display: none !important;
  }
}

/* paddings */
@media (min-width: 1200px) {
  .homepage-block-01 {
    padding-top: 128px !important;
    /* 160px * 0.8 = 128px */
  }

  .homepage-block-01 {
    background: url(/assets/gfx/bg_01.jpg) no-repeat left center;
    background-attachment: fixed;
  }

  .homepage-block-01 h1 {
    font-size: 6.8em;
    /* 8.5em * 0.8 = 6.8em */
    /*
    letter-spacing: -8px;
    */
  }

  .homepage-block-01 p {
    font-size: 19.2px;
    /* 24px * 0.8 = 19.2px */
    /*
    max-width: 880px;
    */
    line-height: 30.4px;
    /* 38px * 0.8 = 30.4px */
    margin-bottom: 80px !important;
    /* 100px * 0.8 = 80px */
  }

  .homepage-block-02 {
    padding-top: 88px !important;
    /* 110px * 0.8 = 88px */
  }

  .homepage-block-02 {
    background: url(/assets/gfx/bg_02.jpg) no-repeat right center;
    background-attachment: fixed;
  }

  .homepage-block-02 h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-02 .special-font {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
    margin-bottom: 96px !important;
    /* 120px * 0.8 = 96px */
  }

  .page-2 .homepage-block-02 .special-font {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
    margin-bottom: 0px !important;
    /* 120px * 0.8 = 96px */
  }

  body.page-101 .homepage-block-02 .special-font {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
    margin-bottom: 6.4px !important;
    /* 8px * 0.8 = 6.4px */
  }

  .homepage-block-02>div>div:nth-child(3) {
    margin-top: 52px;
    /* 65px * 0.8 = 52px */
  }

  .homepage-block-02>div>div:nth-child(3) p {
    margin-bottom: 56px !important;
    /* 70px * 0.8 = 56px */
  }

  .container-semi {
    max-width: 1280px;
    /* 1600px * 0.8 = 1280px */
    z-index: 2;
  }

  .homepage-block-03 {
    min-height: 1235px;
    /* potem 950px gdy już będzie ready*/
  }

  .homepage-block-03::before {
    content: "";
    background: #f4f3ef;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 968px;
    display: block;
    position: absolute;
    z-index: 0;
  }

  .homepage-block-03::after {
    content: "";
    background: url(../temp-apayo/napis_crystal_palace.png) no-repeat center bottom;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 968px;
    display: block;
    position: absolute;
    z-index: 0;
    background-size: 1250px;
  }

  .homepage-block-03 .row>div:nth-child(2) {
    transform: translateY(63px);
  }

  .homepage-block-04 {
    margin-top: 124px !important;
    /* 155px * 0.8 = 124px */
  }

  body.page-2 .homepage-block-04 {
    margin-top: 68px !important;
    /* 85px * 0.8 = 68px */
    margin-bottom: 100px !important;
    /* 125px * 0.8 = 100px */
  }

  body.page-102 .homepage-block-04 {
    margin-top: 68px !important;
    /* 85px * 0.8 = 68px */
    margin-bottom: 100px !important;
    /* 125px * 0.8 = 100px */
  }

  body.page-105 .homepage-block-04 {
    margin-top: 68px !important;
    /* 85px * 0.8 = 68px */
    margin-bottom: 100px !important;
    /* 125px * 0.8 = 100px */
  }

  .homepage-block-04 h3 {
    font-size: 51.2px;
    /* 64px * 0.8 = 51.2px */
  }

  .homepage-block-05 {
    margin-top: 40px !important;
    /* 50px * 0.8 = 40px */
  }

  .homepage-block-05 p.special-font {
    font-size: 41.6px;
    /* 52px * 0.8 = 41.6px */
  }

  .homepage-block-06 {
    margin-top: 96px !important;
    /* 120px * 0.8 = 96px */
  }

  .homepage-block-06 h3 {
    font-size: 59.2px;
    /* 74px * 0.8 = 59.2px */
  }

  .homepage-block-07 {
    margin-top: 0px !important;
    padding-top: 24px !important;
    /* 30px * 0.8 = 24px */
  }

  .homepage-block-07 p.special-font {
    font-size: 41.6px;
    /* 52px * 0.8 = 41.6px */
  }

  .homepage-block-07>div>div:last-of-type {
    margin-top: 96px !important;
    /* 120px * 0.8 = 96px */
  }

  .homepage-block-menu h3 {
    font-size: 65.6px;
    /* 82px * 0.8 = 65.6px */
  }

  .homepage-block-menu {
    background: url(/assets/gfx/bg_03.jpg) no-repeat left top;
    background-attachment: fixed;
  }

  .homepage-block-menu h2 {
    font-size: 67.2px;
    /* 84px * 0.8 = 67.2px */
  }

  .homepage-block-menu>div:last-of-type {
    margin-top: 120px;
    /* 150px * 0.8 = 120px */
  }

  .homepage-block-menu img:first-of-type {
    max-height: 286px;
  }

  .homepage-block-menu img:nth-of-type(2) {
    max-height: 286px;
  }

  .homepage-block-chief {
    position: relative;
    min-height: 1166px;
  }

  .homepage-block-chief>div>div:nth-child(2) {
    position: relative;
  }

  .homepage-block-chief>div>div:nth-child(2):after {
    position: absolute;
    right: 0px;
    bottom: 0px;
    content: "";
    display: block;
    width: 128px;
    height: 339px;
    background: url(../temp-apayo/chief-before.webp) no-repeat center/cover;
  }

  .homepage-block-chief::before {
    content: "";
    background: #f4f3ef;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 460px;
    display: block;
    position: absolute;
    z-index: 0;
  }

  .homepage-block-chief::after {
    content: "";
    background: url(../temp-apayo/napis_zaplaczze_biurowe.png) no-repeat center;
    background-size: 1250px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 460px;
    display: block;
    position: absolute;
    z-index: 0;
  }

  .homepage-block-chief h2 {
    font-size: 43.2px;
    /* 54px * 0.8 = 43.2px */
  }

  .homepage-block-chief .container.position-relative .row.mt-5 {
    max-height: 420px;
  }

  .homepage-block-08 {
    margin-top: 24px;
    /* 30px * 0.8 = 24px */
    padding-bottom: 272px !important;
    /* 340px * 0.8 = 272px */
  }

  .homepage-block-08 {
    background: url(/assets/gfx/bg_04.jpg) no-repeat center bottom;
    background-attachment: fixed;
  }

  .homepage-block-bar {
    margin-top: -67.2px;
    /* -84px * 0.8 = -67.2px */
  }

  .homepage-block-bar h3 {
    font-size: 67.2px;
    /* 84px * 0.8 = 67.2px */
  }

  .homepage-block-bar h2 {
    font-size: 38.4px;
    /* 48px * 0.8 = 38.4px */
  }

  .homepage-block-sepparator {
    margin: 64px auto 48px auto;
    /* 80px * 0.8 = 64px, 60px * 0.8 = 48px */
  }

  .homepage-block-apartament {
    background: url(/assets/gfx/bg_05.jpg) no-repeat right center;
    background-attachment: fixed;
  }

  .homepage-block-apartament h2 {
    font-size: 62.4px;
    /* 78px * 0.8 = 62.4px */
  }

  .homepage-block-apartament h3 {
    font-size: 83.2px;
    /* 104px * 0.8 = 83.2px */
  }

  .homepage-block-apartament>div:last-of-type {
    margin-top: 80px;
    /* 100px * 0.8 = 80px */
  }

  .homepage-block-key {
    margin-top: 120px;
    /* 150px * 0.8 = 120px */
  }

  .homepage-block-key p.text-primary {
    line-height: 1.2em;
    letter-spacing: 0.2em;
  }

  .homepage-block-gallery {
    margin-top: 88px;
    /* 110px * 0.8 = 88px */
  }

  .homepage-block-gallery h2 {
    letter-spacing: 0.48em;
    /* 0.6em * 0.8 = 0.48em */
  }

  .homepage-block-gallery-pre h2 {
    letter-spacing: 0.48em;
    /* 0.6em * 0.8 = 0.48em */
  }

  .homepage-block-gallery>div:nth-child(2) {
    margin-top: 16px;
    /* 20px * 0.8 = 16px */
  }

  .homepage-block-gallery-pre>div:nth-child(2) {
    margin-top: 16px;
    /* 20px * 0.8 = 16px */
  }

  .homepage-block-gallery>div:last-of-type {
    margin-top: 104px;
    /* 130px * 0.8 = 104px */
  }

  .homepage-block-gallery>div:last-of-type>div:last-of-type {
    margin: 80px auto;
    /* 100px * 0.8 = 80px */
    font-size: 4.64em;
    /* 5.8em * 0.8 = 4.64em */
  }

  .homepage-block-advisory>div:last-of-type {
    margin-top: 56px;
    /* 70px * 0.8 = 56px */
  }

  .homepage-block-form>div>.row>div:first-of-type>div {
    min-height: 580px;
  }

  .homepage-block-prev-kontakt {
    min-height: 400px;
    background: url(/assets/gfx/bg_06.jpg) no-repeat center bottom;
    background-size: 1250px;
  }

  /*
  .homepage-block-advisory {
    padding-bottom: 500px !important;
  }

  .homepage-block-advisory {
    background: url(/assets/gfx/bg_06.jpg) no-repeat center bottom;
    background-attachment: fixed;
  }
  */

  .homepage-block-kontakt .h1 {
    font-size: 86.4px;
    /* 108px * 0.8 = 86.4px */
    letter-spacing: 0.16em;
    /* 0.2em * 0.8 = 0.16em */
  }

  /* podstrony */
  .homepage-lead-image h3,
  .homepage-image-lead h3 {
    font-size: 67.2px;
    /* 84px * 0.8 = 67.2px */
  }

  .homepage-lead-image h2,
  .homepage-image-lead h2 {
    font-size: 38.4px;
    /* 48px * 0.8 = 38.4px */
  }

  .homepage-lead-image .d-none img,
  .homepage-image-lead .d-none img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .homepage-lead-image a.btn,
  .homepage-image-lead a.btn {
    width: 51px;
    height: 65px;
    font-size: 18px;
    line-height: 23px;
  }

  .homepage-block-team .h-100p {
    height: 100%;
  }

  .homepage-block-team .img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .homepage-block-team .col-equal {
    display: flex;
    flex-direction: column;
  }

  .homepage-block-team .split-50 {
    flex: 1;
  }

  .homepage-block-team .split-66 {
    flex: 2;
  }

  .homepage-block-team .split-33 {
    flex: 1;
  }



  .homepage-block-pakiety {
    padding-top: 208px !important;
    /* 260px * 0.8 = 208px */
  }

  .homepage-block-pakiety .carde {
    transition: background ease 0.6s ;
  }

  .homepage-block-pakiety .carde:hover {
    background: #fff;
  }

  .homepage-block-pakiety {
    background-color: #f4f3ef;
  }

  .homepage-block-pakiety h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-pakiety>div>div>div>p:first-of-type {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
  }


  .homepage-block-zaufali {
    padding-top: 208px !important;
    /* 260px * 0.8 = 208px */
  }

  .homepage-block-zaufali {
    background-color: #f4f3ef;
  }

  .homepage-block-zaufali h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-zaufali>div>div>div>p:first-of-type {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
  }



  .homepage-block-standards {
    padding-top: 144px !important;
    /* 180px * 0.8 = 144px */
    padding-bottom: 96px !important;
    /* 120px * 0.8 = 96px */
  }

  .homepage-block-standards h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-standards>div>div>div>p:first-of-type {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
    cursor: pointer;
  }



  .homepage-block-opinie {
    padding-top: 208px !important;
    /* 260px * 0.8 = 208px */
  }

  .homepage-block-opinie {
    background: url(../temp-apayo/napis_chwile_w_crystal.png) no-repeat top center;
    background-size: 1250px;
  }

  .homepage-block-opinie {
    background-color: #f4f3ef;
  }

  .homepage-block-opinie h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-opinie>div>div>div>p:first-of-type {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
  }

  .homepage-block-fullhd {
    padding-top: 128px !important;
    /* 160px * 0.8 = 128px */
  }

  .homepage-block-fullhd h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-fullhd p {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
  }

  .homepage-block-atuty {
    padding-top: 64px !important;
    /* 80px * 0.8 = 64px */
  }

  .homepage-block-atuty h2 {
    font-size: 46.4px;
    /* 58px * 0.8 = 46.4px */
  }

  .homepage-block-atuty .container-fluid p {
    font-size: 57.6px;
    /* 72px * 0.8 = 57.6px */
  }

  @media (max-width: 767.98px) {
    .overlay {
      width: 100%;
    }
  }

  body.page-100 .homepage-block-04>div>div>div.col-xl-5::before {
    left: -1000px;
    right: 0px;
  }

  body.page-101 .homepage-block-04>div>div>div.col-xl-5::before {
    left: -1000px;
    right: 0px;
  }

  body.page-2 .homepage-block-04>div>div>div.col-xl-5::before {
    left: -1000px;
    right: 0px;
  }

  body.page-102 .homepage-block-04>div>div>div.col-xl-5::before {
    left: -1000px;
    right: 0px;
  }

  body.page-105 .homepage-block-04>div>div>div.col-xl-5::before {
    left: -1000px;
    right: 0px;
  }

}

h1,
h2,
h3 {
  overflow: hidden;
}

h1 span,
h2 span,
h3 span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s ease-out;
  /* szybkie wysunięcie */
}

h1.visible span,
h2.visible span,
h3.visible span {
  transform: translateY(0);
}

.homepage-block-04>div>div>div {
  height: 560px;
}

.homepage-block-04>div>div>div.col-xl-5::before {
  display: block;
  position: absolute;
  left: 0px;
  top: -65px;
  bottom: -65px;
  background: rgb(var(--bs-primary-rgb));
  content: "";
  right: -1000px;
}

.homepage-block-06>div>div>div {
  height: 734px;
}

.owl-carousel.owl-small .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex !important;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.owl-carousel.owl-small .owl-nav button.owl-custom-nav {
  background: rgba(255, 255, 255, 1);
  border: none;
  border-radius: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--bs-primary);
  pointer-events: all;
  transition: background 0.2s;
  margin: 0px;
}

.owl-carousel.owl-small .owl-nav button {
  margin: 0;
}

.owl-carousel.owl-small .owl-nav button.owl-custom-nav:hover {
  background: var(--bs-primary);
  color: #fff;
}

#owl-small,
#owl-bigger {
  height: 488px;
  position: relative;
}

#owl-small .owl-stage-outer,
#owl-bigger .owl-stage-outer,
#owl-small .owl-stage-outer *,
#owl-bigger .owl-stage-outer * {
  height: 488px;
}

#owl-small .owl-item img,
#owl-bigger .owl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.homepage-block-apartament>div:last-of-type>.row {
  height: 568px;
}

.homepage-block-apartament .object-fit-cover {
  max-height: 568px;
}

#owl-apartament {
  height: 568px;
  position: relative;
}

#owl-apartament .owl-stage-outer,
#owl-apartament .owl-stage-outer * {
  height: 568px;
}

#owl-apartament .owl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Układ dots w poziomie, pełna szerokość */
#owl-apartament .owl-dots {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  /* odstęp między paskami */
  width: 100%;
  margin-top: 10x;
  /* trochę odstępu od karuzeli */
}

/* Każdy dot jako pasek */
#owl-apartament .owl-dot {
  flex: 1;
  /* równo dzielą szerokość */
  height: 7px;
  background-color: #ebe8e1;
  border-radius: 0;
  /* żeby były prostokątne */
  padding: 0;
  margin: 0;
  transition: background-color 0.3s;
}

/* Usuwamy zbędny span w środku */
#owl-apartament .owl-dot span {
  display: none;
}

/* Aktywny pasek */
#owl-apartament .owl-dot.active {
  background-color: var(--bs-primary);
  /* kolor aktywnego paska */
}




.homepage-block-menu .helper-left>div {
  max-width: 568px;
}

.homepage-block-menu .helper-left div a {
  width: 75px;
  height: 75px;
  line-height: 32px;
  font-size: 24px;
}

.homepage-block-menu .helper-left>div>div:first-of-type {
  border-right: 1px solid var(--bs-primary);
}

.homepage-block-menu .helper-right::before {
  content: "";
  display: block;
  height: 420px;
  left: 15px;
  top: 50%;
  margin-top: -210px;
  right: 0px;
  position: absolute;
  background: #323232;
}

.homepage-block-menu .helper-right>div {
  z-index: 2;
}

.homepage-block-menu .helper-right>div>div {
  border-left: 1px solid var(--bs-primary);
}

.homepage-block-bar a.btn {
  width: 64px;
  height: 82px;
  font-size: 18px;
  line-height: 41px;
}

.homepage-block-bar>div>div>div:last-of-type span::before {
  content: "";
  border: 2px solid var(--bs-primary);
  display: block;
  left: 0px;
  right: 0px;
  position: absolute;
  bottom: 0px;
  top: 0px;
  transform: translate(-20px, -20px);
}

.homepage-block-form h3 {
  font-size: 83.2px;
  /* 104px * 0.8 = 83.2px */
  line-height: 56px;
  /* 70px * 0.8 = 56px */
  overflow: initial;
}

.homepage-block-form p {
  max-width: 400px
}

.homepage-block-form>div>div>div:first-of-type:before {
  display: block;
  position: absolute;
  right: 0px;
  top: -100px;
  bottom: -108px;
  background: rgb(var(--bs-primary-rgb));
  content: "";
  left: -1000px;
}

.homepage-block-kontakt>div:first-of-type>div:first-of-type>div {
  min-height: 312px;
  /* 390px * 0.8 = 312px */
}

.homepage-block-kontakt>div:nth-child(2) {
  margin-top: 24px;
  /* 30px * 0.8 = 24px */
}

.homepage-block-kontakt>div:last-of-type a {
  background-color: var(--bs-white);
  color: var(--bs-primary);
  width: 70px;
}

/* MENU */
/* Overlay container */
#fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Active state */
#fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

/* Close button */
#fullscreen-menu .menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Menu list */
#fullscreen-menu nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

#fullscreen-menu nav ul li {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.5s forwards;
}

/* Animacja pojawiania się linków */
#fullscreen-menu.active nav ul li {
  animation-delay: var(--delay);
}

#fullscreen-menu nav ul li:nth-child(1) {
  --delay: 0.1s;
}

#fullscreen-menu nav ul li:nth-child(2) {
  --delay: 0.2s;
}

#fullscreen-menu nav ul li:nth-child(3) {
  --delay: 0.3s;
}

#fullscreen-menu nav ul li:nth-child(4) {
  --delay: 0.4s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#fullscreen-menu nav ul li a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s;
}

#fullscreen-menu nav ul li a:hover {
  color: #f39c12;
  /* podświetlenie np. na pomarańczowo */
}

/* FORM */
.form-section {
  max-width: 540px;
}

.select-wrapper label {
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
}

.form-label {
  letter-spacing: 1px;
}

.form-control,
.form-select {
  border: none;
  border-radius: 0;
  font-size: 1rem;
  padding: 0.25rem 0;
  color: #3a3a3a;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: #b1976b;
}

.form-select.bg-dark {
  color: #fff !important;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  text-transform: lowercase;
}

.submit-btn {
  background-color: #b1976b;
  color: #fff;
  border: none;
  width: 100%;
  padding: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #9d845d;
}

/* ✅ Responsywność — label nad polem na małych ekranach */
@media (max-width: 576px) {
  .form-label {
    display: block;
    margin-bottom: 0.3rem;
  }

  .row.align-items-center {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .row.align-items-center .col-4,
  .row.align-items-center .col-8 {
    width: 100%;
  }

  textarea.form-control {
    min-height: 120px;
  }
}



@media (max-width: 1199px) {
  .row.no-gutter-xl {
    --bs-gutter-x: 0;
  }

  .container-fluid.no-gutter-xl {
    --bs-gutter-x: 0;
  }

  .special-font {
    font-size: 35.2px;
    /* 44px * 0.8 = 35.2px */
    line-height: 35.2px;
    /* 44px * 0.8 = 35.2px */
  }

  .homepage-block-04>div>div>div.col-xl-5::before {
    left: 0px;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .homepage-block-menu .helper-right::before {
    left: 0px;
    height: 280px;
    margin-top: -140px;
  }

  .homepage-block-menu img:first-of-type {
    max-height: 168px;
  }

  .homepage-block-menu img:nth-of-type(2) {
    max-height: 168px;
  }

  .homepage-block-form>div>div>div:first-of-type::before {
    right: 0px;
    top: -60px;
    bottom: -68px;
    left: -1000px;
  }

  .photo-column img {
    max-width: 100%;
  }

  .homepage-block-kontakt>div:first-of-type>div:first-of-type>div {
    min-height: 152px;
    /* 190px * 0.8 = 152px */
  }

}


/* Warstwa nakĹadki do formularza */
.form-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Spinner loadera */
.form-loader-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

/* Animacja obracania */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* animacje bazowe */
.helper-zoomer {
  transition: ease transform 0.4s;
}

.helper-zoomer:hover {
  transform: scale(1.03);
}

.helper-menu>*:nth-child(1) {
  transition: padding 0.3s ease, margin-bottom 0.3s ease;
}

.helper-menu>*:nth-child(2),
.helper-menu>*:nth-child(4) {
  transition: opacity 0.3s ease, visibility 0.3s ease, display 0.3 ease;
}

.helper-menu>*:nth-child(3) {
  transition: padding 0.3s ease;
}

.helper-is-scrolling .helper-menu>*:nth-child(2),
.helper-is-scrolling .helper-menu>*:nth-child(4) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.helper-is-scrolling .helper-menu>*:nth-child(1) {
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}

.helper-is-scrolling .helper-menu>*:nth-child(3) {
  padding: 1.5rem 1rem !important;
}

/* slider historii */
/* --------------------------
   WRAPPER (isolation)
--------------------------- */
#koni-timeline {
  color: #fff;
  margin: auto;
  padding: 0;
}

#koni-timeline:before {
  content: "";
  background-color: #323232;
  position: absolute;
  top: 60px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

#koni-timeline .koni-gold {
  color: #d7b56d;
}

/* --------------------------
   DESCRIPTION COLUMN
--------------------------- */
#koni-timeline .koni-desc-box {}

#koni-timeline .koni-desc-box h3 {
  font-size: 72px;
  /* 90px * 0.8 = 72px */
  color: #fff;
}

#koni-timeline .koni-desc-box p {
  font-size: 16px;
  color: #ccc;
}

#koni-timeline .koni-hr {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #d7b56d, transparent);
  margin: 20px 0;
}

/* --------------------------
   IMAGE FRAME
--------------------------- */

#koni-timeline hr {
  max-width: 100px;
}

#koni-timeline .koni-frame {
  position: relative;
  padding: 30px;
}

#koni-timeline > div:nth-child(1) > div > div:nth-child(2) {
  border: 1px solid #8a7347;
  position: relative;
  border-bottom: transparent;
}

#koni-timeline > div:nth-child(2) > div > div:nth-child(2) {
  position: relative;
}

#koni-timeline > div:nth-child(2) > div > div:nth-child(2) > span {
  position: absolute;
  bottom: -36px;
}

#koni-timeline .koni-frame:before,
#koni-timeline .koni-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#koni-timeline .koni-shadow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background: #000;
}

#koni-year .owl-item > *, #koni-desc .owl-item > * {
  padding-top: 60px;
}

/* --------------------------
   YEAR COLUMN
--------------------------- */
#koni-timeline .koni-year-display {
  font-size: 72px;
  /* 90px * 0.8 = 72px */
  line-height: 1;
}

/* --------------------------
   TIMELINE BAR
--------------------------- */
#koni-timeline-bar {
  border-top: 1px solid #d7b56d33;
  border-bottom: 1px solid #d7b56d33;
  padding: 20px 0;
  /* 25px * 0.8 = 20px */
}

#koni-timeline-bar div {
  padding: 4px 12px;
  /* 5px * 0.8 = 4px, 15px * 0.8 = 12px */
  color: #ccc;
  cursor: pointer;
  font-size: 16px;
  /* 20px * 0.8 = 16px */
  font-family: 'Georgia', serif;
  transition: .3s;
}

#koni-timeline-bar div:hover {
  color: #fff;
  opacity: 1;
}

#koni-timeline-bar .active {
  color: #d7b56d !important;
  text-shadow: 0 0 8px #d7b56d;
  opacity: 1 !important;
}

/* --------------------------
   ARROWS
--------------------------- */
#koni-timeline .koni-arrows {
  display: flex;
  justify-content: center;
  gap: 32px;
  /* 40px * 0.8 = 32px */
  margin-top: 32px;
  /* 40px * 0.8 = 32px */
}

#koni-timeline .koni-arrows button {
  background: none;
  border: none;
  color: #d7b56d;
  font-size: 32px;
  /* 40px * 0.8 = 32px */
  cursor: pointer;
  transition: .3s;
}

#koni-timeline .koni-arrows button:hover {
  color: #fff;
}

.koni-timeline-root {
  padding: 16px 0;
  /* 20px * 0.8 = 16px */
  border-top: 1px solid #8a7347;
  position: relative;
}

.koni-timeline-item {
  font-family: 'Georgia', serif;
  font-size: 17.6px;
  /* 22px * 0.8 = 17.6px */
  padding: 4px 8px;
  /* 5px * 0.8 = 4px, 10px * 0.8 = 8px */
  color: #ccc;
  cursor: pointer;
  transition: .3s;
  line-height: 34.6px;
}

.koni-timeline-item:hover {
  color: #fff;
  opacity: 1;
}

.koni-timeline-item.active {
  color: #8a7347;
  opacity: 1;
  text-shadow: 0 0 8px #8a7347;
}

/* Zaślepka */
.koni-timeline-item.koni-empty {
  opacity: 0.1;
  pointer-events: none;
}

/* Strzałki */
.koni-tl-nav {
  background: #323232;
  border: 1px solid #8a7347;
  color: #8a7347;
  font-size: 20.8px;
  /* 26px * 0.8 = 20.8px */
  padding: 4px 11.2px;
  /* 5px * 0.8 = 4px, 14px * 0.8 = 11.2px */
  margin: 0 8px;
  /* 10px * 0.8 = 8px */
  cursor: pointer;
  transition: .3s;
}

.koni-tl-nav:hover {
  background: #8a7347;
  color: #000;
}