.hero {
  height: auto;
  overflow: hidden;
  background: var(--light-gray);
}

.hero > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero__grid {
  display: flex;
  flex-direction: column;
}

.hero__content {
  height: auto;
  padding: 60px 25px;
}

.hero__content .section-label {
  margin-bottom: 10px;
}

.hero__content > p:not(.section-label) {
  max-width: 390px;
  margin-top: 21px;
  color: rgba(2, 28, 76, .8);
  font-size: 15px;
  line-height: 20px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.hero__actions .btn {
  width: auto;
  max-width: 172px;
  min-height: 60px;
  padding: 9px 18px;
  flex: 1 1 0;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  text-align: left;
}

.hero-branch-button__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  line-height: 18px;
}

.hero-branch-button__label {
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 600;
}

.hero-branch-button__location {
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
}

.hero__media {
  position: relative;
  width: 100%;
  height: 358px;
}

.hero__media img,
.hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .1);
  content: '';
}

.stats-band {
  position: relative;
  height: auto;
  overflow: hidden;
  padding-block: 60px;
  color: var(--white);
  background: var(--navy);
}

.stats-band > .container {
  height: auto;
}

.stats-band__grid {
  display: grid;
  height: auto;
  align-content: center;
  row-gap: 33px;
}

.stats-band__grid > div:first-child > p {
  max-width: 390px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 20px;
}

.stats-band__numbers {
  display: grid;
  margin-top: 33px;
  padding-inline: 22px;
  grid-template-columns: 1fr 1fr;
  gap: 29px 70px;
}

.stats-band__grid > .stats-band__numbers {
  margin-top: 0;
}

.offer-teaser {
  position: relative;
  height: auto;
  overflow: visible;
  padding-block: 60px;
}

.offer-teaser h2 {
  margin-top: 18px;
}

.offer-teaser__intro {
  max-width: 390px;
  margin-top: 22px;
  color: rgba(2, 28, 76, .8);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.offer-teaser .category-slider {
  margin-top: 60px;
}

.offer-teaser__note {
  max-width: 390px;
  margin-top: 24px;
  color: rgba(2, 28, 76, .8);
  font-size: 15px;
  line-height: 20px;
}

.offer-teaser__more {
  position: static;
  display: flex;
  width: max-content;
  max-width: calc(100% - 50px);
  min-width: 220px;
  height: 60px;
  min-height: 60px;
  margin: 40px auto 0;
  padding-inline: 18px;
  transform: none;
  white-space: nowrap;
}

.why-us {
  height: auto;
  overflow: visible;
}

.why-us > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.why-us__grid {
  display: flex;
  flex-direction: column;
}

.why-us__media {
  width: 100%;
  height: 352px;
  overflow: hidden;
}

.why-us__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us__content {
  height: auto;
  padding: 60px 25px;
}

.why-us__content .section-label {
  margin-bottom: 19px;
}

.why-us__content > p:not(.section-label) {
  max-width: 390px;
  color: rgba(2, 28, 76, .8);
}

.why-us__content > p:nth-of-type(2) {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.why-us__content > p:nth-of-type(3) {
  margin-top: 16px;
  font-size: 15px;
  line-height: 20px;
}

.why-us__content .btn {
  min-height: 50px;
  margin-top: 24px;
}

.services-teaser {
  height: auto;
  overflow: visible;
  padding-block: 60px;
  background: var(--light-gray);
}

.services-teaser h2 {
  margin-top: 19px;
}

.services-teaser .scroll-row {
  margin-top: 41px;
}

.services-teaser__more {
  display: flex;
  width: 186px;
  height: 50px;
  min-height: 50px;
  margin: 40px auto 0;
  padding-inline: 16px;
  white-space: nowrap;
}

.cta-split {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  overflow: visible;
  color: var(--white);
  background: var(--navy-dark);
}

.cta-split__media {
  position: relative;
  width: 100%;
  height: 352px;
  order: -1;
  overflow: hidden;
}

.cta-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-split__media::after {
  position: absolute;
  inset: 0;
  background: rgba(2, 28, 76, .2);
  content: '';
}

.cta-split__content {
  height: auto;
  padding: 60px 25px;
}

.cta-split__content > p {
  max-width: 390px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 20px;
}

.cta-split__actions {
  display: flex;
  gap: 20px;
  margin-top: 31px;
}

.cta-split__actions .btn {
  height: 60px;
  min-height: 60px;
  padding: 13px 18px;
  font-size: 16px;
  white-space: nowrap;
}

.cta-split__actions .btn:first-child {
  width: 187px;
}

.cta-split__actions .btn:last-child {
  width: 167px;
}

.cta-split__actions .btn:last-child .theme-icon {
  width: 12px;
  height: 20px;
  flex-basis: 12px;
}

.realizacje-gallery {
  height: auto;
  overflow: visible;
  padding-block: 60px;
}

.realizacje-gallery h2 {
  margin-top: 19px;
}

.realizacje-gallery .scroll-row {
  margin-top: 32px;
}

.testimonials {
  height: auto;
  overflow: visible;
  padding-block: 60px;
  background: var(--light-gray);
}

.testimonials h2 {
  margin-top: 19px;
}

.testimonials .scroll-row {
  margin-top: 32px;
}

.faq {
  height: auto;
  padding-block: 60px;
}

.faq__inner {
  max-width: 440px;
}

.faq h2 {
  margin-top: 15px;
}

.faq__list {
  margin-top: 22px;
}

.faq__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.faq__actions .btn {
  min-height: 50px;
}

.contact-cta {
  position: relative;
  min-height: 0;
  padding-bottom: 60px;
  overflow: visible;
  color: var(--white);
  background: var(--navy);
}

.contact-cta__bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
}

.contact-cta__bg::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 153, .82);
  content: '';
}

.contact-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cta__grid {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}

.contact-cta__intro .section-label {
  color: var(--white);
}

.contact-cta__intro h2 {
  margin-top: 19px;
}

.contact-cta__intro > p:not(.section-label) {
  max-width: 382px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 20px;
}

.contact-cta__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 27px;
}

.contact-cta .contact-form {
  width: calc(100% + 26px);
  height: auto;
  margin: 22px -13px 0;
}

.branch-cards {
  position: relative;
  min-height: 0;
  padding: 48px 0 64px;
  background: var(--white);
}

.branch-cards h2 {
  margin-top: 19px;
}

.branch-cards__grid {
  display: grid;
  gap: 59px;
  margin-top: 19px;
}

.home-page .stats-band__numbers {
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
}

@media (min-width: 992px) {
  .hero {
    height: auto;
  }

  .hero__grid {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: auto;
    min-height: 650px;
    align-items: center;
  }

  .hero__content {
    width: 50%;
    height: auto;
    padding: 80px 0 80px max(25px, calc((100vw - 1280px) / 2));
  }

  .hero__content .section-label {
    margin-bottom: 20px;
  }

  .hero__content > p:not(.section-label) {
    width: 560px;
    max-width: 560px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 20px;
  }

  .hero__actions {
    gap: 20px;
    margin-top: 40px;
  }

  .hero__actions .btn {
    min-height: 60px;
    padding: 9px 20px;
    font-size: 13px;
  }

  .hero__actions .btn:first-child,
  .hero__actions .btn:last-child {
    width: 172px;
  }

  .hero__media {
    width: 50%;
    height: auto;
    min-height: 650px;
    align-self: stretch;
  }

  .stats-band {
    min-height: 400px;
    padding-block: 80px;
  }

  .stats-band::after {
    position: absolute;
    z-index: 2;
    top: -59px;
    right: -89px;
    width: 367px;
    height: 459px;
    background: url('../img/chembud-element.png') center / contain no-repeat;
    content: '';
    pointer-events: none;
  }

  .stats-band__grid {
    align-items: center;
    row-gap: 0;
    grid-template-columns: 640px 1fr;
  }

  .stats-band__grid > div:first-child > p {
    width: 560px;
    max-width: 560px;
    margin: 20px 0 0 4px;
    font-size: 18px;
    line-height: 24px;
  }

  .stats-band__numbers {
    margin: 0;
    padding: 0 0 0 83px;
    grid-template-columns: 127px 133px;
    grid-template-rows: 77px 77px;
    grid-auto-flow: column;
    gap: 71px 85px;
  }

  .offer-teaser {
    min-height: 802px;
    padding-block: 80px;
  }

  .offer-teaser h2 {
    margin-top: 18px;
    white-space: nowrap;
  }

  .offer-teaser__intro {
    width: 639px;
    max-width: 639px;
    margin-top: 30px;
    font-size: 20px;
    line-height: 28px;
  }

  .offer-teaser .category-slider {
    margin-top: 42px;
  }

  .offer-teaser__note {
    width: 639px;
    max-width: 639px;
    margin-top: 40px;
    font-size: 16px;
  }

  .offer-teaser__more {
    position: absolute;
    top: 116px;
    right: max(25px, calc((100vw - 1280px) / 2));
    bottom: auto;
    left: auto;
    width: max-content;
    max-width: calc(100% - 50px);
    min-width: 220px;
    height: auto;
    margin: 0;
    padding-inline: 28px;
    transform: none;
  }

  .why-us {
    min-height: 640px;
  }

  .why-us__grid {
    display: grid;
    width: 100vw;
    height: auto;
    min-height: 640px;
    grid-template-columns: 1fr 1fr;
  }

  .why-us__media {
    height: auto;
    min-height: 640px;
  }

  .why-us__content {
      height: auto;
      min-height: 640px;
      padding: 93px 0 80px 83px;
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
  }

  .why-us__content .section-label {
    margin-bottom: 18px;
  }

  .why-us__content > p:not(.section-label) {
    width: 499px;
    max-width: 499px;
  }

  .why-us__content > p:nth-of-type(2) {
    margin-top: 13px;
    font-size: 20px;
    line-height: 28px;
  }

  .why-us__content > p:nth-of-type(3) {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .why-us__content .btn {
    min-height: 60px;
    margin-top: 40px;
  }

  .services-teaser {
    min-height: 600px;
    padding-block: 80px;
  }

  .services-teaser h2 {
    margin-top: 18px;
  }

  .services-teaser .scroll-row {
    margin-top: 48px;
  }

  .services-teaser__more {
    display: none;
  }

  .cta-split {
    display: grid;
    width: 100vw;
    height: auto;
    min-height: 506px;
    margin-top: 4px;
    grid-template-columns: 1fr 1fr;
  }

  .cta-split__content {
      height: auto;
      min-height: 506px;
      padding: 80px 0 80px max(25px, calc((100vw - 1280px) / 2));
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
  }

  .cta-split__content h2 {
    width: 500px;
  }

  .cta-split__content > p {
    width: 560px;
    max-width: 560px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 24px;
  }

  .cta-split__actions {
    margin-top: 45px;
  }

  .cta-split__actions .btn {
    height: 60px;
    min-height: 60px;
    padding-inline: 28px;
    font-size: 18px;
    white-space: nowrap;
  }

  .cta-split__actions .btn:first-child {
    width: 199px;
  }

  .cta-split__actions .btn:last-child {
    width: 190px;
    padding-inline: 18px;
  }

  .cta-split__actions .btn:last-child .theme-icon {
    width: 12px;
    height: 20px;
    flex-basis: 12px;
  }

  .cta-split__media {
    height: auto;
    min-height: 506px;
    order: 0;
  }

  .realizacje-gallery {
    min-height: 647px;
    padding-block: 80px;
  }

  .realizacje-gallery h2 {
    margin-top: 18px;
  }

  .realizacje-gallery .scroll-row {
    margin-top: 48px;
  }

  .testimonials {
    min-height: 590px;
    padding-block: 80px;
  }

  .testimonials h2 {
    margin-top: 18px;
  }

  .testimonials .scroll-row {
    margin-top: 40px;
  }

  .faq {
    min-height: 838px;
    padding-block: 80px;
  }

  .faq__inner {
    width: 700px;
    max-width: 700px;
    margin-right: 0;
    margin-left: calc(50vw - 350px);
  }

  .faq h2 {
    margin-top: 18px;
  }

  .faq__list {
    margin-top: 24px;
  }

  .faq__actions {
    margin-top: 40px;
  }

  .faq__actions .btn {
    min-width: 199px;
    min-height: 60px;
  }

  .contact-cta {
    min-height: 700px;
    padding-bottom: 70px;
  }

  .contact-cta::after {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: -110px;
    width: 500px;
    height: 625px;
    background: url('../img/chembud-element.png') center / contain no-repeat;
    content: '';
    pointer-events: none;
  }

  .contact-cta__bg {
    height: 100%;
  }

  .contact-cta__grid {
    display: grid;
    padding-top: 70px;
    grid-template-columns: 560px 560px;
    justify-content: start;
    gap: 122px;
    z-index: 2;
  }

  .contact-cta__intro {
    padding-top: 42px;
  }

  .contact-cta__intro h2 {
    margin-top: 18px;
  }

  .contact-cta__intro > p:not(.section-label) {
    width: 382px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 20px;
  }

  .contact-cta__features {
    width: 584px;
    margin-top: 68px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-cta .contact-form {
    width: 560px;
    height: auto;
    min-height: 560px;
    margin: 0;
  }

  .branch-cards {
    min-height: 706px;
    padding: 80px 0;
  }

  .branch-cards > .container {
    position: relative;
    z-index: 1;
  }

  .branch-cards h2 {
    margin-top: 18px;
  }

  .branch-cards__grid {
    display: grid;
    margin-top: 59px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
