/* fonts */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/*========== font | colors | typography ==========*/

:root {
  --body-font: 'Inter', sans-serif;

  --color-dark-blue: #042b46;
  --color-blue: #096cb5;
  --color-cyan: #dbeffd;
  --color-white: #ffffff;

  --font-text: 17px;
  --font-menu: 19px;
  --font-link: 17px;
}

@media (max-width: 1024px) {
  :root {
    --font-menu: 24px;
  }
}

/* base */

html {
  scroll-behavior: smooth;
}

html.lock,
body.lock,
.locker {
  overflow: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  color: var(--color-dark-blue);
  font-family: var(--body-font);
  font-size: var(--font-text);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 32px;
  font-weight: 500;
}

h4 {
  font-size: 24px;
  font-weight: 500;
}

h5 {
  font-size: 20px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 28px;
  }
}

.visually-hidden {
  position: fixed;
  transform: scale(0);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.overlay.active {
  display: block;
}

/* btns */

.btn {
  width: 495px;
  height: 50px;
  background-size: 100%;
  padding: 17px 28px;
  border: none;
  background: linear-gradient(90deg, #042b46 0%, rgba(4, 43, 70, 0.7) 100%),
    #fff;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 8px 24px;
  font-size: var(--font-text);
  color: var(--color-cyan);
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn:before {
  border-radius: inherit;
  background: linear-gradient(270deg, #096cb5 0%, rgba(9, 108, 181, 0.7) 100%),
    #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  z-index: -100;
  transition: opacity 0.3s ease-out;
}

.btn:hover:before {
  opacity: 1;
}

.line {
  width: 1px;
  height: auto;
  background: rgba(4, 43, 70, 0.3);
}

/* slider */

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.slider__btn-prev {
  width: 20px;
  height: 20px;
  display: block;
  background: url('../imgs/icons/arrow-left.svg');
  border: none;
  cursor: pointer;
}

.slider__btn-next {
  width: 20px;
  height: 20px;
  display: block;
  background: url('../imgs/icons/arrow-right.svg');
  border: none;
  cursor: pointer;
}

/* wrapper */

.container {
  max-width: 1216px;
  margin: 0 auto;
}

.container-xl {
  max-width: 1920px;
  margin: 0 auto;
}

/* header */

.header {
  position: relative;
  background: var(--color-cyan);
}

.header__left {
  position: absolute;
  top: 0;
  left: 0;
  width: 36.5%;
  height: 110px;
  background: linear-gradient(
      90deg,
      #042b46 54.91%,
      rgba(4, 43, 70, 0.7) 111.7%
    ),
    #fff;
  clip-path: polygon(0% 0%, 100% 0%, 93% 100%, 0% 100%);
}

.header__right {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 110px;
  background: linear-gradient(
      90deg,
      rgba(9, 108, 181, 0.7) -6.33%,
      #096cb5 70.27%
    ),
    #fff;
  clip-path: polygon(4% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 0;
  z-index: 2;
}

.header__menu {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 92px;
  z-index: 2;
}

.menu__burger {
  display: none;
}

.menu__item {
  display: flex;
  align-items: center;
}

.menu__link {
  padding-bottom: 3px;
  font-size: var(--font-menu);
  color: var(--color-white);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-out;
}

.menu__link:hover {
  border-bottom: 1px solid var(--color-white);
}

/* head */

.head .container {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 120px;
  gap: 40px;
}

.head__top {
  display: flex;
  justify-content: flex-end;
}

.head__top-title {
  max-width: 1026px;
  color: var(--color-dark-blue);
  text-align: right;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.head__bottom {
  display: flex;
  justify-content: space-between;
}

.head__bottom-input {
  width: 598px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 3px;
  border: 1px solid var(--color-dark-blue);
  background: var(--color-white) url('../imgs/icons/Union.svg') no-repeat;
  background-position: center right 14px;
}

.head__bottom-input::placeholder {
  color: rgba(4, 43, 70, 0.3);
  font-size: var(--font-text);
  font-weight: 500;
  line-height: 22.1px;
}

.head__bottom-tel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-dark-blue);
  font-size: 47px;
}

.head__bottom-tel > span {
  color: var(--color-dark-blue);
  font-size: 79px;
}

.head__bottom-btns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.head-2 {
  height: 490px;
}

.head-2__title {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 40px 0;
}

/* footer */

.footer {
  background: var(--color-dark-blue);
  padding-top: 20px;
}

.footer__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__nav {
  width: inherit;
  display: flex;
  justify-content: center;
  background: var(--color-cyan);
}

.footer__menu {
  width: 1216px;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 118px;
}

.footer__menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.footer__link-img {
  position: absolute;
  height: 73px;
  opacity: 0.3;
  z-index: 1;
}

.footer__link {
  padding: 24px 0;
  color: var(--color-dark-blue);
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
  z-index: 2;
}

.footer__link > span {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-out;
}

.footer__link > span:hover {
  border-bottom: 1px solid var(--color-dark-blue);
}

.footer__contacts {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 80px 0;
}

.contacts__left {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 62px;
}

.contacts__title {
  color: var(--color-white);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
}

.contacts__wrapper {
  height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts__adress {
  color: var(--color-cyan);
  font-size: 17px;
  font-weight: 400;
}

.contacts__adress:hover {
  text-decoration: underline;
}

.contacts__phone {
  color: var(--color-cyan);
  font-size: 17px;
  font-weight: 400;
}

.contacts__phone > a:hover {
  text-decoration: underline;
}

.contacts__email {
  color: var(--color-cyan);
  font-size: 17px;
  font-weight: 400;
}

.contacts__email > a:hover {
  text-decoration: underline;
}

.footer__emblem img {
  width: 198px;
  height: 230px;
  display: flex;
  opacity: 0.2;
}

.contacts__right {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 62px;
}

.rectangle-left {
  width: 332px;
  height: 110px;
  background: linear-gradient(270deg, #096cb5 0%, rgba(9, 108, 181, 0) 100%);
}

.rectangle-right {
  width: 332px;
  height: 110px;
  background: linear-gradient(90deg, #096cb5 0%, rgba(9, 108, 181, 0) 104.7%);
}

/* media */

@media (max-width: 1600px) {
  .header__menu {
    gap: 75px;
  }
}

@media (max-width: 1280px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  /* header */

  .header__menu {
    gap: 40px;
  }

  /* head */

  .head .container {
    padding-top: 30px;
    padding-bottom: 90px;
    gap: 30px;
  }

  .head__bottom-input {
    width: 100%;
    max-width: 100%;
  }

  .head__bottom-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .head__bottom-tel {
    font-size: 34px;
  }

  .head__bottom-tel > span {
    font-size: 42px;
  }

  .btn {
    width: 354px;
  }

  .footer__menu {
    width: 900px;
    gap: 60px;
    padding: 0px 40px;
  }

  .contacts__right {
    width: auto;
  }
}

@media (max-width: 1024px) {
  .header__left {
    width: 45%;
  }

  .header__right {
    width: 55%;
    clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  .header__menu {
    gap: 15px;
  }

  .menu__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 3;
  }

  .menu__burger:before {
    content: '';
    background-color: var(--color-white);
    position: absolute;
    width: 18px;
    height: 2px;
    right: 0;
    transition: all 0.3s ease-out;
  }

  .menu__burger:after {
    content: '';
    background-color: var(--color-white);
    position: absolute;
    width: 24px;
    height: 2px;
    right: 0;
    transition: all 0.3s ease-out;
  }

  .menu__burger:before {
    top: 0;
  }

  .menu__burger:after {
    bottom: 0;
  }

  .menu__burger span {
    background-color: var(--color-white);
    position: absolute;
    width: 20px;
    height: 2px;
    top: 9px;
    right: 0;
    transition: all 0.3s ease-out;
  }

  .menu__burger.active span {
    transform: scale(0);
  }

  .menu__burger.active:before {
    width: 100%;
    transform: rotate(45deg);
    top: 9px;
  }

  .menu__burger.active:after {
    width: 100%;
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .menu__burger.active > span {
    background-color: var(--color-white);
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    transform: translateX(110%);
    transition: transform 0.5s;
    overflow: auto;
    z-index: 2;
    border-radius: 0px 0px 0px 3px;
    background: linear-gradient(
        90deg,
        rgba(9, 108, 181, 0.7) 0%,
        #096cb5 99.32%
      ),
      #dbeffd;
  }

  .header__menu {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin: 129px 20px 0 40px;
  }

  .rectangle-right {
    width: 20px;
  }

  .rectangle-left {
    width: 20px;
  }

  .footer__menu {
    width: 100%;
    gap: 15px;
  }

  .footer__contacts {
    position: relative;
  }

  .footer__emblem img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
  }
}

@media (max-width: 769px) {
  .header__left {
    width: 50%;
    height: 100%;
  }

  .header__right {
    width: 50%;
    height: 100%;
    clip-path: polygon(6.5% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  .head__bottom-input {
    width: 100%;
    max-width: 100%;
  }

  .head__bottom-info {
    gap: 20px;
  }

  .head__bottom-tel {
    font-size: 27px;
  }

  .head__bottom-tel > span {
    font-size: 40px;
  }

  .btn {
    width: 100%;
  }

  .rectangle-right {
    display: none;
  }

  .rectangle-left {
    display: none;
  }

  .footer__menu {
    width: 100%;
    gap: 30px;
  }

  .footer__nav {
    width: 100%;
  }

  .footer__inner {
    justify-content: center;
  }

  .footer__contacts {
    padding: 40px 0 50px 0;
  }

  .contacts__left,
  .contacts__right {
    gap: 60px;
  }
}

@media (max-width: 729px) {
  /* head */

  .head .container {
    align-items: center;
    padding-top: 20px;
    padding-bottom: 60px;
    gap: 20px;
  }

  .head__top-title {
    font-size: 32px;
  }

  .head__bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer {
    padding-top: 0px;
  }

  .footer__nav {
    background-color: var(--color-blue);
  }

  .footer__link {
    color: var(--color-white);
  }

  .footer__menu {
    height: auto;
    flex-direction: column;
    gap: 10px;
    padding: 40px;
  }

  .footer__contacts {
    padding: 20px 0 20px 0;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contacts__left,
  .contacts__right {
    gap: 20px;
    text-align: center;
    align-items: center;
  }

  .contacts__wrapper {
    height: 110px;
  }

  .footer__emblem img {
    width: 90%;
    height: 90%;
  }
}

@media (max-width: 425px) {
  .header__logo {
    width: 130px;
  }
}

@media (max-width: 320px) {
  .head__top-title {
    font-size: 24px;
  }

  .head__bottom-tel {
    font-size: 27px;
  }

  .head__bottom-tel > span {
    font-size: 27px;
  }
}
