@import "fonts.css";

html,
body {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

body {
  font-family: 'Proximanova', sans-serif;
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 576px) {
  body {
    font-size: 18px;
  }
}

.container {
  margin: 0 auto;
  max-width: 1040px;
  padding: 0 12px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 576px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 40px;
  }
}

a {
  color: rgba(35, 31, 32, 1);
  text-decoration: none;
}

/* 
 * Styles for the header
 */
header .container {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
}

@media (max-width: 575px) {
  header .container {
    height: 45px;
  }
}

@media (min-width: 1200px) {
  header .container {
    max-width: 1158px;
  }
}

@media (min-width: 1440px) {
  header .container {
    max-width: 1398px;
  }
}

header nav {
  font-size: 14px;
  width: 100%;
}

header .logo {
  display: flex;
  margin-top: 6px;
}

@media (max-width: 767px) {
  header .logo img {
    max-width: 114px;
  }
}

header ul {
  align-items: center;
  display: flex;
  list-style-type: none;
  padding-left: 0.5rem;
}

@media (max-width: 767px) {
  header ul {
    justify-content: flex-end;
  }
}

header ul li:first-of-type {
  align-items: center;
  border-left: 1px solid;
  display: flex;
  height: 16px;
  margin-right: auto;
  padding-left: 1rem;
}

header ul li {
  margin: 0 0.75rem;
}

@media (max-width: 575px) {
  header ul li {
    margin: 0 0.5rem;
  }
}

header ul li:last-of-type {
  margin-right: 0;
}

@media (min-width: 768px) {
  header .desktop-hide {
    display: none;
  }
}

@media (max-width: 767px) {
  header .mobile-hide {
    display: none !important;
  }
}

header .menu-grid {
  margin: 0 1rem;
}

header .menu-login {
  padding: 0.5rem 0.75rem;
}

header .menu-login:hover,
header .menu-login:focus,
header .menu-login:active {
  background: #f6f7fa;
  border-radius: 25px;
}

header .menu-login img {
  padding-right: 0.75rem;
}

header ul li:not(:first-of-type) a {
  text-transform: uppercase;
}

header ul li a {
  display: flex;
}

/* 
 * Styles for the b-hero
 */

.b-hero {
  background-image: url('../assets/images/bg-hero-mobile.jpg'), linear-gradient(90deg, #c9c7c8, #9f9b9c);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding-bottom: 12rem;
  padding-top: 2.5rem;
}

@media (min-width: 576px) {
  .b-hero {
    background-color: unset;
    background-image: url('../assets/images/bg-hero-desktop.jpg');
    background-position: center;
    background-size: cover;
    padding-bottom: 6.4rem;
    padding-top: 6.4rem;
  }
}

@media (min-width: 992px) {
  .b-hero {
    padding-bottom: 3.75rem;
    padding-top: 3.75rem;
  } 
}

.b-hero h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.78px;
  line-height: 30px;
  max-width: 360px;
  text-transform: uppercase;
  margin: 0 0 4rem;
}

@media (min-width: 576px) {
  .b-hero h1 {
    margin: 0 0 1.5rem;
  }
}

@media (min-width: 992px) {
  .b-hero h1 {
    font-size: 52px;
    line-height: 54px;
    max-width: 600px;
    margin: 0 0 0.5rem;
  }
}

.b-hero p {
 display: none;
}

@media (min-width: 992px) {
  .b-hero p {
    display: block;
    max-width: 500px;
    line-height: 26px;
    letter-spacing: -0.126px;
    margin: 0 0 1.5rem;
   }
}

.b-hero a {
  background-color: rgba(255, 97, 4, 1);
  border-radius: 20px;
  color: #fff;
  display: inline-flex;
  font-weight: 600;
  line-height: 20px;
  padding: 0.375rem 1.5rem;
}

.b-hero a:hover,
.b-hero a:focus,
.b-hero a:active {
  background-color: #313d6b;

}

/* 
 * Styles for the b-cards
 */

.b-cards {
  padding-bottom: 2.5rem;
  padding-top: 5rem;
}

@media (min-width: 992px) {
  .b-cards {
    padding-bottom: 4rem;
    padding-top: 4rem;
  } 
}

.b-cards__header-title h2 {
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 1rem;
  margin-top: 0;
}

@media (min-width: 992px) {
  .b-cards__header-title h2 {
    font-size: 40px;
    line-height: 42px;
    margin-bottom: 2.5rem;
  } 
}

.b-cards__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 768px) {
  .b-cards__items {
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .b-cards__items {
    gap: 24px;
  }
}

.b-cards__item {
  border-radius: 8px;
  border: 1px solid #fff;
  box-shadow: 0 1px 8px rgba(5, 7, 19, 0.15);
  flex: 1 1 100%;
  overflow: hidden;
}

@media (min-width: 576px) {
  .b-cards__item {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (min-width: 768px) {
  .b-cards__item {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (min-width: 992px) {
  .b-cards__item {
    flex: 1 1 calc(25% - 16px);
  }
}

@media (min-width: 992px) {
  .b-cards__item {
    flex: 1 1 calc(25% - 24px);
  }
}

.b-cards__item:hover {
  background-color: #f6f7fa;
}

.b-cards__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.b-cards__item img {
  margin-bottom: 0.5rem;
  width: 100%;
}

.b-cards__item h3 {
  font-size: 18px;
  line-height: 26px;
}

@media (min-width: 576px) {
  .b-cards__item h3 {
    font-size: 24px;
  }
}

.b-cards__item-header {
  margin-bottom: 1rem;
}

.b-cards__item-header p {
  color: rgba(135, 135, 135, 1);
  font-size: 14px;
  line-height: 21px;
}

.b-cards__item h3,
.b-cards__item p {
  padding-left: 12px;
  padding-right: 12px;
  margin: 0
}

@media (min-width: 576px) {
  .b-cards__item a > p {
    line-height: 26px;
  }
}

.b-cards__item .b-cards__item-price {
  padding-bottom: 0.75rem;
  padding-top: 1.5rem;
  margin-top: auto;
}

.b-cards__item-price > span {
  display: block;
}

.b-cards__item p:last-of-type > span:first-of-type {
  font-size: 14px;
}

.b-cards__item-price > span span {
  font-size: 24px;
  font-weight: 700;
  line-height: 26px;
}

/* 
 * Styles for the b-text-and-media-cta
 */
.b-text-and-media-cta {
  padding-bottom: 3.75rem;
  padding-top: 3.75rem;
}

.b-text-and-media-cta--custom-bg {
  background-color: #fafafa;
}

.b-text-and-media-cta .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .b-text-and-media-cta .container {
    flex-direction: row;
  }
}

.b-text-and-media-cta__text,
.b-text-and-media-cta__media {
  flex: 1 1 50%;
}

@media (min-width: 768px) {
  .b-text-and-media-cta__text {
    max-width: 400px;
  }
}

@media (max-width: 767px) {
  .b-text-and-media-cta__text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
}

.b-text-and-media-cta__media {
  display: none;
}

@media (min-width: 768px) {
  .b-text-and-media-cta__media {
    max-width: 600px;
    display: flex;
  }
}

.media-mobile,
.media-mobile img {
  margin: 0 0 0.5rem -12px;
  max-height: 400px;
  object-fit: cover;
  width: calc(100% + 2 * 12px);
}

@media (min-width: 576px) {
  .media-mobile,
  .media-mobile img {
    margin: 0 0 0.5rem -24px;
    width: calc(100% + 2 * 24px);
  }
}

@media (min-width: 768px) {
  .media-mobile,
  .media-mobile img {
    display: none;
  }
}

.b-text-and-media-cta__text h2 {
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .b-text-and-media-cta__text h2 {
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 992px) {
  .b-text-and-media-cta__text h2 {
    font-size: 40px;
    line-height: 42px;
  }  
}

.b-text-and-media-cta__text p {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 1.5rem;
  margin-top: 0;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .b-text-and-media-cta__text p {
    margin-bottom: 2.75rem;
  }
}

@media (min-width: 992px) {
  .b-text-and-media-cta__text p {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (min-width: 1440px) {
  .b-text-and-media-cta__text p {
    padding-right: 0;
  }
}

.b-text-and-media-cta a {
  font-size: 14px;
  line-height: 16px;
  border-radius: 20px;
  border: 1px solid rgba(49, 61, 107, 1);
  display: inline-flex;
  font-weight: 600;
  line-height: 20px;
  padding: 0.375rem 1.5rem;
}

.b-text-and-media-cta a:hover {
  background-color: #313d6b;
  color: #fff;
}

@media (min-width: 992px) {
  .b-text-and-media-cta a {
    font-size: 18px;
    line-height: 20px;
  }  
}

@media (max-width: 767px) {
  .b-text-and-media-cta__text a {
    align-self: flex-end;
    background-image: url('../assets/images/icons/button-arrow.svg');
    background-position: center right;
    background-repeat: no-repeat;
    border: none;
    color: rgba(49, 61, 107, 1);
    padding: 0 1.5rem 0 0;
  }
}

.b-text-and-media-cta__media figure {
  margin: 0;
}

.b-text-and-media-cta__media img {
  aspect-ratio: 655 / 363;
  border-radius: 8px;
  max-width: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .b-text-and-media-cta__media img {
    aspect-ratio: 352 / 180;
  }
}

.b-text-and-media-cta__media figcaption,
.b-text-and-media-cta__text figcaption {
  font-size: 13px;
  line-height: 14px;
  text-align: right;
}

@media (max-width: 767px) {
  .b-text-and-media-cta__text figcaption {
    display: none;
  }
}

/* 
 * Styles for the b-testimonial
 */
.b-testimonial {
  background-image: url('../assets/images/testimonial-author-1.png'), conic-gradient(rgba(141, 141, 141, 1), rgba(95, 96, 98, 1));
  background-position: right bottom;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: 10rem;
}

.b-testimonial__slider--quote {
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
}

.b-testimonial__slider--author {
  background-color: #231f20;
}

.b-testimonial__slider--author p {
  margin: 0;
}

.b-testimonial__slider--author .name {
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  text-align: right;
}

.b-testimonial__slider--author .role,
.b-testimonial__slider--author .company {
  font-size: 14px;
  line-height: 16px;
  text-align: right;
}
  

/* 
 * Styles for the footer
 */

footer {
  background-color: rgba(243, 243, 243, 1);
}

footer .container {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  justify-content: space-between;
}

@media (min-width: 992px) {
  footer .container {
    flex-direction: row;
    height: 60px;
  }
}

@media (max-width: 991px) {
  footer .container {
    padding: 1rem;
    flex-direction: column-reverse;
  }

  footer .container > * {
    line-height: 14px;
    margin: 0;
  }
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  padding-left: 0;
}

footer ul li {
  padding: 0.25rem 0.5rem;
}

@media (min-width: 1200px) {
  footer ul li {
    padding: 0 0.75rem;
  }
}
