@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI9w2PHA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u8w4BMUTPHjxswWw.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI5wqPHA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI3wiPHA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh7USew8.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHvxk.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh6UVew8.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh50Xew8.ttf) format('truetype');
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: #222;
  background: #fff;
}
.container {
  width: min(68%, 1200px);
  margin: 0 auto;
}
.site-header,
.site-footer {
  padding: 0;
  background: #f5f5f5;
}
.logo {
  color: #222;
  text-decoration: none;
  font-weight: 700;
}
.site-main {
  padding: 48px 0;
}
:root {
  --fontSizeXXXL: 80px;
  --fontSizeXXL: 64px;
  --fontSizeXL: 48px;
  --fontSizeSmallXL: 40px;
  --fontSizeSuperBig: 36px;
  --fontSizeBig: 28px;
  --fontSizeMiddle: 24px;
  --fontSize: 20px;
  --fontSizeMedium: 18px;
  --fontSizeLittleSmall: 16px;
  --fontSizeUnderLittleSmall: 15px;
  --fontError: 15px;
  --fontSizeSmall: 14px;
  --fontSizeSuperSmall: 12px;
  --mainColorDarkRed: #850B00;
  --mainColor: #d12e36;
  --linkColorHover: #d12e36;
  --linkColor: #850B00;
  --white: #ffffff;
  --black: #000000;
  --gray: #f6f6f6;
  --darkGray: #595959;
  --lightGray: #e7e7e7;
  --green: #0f9124;
  --brightness: 1;
  --swiper-navigation-color: #d12e36;
  --swiper-theme-color: #d12e36;
  --swiper-pagination-color: #d12e36;
}
@media (max-width: 1600px) {
  :root {
    --fontSizeSmallXL: 32px;
  }
}
@media (max-width: 1350px) {
  :root {
    --fontSizeXXXL: 60px;
    --fontSizeSuperBig: 32px;
    --fontSizeBig: 24px;
    --fontSizeMiddle: 20px;
    --fontSize: 18px;
    --fontSizeSmall: 12px;
  }
}
@media (max-width: 1250px) {
  :root {
    --fontSizeXXXL: 48px;
    --fontSizeXL: 40px;
    --fontSizeSuperBig: 30px;
    --fontSizeBig: 23px;
    --fontSizeMiddle: 19px;
    --fontSize: 17px;
    --fontSizeSmall: 12px;
    --fontSizeSmallXL: 26px;
  }
}
@media (max-width: 1200px) {
  :root {
    --fontSizeSmallXL: 36px;
  }
}
@media (max-width: 1050px) {
  :root {
    --fontSizeXL: 38px;
    --fontSizeBig: 22px;
    --fontSizeMiddle: 19px;
    --fontSize: 17px;
    --fontSizeMedium: 15px;
    --fontSizeSmall: 12px;
  }
}
@media (max-width: 800px) {
  :root {
    --fontSizeXXL: 42px;
    --fontSizeXL: 35px;
    --fontSizeSuperBig: 28px;
    --fontSizeBig: 20px;
    --fontSizeMiddle: 18px;
    --fontSize: 16px;
    --fontSizeSmall: 12px;
    --fontSizeSmallXL: 32px;
  }
}
@media (max-width: 600px) {
  :root {
    --fontSizeXXXL: 32px;
    --fontSizeXL: 30px;
    --fontSizeBig: 20px;
    --fontSizeMiddle: 18px;
    --fontSize: 16px;
    --fontSizeMedium: 14px;
    --fontSizeSmall: 12px;
  }
}
@media (max-width: 500px) {
  :root {
    --fontSizeXXL: 32px;
    --fontSizeXL: 26px;
    --fontSizeSuperBig: 25px;
    --fontSizeBig: 19px;
    --fontSizeMiddle: 18px;
    --fontSize: 16px;
    --fontSizeSmall: 12px;
    --fontSizeSmallXL: 28px;
  }
}
@media (max-width: 380px) {
  :root {
    --fontSizeXXXL: 24px;
    --fontSizeXXL: 24px;
    --fontSizeXL: 22px;
    --fontSizeBig: 18px;
    --fontSizeMiddle: 18px;
    --fontSize: 14px;
    --fontSizeMedium: 13px;
    --fontSizeSmall: 12px;
    --fontSizeSmallXL: 24px;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
}
.header-top {
  height: 60px;
  background: #f6f6f6;
  border-bottom: 1px solid #efefef;
}
.header-bottom {
  height: 60px;
  background: #fff;
}
.header-top__inner,
.header-bottom__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1530px;
  margin: 0 auto;
  padding: 0 15px;
}
.header-top__inner {
  gap: 16px;
  justify-content: space-between;
  height: 100%;
}
.header-bottom__inner {
  height: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 230px;
}
.site-logo img {
  display: block;
  width: 230px;
  height: auto;
}
.header-search {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: 500px;
  min-width: 300px;
  height: 40px;
  margin: 0 auto;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.header-search__label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 105px;
  height: 100%;
  padding: 0 22px;
  border-right: 1px solid #dcdcdc;
  font-size: 14px;
  font-weight: 700;
  color: #6a6a6a;
}
.header-search__field {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 20px;
}
.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #333;
}
.header-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  flex: 0 0 44px;
  color: #444;
  border: 0;
}
.header-search button svg {
  width: 20px;
  height: 20px;
}
.header-top-nav .top-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-top-nav .top-menu a {
  display: inline-flex;
  align-items: center;
  height: 31px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #232323;
  border-bottom: 1px solid transparent;
}
.header-top-nav .top-menu a:hover,
.header-top-nav .current-menu-item > a {
  border-bottom-color: #cfcfcf;
}
.header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #222;
}
.header-account svg {
  width: 28px;
  height: 28px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 9px;
  border-radius: 999px;
  background: #eb2d36;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.header-main-nav,
.header-main-nav .main-menu {
  height: 100%;
  width: 100%;
}
.header-main-nav .main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-main-nav .main-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.header-main-nav .main-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.header-main-nav .main-menu > li > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #eb2d36;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.header-main-nav .main-menu > li:hover > a::before,
.header-main-nav .main-menu > li.current-menu-item > a::before,
.header-main-nav .main-menu > li.current-menu-parent > a::before,
.header-main-nav .main-menu > li.current-menu-ancestor > a::before {
  opacity: 1;
}
.header-main-nav .menu-item-has-children > a {
  padding-right: 16px;
}
.header-main-nav .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #eb2d36;
  border-bottom: 1.5px solid #eb2d36;
  transform: translateY(-70%) rotate(45deg);
}
.header-main-nav .sub-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 10px 16px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.header-main-nav .menu-item-has-children:hover > .sub-menu,
.header-main-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-main-nav .sub-menu li a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.header-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: #222;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (max-width: 1200px) {
  .header-top {
    height: 60px;
  }
  .header-bottom {
    display: none;
  }
  .header-search,
  .header-top-nav,
  .header-cta {
    display: none;
  }
  .site-logo {
    flex-basis: 180px;
  }
  .site-logo img {
    width: 180px;
  }
  .header-burger {
    display: flex;
  }
  .site-header.is-open .header-bottom {
    display: block;
    height: auto;
    background: #efefef;
  }
  .site-header.is-open .header-bottom__inner {
    padding: 12px 15px 16px;
  }
  .header-main-nav .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .header-main-nav .main-menu > li,
  .header-main-nav .main-menu > li > a {
    width: 100%;
    height: auto;
  }
  .header-main-nav .main-menu > li > a {
    padding: 12px 0;
  }
  .header-main-nav .main-menu > li > a::before {
    display: none;
  }
  .header-main-nav .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 12px;
  }
}
.first-word,
.last-word {
  color: #d12e36;
}
.first-word {
  margin-right: 6px;
}
.last-word {
  margin-left: 6px;
}
/* ===== MOBILE CTA ===== */
.footer-mobile-cta {
  display: none;
}
@media screen and (max-width: 768px) {
  .footer-mobile-cta {
    position: fixed;
    font-weight: 600;
    font-size: 12px;
    padding: 9px 10px 10px;
    background: #d12e36;
    color: #fff;
    border-radius: 99px;
    text-transform: uppercase;
    margin: 25px auto 0;
    max-width: 150px;
    text-align: center;
    display: block;
    top: 65px;
    right: 15px;
    z-index: 9999;
  }
}
/* ===== KONTAKT (ImageSection) ===== */
.footer-contact {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #eeeeee;
  position: relative;
  padding-bottom: 45px;
}
.footer-contact__inner {
  width: 100%;
  max-width: 1500px;
  display: flex;
  justify-content: space-between;
}
.footer-contact__content {
  display: flex;
  flex-direction: column;
  height: 470px;
}
.footer-contact__content .footer-contact__title {
  font-size: var(--fontSizeXL);
  font-weight: 300;
  margin: 0;
  padding: 35px 0 10px;
  color: #222222;
}
.footer-contact__content .footer-contact__text {
  margin: 15px 0;
  font-weight: 300;
  font-size: var(--fontSizeMiddle);
  color: #222222;
  line-height: 150%;
}
.footer-contact__content .footer-contact__mail {
  color: #b1121b;
  font-weight: 400;
  font-size: var(--fontSizeBig);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  margin: 0 0 20px 0;
}
.footer-contact__content .footer-contact__mail:hover {
  color: red;
}
.footer-contact__content .footer-contact__phone {
  color: #000000;
  font-size: var(--fontSizeSuperBig);
  font-weight: 400;
  display: block;
  margin-bottom: 30px;
  text-decoration: none;
}
.footer-contact__content .footer-contact__button {
  display: inline-flex;
  justify-content: center;
  background-color: #d12e36;
  color: #fff;
  border: 1px solid #d12e36;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
  max-width: 110px;
  padding: 10px 25px;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.footer-contact__content .footer-contact__button:hover {
  background-color: #fff;
  color: #d12e36;
  box-shadow: 1px 1px 15px 10px #0000001a;
  text-shadow: none;
}
.footer-contact__image {
  display: flex;
  align-items: flex-end;
}
.footer-contact .footer-contact__image {
  background-image: url("../images/footer/r_skulimowski_contact_section.jpg");
  width: 714px;
  height: 470px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  right: 30px;
  background-position: center;
}
.footer-contact .footer-contact__image .footer-contact__owner {
  color: #222;
  font-size: 20px;
  font-weight: 300;
  text-align: right;
  position: absolute;
  bottom: 3%;
  left: 30%;
  width: 82px;
}
@media screen and (max-width: 1500px) {
  .footer-contact .footer-contact__image {
    width: 571px;
    height: 376px;
  }
}
@media screen and (max-width: 1200px) {
  .footer-contact {
    padding-bottom: 90px;
  }
  .footer-contact .footer-contact__image {
    width: 499px;
    height: 329px;
  }
}
@media screen and (max-width: 1000px) {
  .footer-contact {
    padding-bottom: 70px;
  }
  .footer-contact .footer-contact__image {
    width: 357px;
    height: 235px;
  }
}
@media screen and (max-width: 800px) {
  .footer-contact {
    justify-content: center;
  }
  .footer-contact__content {
    padding: 15px;
    align-items: center;
  }
  .footer-contact .footer-contact__image {
    display: none;
  }
}
/* ===== HERO Z FORMULARZEM (HeroImageSection) ===== */
.footer-hero {
  width: 100%;
  height: 495px;
  position: relative;
  display: flex;
}
.footer-hero__bg {
  display: flex;
  width: 100%;
  height: 100%;
  background-image: url("../images/footer/footerBackground.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.footer-hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 50px 10px;
  z-index: 5;
}
.footer-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-hero__title {
  font-size: 50px;
  color: #fff;
  text-align: center;
  font-weight: 300;
  margin: 0 0 20px;
}
.footer-hero__desc {
  width: 100%;
  max-width: 1000px;
  font-size: 22px;
  color: #fff;
  text-align: center;
  font-weight: 400;
  margin: 0;
}
.footer-hero__form {
  width: 100%;
  display: flex;
}
.footer-hero__form .footer-hero__form-skeleton {
  width: min(100%, 640px);
  margin: 0 auto;
  min-height: 260px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(220, 220, 220, 0.65), rgba(200, 200, 200, 0.45));
  flex: 1;
}
.footer-hero__form input {
  @include input();
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
}
.footer-hero__form input::placeholder {
  color: #fff;
}
.footer-hero__form input[type=checkbox] {
  background: transparent;
  border: 0;
  padding: 0;
}
.footer-hero__form select,
.footer-hero__form .select {
  @include input();
}
@media screen and (max-width: 1650px) {
  .footer-hero__title {
    font-size: 45px;
    margin-top: 25px;
  }
  .footer-hero__desc {
    font-size: var(--fontSize);
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 1500px) {
  .footer-hero__title {
    font-size: 40px;
    margin-top: 15px;
  }
  .footer-hero__desc {
    font-size: var(--fontSize);
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 600px) {
  .footer-hero {
    height: 650px;
  }
  .footer-hero__desc {
    font-size: 18px;
    margin-bottom: 10px;
  }
}
/* ===== CZERWONA SEKCJA STATYSTYK (RedSection) ===== */
.footer-stats {
  width: 100%;
  min-height: 165px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d12e36;
}
.footer-stats__inner {
  width: 100%;
  max-width: 1120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 20px;
}
.footer-stats__item {
  display: flex;
  column-gap: 20px;
  cursor: pointer;
  transition: 0.5s all ease-in-out;
  transform: translateZ(0);
}
.footer-stats__item:hover {
  transform: scale(1.05);
}
.footer-stats__icon {
  width: 60px;
  height: 60px;
  margin-top: 5px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.footer-stats__icon--guarantee {
  background-image: url("../images/footer/icon-gwarancja.svg");
}
.footer-stats__icon--reference {
  background-image: url("../images/footer/icon-referencje.svg");
}
.footer-stats__icon--houses {
  background-image: url("../images/footer/icon-budowane-domy.svg");
}
.footer-stats__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.footer-stats__content .footer-stats__number {
  font-size: var(--fontSizeXL);
  font-weight: 900;
}
.footer-stats__content .footer-stats__label {
  font-size: 22px;
  font-weight: 400;
}
@media screen and (max-width: 750px) {
  .footer-stats {
    min-height: auto;
  }
  .footer-stats__inner {
    width: auto;
    align-items: flex-start;
    flex-direction: column;
    row-gap: 30px;
    margin: 20px 0;
  }
}
/* ===== „INDYWIDUALNE PROJEKTY” + WOJEWÓDZTWA (WhiteSection) ===== */
.footer-regions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 50px 0;
  padding-inline: 20px;
}
.footer-regions__inner {
  width: 100%;
  max-width: 1500px;
  display: flex;
  gap: 200px;
}
.footer-regions__left {
  width: 100%;
  max-width: 400px;
}
.footer-regions__right {
  width: 100%;
  max-width: 600px;
}
.footer-regions__right .footer-voivodeships {
  height: 145px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 5px;
}
.footer-regions .footer-strip {
  width: 96px;
  height: 6px;
  background-color: #d12e36;
}
.footer-regions__title {
  padding: 25px 0;
  font-size: var(--fontSizeLittleSmall);
  color: #171717;
  font-weight: 700;
}
.footer-regions__desc {
  max-width: 280px;
  font-size: var(--fontSizeLittleSmall);
  font-weight: 400;
  color: #6e6e6e;
  margin-bottom: 30px;
}
.footer-regions .footer-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-regions .footer-bullets li {
  display: flex;
  align-items: center;
  padding-left: 20px;
  font-size: var(--fontSizeSmall);
  line-height: 24px;
  color: #000000;
  font-weight: 400;
  position: relative;
}
.footer-regions .footer-bullets li::before {
  content: "";
  width: 6px;
  height: 10px;
  background-image: url("../images/footer/arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  left: 0;
}
.footer-regions .footer-voivodeships {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-regions .footer-voivodeships li {
  width: calc(100% / 3);
  max-width: 200px;
  font-size: var(--fontSizeLittleSmall);
  font-weight: 400;
}
.footer-regions .footer-voivodeships li a {
  color: #6e6e6e;
  text-decoration: none;
  @include left-right-hover();
}
@media screen and (max-width: 950px) {
  .footer-regions__inner {
    flex-wrap: wrap;
    row-gap: 30px;
  }
  .footer-regions__left,
  .footer-regions__right {
    max-width: 600pxSmall;
  }
}
@media screen and (max-width: 450px) {
  .footer-regions__right .footer-voivodeships {
    flex-direction: row;
  }
  .footer-regions__right .footer-voivodeships li {
    width: 100%;
  }
}
.calendar {
  max-width: 1108px;
  width: 100%;
  height: auto;
  display: block;
  padding: 0 15px;
}
/* ===== GŁÓWNY FOOTER (kolumny + bottom) ===== */
.footer-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #6e6e6e;
  padding: 50px 20px 20px;
}
.footer-main__inner {
  max-width: 1640px;
  width: 100%;
  display: flex;
  margin-bottom: 50px;
}
.footer-main .footer-col {
  min-width: 300px;
  display: flex;
  flex-direction: column;
}
.footer-main .footer-col--brand .footer-logo {
  width: 230px;
  height: 100px;
  background-image: url("../images/footer/logo_white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 60px;
  cursor: pointer;
  transition: 0.5s all ease-in-out;
}
.footer-main .footer-col--brand .footer-logo:hover {
  transform: scale(1.05);
}
.footer-main .footer-col--brand .footer-rzetelna {
  width: 207px;
  height: 91px;
  background-image: url("../images/footer/rzetelnaFirma.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: 0.5s all ease-in-out;
}
.footer-main .footer-col--brand .footer-rzetelna:hover {
  transform: scale(1.05);
}
.footer-main .footer-col .footer-strip--white {
  width: 96px;
  height: 5px;
  background-color: #fff;
  margin: 35px 0 20px;
}
.footer-main .footer-col .footer-text {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}
.footer-main .footer-col .footer-text--strong {
  width: 285px;
  line-height: 25px;
  margin-bottom: 0;
}
.footer-main .footer-col .footer-col__title {
  font-size: 15px;
  line-height: 25px;
  color: #fff;
  font-weight: 700;
  margin: 10px 0 0;
}
.footer-main .footer-col .footer-col__title a {
  @include left-right-hover(#fff, red);
  text-decoration: none;
  color: white;
  text-transform: uppercase;
}
.footer-main .footer-col .footer-contact-line {
  display: flex;
  margin-top: 6px;
}
.footer-main .footer-col .footer-contact-line--phone .left {
  width: 16px;
  height: 16px;
  background-image: url("../images/footer/phone.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.footer-main .footer-col .footer-contact-line--mail .left {
  width: 16px;
  height: 16px;
  background-image: url("../images/footer/mail.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.footer-main .footer-col .footer-contact-line .right a {
  @include left-right-hover(#fff, red);
}
.footer-main .footer-col .footer-contact-line a {
  margin-left: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}
.footer-main .footer-col .footer-map {
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
}
.footer-main .footer-col--social a {
  margin: 0 0 10px 0;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
}
.footer-main .footer-col--social a:nth-child(3) {
  margin-top: 25px;
}
.footer-main .footer-bottom {
  max-width: 1640px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: var(--fontSizeSmall);
  color: #f2f2f2;
  font-weight: 400;
}
.footer-main .footer-bottom__copy {
  max-width: 450px;
  width: 100%;
}
.footer-main .footer-bottom__nav {
  max-width: 1170px;
  width: 100%;
}
.footer-main .footer-bottom__nav .footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-main .footer-bottom__nav .footer-menu li {
  margin: 0 10px;
}
.footer-main .footer-bottom__nav .footer-menu a {
  font-size: var(--fontSizeSmall);
  color: #f2f2f2;
  font-weight: 400;
  cursor: pointer;
  transition: 0.5s all ease-in-out;
  text-decoration: none;
  @include left-right-hover(red, #f2f2f2);
}
@media screen and (max-width: 1360px) {
  .footer-main {
    padding-bottom: 10px;
  }
  .footer-main__inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-main .footer-col {
    min-width: auto;
    width: 350px;
  }
  .footer-main .footer-col:last-child {
    width: auto;
  }
  .footer-main .footer-col:last-child .footer-text--strong {
    width: auto;
  }
}
@media screen and (max-width: 880px) {
  .footer-main__inner {
    flex-direction: column;
    align-items: center;
  }
  .footer-main .footer-col {
    width: 260px !important;
  }
  .footer-main .footer-col .footer-strip--white {
    margin: 0;
    background-color: transparent;
  }
  .footer-main .footer-bottom {
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
  }
  .footer-main .footer-bottom__nav .footer-menu {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-hero {
  position: relative;
  overflow: hidden;
}
.footer-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.footer-hero__inner {
  position: relative;
  z-index: 2;
}
.footer-form-box {
  width: 100%;
  margin: 24px auto 0;
}
.footer-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.footer-form__field {
  width: 100%;
  max-width: 385px;
  margin: 0;
}
.footer-form__input {
  width: 100%;
  height: 53px;
  padding: 5px 20px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  opacity: 0.95;
  outline: none;
  transition: all 0.3s ease-in-out;
}
.footer-form__input::placeholder {
  color: rgba(255, 255, 255, 0.95);
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  opacity: 1;
}
.footer-form__input:hover,
.footer-form__input:focus {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}
.footer-form__check {
  width: 100%;
  max-width: 620px;
  margin: 2px 0 22px;
}
.footer-form__checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  color: #ffffff;
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
  text-align: left;
}
.footer-form__checkbox-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.footer-form__checkbox-ui {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid #ffffff;
  background: #ffffff;
  transition: all 0.2s ease-in-out;
}
.footer-form__checkbox-label input:checked + .footer-form__checkbox-ui {
  background: #e6333a;
  border-color: #e6333a;
  box-shadow: inset 0 0 0 6px #ffffff;
}
.footer-form__checkbox-text {
  display: inline-block;
}
.footer-form__submit {
  min-width: 90px;
  height: 42px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #e6333a;
  color: #ffffff;
  font-family: Lato, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.footer-form__submit:hover,
.footer-form__submit:focus {
  background: #d62839;
  transform: translateY(-1px);
}
.footer-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.footer-form__error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #ffb3b3;
  font-size: 12px;
  text-align: center;
}
.footer-form__input.is-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18);
}
.footer-form-success {
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
}
.footer-form-success__title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}
.footer-form-success__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .footer-form__field,
  .footer-form-box {
    max-width: 100%;
  }
  .footer-form__checkbox-label {
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 16px;
  }
  .footer-form__checkbox-ui {
    margin-top: 2px;
  }
}
.thumbnail.wp-post-image {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}
.breadcrumbs-container {
  background-color: #f9f9f9;
  max-width: 100% !important;
  padding: 1px 24px !important;
  margin-top: -3px !important;
}
.breadcrumbs-container a {
  text-decoration: none;
  color: var(--black);
}
.breadcrumbs-container .separator {
  color: #d12e36;
  margin: 0px 8px 0;
}
.breadcrumbs-container .last {
  font-weight: 600;
}
.page-entry p {
  font-size: var(--fontSize);
  line-height: 32px;
  color: var(--black);
  font-family: Lato;
  font-weight: 300;
  margin: 0 0 22px;
  white-space: pre-line;
}
.page-entry a {
  color: var(--mainColor);
  text-decoration: none;
  font-weight: 700;
}
.page-entry h2 {
  font-size: var(--fontSizeSuperBig);
  line-height: 48px;
  color: var(--black);
  font-weight: 700;
  font-family: Lato;
  margin: 24px 0;
  display: flex;
}
.page-entry h2::before {
  content: "";
  display: block;
  height: 49px;
  width: 8px;
  background-color: var(--mainColor);
  margin-right: 35px;
  flex-shrink: 0;
}
.page-entry h3 {
  font-size: 26px;
  line-height: 44px;
  margin: 0;
  color: var(--black);
  font-weight: 700;
  font-family: Lato;
}
.page-entry ul {
  list-style-type: disc;
  margin: 0 0 15px 45px;
}
.page-entry ul li {
  padding: 3px 0;
  font-weight: 300;
  font-size: var(--fontSize);
  line-height: 32px;
}
.page-entry ul li::marker,
.page-entry ol li::marker {
  color: #d12e36;
  font-weight: 600;
}
.page-entry .promo-bar h2::before {
  display: none;
}
.page-entry .quickQuoteBar .actions a {
  color: white !important;
}
.page-entry .wp-block-image {
  padding: 0;
  margin: 0;
}
.btn {
  background-color: #d12e36;
  color: #fff;
  border: 1px solid #d12e36;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fontSizeMedium);
  font-weight: 500;
  font-family: Lato;
  border-radius: 1000px;
  padding: 15px 30px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: 0.3s all ease-in-out;
  z-index: 90;
  text-align: center;
  text-decoration: none;
}
.wp-block-rank-math-toc-block ol {
  list-style: auto;
  margin: 15px 0 0 50px;
}
.wp-block-rank-math-toc-block ol li {
  padding: 3px 0;
  cursor: pointer;
  font-size: var(--fontSize);
  line-height: 20px;
}
.wp-block-rank-math-toc-block ol li a {
  color: black;
  font-weight: 500;
}
.wp-block-rank-math-toc-block ol li:marker,
.wp-block-rank-math-toc-block ol li::before {
  color: #000;
  font-weight: 700;
}
.project-template-wrapper {
  width: 100%;
  font-family: 'Lato', sans-serif;
  background: #fff;
  color: #373737;
}
.project-template-wrapper .bgGray {
  background: #f7f7f7;
  width: 100%;
}
.project-template-wrapper .wrapperInfo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  max-width: 1440px;
  margin: 0 auto;
  padding: 27px 10px;
}
@media (max-width: 768px) {
  .project-template-wrapper .wrapperInfo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 14px;
  }
}
.project-template-wrapper .paramItem {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .project-template-wrapper .paramItem {
    padding: 8px 10px;
  }
}
.project-template-wrapper .paramIcon {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}
@media (max-width: 768px) {
  .project-template-wrapper .paramIcon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
  }
}
.project-template-wrapper .paramIcon svg {
  width: 14px;
  height: 14px;
}
.project-template-wrapper .paramContent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.project-template-wrapper .paramLabel {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 2px;
}
.project-template-wrapper .paramValue {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.project-template-wrapper .container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}
.project-template-wrapper .topSection {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  gap: 5rem;
}
@media (max-width: 1024px) {
  .project-template-wrapper .topSection {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
.project-template-wrapper .topSection h2 {
  font-size: var(--fontSizeXXL);
  line-height: 50px;
  color: var(--black);
  font-weight: 700;
  margin: 0;
}
.project-template-wrapper .topSection .backButton {
  cursor: pointer;
  font-size: 16px;
  color: #d12e36;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.project-template-wrapper .topSection .backButton:hover {
  color: #a31f25;
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .project-template-wrapper .topSection .projectTitleRow #js-mirror-switcher-container {
    margin: 0 !important;
  }
}
.project-template-wrapper .topSection .buildingArea {
  margin-left: auto;
}
@media (max-width: 1024px) {
  .project-template-wrapper .topSection .buildingArea {
    margin: 0;
    width: 100%;
    text-align: left;
  }
}
.project-template-wrapper .topSection .buildingArea span {
  font-size: 24px;
  line-height: 36px;
  color: black;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .project-template-wrapper .topSection .buildingArea span {
    font-size: 16px;
    line-height: 16px;
  }
}
.project-template-wrapper .topSection .buildingArea p {
  font-size: 24px;
  line-height: 36px;
  color: black;
  font-weight: 700;
  display: inline-block;
}
@media (max-width: 1024px) {
  .project-template-wrapper .topSection .buildingArea p {
    font-size: 16px;
    line-height: 16px;
  }
}
.project-template-wrapper .heroSlider {
  width: 100%;
  padding: 0;
  background: #f7f7f7;
  margin-bottom: 40px;
}
.project-template-wrapper .heroSlider .mainWrapper {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}
@media (max-width: 768px) {
  .project-template-wrapper .heroSlider .mainWrapper {
    border-radius: 12px;
  }
}
.project-template-wrapper .heroSlider .mainImageShell {
  width: 100%;
  height: 600px;
  background: white;
}
@media (max-width: 1024px) {
  .project-template-wrapper .heroSlider .mainImageShell {
    height: 520px;
  }
}
@media (max-width: 768px) {
  .project-template-wrapper .heroSlider .mainImageShell {
    height: 260px;
  }
}
.project-template-wrapper .heroSlider .mainImage {
  margin: 0 auto;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.project-template-wrapper .heroSlider .thumbnails-grid {
  scrollbar-width: thin;
}
.project-template-wrapper .heroSlider .thumbnails-grid::-webkit-scrollbar {
  height: 6px;
}
.project-template-wrapper .heroSlider .thumbnails-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}
.project-template-wrapper .project-parameters-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
}
.project-template-wrapper .project-parameters-section .wrapperInfo .paramBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e2e8f0;
}
.project-template-wrapper .project-parameters-section .wrapperInfo .paramBox:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.project-template-wrapper .site-main {
  padding: 40px 0;
}
.project-template-wrapper .site-main .page-title {
  font-size: 36px;
  line-height: 50px;
  color: #0f172a;
  font-weight: 700;
  margin: 0 0 20px 0;
}
@media (max-width: 768px) {
  .project-template-wrapper .site-main .page-title {
    font-size: 28px;
    line-height: 36px;
  }
}
.project-template-wrapper .site-main .page-entry {
  font-size: 16px;
  line-height: 28px;
  color: #373737;
}
.project-template-wrapper .site-main .page-entry p {
  margin-bottom: 1.5rem;
  text-align: left;
}
.project-template-wrapper .site-main .page-entry h2,
.project-template-wrapper .site-main .page-entry h3 {
  color: #0f172a;
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.project-template-wrapper .site-main .page-entry h2:before,
.project-template-wrapper .site-main .page-entry h3:before {
  display: none;
}
.project-template-wrapper .site-main .page-entry h2 {
  font-size: 32px;
}
.project-template-wrapper .site-main .page-entry h3 {
  font-size: 24px;
}
.project-template-wrapper .site-main .page-entry ul,
.project-template-wrapper .site-main .page-entry ol {
  margin: 1rem 0;
  padding-left: 24px;
}
.project-template-wrapper .site-main .page-entry ul li,
.project-template-wrapper .site-main .page-entry ol li {
  margin-bottom: 0.5rem;
}
.project-template-wrapper .linksSection .link-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e2e8f0;
}
.project-template-wrapper .linksSection .link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.mainImage {
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.15s ease-in-out;
}
.mainImage.fade-out {
  opacity: 0;
}
.thumbnails-grid {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
}
.thumbnails-grid::-webkit-scrollbar {
  height: 6px;
}
.thumbnails-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}
.thumbnails-grid .thumb-item {
  width: 130px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  filter: brightness(0.9);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.thumbnails-grid .thumb-item:hover {
  filter: brightness(1);
}
.thumbnails-grid .thumb-item.active {
  filter: brightness(1);
  border-color: #8b8b8b;
}
.extra-1,
.extra-2,
.extra-3 {
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 1140px;
  margin: 0 auto;
  font-size: 18px;
  padding: 0 15px;
}
.smallInfo {
  background-color: #f7f7f7;
  padding: 3rem 1rem;
  margin: 0px 0 50px;
}
.mirrorToggleButton {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #d12e36;
  background: #d12e36;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.mirrorToggleButton svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.mirrorToggleButton:hover {
  background: #f0f0f0;
  border-color: #c2c2c2;
  color: #0f172a;
}
.mirrorToggleButtonActive {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
}
.mirrorToggleButtonActive:hover {
  background: #f0f0f0;
  color: #0f172a;
  border-color: #c2c2c2;
}
.breadcrumbs {
  width: 100%;
  max-width: 1900px;
  margin: 0;
  padding: 16px 1rem 16px;
  font-size: var(--fontSizeSmall);
  color: var(--darkGray);
  background: #f7f7f7;
}
.list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.25rem;
}
.item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
}
.link,
.current {
  font-size: var(--fontSizeSmall);
  line-height: 1.4;
  font-weight: 400;
  color: var(--darkGray);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link {
  cursor: pointer;
  transition: color 0.2s ease;
}
.link:hover {
  color: var(--mainColor);
  text-decoration: underline;
}
.link:focus-visible {
  outline: 2px solid var(--mainColor);
  outline-offset: 2px;
  border-radius: 4px;
}
.current {
  font-weight: 600;
  color: var(--black);
  margin-top: 4px;
}
.separator {
  font-size: var(--fontSizeSmall);
  color: #cbd5e1;
  user-select: none;
}
@media (max-width: 768px) {
  .breadcrumbs {
    padding-inline: 1rem;
    margin-bottom: 0.5rem;
    font-size: 12px;
  }
  .link,
  .current {
    font-size: 12px;
    max-width: 160px;
  }
}
@media (max-width: 480px) {
  .breadcrumbs {
    padding-inline: 0.75rem;
  }
  .list {
    gap: 0.2rem;
  }
  .link,
  .current {
    max-width: 120px;
  }
}
.tabsContainer {
  position: sticky;
  top: 0px;
  background: #fff;
  z-index: 8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.tabsWrapper {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  position: relative;
}
.tabsWrapper::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .tabsWrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 46, 54, 0.3) transparent;
  }
  .tabsWrapper::-webkit-scrollbar {
    display: block;
    height: 4px;
  }
  .tabsWrapper::-webkit-scrollbar-track {
    background: transparent;
  }
  .tabsWrapper::-webkit-scrollbar-thumb {
    background: rgba(209, 46, 54, 0.3);
    border-radius: 4px;
  }
}
.tabsWrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  .tabsWrapper::after {
    opacity: 1;
  }
}
.tabsWrapper.scrollable::after {
  opacity: 1;
}
.tabs {
  display: flex;
  gap: 8px;
  position: relative;
  min-width: fit-content;
  padding: 16px 0;
  justify-content: center;
  align-items: center;
}
.tab {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}
.tab:hover {
  color: #d12e36;
  background: rgba(209, 46, 54, 0.05);
}
.tab.active {
  color: #d12e36;
  background: rgba(209, 46, 54, 0.05);
}
@media (max-width: 640px) {
  .tab {
    padding: 10px 16px;
    font-size: 14px;
  }
}
.shareButton {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  color: #d12e36;
}
.shareButton:hover {
  color: #d12e36;
  background: rgba(209, 46, 54, 0.05);
}
.shareButton.active {
  background: rgba(209, 46, 54, 0.05);
}
@media (max-width: 640px) {
  .shareButton {
    padding: 10px 16px;
    font-size: 14px;
  }
}
.shareButton .icon {
  width: 20px;
  height: 20px;
}
.tabIcon {
  display: flex;
  align-items: center;
}
.tabIcon svg {
  width: 20px;
  height: 20px;
}
.project-services-wrapper {
  margin: 4rem auto;
  max-width: 1400px;
  padding: 2rem;
  background: rgba(246, 246, 246, 0.64);
  border-radius: 12px;
}
.project-services-wrapper .services-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 0;
  color: #0f172a;
}
.project-services-wrapper .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.project-services-wrapper .service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-services-wrapper .service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: #0f172a;
}
.project-services-wrapper .service-card p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 1rem;
  margin-top: 0;
  flex-grow: 1;
}
.project-services-wrapper .service-button-wrap {
  display: flex;
  max-height: 40px;
}
.project-services-wrapper .service-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.project-services-wrapper .service-btn-link:hover {
  background: #d12e36;
  color: #fff;
  text-decoration: none;
}
.priceHistorySection {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .priceHistorySection {
    margin: 60px auto;
  }
}
.priceHistorySection .price-header {
  text-align: center;
  margin-bottom: 48px;
}
.priceHistorySection .price-header h2 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 56px;
  color: #0f172a;
  margin: 0 0 16px;
}
.priceHistorySection .price-header h2 p {
  display: inline-block;
  border-bottom: 3px solid #d12e36;
}
@media (max-width: 768px) {
  .priceHistorySection .price-header h2 {
    font-size: 32px;
    line-height: 40px;
  }
}
.priceHistorySection .price-header .subtitle {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #373737;
  margin: 0;
}
.priceHistorySection .price-header .subtitle strong {
  color: #d12e36;
  font-weight: 700;
}
@media (max-width: 768px) {
  .priceHistorySection .price-header .subtitle {
    font-size: 18px;
    line-height: 26px;
  }
}
.chartWrapper {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .chartWrapper {
    padding: 20px;
  }
}
.chartWrapper .chart-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 16px;
}
.chartWrapper .chart-loader .loaderSpinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f1f3f4;
  border-top-color: #d12e36;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.chartWrapper .chartContainer {
  height: 400px;
  position: relative;
}
@media (max-width: 768px) {
  .chartWrapper .chartContainer {
    height: 300px;
  }
}
.chartOuter {
  position: relative;
}
.chartBlurred {
  position: relative;
  overflow: hidden;
}
.chartBlurred::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 1;
}
.chartOverlayCta {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.chartOverlayCta p {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 16px;
  font-weight: 600;
}
.chartOverlayCta .btnPrimaryOverlay {
  padding: 12px 24px;
  border-radius: 8px;
  background: #d12e36;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.chartOverlayCta .btnPrimaryOverlay:hover {
  background: #a31f25;
  transform: translateY(-2px);
}
.chartLegend {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.chartLegend .legendItem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #373737;
}
.chartLegend .legendItem .legendLine {
  width: 32px;
  height: 3px;
  border-radius: 2px;
}
.chartLegend .legendItem .legendLineDashed {
  width: 32px;
  height: 3px;
  border-top: 3px dashed #d12e36;
}
.chartControls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
  font-size: 14px;
}
.chartControls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.chartNote {
  margin-top: 16px;
  padding: 16px;
  background: #fff9f0;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}
.statsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .statsGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.statCard {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}
.statCard:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.statCard.statCardHighlight {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-color: #dee2e6;
}
.statCard .statIcon {
  width: 48px;
  height: 48px;
  background: rgba(108, 117, 125, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}
.statCard .statIcon svg {
  width: 24px;
  height: 24px;
}
.statCard .statContent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.statCard .statContent .statLabel {
  font-size: 14px;
  color: #666;
}
.statCard .statContent .statValue {
  font-size: 24px;
  font-weight: 700;
  color: #495057;
}
.ctaContent {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .ctaContent {
    padding: 24px;
  }
}
.ctaContent .ctaText {
  margin-bottom: 32px;
}
.ctaContent .ctaText h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}
.ctaContent .ctaText p {
  font-size: 16px;
  line-height: 26px;
  color: #373737;
}
.ctaContent .ctaText p strong {
  color: #d12e36;
}
.ctaContent .ctaText .highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 24px;
}
.ctaContent .ctaText .highlight svg {
  color: #d12e36;
  flex-shrink: 0;
}
.ctaContent .ctaText .highlight span strong {
  color: #d12e36;
}
.ctaContent .ctaButtons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .ctaContent .ctaButtons {
    flex-direction: column;
  }
}
.ctaContent .ctaButtons button {
  flex: 1;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.ctaContent .ctaButtons .btnPrimary {
  background: #d12e36;
  color: #fff;
}
.ctaContent .ctaButtons .btnPrimary:hover {
  background: #a31f25;
  transform: translateY(-2px);
}
.ctaContent .ctaButtons .btnSecondary {
  background: #fff;
  color: #d12e36;
  border: 2px solid #d12e36;
}
.ctaContent .ctaButtons .btnSecondary:hover {
  background: #d12e36;
  color: #fff;
  transform: translateY(-2px);
}
.trustBadges {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.trustBadges .trustBadge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #373737;
}
.trustBadges .trustBadge svg {
  color: #d12e36;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.valuation-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.valuation-modal-overlay .modal-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #fff;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
@media (max-width: 768px) {
  .valuation-modal-overlay .modal-box {
    padding: 32px 20px;
  }
}
.valuation-modal-overlay .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}
.valuation-modal-overlay .modal-close:hover {
  color: #0f172a;
}
.valuation-modal-overlay .modal-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.valuation-modal-overlay .modal-title {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  color: #495057;
  margin-bottom: 24px;
}
.valuation-modal-overlay .modal-title span {
  color: #d12e36;
  font-weight: 700;
}
.valuation-modal-overlay .modal-title strong {
  color: #0f172a;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Lato", sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
  border-color: #d12e36;
}
.form-group .error-msg {
  font-size: 12px;
  color: #d12e36;
  font-weight: 500;
  min-height: 16px;
}
.form-group.has-error input,
.form-group.has-error select {
  border-color: #d12e36;
  background-color: #fffafb;
}
.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.form-checkboxes .checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
}
.form-checkboxes .checkbox-label input {
  margin-top: 2px;
  accent-color: #d12e36;
}
.btnSubmitForm {
  width: 100%;
  padding: 14px;
  background: #d12e36;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btnSubmitForm:hover {
  background: #a31f25;
}
.modal-loader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.project-gallery-instance {
  margin: 3rem auto;
  width: 100%;
  max-width: 1400px;
}
.project-gallery-instance .gallery-grid {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 0 15px;
  margin-bottom: 50px;
}
.project-gallery-instance .gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 36px;
}
.project-gallery-instance .gallery-item:hover .showGallery {
  opacity: 1;
}
.project-gallery-instance .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.gallery-item:hover .project-gallery-instance .gallery-img {
  transform: scale(1.03);
}
.project-gallery-instance .gallery-caption {
  padding: 1rem 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}
.project-gallery-instance .showGallery {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 36px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-gallery-instance .showGallery span {
  background-color: #d12e36;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-size: 14px;
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.lightbox-overlay .lightbox-modal {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-overlay .lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 24px;
}
.lightbox-overlay .lightbox-caption {
  color: #fff;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
.lightbox-overlay .lightbox-close,
.lightbox-overlay .lightbox-prev,
.lightbox-overlay .lightbox-next {
  position: absolute;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-overlay .lightbox-close:hover,
.lightbox-overlay .lightbox-prev:hover,
.lightbox-overlay .lightbox-next:hover {
  color: #d12e36;
}
.lightbox-overlay .lightbox-close {
  top: -40px;
  right: 0;
}
.lightbox-overlay .lightbox-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .lightbox-overlay .lightbox-prev {
    left: 10px;
  }
}
.lightbox-overlay .lightbox-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .lightbox-overlay .lightbox-next {
    right: 10px;
  }
}
.mainData {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .mainData {
    margin: 40px auto;
  }
}
.priceSection {
  display: flex;
  justify-content: center;
}
.priceBox {
  width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 32px;
  font-family: "Lato", sans-serif;
}
.priceBox * {
  line-height: 1.4;
}
.priceBox h2 {
  font-weight: 700;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 28px;
  color: #111;
}
@media (max-width: 768px) {
  .priceBox h2 {
    font-size: 22px;
    text-align: center;
  }
}
.tableHeader {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: #f6f7f8;
  border: 1px solid #ececec;
  padding: 0;
}
.tableHeader span {
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}
.tableHeader span:first-child {
  text-align: left;
}
@media (max-width: 768px) {
  .tableHeader {
    display: none;
  }
}
.priceTable {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  border-top: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}
.priceTable li {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  transition: background 0.2s ease;
}
.priceTable li:hover {
  background: #fafafa;
}
.priceTable li span {
  padding: 18px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.priceTable li:last-child span {
  border-bottom: none;
}
.priceTable .colTitle {
  font-weight: 600;
  color: #222;
}
.priceTable .colValue,
.priceTable .colUnit {
  text-align: center;
}
.priceTable .colValue .price,
.priceTable .colUnit .price {
  font-weight: 700;
  color: #d12e36;
  border: 0;
}
.priceTable .colValue .btnPrimaryOverlay,
.priceTable .colUnit .btnPrimaryOverlay {
  font-size: 15px;
  font-weight: 600;
  color: #d12e36;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  padding: 0;
}
.priceTable .colValue .btnPrimaryOverlay:hover,
.priceTable .colUnit .btnPrimaryOverlay:hover {
  color: #a7252b;
}
.priceTable .colAction {
  text-align: center;
  padding: 17px 12px;
}
.priceTable .colAction button {
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  color: #d12e36;
}
.priceTable .colAction button:after {
  content: "";
  display: block;
  width: 0%;
  height: 1px;
  background: #d12e36;
  transition: width 0.2s ease;
  margin-top: 2px;
}
.priceTable .colAction button:hover:after {
  width: 100%;
}
@media (max-width: 768px) {
  .priceTable {
    gap: 12px;
    border: none;
  }
  .priceTable li {
    display: block;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  }
  .priceTable li span {
    display: block;
    padding: 4px 0;
    border: none;
    text-align: left !important;
  }
  .priceTable li .colTitle {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .priceTable li .colValue {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .priceTable li .colUnit {
    font-size: 14px;
    color: #555;
    display: none;
  }
  .priceTable li .colAction {
    margin-top: 6px;
    padding: 0;
  }
  .priceTable li .colAction button {
    padding: 0;
  }
}
.house-designs .promo-bar h2::before {
  display: none;
}
.house-designs .page-entry ul {
  list-style-type: disc;
  margin: 0 0 15px 45px;
}
.house-designs .page-entry ul li {
  padding: 3px 0;
  font-weight: 300;
  font-size: var(--fontSize);
  line-height: 32px;
}
.house-designs .page-entry ul li::marker,
.house-designs .page-entry ol li::marker {
  color: #d12e36;
  font-weight: 600;
}
.project-filters-top-wrapper {
  width: 100%;
  margin: 24px 0;
  max-width: 1920px;
  padding: 0 15px;
}
.filters-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
.filters-bar * {
  box-sizing: border-box;
}
/* --- METRAŻ --- */
.filter-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.area-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.area-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.area-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #ffffff;
  padding: 0 14px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  color: #111111;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.area-input:focus {
  border-color: #d12e36;
  box-shadow: 0 0 0 3px rgba(209, 46, 54, 0.08);
}
.area-input::placeholder {
  color: #b8b8b8;
}
.area-input::-webkit-outer-spin-button,
.area-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* --- SELECTY --- */
.filter-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #ffffff;
  padding: 0 14px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  color: #111111;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.filter-select:focus {
  border-color: #d12e36;
  box-shadow: 0 0 0 3px rgba(209, 46, 54, 0.08);
}
/* --- PRZYCISKI --- */
.filter-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-button {
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: #d12e36;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.25s ease;
}
.search-button:hover {
  background: #b52229;
  transform: translateY(-1px);
}
.clear-button {
  border: none;
  background: transparent;
  color: #555555;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  transition: 0.25s ease;
}
.clear-button:hover {
  color: #d12e36;
}
/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1280px) {
  .filters-bar {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
  .filter-select:nth-of-type(3) {
    grid-column: 1 / 2;
  }
  .filter-buttons {
    grid-column: 2 / 4;
    justify-content: flex-end;
  }
}
@media (max-width: 900px) {
  .filters-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filter-area {
    grid-column: 1 / -1;
  }
  .filter-buttons {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .filters-bar {
    grid-template-columns: 1fr;
    padding: 12px 12px 14px;
  }
  .filter-area {
    margin-bottom: 4px;
  }
  .filter-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  .search-button {
    flex: 0 0 auto;
  }
  .area-row {
    grid-template-columns: 1fr;
  }
}
.project-filters-panel-wrapper {
  width: 100%;
  padding: 0 15px;
}
.panel-top-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.page-header .page-title {
  margin: 0 0 8px 0;
  font-family: "Lato", sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: #111111;
}
.page-header .desc {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 15px;
}
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.count-box,
.toggle-button {
  min-height: 47px;
  padding: 2px 18px 0;
  border-radius: 12px;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.count-box {
  display: flex;
  align-items: center;
  background: #fff5f5;
  color: #111111;
  border: 1px solid rgba(209, 46, 54, 0.12);
}
.count-box svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.count-box strong {
  color: #d12e36;
  margin: 0 4px;
}
.toggle-button {
  border: 1px solid #d8dde3;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s ease;
}
.toggle-button svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.toggle-button:hover {
  border-color: #d12e36;
  color: #d12e36;
}
/* --- GLÓWNY PANEL --- */
.advanced-filters-panel {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
}
.filters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.filter-card {
  padding: 18px;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  background: #fcfcfc;
}
.filter-card h3 {
  margin: 0 0 14px 0;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #111111;
}
/* --- INPUTY I ZAKRESY --- */
.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.range-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #ffffff;
  padding: 0 14px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.range-row input:focus {
  border-color: #d12e36;
  box-shadow: 0 0 0 3px rgba(209, 46, 54, 0.08);
}
/* --- UKRYTE CHECKBOXY JAKO CHIP-BUTTONS --- */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-label {
  min-width: 46px;
  height: 46px;
  padding: 1px 14px 0;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #ffffff;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  user-select: none;
}
.chip-label input[type="checkbox"] {
  display: none;
  /* Ukrywamy surowy checkbox */
}
.chip-label:hover {
  border-color: #d12e36;
  color: #d12e36;
}
.chip-label.active {
  border-color: #d12e36;
  background: #d12e36;
  color: #ffffff;
}
/* --- LISTY CHECKBOXÓW --- */
.checkbox-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  color: #222222;
  cursor: pointer;
}
.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: #d12e36;
  margin: 0;
}
/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1100px) {
  .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkbox-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .panel-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .filters-grid {
    grid-template-columns: 1fr;
  }
  .advanced-filters-panel {
    padding: 16px;
  }
  .filter-card {
    padding: 16px;
  }
  .range-row {
    grid-template-columns: 1fr;
  }
  .panel-actions {
    width: 100%;
    justify-content: stretch;
  }
  .count-box,
  .toggle-button {
    width: 100%;
    justify-content: center;
  }
}
.promo-bar {
  width: 100%;
  padding: 32px 16px;
  box-sizing: border-box;
}
.promo-bar * {
  box-sizing: border-box;
}
.promo-bar .pb-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 24px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(20, 30, 20, 0.08);
}
.promo-bar .pb-header {
  margin-bottom: 20px;
}
.promo-bar .pb-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #a1302c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.promo-bar .pb-eyebrow::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: #a1302c;
}
.promo-bar .pb-title {
  margin: 0 0 5px;
  font-size: clamp(14px, 4vw, 22px);
  line-height: 1.08;
  color: #111827;
}
.promo-bar .pb-subtitle {
  max-width: 920px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}
.promo-bar .pb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.promo-bar .pb-card {
  display: flex;
  gap: 18px;
  padding: 13px 18px;
  background: #ffffff;
  border-right: 2px solid #F0F4F2;
  border-bottom: 2px solid #F0F4F2;
}
.promo-bar .pb-card:last-child {
  border: 0;
}
.promo-bar .pb-card:nth-child(4),
.promo-bar .pb-card:nth-child(8) {
  border-right: 0;
}
.promo-bar .pb-card:nth-child(9),
.promo-bar .pb-card:nth-child(10),
.promo-bar .pb-card:nth-child(11) {
  border-bottom: 0;
}
.promo-bar .pb-badge {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #F6F8F5;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
}
.promo-bar .pb-icon {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #2f6b57;
}
.promo-bar .pb-icon svg {
  display: block;
}
.promo-bar .pb-content h3 {
  margin: 0 0;
  font-size: 15px;
  line-height: 1.3;
  color: #111827;
}
.promo-bar .pb-content p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4b5563;
}
.promo-bar .pb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 10px 24px 10px 24px;
  border-radius: 24px;
  background: #F6F8F5;
  position: relative;
}
.promo-bar .pb-cta-text h3 {
  margin: 0 0;
  font-size: 16px;
  line-height: 1.2;
  color: #111827;
}
.promo-bar .pb-cta-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}
.promo-bar .pb-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.promo-bar .pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  padding: 0 22px 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.promo-bar .pb-btn svg {
  flex-shrink: 0;
}
.promo-bar .pb-phone {
  background: #2f6b57;
  color: #ffffff;
}
.promo-bar .pb-phone:hover {
  background: #255544;
}
.promo-bar .pb-mail {
  background: #ffffff;
  color: #2f6b57;
  border: 2px solid #2f6b57;
}
.promo-bar .pb-mail:hover {
  background: #f4faf7;
}
@media (max-width: 1200px) {
  .promo-bar .pb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .promo-bar .pb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .promo-bar .pb-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 766px) {
  .promo-bar .pb-card {
    border: 0;
  }
}
@media (max-width: 640px) {
  .promo-bar {
    padding: 20px 12px;
  }
  .promo-bar .pb-inner {
    padding: 24px 16px 16px;
    border-radius: 20px;
  }
  .promo-bar .pb-grid {
    grid-template-columns: 1fr;
  }
  .promo-bar .pb-card {
    min-height: auto;
    padding: 20px 14px;
  }
  .promo-bar .pb-title {
    font-size: 30px;
  }
  .promo-bar .pb-subtitle {
    font-size: 16px;
  }
  .promo-bar .pb-cta {
    padding: 20px 16px;
  }
  .promo-bar .pb-cta-text h3 {
    font-size: 22px;
  }
  .promo-bar .pb-cta-text p {
    font-size: 16px;
  }
  .promo-bar .pb-cta-actions {
    width: 100%;
  }
  .promo-bar .pb-btn {
    width: 100%;
  }
}
.quickQuoteBar {
  width: 100%;
  padding: 32px 16px;
}
.inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 28px;
  background: linear-gradient(135deg, #f6f8f5 0%, #eef4f1 100%);
  border: 1px solid #e3ebe6;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(20, 30, 20, 0.06);
}
.iconWrap {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #ffffff;
  color: #2f6b57;
  box-shadow: 0 6px 18px rgba(47, 107, 87, 0.12);
}
.iconWrap :global(svg) {
  display: block;
}
.text {
  flex: 1 1 auto;
  max-width: 774px;
}
.text h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.15;
  color: #111827;
  max-width: 980px;
}
.text h2:before {
  display: none !important;
}
.text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 860px;
}
.actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #2f6b57;
  font-size: 14px;
  font-weight: 700;
}
.time :global(svg) {
  flex-shrink: 0;
}
.ctaLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #2f6b57;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(47, 107, 87, 0.2);
}
.ctaLink :global(svg) {
  flex-shrink: 0;
}
.ctaLink:hover {
  background: #255544;
  transform: translateY(-1px);
}
@media (max-width: 1024px) {
  .content {
    flex-direction: column;
    align-items: flex-start;
  }
  .actions {
    width: 100%;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .quickQuoteBar {
    padding: 20px 12px;
  }
  .content {
    padding: 22px 16px;
    border-radius: 20px;
    gap: 18px;
  }
  .iconWrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }
  .text h2 {
    font-size: 24px;
  }
  .text p {
    font-size: 14px;
  }
  .actions {
    width: 100%;
  }
  .time,
  .ctaLink {
    width: 100%;
  }
}
