/*
Theme Name: Jakub Wolert Theme
Theme URI: https://jakubwolert.pl
Description:
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 8.1
*/
@font-face {
  font-family: 'Geist';
  src: url('./assets/font/Geist-Light.ttf') format('truetype');
  font-weight: 300;
  font-family: sans-serif;
}
@font-face {
  font-family: 'Geist';
  src: url('./assets/font/Geist-Regular.ttf') format('truetype');
  font-weight: 400;
  font-family: sans-serif;
}
@font-face {
  font-family: 'Geist';
  src: url('./assets/font/Geist-Bold.ttf') format('truetype');
  font-weight: 700;
  font-family: sans-serif;
}
@font-face {
  font-family: 'Geist';
  src: url('./assets/font/Geist-Medium.ttf') format('truetype');
  font-weight: 500;
  font-family: sans-serif;
}
@font-face {
  font-family: 'Geist';
  src: url('./assets/font/Geist-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-family: sans-serif;
}
* {
  box-sizing: border-box;
  font-family: "Geist", sans-serif;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background-color: #ededed;
  color: #252525;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
.nav {
  padding: 24px 0;
}
.nav__logo {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -5%;
}
.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__ul {
  display: flex;
  gap: 24px;
  padding: 0;
  align-items: center;
  margin: 0;
  list-style: none;
}
.nav__ul li a {
  color: #000;
  font-size: 15px;
  font-weight: 400;
}
@media screen and (max-width: 895px) {
  .nav__ul {
    display: none;
  }
}
a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
  margin: 0 auto;
}
.header__container {
  border-bottom: 1px solid #000;
  display: flex;
  gap: 24px;
  align-items: center;
}
@media screen and (max-width: 575px) {
  .header__container {
    flex-direction: column-reverse;
    gap: 0;
  }
}
.header__hero__image {
  display: block;
}
.header__title {
  font-weight: 600;
  font-size: 56px;
}
.header__title span {
  color: #1a1a1a;
}
@media screen and (max-width: 725px) {
  .header__title {
    font-size: 36px;
  }
}
.header__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
@media screen and (max-width: 475px) {
  .header__bottom {
    flex-direction: column;
  }
}
.header__bottom__text {
  flex: 1;
}
.header__bottom__btn {
  font-size: 24px;
  border-radius: 50px;
  border: 1px solid rgba(34, 33, 33, 0.27);
  background: #F5F5F5;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 12px 36px;
}
.header__bottom__btn img {
  height: 18px;
  display: block;
}
.heading__h2 {
  font-size: 58px;
  font-weight: 400;
}
@media screen and (max-width: 545px) {
  .heading__h2 {
    font-size: 36px;
  }
}
.casestudy__swiper.swiper {
  margin-top: 96px;
  overflow: unset;
}
.casestudy__swiper.swiper .swiper-slide {
  max-width: 900px;
}
@media screen and (max-width: 545px) {
  .casestudy__swiper.swiper {
    margin-top: 36px;
  }
}
.casestudy__item {
  padding: 22px;
  border-radius: 15px;
  border: 1px solid #000;
  max-width: 900px;
}
.casestudy__content {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 22px;
}
.casestudy__content h3 {
  font-size: 16px;
  font-weight: 400;
}
.casestudy__content .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F5F5F5;
  background: #000;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
}
.casestudy__content .btn img {
  filter: invert(1);
  height: 12px;
}
.casestudy__nav {
  margin: 48px auto 0;
  display: flex;
  justify-content: center;
  position: relative;
}
.casestudy__nav-prev,
.casestudy__nav-next {
  position: absolute;
  height: 100%;
  width: 50%;
  top: 0;
  z-index: 2;
}
.casestudy__nav-prev:hover,
.casestudy__nav-next:hover {
  cursor: pointer;
}
.casestudy__nav-prev {
  left: 0;
}
.casestudy__nav-next {
  right: 0;
}
.offer__header {
  display: flex;
  align-items: center;
  gap: 48px;
}
@media screen and (max-width: 545px) {
  .offer__header {
    gap: 12px;
  }
}
.offer__header img {
  transform: scaleY(-1);
  height: 14.28px;
}
.offer__header h3 {
  font-size: 15px;
  font-weight: 400;
}
.offer__header:hover {
  cursor: pointer;
}
.offer__container {
  margin: 48px 0 96px;
}
.offer__content {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding-top 0.3s ease;
  padding-top: 0;
}
.offer__item {
  border-bottom: 1px solid #000;
  padding: 38px 0;
}
.offer__item.active .offer__content {
  max-height: 500px;
  opacity: 1;
  padding-top: 24px;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding-top 0.3s ease;
}
.contact__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact__email {
  font-size: 56px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px;
  margin-bottom: 24px;
}
@media screen and (max-width: 545px) {
  .contact__email {
    font-size: 24px;
    margin-bottom: 8px;
  }
}
.contact__annotation {
  color: #7A797D;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px;
}
.section {
  padding: 32px 0;
}
img {
  max-width: 100%;
}
.cta__content {
  max-width: 745px;
  font-size: 28.2px;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 96px;
}
.cta__btn__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 5;
}
.cta__btn-1 {
  border: 1px solid #000;
  border-radius: 50px;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  padding: 10px 32px;
}
@media screen and (max-width: 535px) {
  .cta__btn-1 {
    font-size: 22px;
  }
}
.cta__btn-2 {
  background-color: #000;
  color: #fff !important;
  padding: 4px 18px;
  border-radius: 24px;
  gap: 8px;
  display: inline-flex;
  justify-content: center;
}
.cta__btn-2 img {
  filter: invert(1);
  height: 12px;
}
@media screen and (max-width: 735px) {
  .cta__image-1 {
    max-width: 30%;
  }
}
.cta__image-2 {
  position: absolute;
  right: 32px;
}
@media screen and (max-width: 735px) {
  .cta__image-2 {
    max-width: 30%;
    margin-bottom: -105px;
  }
}
.cta__container {
  padding: 36px;
  border-radius: 15px;
  border: 1px solid #242323;
  position: relative;
}
.cta__container::before,
.cta__container::after {
  content: '';
  width: 100%;
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.cta__container::before {
  left: -50%;
  bottom: -25%;
  width: 100%;
  aspect-ratio: 1.78947368;
  background-image: url(./assets/image/cta-bg-1.png);
}
.cta__container::after {
  right: 0;
  top: 0;
  max-width: 492px;
  aspect-ratio: 1.74468085;
  background-image: url(./assets/image/cta-bg-2.png);
}
.partner__container {
  border: 1px solid #000;
  border-radius: 15px;
  margin-top: 96px;
  position: relative;
  padding: 36px;
}
.partner__item {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  height: 80px;
}
.partner__item img {
  max-width: 220px;
  max-height: 120px;
  position: absolute;
}
.partner__item:nth-child(odd) img {
  left: 65%;
}
.partner__item:nth-child(even) img {
  right: 65%;
}
@media screen and (max-width: 545px) {
  .partner__item {
    justify-content: center;
    height: 130px;
  }
  .partner__item img {
    left: unset !important;
    right: unset !important;
  }
}
.faq__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 528px;
  margin: 35px 0 0 auto;
  position: relative;
}
.faq__container::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  left: -100%;
  width: 100%;
  max-width: 531px;
  aspect-ratio: 0.72442019;
  height: auto;
  background-image: url(./assets/image/faq-bg.png);
}
.faq__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
}
.faq__header h3 {
  font-weight: 400;
  font-size: 17px;
}
.faq__header img {
  transform: rotate(0deg);
  transition: 0.3s;
}
.faq__header:hover {
  cursor: pointer;
}
.faq__content {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding-bottom 0.3s ease;
  padding-bottom: 0;
}
.faq__item {
  border-bottom: 1px solid #000;
}
.faq__item.active .faq__content {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 24px;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding-bottom 0.3s ease;
}
.faq__item.active .faq__header img {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.text-center {
  text-align: center;
}
.footer {
  background-image: url(./assets/image/footer-bg.png);
  background-position: center;
  padding: 64px 0;
  background-repeat: no-repeat;
}
.footer__heading {
  font-size: 70px;
  font-weight: 400;
}
@media screen and (max-width: 545px) {
  .footer__heading {
    font-size: 36px;
  }
}
.footer__bottom {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
