@charset "UTF-8";
.carousel-container {
  width: 80%;
  overflow: hidden;
  margin: auto;
  position: relative;
  padding: 20px;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  margin-bottom: 10rem;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.comment {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-gap: 2rem;
  min-width: calc(33.3333333333% - 20px);
  background: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  user-select: none;
  font-size: 18px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  align-self: start; /* Zapobiega rozciąganiu */
  height: auto; /* Umożliwia dynamiczne zwiększanie */
}
.comment__img {
  align-self: center;
}
.comment__name {
  display: grid;
  text-align: center;
  align-self: center;
}
.comment__name__name {
  font-size: 1.9rem;
  font-weight: 600;
}
.comment__name__data {
  font-size: 1.4rem;
}
.comment__name__stars {
  font-size: 1.7rem;
  color: var(--color-gold-light);
}
.comment__text {
  font-size: 1.8rem;
  grid-column: span 2;
  max-height: 100px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease-in-out;
}
.comment__text.expanded {
  max-height: 500px;
}
.comment__btn {
  grid-column: span 2;
  text-transform: uppercase;
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--color-gold-light);
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 900px) {
  .comment {
    min-width: calc(50% - 20px); /* 2 opinie */
  }
}
@media (max-width: 700px) {
  .comment {
    min-width: 100%; /* 1 opinia na całą szerokość */
  }
}
/*
COLORS

Grey light 1: #faf9f9
Grey light 2: #f4f2f2
Grey light 3: #f0eeee
Grey light 4: #ccc

Grey dark 1: #333
Grey dark 2: #777
Grey dark 3: #999

*/
:root {
  --color-primary: #1a296f;
  --color-primary-light: #48548c;
  --color-primary-dark: #152159;
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-0: #292929;
  --color-grey-dark-1: #333;
  --color-grey-dark-15: #2e2e2e;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;
  --color-grey-dark-4: #a3a3a3;
  --color-gold: #996e23;
  --color-gold-dark: #7a581c;
  --color-gold-light: #ad8b4f;
  --default-font-size: 1.6rem;
  --grid-width: 114rem;
  --gutter-vertical: 8rem;
  --gutter-vertical-small: 6rem;
  --gutter-horizontal: 6rem;
}

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

@media only screen and (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
}
@media only screen and (max-width: 56.25em) {
  html {
    font-size: 50%;
  }
}
@media only screen and (min-width: 112.5em) {
  html {
    font-size: 75%;
  }
}
body {
  font-family: "Darker Grotesque", "Open sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}

.heading-primary {
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 3.2rem;
}

.heading-secondary {
  font-size: 6.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}
@media only screen and (max-width: 27em) {
  .heading-secondary {
    font-size: 4.4rem;
  }
}
@media only screen and (max-width: 25em) {
  .heading-secondary {
    font-size: 3.4rem;
  }
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 500;
  color: #333;
  letter-spacing: -0.5px;
}

.fn-wg-500 {
  font-weight: 500;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(153, 110, 35, 0.5);
}

.subheading {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}
@media only screen and (max-width: 43.75em) {
  .grid--2--cols {
    grid-template-columns: 1fr;
  }
}

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

.grid--4--cols {
  grid-template-columns: repeat(4, 1fr);
}

.row {
  max-width: 114rem;
  margin: 0 auto;
}
.row:not(:last-child) {
  margin-bottom: 8rem;
}
@media only screen and (max-width: 56.25em) {
  .row {
    max-width: 50rem;
    padding: 0 3rem;
    margin-top: -35rem;
  }
}
.row .clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.row [class^=col-] {
  float: left;
}
.row [class^=col-]:not(:last-child) {
  margin-right: 6rem;
}
.row .col-1-of-2 {
  width: calc((100% - 6rem) / 2);
}
.row .col-1-of-3 {
  width: calc((100% - 2 * 6rem) / 3);
}
.row .col-2-of-3 {
  width: calc((100% - 2 * 6rem) / 3 * 2 + 6rem);
}
.row .col-1-of-4 {
  width: calc((100% - 3 * 6rem) / 4);
}
@media only screen and (max-width: 56.25em) {
  .row .col-1-of-4 {
    width: 100%;
    margin-bottom: 2rem;
  }
}
.row .col-2-of-4 {
  width: calc((100% - 3 * 6rem) / 4 * 2 + 6rem);
}
.row .col-3-of-4 {
  width: calc((100% - 3 * 6rem) / 4 * 3 + 2 * 6rem);
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  text-transform: uppercase;
  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  /* Put transition on orginal "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
}
@media only screen and (max-width: 31.25em) {
  .btn,
  .btn:link,
  .btn:visited {
    font-size: 1.4rem;
  }
}

.btn--full:link,
.btn--full:visited {
  background-color: #996e23;
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  color: #fff;
  background-color: #7a581c;
}

.btn--form:active,
.btn--full:active,
.btn--outline:active,
.btn--lineout:active {
  transform: translateY(2px);
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff 0.4;
  color: #555;
}

.btn--lineout:link,
.btn--lineout:visited {
  background-color: transparent;
  color: #555;
  border: 2.5px solid #996e23;
}

.btn--lineout:hover,
.btn--lineout:active {
  background-color: #e9e9e9;
  /* border: 3px solid #fff; */
  /* Trick to add border inside */
}

.btn--full:hover,
.btn--form:hover,
.btn--outline:hover,
.btn--lineout:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.btn--outline:hover,
.btn--outline:active {
  background-color: transparent;
  /* border: 3px solid #fff; */
  /* Trick to add border inside */
  box-shadow: inset 0 0 0 3px #7a581c;
}

.btn-flex {
  display: flex;
  gap: 1rem;
}

.btn--form {
  background-color: var(--color-gold);
  color: #fdf2e9;
  align-self: end;
  padding: 1.3rem;
}

.btn--form:hover {
  background-color: #fdf2e9;
  color: #555;
}

.container {
  /* 1140px */
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.container-144 {
  max-width: 144rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
@media only screen and (max-width: 25em) {
  .container-144 {
    padding: 0 0.1rem;
  }
}

.container-144-pad {
  max-width: 144rem;
  padding: 0 1.2rem;
  margin: 0 auto;
}

.container-wide {
  max-width: 150rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.container--form {
  max-width: 160rem;
  padding: 0 4.4rem;
  margin: 0 auto;
}

.container-fluid {
  max-width: 100vw;
  padding: 0 0rem;
  margin: 0 auto;
}

.container-fluid-95 {
  max-width: 95vw;
  padding: 0 0rem;
  margin: 0 auto;
}

.container--choice {
  max-width: 100vw;
  padding: 0;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

@media only screen and (max-width: 50em) {
  .grid {
    column-gap: 4.8rem;
    row-gap: 6.4rem;
  }
}
@media only screen and (max-width: 43em) {
  .grid {
    row-gap: 16rem;
  }
}
@media only screen and (max-width: 25em) {
  .grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 14rem;
  }
}
.margin-tb {
  margin-bottom: 2.5rem !important;
  margin-top: 2.5rem !important;
}

.mb-sm {
  margin-bottom: 2rem !important;
}

.mb-md {
  margin-bottom: 4rem !important;
}

.mb-bg {
  margin-bottom: 6rem !important;
}

.mt-sm {
  margin-top: 2rem !important;
}

.mt-md {
  margin-top: 4rem !important;
}

.mt-bg {
  margin-top: 6rem !important;
}

.mt-hg {
  margin-top: 16rem !important;
}

.gold-col {
  color: var(--color-gold) !important;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-primary-light);
  height: 6.6rem;
  padding: 0 4.8rem;
  position: relative;
}
@media only screen and (max-width: 31.25em) {
  .header {
    padding: 4rem 1.8rem;
  }
}

.logo {
  height: 7rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.3;
  overflow: hidden;
}
@media (max-width: 29em) {
  .bg-video {
    height: 110%;
  }
}
.bg-video__content {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 37em) {
  .bg-video__content {
    display: none;
  }
}
.bg-video {
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  max-width: 150rem;
  margin: 0 auto;
  padding: 30rem 3.2rem;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 9.6rem;
  align-items: center;
  gap: 20rem;
}
.hero-text-box {
  grid-column: 2;
}

@media only screen and (max-width: 64em) {
  .hero {
    padding: 15rem 3.2rem;
    margin-bottom: 30rem;
  }
}
@media only screen and (max-width: 56.25em) {
  .hero {
    display: block;
    padding: 30rem 12rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .hero {
    padding: 20em 2rem 10rem 2rem;
    margin-bottom: 0;
  }
}
.color-text {
  color: var(--color-gold-light);
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

/************************/
/* CTA SECTION */
/************************/
.cta-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 85vh;
  background-image: linear-gradient(to right bottom, #f5f1e9, #ebe2d3);
}
@media only screen and (max-width: 26.625em) {
  .cta-choice {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 42vh);
  }
}
.cta-choice-right {
  align-self: center;
}
.cta-choice-right-background {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 40em) {
  .cta-choice-right-background {
    padding: 3rem;
  }
}
@media only screen and (max-width: 25em) {
  .cta-choice-right-background {
    padding: 5rem;
  }
}
.cta-choice-right-background:hover {
  background-color: var(--color-gold-light);
  transition: 0.4s ease-in-out;
}
.cta-choice-left {
  align-self: center;
}
.cta-choice-left-background {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 40em) {
  .cta-choice-left-background {
    padding: 3rem;
  }
}
@media only screen and (max-width: 25em) {
  .cta-choice-left-background {
    padding: 5rem;
  }
}
.cta-choice-left-background:hover {
  background-color: var(--color-gold-light);
  transition: 0.4s ease-in-out;
}
.cta-choice-left-background:hover::after, .cta-choice-right-background:hover::after {
  content: "";
  background: url("../img/logo-aim.png") no-repeat center;
  background-size: 40%; /* Dopasuj rozmiar logo */
  position: absolute;
  top: 10rem;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: background opacity 0.7s ease-in-out;
  z-index: 0;
}

.section-cta {
  padding: 4.8rem 0 12.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;
  background-image: linear-gradient(to right bottom, var(--color-primary-light), var(--color-primary));
  overflow: hidden;
}
@media only screen and (max-width: 64em) {
  .cta {
    display: block;
  }
}

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: var(--color-gold-light);
}

.cta .heading-primary {
  color: var(--color-gold-light);
  margin-bottom: 1.2rem;
}

.heading-primary {
  font-size: 5.9rem;
  font-weight: 600;
}

.heading-secondary {
  margin-bottom: 4rem;
  font-weight: 500;
  color: var(--color-grey-dark-15);
}

.cta-text {
  font-size: 2rem;
  line-height: 1.8;
  padding: 1.2rem 0;
  font-weight: 600;
}

.cta-img-box {
  background-image: url("../img/house.png"), linear-gradient(to right bottom, var(--color-primary-light), var(--color-primary));
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}
@media only screen and (max-width: 35em) {
  .cta-form {
    grid-template-columns: 1fr;
  }
}

.cta-form label {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #f5f1e9;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

input::placeholder {
  color: var(--color-grey-dark-3) !important;
}

input:focus::placeholder {
  color: var(--color-gold-dark) !important;
}

.form-container.hidden {
  display: none;
}

/************************/
/* CONTACT SECTION */
/************************/
#contact {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.form-group {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold-dark);
}

.contact-container {
  max-width: 100rem;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.contact-logo {
  width: 70%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.contact-form-container,
.contact-info {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold-dark);
}

.form-group textarea::placeholder {
  color: var(--color-grey-dark-3);
  opacity: 1;
}

button[type=submit] {
  padding: 10px 20px;
  border: none;
  background-color: var(--color-gold);
  color: #fff;
  font-size: 1.4rem;
  border-radius: 5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type=submit]:hover {
  background-color: var(--color-gold-dark);
}

.text-contact {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}
@media only screen and (max-width: 48em) {
  .text-contact {
    margin-bottom: 2rem;
  }
}
.text-contact a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/************************/
/* FEATURED IN SECTION */
/************************/
.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}

.heading-featured-in {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logos img {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}

/************************/
/* FOOTER SECTION */
/************************/
.footer {
  padding: 12.8rem 0;
  background-color: var(--color-primary-light);
  color: var(--color-gold);
}

.grid-footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

@media only screen and (max-width: 50em) {
  .grid-footer {
    grid-template-columns: repeat(6, 1fr);
  }
}
.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.fot-logo {
  height: 4.3rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--color-gold);
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
  color: var();
  font-weight: 600;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--color-grey-light-4);
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: var(--color-grey-dark-2);
}

@media (max-width: 44em) {
  .logo-col,
  .address-col {
    grid-column: span 3;
  }
  .nav-col {
    grid-row: 1;
    grid-column: span 2;
  }
}
/************************/
/* HOW IT WORKS SECTION */
/************************/
.section-how {
  padding: 9.6rem 0;
}

.step-text {
  font-size: 2rem;
  line-height: 1.8;
  margin-top: -3rem;
}
@media only screen and (max-width: 25em) {
  .step-text {
    line-height: 1.4;
  }
}

.step-number {
  font-size: 8.6rem;
  font-weight: 700;
  color: #ddd;
}

.step-resume {
  color: #333;
  border-top: 1px solid var(--color-gold);
  text-align: center;
}

.step-logo {
  height: 40%;
  width: 40%;
  margin-bottom: 2rem;
}

.step-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 43em) {
  .step-img-box__1 {
    grid-row: 2/3;
  }
  .step-img-box__3 {
    grid-row: 6/7;
  }
  .step-img-box__5 {
    grid-row: 10/11;
  }
  .step-img-box__7 {
    grid-row: 14/15;
  }
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img-box::before {
  width: 60%;
  padding-bottom: 60%;
  background-color: #c8ccdd;
  z-index: -2;
}

.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #dadde8;
  z-index: -1;
}

.step-img {
  width: 40%;
  max-height: 18rem;
  border-radius: 20%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}
@media only screen and (max-width: 28em) {
  .step-img {
    -max-height: 10rem;
  }
}

.step-description {
  font-size: 2rem;
  line-height: 1.8;
}
@media only screen and (max-width: 25em) {
  .step-description {
    line-height: 1.4;
  }
}

.opinie {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4000px 0;
  background-color: #f8f9fa;
}

.section-features {
  padding: 55vh 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/how-it-work.jpg);
  background-size: cover;
  transform: skewY(-7deg);
  margin: 16rem 0;
}
.section-features > * {
  transform: skewY(7deg);
}
@media only screen and (max-width: 64em) {
  .section-features > * {
    transform: skewY(0deg);
  }
}
@media only screen and (max-width: 56.25em) {
  .section-features {
    padding: 10rem 0;
  }
}
@media only screen and (max-width: 64em) {
  .section-features {
    transform: skewY(0deg);
    padding: 35vh 2rem 60vh 2rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .section-features {
    padding: 45vh 2rem 85vh 2rem;
  }
}
@media only screen and (max-width: 29em) {
  .section-features {
    padding: 50vh 2rem 92vh 2rem;
  }
}

.feature-box {
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}
.feature-box__icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  color: var(--color-gold);
}
.feature-box:hover {
  transform: translateY(-1.5rem);
}

.future-heading {
  font-size: 8rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 700;
  text-align: center;
  color: #413838;
  margin-bottom: 7rem;
}
@media only screen and (max-width: 56.25em) {
  .future-heading {
    display: none;
  }
}

.about-us__grid {
  display: grid;
  grid-template-columns: 1fr 35.5rem;
  padding: 10rem 2rem;
  gap: 10rem;
}
.about-us__grid__left__content {
  font-size: 2rem;
  border-top: solid 2px var(--color-gold);
}
.about-us__grid__left__content__photo {
  display: block;
  margin: auto;
  max-width: 100rem;
  height: auto;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 100em) {
  .about-us__grid__left__content__photo {
    margin-top: 10rem;
    max-width: 85rem;
  }
}
@media only screen and (max-width: 87.5em) {
  .about-us__grid__left__content__photo {
    margin-top: 10rem;
    max-width: 75rem;
  }
}
@media only screen and (max-width: 81.25em) {
  .about-us__grid__left__content__photo {
    margin-top: 10rem;
    max-width: 65rem;
  }
}
@media only screen and (max-width: 56.25em) {
  .about-us__grid__left__content__photo {
    width: 60rem;
  }
}
@media only screen and (max-width: 50em) {
  .about-us__grid__left__content__photo {
    width: 55rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .about-us__grid__left__content__photo {
    width: 36rem;
  }
}
.about-us__grid__left__content p {
  margin-bottom: 3rem;
}
.about-us__grid__left__title {
  font-size: 3rem;
  color: var(--color-grey-light-4);
  text-transform: uppercase;
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  filter: brightness(0);
  opacity: 50%;
}
@media only screen and (max-width: 31.25em) {
  .about-us__grid__left__title {
    line-height: 1;
  }
}
.about-us__grid__right p {
  font-size: 1.8rem;
  margin-bottom: 4.5rem;
  color: var(--color-grey-light);
}
.about-us__grid__right p:first-child {
  margin-top: 8rem;
}
.about-us__grid__right p:last-of-type {
  margin-bottom: 11rem;
}
.about-us-logo {
  height: 4rem;
}

@media only screen and (max-width: 66em) {
  .about-us__grid {
    display: block;
  }
}
.banner {
  background-size: cover;
  height: 80vh;
}
@media only screen and (max-width: 31.25em) {
  .banner {
    height: 55vh;
  }
}
.banner__finansowanie {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/finansowanie-tlo.jpg);
  background-position: 50% 70%;
}
.banner__najem {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/najem-1.jpg);
  background-position: 50% 70%;
}
.banner__home-staging {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/homestaging-1.jpg);
  background-position: 50% 70%;
}
.banner__zakup {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/zakup-1.jpg);
  background-position: 50% 70%;
}
.banner__sprzedaz {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/sprzedaz-1.jpg);
  background-position: 50% 70%;
}
.banner__wynajem {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(51, 51, 51, 0.8)), url(../img/wynajem-1.jpg);
  background-position: 50% 70%;
}
.banner__wrapper {
  max-width: 140rem;
  padding: 30rem 4.4rem;
  margin: 0 auto;
}
@media only screen and (max-width: 64em) {
  .banner__wrapper {
    padding: 12rem 10rem;
  }
}
@media only screen and (max-width: 27em) {
  .banner__wrapper {
    padding: 3rem 5rem;
  }
}
@media only screen and (max-width: 25em) {
  .banner__wrapper {
    padding: 8rem 6rem;
  }
}
.banner__category {
  font-size: 1.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 5rem;
  padding-left: 11rem;
  position: relative;
}
@media only screen and (max-width: 31.25em) {
  .banner__category {
    padding-left: 13rem;
    line-height: 1;
  }
}
@media only screen and (max-width: 25em) {
  .banner__category {
    font-size: 1.4rem;
  }
}
.banner__category::before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 1px;
  background: white;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.banner__text {
  font-size: 6rem;
  text-transform: uppercase;
  color: #fff;
}
@media only screen and (max-width: 31.25em) {
  .banner__text {
    font-size: 5rem;
    line-height: 1.1;
  }
}
@media only screen and (max-width: 25em) {
  .banner__text {
    font-size: 3rem;
    line-height: 1.1;
  }
}

.header__wraper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-top: 5rem;
  gap: 5rem;
  margin-bottom: 15rem;
}
@media only screen and (max-width: 31.25em) {
  .header__wraper {
    grid-template-columns: 1fr;
  }
}
.header__wraper-left {
  margin-bottom: 2rem;
}
.header__wraper-left-heading {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--color-gold);
  position: absolute;
  padding-left: 11rem;
  margin-bottom: 2rem;
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-left-heading {
    padding-left: 13rem;
  }
}
.header__wraper-left-heading::before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 0.5px;
  background: var(--color-gold);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.header__wraper-left-category {
  font-size: 5rem;
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 2rem;
  color: var(--color-grey-dark-1);
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-left-category {
    line-height: 1;
  }
}
@media only screen and (max-width: 25em) {
  .header__wraper-left-category {
    margin-top: 6rem;
  }
}
@media only screen and (max-width: 20em) {
  .header__wraper-left-category {
    margin-top: 9rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-left-category__fin {
    margin-top: 7rem;
  }
}
.header__wraper-left-category-text {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--color-grey-dark-1);
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-right {
    justify-self: center;
  }
}
.header__wraper-right__img {
  height: 40rem;
  width: auto;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-right__img {
    height: 28rem;
  }
}
@media only screen and (max-width: 22em) {
  .header__wraper-right__img {
    height: 22rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-right__img__zakup {
    height: 49rem;
  }
}
@media only screen and (max-width: 25em) {
  .header__wraper-right__img__zakup {
    height: 35rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-right__img__najem {
    height: 35rem;
  }
}
@media only screen and (max-width: 25em) {
  .header__wraper-right__img__najem {
    height: 25rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-right__img__hs {
    height: 34rem;
  }
}
@media only screen and (max-width: 25em) {
  .header__wraper-right__img__hs {
    height: 25rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .header__wraper-right__img__fin {
    height: 24rem;
  }
}
@media only screen and (max-width: 25em) {
  .header__wraper-right__img__fin {
    height: 20rem;
  }
}

.container-fluid-bg {
  width: 100%;
  background-color: var(--color-primary-light);
  margin-bottom: 2rem;
}
.container-fluid-bg .section-discription-block {
  display: grid;
  justify-content: center;
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block {
    text-align: center;
  }
}
.container-fluid-bg .section-discription-block-right {
  color: var(--color-grey-light-3);
}
@media only screen and (max-width: 50em) {
  .container-fluid-bg .section-discription-block-right {
    margin-right: 2rem;
  }
}
.container-fluid-bg .section-discription-block-right-heading {
  font-weight: 700;
  font-size: 5em;
  margin-bottom: 5rem;
}
@media only screen and (max-width: 64em) {
  .container-fluid-bg .section-discription-block-right-heading {
    line-height: 1;
  }
}
.container-fluid-bg .section-discription-block-right-text {
  font-size: 1.6rem;
  margin-bottom: 3.5rem;
}
@media only screen and (max-width: 64em) {
  .container-fluid-bg .section-discription-block-right-text {
    font-size: 1.9rem;
    margin-bottom: 2rem;
  }
}
.container-fluid-bg .section-discription-block-right-text:last-child {
  margin-bottom: 10rem;
}
.container-fluid-bg .section-discription-block-left {
  position: relative;
}
.container-fluid-bg .section-discription-block-left__img {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 21.5rem;
  height: 95rem;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 64em) {
  .container-fluid-bg .section-discription-block-left__img {
    top: 46%;
    left: -40%;
    width: 25rem;
    height: 105rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .container-fluid-bg .section-discription-block-left__img {
    top: 46%;
    left: 31%;
    width: 18rem;
  }
}
@media only screen and (max-width: 22em) {
  .container-fluid-bg .section-discription-block-left__img {
    width: 10rem;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block-left__img {
    display: none;
  }
}
.container-fluid-bg .section-discription-block-left__img-hs {
  object-position: 75% 50%;
}
@media only screen and (max-width: 31.25em) {
  .container-fluid-bg .section-discription-block-left__img-hs {
    top: 46%;
    left: 31%;
    height: 115rem;
    width: 18rem;
  }
}
@media only screen and (max-width: 22em) {
  .container-fluid-bg .section-discription-block-left__img-hs {
    width: 10rem;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block-left__img-hs {
    display: none;
  }
}
.container-fluid-bg .section-discription-block-left__img-zp {
  object-position: 35% 50%;
}
@media only screen and (max-width: 22em) {
  .container-fluid-bg .section-discription-block-left__img-zp {
    width: 10rem;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block-left__img-zp {
    display: none;
  }
}
.container-fluid-bg .section-discription-block-left__img-sp {
  object-position: 50% 50%;
}
@media only screen and (max-width: 22em) {
  .container-fluid-bg .section-discription-block-left__img-sp {
    width: 10rem;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block-left__img-sp {
    display: none;
  }
}
.container-fluid-bg .section-discription-block-left__img-wn {
  object-position: 65% 50%;
}
@media only screen and (max-width: 22em) {
  .container-fluid-bg .section-discription-block-left__img-wn {
    width: 10rem;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block-left__img-wn {
    display: none;
  }
}
@media only screen and (max-width: 64em) {
  .container-fluid-bg .section-discription-block-left__img__fin {
    width: 13rem;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block-left__img__fin {
    display: none;
  }
}
.container-fluid-bg .section-discription-block .section-discription-block-grid {
  width: 80%;
  display: grid;
  grid-template-columns: 2fr 4fr;
  margin-top: 5rem;
  padding-left: 40rem;
  gap: 5rem;
}
@media only screen and (max-width: 52em) {
  .container-fluid-bg .section-discription-block .section-discription-block-grid {
    width: 100%;
    padding-left: 25rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .container-fluid-bg .section-discription-block .section-discription-block-grid {
    padding-left: 9rem;
    line-height: 1.1;
  }
}
@media only screen and (max-width: 27em) {
  .container-fluid-bg .section-discription-block .section-discription-block-grid {
    padding-left: 6rem;
    line-height: 1.1;
  }
}
@media only screen and (max-width: 25em) {
  .container-fluid-bg .section-discription-block .section-discription-block-grid {
    padding: 2rem;
    grid-template-columns: 1fr;
  }
}

.section-workflow__wrapper {
  margin-top: 20rem;
  margin-bottom: 10rem;
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper {
    padding: 1rem;
  }
}
.section-workflow__wrapper__top {
  font-size: 6rem;
  font-weight: 600;
  color: var(--color-grey-dark-1);
  text-align: center;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-gold);
  margin-bottom: 3rem;
}
@media only screen and (max-width: 22em) {
  .section-workflow__wrapper__top {
    line-height: 1;
  }
}
@media only screen and (max-width: 31.25em) {
  .section-workflow__wrapper__top__title__fin {
    line-height: 1.1;
  }
}
.section-workflow__wrapper__bottom {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media only screen and (max-width: 31.25em) {
  .section-workflow__wrapper__bottom {
    line-height: 1.1;
  }
}
@media only screen and (max-width: 34em) {
  .section-workflow__wrapper__bottom {
    display: block;
  }
}
.section-workflow__wrapper__bottom__2x4 {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media only screen and (max-width: 31.25em) {
  .section-workflow__wrapper__bottom__2x4 {
    line-height: 1.1;
  }
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper__bottom__2x4 {
    grid-template-columns: 1fr;
  }
}
.section-workflow__wrapper__bottom__2x6 {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8rem;
}
@media only screen and (max-width: 31.25em) {
  .section-workflow__wrapper__bottom__2x6 {
    line-height: 1;
  }
}
@media only screen and (max-width: 30em) {
  .section-workflow__wrapper__bottom__2x6 {
    display: block;
  }
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper__bottom__2x6 {
    display: block;
  }
}
@media only screen and (max-width: 31.25em) {
  .section-workflow__wrapper__bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper__bottom {
    grid-template-columns: 1fr;
  }
}
.section-workflow__wrapper__bottom__box__last {
  grid-column: 3/4;
}
@media only screen and (max-width: 30em) {
  .section-workflow__wrapper__bottom__box__last {
    grid-column: span 2;
  }
}
@media only screen and (max-width: 34em) {
  .section-workflow__wrapper__bottom__box {
    margin: 2rem;
    margin-bottom: 5rem;
  }
}
.section-workflow__wrapper__bottom__box__2_6 {
  grid-column: span 2;
}
@media only screen and (max-width: 30em) {
  .section-workflow__wrapper__bottom__box__2_6 {
    margin-bottom: 4rem;
  }
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper__bottom__box__2_6 {
    margin-bottom: 1rem;
  }
}
.section-workflow__wrapper__bottom__box__2_6 h3 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper__bottom__box__2_6 h3 {
    margin-bottom: 1rem;
  }
}
.section-workflow__wrapper__bottom__box__2_6 p {
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
}
@media only screen and (max-width: 25em) {
  .section-workflow__wrapper__bottom__box__2_6 p {
    margin-bottom: 2rem;
  }
}
.section-workflow__wrapper__bottom__box__3_6 {
  grid-column: span 3;
}
@media only screen and (max-width: 30em) {
  .section-workflow__wrapper__bottom__box__3_6 {
    margin-bottom: 4rem;
  }
}
.section-workflow__wrapper__bottom__box__3_6 h3 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
}
.section-workflow__wrapper__bottom__box__3_6 p {
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
}
.section-workflow__wrapper__bottom__box h3 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
}
.section-workflow__wrapper__bottom__box p {
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
}

.benefits__wraper {
  background-color: var(--color-grey-light-2);
}
.benefits__wraper__img {
  width: 100%;
  height: 40rem;
  object-fit: cover;
  object-position: center;
}
.benefits__wraper__img-sp {
  object-position: 50% 85%;
}
.benefits__wraper__img-wn {
  object-position: 50% 80%;
}
.benefits__wraper__content {
  margin-top: 3rem;
}
.benefits__wraper__content__title {
  font-size: 3rem;
  margin: 3rem 0;
  font-weight: 500;
  color: var(--color-gold);
  text-align: center;
  text-transform: uppercase;
  border-top: 1px solid var(--color-gold);
}
.benefits__wraper__content__text {
  margin-top: 2rem;
  font-size: 2rem;
}
.benefits__wraper__content__text p {
  margin: 2rem 0;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
}
.benefits__wraper__content__text p:last-child {
  padding-bottom: 5rem;
}
.benefits__wraper__content__text__last {
  font-size: 2rem;
  text-align: center;
}
@media only screen and (max-width: 25em) {
  .benefits__wraper__content__text__last {
    line-height: 1.1;
  }
}
.benefits__wraper__content__text__button {
  padding-bottom: 4rem;
  margin: 5rem 0;
  text-align: center;
}
.benefits__wraper__icon {
  color: var(--color-gold);
  width: 3rem;
  height: 3rem;
  margin-right: 1.5rem;
}

.blog__hero {
  font-size: 7rem;
  padding: 16rem;
  margin-bottom: 20rem;
  color: var(--color-grey-light-1);
  background-image: linear-gradient(rgba(0, 0, 0, 0.459), rgba(255, 255, 255, 0.411)), url(../img/house.png);
  width: auto;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.blog__grid {
  margin: 5rem 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4rem;
}
@media only screen and (max-width: 64em) {
  .blog__grid {
    display: block;
  }
}
.blog__post__date {
  font-size: 1.4rem;
  color: var(--color-grey-dark-1);
  font-weight: 300;
}
.blog__post__title {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--color-grey-dark-1);
  font-weight: 700;
}
.blog__post__text {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 2rem;
}
.blog__post__content {
  margin-top: 0.5rem;
  display: grid;
  grid-template-rows: min-content min-content 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  flex-grow: 1;
}
@media only screen and (max-width: 64em) {
  .blog__post__content__first {
    padding: 3rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .blog__post__content__first {
    padding: 2rem;
  }
}
.blog__post__full {
  grid-column: 1/span 6;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2rem;
  background-color: #f1f1f1;
}
@media only screen and (max-width: 64em) {
  .blog__post__full {
    display: block;
  }
}
.blog__post__small {
  grid-column: span 2;
  margin-bottom: 10rem;
  padding: 2rem;
  background-color: #f1f1f1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex; /* Ustawienie flexboxa */
  flex-direction: column;
}
@media only screen and (max-width: 64em) {
  .blog__post__small__first {
    margin-top: 9rem;
  }
}
.blog__post__img__photo {
  height: 20rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
@media only screen and (max-width: 64em) {
  .blog__post__img__photo {
    height: 35rem;
  }
}
.blog__post__img__photo_full {
  height: 80rem;
  width: 90rem;
  object-fit: cover;
}
@media only screen and (max-width: 64em) {
  .blog__post__img__photo_full {
    height: 50rem;
    width: 100%;
    object-position: 50% 71%;
    padding: 2rem;
  }
}

.btn-pos {
  margin-top: auto; /* Wypycha przycisk na dół */
  text-align: left; /* Wyrównuje przycisk do lewej strony */
}

.article__hero__1 {
  font-size: 7rem;
  padding: 20rem;
  margin-bottom: 5rem;
  color: var(--color-grey-light-1);
  background-image: linear-gradient(rgba(228, 228, 228, 0.411), rgba(61, 93, 161, 0.459)), url(../img/pokoj-jasny-3.jpg);
  width: auto;
  background-size: cover;
  background-position: center;
  text-align: center;
}
@media only screen and (max-width: 64em) {
  .article__hero__1 {
    padding: 15rem 10rem 20rem 10rem;
    line-height: 1;
  }
}
@media only screen and (max-width: 37.5em) {
  .article__hero__1 {
    padding: 15rem 3rem 15rem 3rem;
    line-height: 0.8;
  }
}
.article__hero__2 {
  font-size: 7rem;
  padding: 20rem;
  margin-bottom: 5rem;
  color: var(--color-grey-light-1);
  background-image: linear-gradient(rgba(228, 228, 228, 0.411), rgba(61, 93, 161, 0.459)), url(../img/inwestycja.jpg);
  width: auto;
  background-size: cover;
  background-position: center;
  text-align: center;
}
@media only screen and (max-width: 64em) {
  .article__hero__2 {
    padding: 15rem 10rem 20rem 10rem;
    line-height: 1;
  }
}
@media only screen and (max-width: 37.5em) {
  .article__hero__2 {
    padding: 15rem 3rem 15rem 3rem;
    line-height: 0.8;
  }
}
@media only screen and (max-width: 26.25em) {
  .article__hero__2 {
    font-size: 5rem;
  }
}
.article__hero__3 {
  font-size: 7rem;
  padding: 20rem;
  margin-bottom: 5rem;
  color: var(--color-grey-light-1);
  background-image: linear-gradient(rgba(228, 228, 228, 0.411), rgba(61, 93, 161, 0.459)), url(../img/foto-text.jpg);
  width: auto;
  background-size: cover;
  background-position: center;
  text-align: center;
}
@media only screen and (max-width: 64em) {
  .article__hero__3 {
    padding: 15rem 10rem 20rem 10rem;
    line-height: 1;
  }
}
@media only screen and (max-width: 37.5em) {
  .article__hero__3 {
    padding: 15rem 3rem 15rem 3rem;
    line-height: 0.8;
  }
}
@media only screen and (max-width: 26.25em) {
  .article__hero__3 {
    font-size: 5rem;
  }
}
.article__hero__4 {
  font-size: 7rem;
  padding: 20rem;
  margin-bottom: 5rem;
  color: var(--color-grey-light-1);
  background-image: linear-gradient(rgba(228, 228, 228, 0.411), rgba(61, 93, 161, 0.459)), url(../img/blog-photo-2.webp);
  width: auto;
  background-size: cover;
  background-position: center;
  text-align: center;
}
@media only screen and (max-width: 64em) {
  .article__hero__4 {
    padding: 15rem 10rem 20rem 10rem;
    line-height: 1;
  }
}
@media only screen and (max-width: 37.5em) {
  .article__hero__4 {
    padding: 15rem 3rem 15rem 3rem;
    line-height: 0.8;
  }
}
@media only screen and (max-width: 26.25em) {
  .article__hero__4 {
    font-size: 5rem;
  }
}
.article__intro {
  display: flex;
  padding: 2rem;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}
.article__intro__data {
  font-size: 1.5rem;
  color: #333;
}
.article__intro__icon {
  vertical-align: middle;
  font-size: 1.5rem;
  color: #333;
}
.article__box {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  background-color: #fdfafa;
  padding: 2rem;
}
@media only screen and (max-width: 64em) {
  .article__box {
    display: block;
  }
}
.article__box__text h2 {
  font-size: 3.6rem;
  font-weight: 500;
  color: var(--color-grey-dark-1);
  margin-bottom: 1.2rem;
}
.article__box__text h3 {
  font-size: 2.6rem;
  color: var(--color-grey-dark-1);
  margin-bottom: 1.2rem;
}
.article__box__text p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-grey-dark-2);
}
.article__box__text ul {
  list-style: none;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-grey-dark-2);
  margin-left: 6rem;
}
.article__box__text ul li {
  margin-bottom: 1rem;
}
.article__box__box__show {
  display: flex;
}

/************************/
/* NAVIGATION */
/************************/
.main-nav-list {
  display: flex;
  list-style: none;
  gap: 4.8rem;
  align-items: center;
}
.main-nav-link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  font-size: 1.2rem;
}
@media only screen and (max-width: 40em) {
  .main-nav-link {
    display: none;
  }
}
@media only screen and (max-width: 31.25em) {
  .main-nav-link {
    font-size: 1.6rem;
  }
}
.main-nav-link.nav-cta:link, .main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #996e23;
}
.main-nav-link.nav-cta:hover, .main-nav-link.nav-cta:active {
  background-color: #7a581c;
}
.main-nav-link.nav-cta:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
.main-nav-link.nav-cta:active {
  transform: translateY(1px);
}

@media (min-width: 768px) {
  .nav-menu {
    width: 750px;
  }
}
/*Medium Screens */
@media (min-width: 922px) {
  .nav-menu {
    width: 970px;
  }
}
/*Large Screens */
@media (min-width: 1200px) {
  .nav-menu {
    width: 1170px;
  }
}
.burger {
  /* Burger Icon Container */
  /* Burger Icon Lines */
}
.burger-container {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  border-radius: 5px;
  background-color: transparent;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.368627451);
  transition: all 0.2s ease-in-out;
}
.burger-container:active {
  transform: translateY(1px);
}
.burger-container:hover {
  background-color: #5a6598;
}
.burger-line {
  width: 100%;
  height: 3px;
  background-color: #996e23;
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
}

/* Checkbox Hack */
#burger-toggle {
  display: none;
}

/* Navigation Styles */
.nav-menu {
  font-size: 1.5rem;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--color-primary-light);
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  padding-top: 100px;
  z-index: 999;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.0509803922);
  backdrop-filter: blur(10px);
}
.nav-menu a:hover, .nav-menu a:active {
  background-color: #5a6598;
}
.nav-menu .menu-item-gold:hover, .nav-menu .menu-item-gold:active {
  background-color: var(--color-gold);
}

.nav-menu ul {
  list-style-type: none;
}

.nav-menu ul li {
  margin: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1019607843);
}

.nav-menu ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 15px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.nav-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
  transition: left 0.3s ease;
}

.nav-menu ul li a:hover::after {
  left: 0;
}

/* Burger Icon Animation on Checkbox Checked */
#burger-toggle:checked ~ .burger-container .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 7px);
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(2) {
  opacity: 0;
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* Navigation Slide In */
#burger-toggle:checked ~ .nav-menu {
  right: 0;
}

.menu-item {
  position: relative; /* Potrzebne dla submenu */
}

.menu-item-gold {
  background-color: var(--color-gold-light);
}
.menu-item-gold:hover {
  background-color: var(--color-gold);
}

.menu a {
  text-decoration: none;
  padding: 10px 15px;
  color: white;
  display: block;
  background-color: #333;
}

.menu a:hover {
  background-color: #555;
}

/* Submenu */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%; /* Wysunięcie poniżej głównego elementu */
  right: 0;
  display: none; /* Domyślnie ukryte */
  background-color: var(--color-primary-light);
  min-width: 150px;
  z-index: 9999;
}

.submenu li a {
  padding: 10px;
  color: white;
}

.submenu li a:hover {
  background-color: #5a6598;
}

/* Wyświetlanie submenu na hover */
.menu-item:hover .submenu {
  display: block;
}

.agent {
  display: grid;
  padding: 2rem;
  grid-template-columns: 1fr 400px;
  gap: 10rem;
}
@media only screen and (max-width: 31.25em) {
  .agent {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media only screen and (max-width: 31.25em) {
  .agent:last-child {
    padding-bottom: 10rem;
  }
}
.agent__2 {
  display: grid;
  padding: 2rem;
  grid-template-columns: 400px 1fr;
  gap: 10rem;
}
@media only screen and (max-width: 31.25em) {
  .agent__2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.agent__info {
  padding-top: 10rem;
}
@media only screen and (max-width: 31.25em) {
  .agent__info {
    padding-top: 7rem;
  }
}
.agent__info__position {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-grey-dark-1);
}
.agent__info__name {
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--color-grey-dark-1);
}
@media only screen and (max-width: 25em) {
  .agent__info__name {
    line-height: 1;
    margin-bottom: 2rem;
  }
}
.agent__info__quote {
  font-style: italic;
  font-size: 1.9rem;
  margin-bottom: 2rem;
  font-weight: 500;
  color: var(--color-grey-dark-1);
}
.agent__info__description {
  font-size: 1.7rem;
  color: var(--color-grey-dark-1);
  font-weight: 400;
}
.agent__info__description p {
  margin-bottom: 1.6rem;
}
.agent__info__socials {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  margin-bottom: 5rem;
}
.agent__info__socials a {
  color: black;
}
.agent__img {
  align-self: center;
  justify-self: center;
}
@media only screen and (max-width: 31.25em) {
  .agent__img__monika {
    grid-row: 2/2;
  }
}
.agent__img__photo {
  height: 50rem;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 10rem;
}

.fin_img {
  align-self: center;
  justify-self: center;
  height: 50rem;
  width: 33.347rem;
  object-fit: cover;
  overflow: hidden;
  border-radius: 10rem;
}

.bg-cl {
  background-color: #e9e9e9;
}

.shadow-effect {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid #ececec;
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.1), 0 15px 12px rgba(0, 0, 0, 0.02);
}

#customers-testimonials .shadow-effect p {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 17px 0;
  font-weight: 300;
}

.testimonial-name {
  margin: -17px auto 0;
  display: table;
  width: auto;
  background: #3190e7;
  padding: 9px 35px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.12), 0 5px 7px rgba(0, 0, 0, 0.05);
}

#customers-testimonials .item {
  text-align: center;
  padding: 50px;
  margin-bottom: 80px;
  opacity: 0.2;
  -webkit-transform: scale3d(0.8, 0.8, 1);
  transform: scale3d(0.8, 0.8, 1);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#customers-testimonials .owl-item.active.center .item {
  opacity: 1;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.owl-carousel .owl-item img {
  transform-style: preserve-3d;
  max-width: 90px;
  margin: 0 auto 17px;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
  background: #3190e7;
  transform: translate3d(0px, -50%, 0px) scale(0.7);
}

#customers-testimonials.owl-carousel .owl-dots {
  display: inline-block;
  width: 100%;
  text-align: center;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
  background: #3190e7;
  display: inline-block;
  height: 20px;
  margin: 0 2px 5px;
  transform: translate3d(0px, -50%, 0px) scale(0.3);
  transform-origin: 50% 50% 0;
  transition: all 250ms ease-out 0s;
  width: 20px;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
  background-color: var(--color-primary-light);
  padding-bottom: 2rem;
  color: var(--color-gold);
}

/* Wyszukiwarka (formularz) */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 8px;
  max-width: 110rem;
  width: 100%;
  justify-content: center;
}

.search-form label {
  font-weight: 600;
  font-size: 1.6rem; /* powiększona czcionka */
  margin-bottom: 4px;
  display: block;
}

.search-form input,
.search-form select {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 14rem;
  max-width: 0rem;
}

.search-form button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-gold);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-top: 22px; /* Dopasowanie w pionie */
}
@media only screen and (max-width: 37.5em) {
  .search-form button {
    display: block;
    width: 100%;
  }
}

.search-form button:hover {
  background-color: var(--color-gold-dark);
}

/* Karty ofert */
.offers-container.container--form {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 5rem;
  padding: 4rem 0 4rem 0;
  background-color: #fcfafa;
}

.offer-card {
  background-color: #fff;
  border: 1px solid #ddd;
  height: 48rem;
  width: 40rem;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  position: relative;
}

.offer-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.offer-image {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
}

.offers-text {
  padding: 15px;
}

.offers-text h3 {
  margin: 0 0 10px;
  font-size: 3rem; /* powiększona nazwa oferty */
  line-height: 1;
  text-align: center;
  color: var(--color-gold);
}

.offers-text__price {
  margin: 5px 0;
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  text-align: center;
}

.offers-text__localization {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 2rem;
  text-align: center;
}

.offer-button-container {
  text-align: center;
  max-width: 100%;
  position: absolute;
  bottom: 2%; /* Przycisk przyklejony do dołu */
  left: 50%;
  transform: translateX(-50%); /* Wyśrodkowanie poziome */
}

.btn.btn--lineout {
  background: transparent;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn.btn--lineout__1 {
  margin-bottom: 1rem;
  padding: 8px 28px;
}
@media only screen and (max-width: 75em) {
  .btn.btn--lineout__1 {
    padding: 8px 24px;
  }
}
.btn.btn--lineout__ {
  margin-bottom: 1rem;
}

.btn.btn--lineout:hover {
  background-color: #f2f2f2;
}

/* Modal i Lightbox -> style z poprzednich przykładów */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5rem auto;
  padding: 2rem;
  max-width: 105em;
  border-radius: 5px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-container {
  display: flex;
  flex-direction: column; /* duży obrazek na górze, miniatury pod nim */
  gap: 10px;
}

/* Duże zdjęcie */
.main-image-container {
  display: flex;
  width: 100%;
  overflow: hidden; /* ewentualnie */
}

.main-image {
  display: block;
  width: 100%; /* wypełnia całą szerokość */
  height: auto;
  object-fit: cover;
}

/* Kontener miniatur */
.thumbnail-list {
  display: flex;
  flex-wrap: wrap; /* zawija, jeśli dużo zdjęć */
  gap: 10px;
}

.thumbnail-item {
  width: 120px; /* lub inny rozmiar miniatur */
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f2f2f2;
  cursor: pointer;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-details h2 {
  font-size: 4rem;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 20px 0;
  font-size: 2rem;
  background-color: #f2f2f2;
  padding: 3rem;
  line-height: 1.4;
}

.detail-item strong {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--color-gold);
}

.detail-item {
  line-height: 1.2;
}

.description {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}
.description__title {
  margin: 15px 0 5px;
  font-size: 3.5rem;
  font-weight: 600;
}
.description__text {
  font-size: 1.8rem;
}
.description em {
  font-size: 2.5rem;
}
.description strong {
  font-size: 2rem;
}
.description ul {
  padding: 2rem;
  font-size: 1.8rem;
}
.description li {
  list-style: circle;
  font-size: 1.7rem;
}

.tag {
  display: inline-block;
  background-color: #eee;
  margin: 2px;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 0.85rem;
}

/* Zdjęcie kontaktowe w sekcji kontaktu */
.contact-section__fullname {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-gold);
}
.contact-section__fullname__mb {
  margin-bottom: 3rem;
}
.contact-section__title {
  font-size: 2.5rem;
  color: var(--color-gold);
}
.contact-section__icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.contact-section__icon__a {
  display: flex;
  align-items: center;
}
.contact-section__icon__a_m {
  margin-bottom: 2rem;
}
.contact-section p {
  font-size: 1.8rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}
.contact-section a {
  text-decoration: none;
  color: #333;
}
.contact-section__text {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact-photo {
  max-width: 10rem;
  border-radius: 5px;
  margin-top: 8px;
  grid-row: 4/1;
  grid-column: 2/-1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.lightbox-content {
  display: block;
  max-width: 80%;
  max-height: 80vh;
  margin: 5% auto 0 auto;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.lightbox-close {
  top: 20px;
  right: 35px;
}

.lightbox-prev {
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  color: var(--color-gold);
}

.single_offer h1 {
  font-size: 6rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 3rem;
}
.single_offer_box {
  background-color: #f3f3f3;
  padding: 4rem;
  text-align: center;
  border-radius: 4rem;
}
.single_offer_box h2 {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.single_offer_details {
  line-height: 1.2;
}
.single_offer_details__price {
  font-size: 4rem;
  color: #333;
  margin-top: 4rem;
}
.single_offer_details__area {
  font-size: 4rem;
  color: #333;
}
.single_offer_details__localization {
  font-size: 4rem;
  color: #333;
  margin-bottom: 6rem;
}
.single_offer_details__description {
  font-size: 2rem;
  text-align: start;
  margin-bottom: 10rem;
}
.single_offer_details__description__title {
  font-size: 4rem;
  color: gold;
  margin-bottom: 2rem;
}
.single_offer_details__description p {
  margin-top: 4rem;
}

/*# sourceMappingURL=style.css.map */
