@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

:root {
  --font-family: "Gilroy", sans-serif;
  --second-family: "Days One", sans-serif;

  --light-blue: #3D558F;
  --deep-blue: #284281;
  --red: #C01818;
  --bordo: #9E1515;
  --white: #FFFFFF;
  --light-gray: #F9F9F9;
  --gray: #CBCBCB;
  --deep-gray: #9E9E9E;
  --graphite: #383838;

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--font-family);
  color: var(--graphite);
  max-width: 1700px;
  margin: 0 auto;

}

h1,
.h1 {
  font-family: var(--second-family);
  font-size: 50px;
  text-align: center;
  color: var(--white);
  font-weight: 400;
}

h2,
.h2 {
  font-family: var(--second-family);
  font-size: 64px;
  text-align: center;
  color: var(--deep-blue);
  font-weight: 400;
}

h3,
.h3 {
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  text-align: center;
  color: var(--deep-blue);
}

h4,
.h4 {
  font-weight: 500;
  font-size: 24px;
  color: var(--graphite);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

a:hover {
  filter: brightness(0.85);
}

p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--graphite);
  margin-bottom: 24px;
}

.container {
  max-width: 1146px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
}

.btn {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  border-radius: 5px;
  padding: 14px 32px;
  background-color: var(--red);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  filter: brightness(0.85);
}

.section-bg {
  background-color: var(--light-gray);
}

.mt-95 {
  margin-top: 95px !important;
}

.mt-40 {
  margin-top: 40px;
}

.red-description {
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  color: var(--bordo);
  max-width: 820px;
  margin: 16px auto 0;
}

.round-img {
  max-width: 100%;
  border-radius: 15px;
}

/*.header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}*/

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1002;
  padding: 32px 0;
}

.header__logo img {
  max-width: 216px;
}

/* --- Menu --- */

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__menu {
  display: flex;
  gap: 32px;
}

.header__menu li,
.header__menu li a {
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-blue);
}

.header__burger {
  position: relative;
  z-index: 1002;
  display: none;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.header__burger span {
  width: 100%;
  height: 2px;
  background-color: var(--bordo);
  transition: all 0.3s ease;
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
  padding-top: 85px;
  padding-bottom: 40px;
}

.mobile-menu__list {
  text-align: center;
}

.mobile-menu__list li {
  margin-bottom: 16px;
}

.mobile-menu__list a {
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: var(--deep-blue);
}

.mobile-menu__action {
  margin-top: 24px;
}

.mobile-menu__socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

/* --- Main --- */
.main {
  flex: 1;
}


/* --- Banner --- */

.hero-banner {
  height: 440px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-wrapper {
  width: 100%;
  height: 100%;
/*  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(6, 0, 0, 0.8) 100%); */
}

.hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* --- Services --- */

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-item {
  height: 324px;
  border-radius: 15px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.service-wrapper {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(6, 0, 0, 0.8) 100%);
  width: 100%;
  height: 100%;
}

.service-info {
  position: absolute;
  bottom: 32px;
  left: 32px;
  width: 200px;
}

.service-title {
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}


/* --- CTA --- */

.cta-wrapper {
  background-color: var(--light-blue);
  border-radius: 15px;
  padding: 48px 120px;
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 48px;
}

.cta-description {
  margin-top: 10px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 16px;
}

/* --- Cases --- */

.cases-container {
  padding-top: 54px;
}

.cases-swiper {
  width: 100%;
  padding-bottom: 64px;
  padding-left: 5px;
  padding-right: 5px;
}

.case-card {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-card__img img {
  width: 100%;
  height: auto;
  display: block;
}

.case-card__content {
  background-color: var(--white);
  padding: 24px 21px;
  border-radius: 15px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.case-card__title {
  font-weight: 500;
  font-size: 24px;
  color: var(--bordo);
}

.case-card__description {
  margin-top: 8px;
  font-size: 14px;
  color: var(--graphite);
}

.case-card__info {
  margin-top: 8px;
}

.case-card__strong {
  font-weight: 500;
  color: var(--bordo);
}


/* --- Stats --- */

.stats-block {
  display: flex;
  gap: 24px;
}

.stat-block-left,
.stat-block-right {
  flex-basis: calc(50% - 12px);
}

.stat-description {
  background-color: var(--light-gray);
  padding: 32px;
  border-radius: 15px;
  font-weight: 500;
  font-size: 24px;
  color: var(--bordo);
}

.stat-items {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-item {
  background-color: var(--light-gray);
  padding: 24px 32px;
  border-radius: 15px;
}

.stat-item-title {
  font-family: var(--second-family);
  font-size: 36px;
  color: var(--bordo);
}

.stat-item-text {
  margin-top: 8px;
  font-weight: 500;
  font-size: 24px;
  color: var(--deep-blue);
}


/* --- Why Us --- */

.why-us-items {
  display: flex;
  gap: 24px;
}

.why-us-item {
  flex-basis: calc((100% - 48px) / 3);
  background: var(--light-gray);
  border-radius: 15px;
  padding: 35px 19px;
  text-align: center;
}

.why-us-title {
  margin-top: 16px;
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  color: var(--bordo);
}

.why-us-description {
  margin-top: 8px;
}


/* --- Reviews --- */

.reviews-container {
  padding-top: 64px;
}

.reviews-swiper {
  width: 100%;
  padding-bottom: 64px;
  padding-left: 5px;
  padding-right: 5px;
}

.review-card {
  border-radius: 15px;
  overflow: hidden;
  height: 454px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- FAQ --- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.faq-item {
  border: 1px solid var(--light-blue);
  border-radius: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-arrow {
  width: 15px;
  height: 15px;
  border-right: 2px solid var(--bordo);
  border-bottom: 2px solid var(--bordo);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 15px;
  flex-shrink: 0;
}

.faq-question.active .faq-arrow {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
  opacity: 1;
  padding-bottom: 24px;
}


/* --- Blog --- */

.blog-swiper {
  width: 100%;
  padding-left: 5px;
  padding-right: 5px;
}

.section-description {
  margin-top: 16px;
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  color: var(--light-blue);
}

.blog-swiper {
  width: 100%;
  padding-bottom: 64px;
}

.blog-swiper a:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  filter: brightness(1);
}

.blog-card {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}

.blog-card__img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-card__content {
  padding: 24px 21px;
  border-radius: 15px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  background: var(--light-gray);
}

.blog-card__date {
  font-size: 14px;
}

.blog-card__title {
  margin-top: 8px;
  font-weight: 500;
  font-size: 16px;
  color: var(--bordo);
}

.blog-card__desc {
  margin-top: 8px;
  font-size: 14px;
}


/* --- Partners --- */

.partners-container {
  padding: 64px 0;
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.partner-item {
  background: var(--white);
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
}

.partner-item:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  filter: brightness(1);
}

.partner-item img {
  max-width: 100%;
}


/* --- Contacts --- */

.contacts-map {
  width: 100%;
  height: 525px;
  border-radius: 15px;
  overflow: hidden;
}

.contacts-form-block .cta-wrapper {
  padding-bottom: 125px;
}

.contacts-form {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background: var(--white);
  border-radius: 15px;
  padding: 24px 30px;
  max-width: 926px;
  margin: -80px auto 0;
}

.form-inline {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
}

.input-group {
  flex: 1;
  min-width: 0;
}

.input-group label {
  font-weight: 500;
  font-size: 14px;
  color: var(--graphite);
  display: block;
  margin-bottom: 8px;
}

.input {
  box-sizing: border-box;
  border: 1px solid var(--gray);
  border-radius: 5px;
  width: 100%;
  height: 52px;
  padding: 10px;
  font-size: 16px;
  color: var(--graphite);
}

.form-agreement {
  margin-top: 8px;
  font-size: 14px;
  color: var(--deep-gray)
}

.contacts-form-button {
  display: none;
}


/* --- Footer --- */

.footer {
  background: var(--light-blue);
  padding: 48px 0 65px;
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
}

.footer a {
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
}

.footer a:hover {
  text-decoration: underline;
}

.footer__top {
  display: flex;
}

.footer-logo {
  display: none;
}

.footer__xs-block {
  display: none;
}

.footer__left {
  width: 55%;
  display: flex;
}

.footer__left-block {
  flex-basis: 50%;
  display: flex;
}

.footer__left-group {
  flex-basis: 50%;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__right-block {
  flex-basis: 50%;
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.footer__right {
  width: 45%;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__right p {
  color: var(--white);
  margin-bottom: 0;
}

.footer__divider {
  border: 0;
  border-top: 1px solid var(--gray);
  margin-top: 28px;
  margin-bottom: 9px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
}

.footer__copyright {
  flex-basis: 50%;
}

.footer__requisites {
  flex-basis: 50%;
  text-align: right;
}
