@import url(https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap);
* {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, figure {
  padding: 0;
  margin: 0;
  font: 16px/1.5 "Roboto Condensed", sans-serif;
}

nav {
  display: inline-block;
}

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

*:focus {
  outline: none;
}

.wrapper {
  width: 100%;
  max-width: 1172px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.app {
  position: relative;
  padding: 30px 0 50px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  background: linear-gradient(180deg, #131C50 0%, #0072A2 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh;
}
@media screen and (max-width: 992px) {
  .app {
    gap: 40px;
    padding: 20px 0 30px;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 50% 0%;
  }
}
.nav {
  z-index: 1;
}
.nav__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 992px) {
  .nav__logo {
    max-width: 50px;
  }
}
.nav__company {
  display: flex;
  gap: 24px;
  align-items: center;
}
@media screen and (max-width: 992px) {
  .nav__company {
    gap: 18px;
  }
}
.nav__company-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media screen and (max-width: 992px) {
  .nav__company-wrapper {
    gap: 0;
  }
}
.nav__company-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  text-transform: uppercase;
}
@media screen and (max-width: 992px) {
  .nav__company-name {
    font-size: 18px;
    line-height: 26px;
  }
}
.nav__company-lis {
  color: #ffffff;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
}
@media screen and (max-width: 992px) {
  .nav__company-lis {
    display: none;
  }
}
.nav__company-lis--short {
  display: none;
}
@media screen and (max-width: 992px) {
  .nav__company-lis--short {
    color: #ffffff;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    display: block;
    text-decoration: underline;
  }
}
.nav__burger {
  display: none;
  position: relative;
  z-index: 110;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #ffffff;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger span:nth-child(1) {
  top: 0;
}
.nav__burger span:nth-child(2) {
  top: 10px;
}
.nav__burger span:nth-child(3) {
  top: 20px;
}
.nav__burger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav__burger.active span:nth-child(2) {
  opacity: 0;
}
.nav__burger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
@media screen and (max-width: 992px) {
  .nav__burger {
    display: flex;
  }
}
.nav__overlay {
  display: none;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav__overlay.active {
  display: block;
  opacity: 1;
}
@media screen and (max-width: 992px) {
  .nav__overlay {
    display: block;
    pointer-events: none;
  }
  .nav__overlay.active {
    pointer-events: auto;
  }
}
.nav__mobile {
  display: none;
}
@media screen and (max-width: 992px) {
  .nav__mobile {
    position: fixed;
    z-index: 100;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 100px 30px 30px;
    background: linear-gradient(180deg, #131C50 0%, #0072A2 100%);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .nav__mobile.active {
    right: 0;
  }
}
.nav__mobile-link {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.nav__mobile-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav__mobile-link--active {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}
.nav__mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media screen and (max-width: 992px) {
  .nav__menu {
    display: none;
  }
}
.nav__menu-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.nav__menu-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav__menu-link--active {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}
.nav__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
@media screen and (max-width: 992px) {
  .nav__contacts {
    gap: 0;
  }
}
.nav__contacts-item {
  color: #ffffff;
}
@media screen and (max-width: 992px) {
  .nav__contacts-item {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}
.nav__contacts-email {
  text-decoration: underline;
}
@media screen and (max-width: 992px) {
  .nav__contacts--desktop {
    display: none !important;
  }
}

body.nav-open {
  overflow: hidden;
}

.footer {
  padding-top: 30px;
  margin-top: 30px;
}
@media screen and (max-width: 992px) {
  .footer {
    padding-top: 20px;
    margin-top: 20px;
  }
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 992px) {
  .footer__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}
@media screen and (max-width: 992px) {
  .footer__logo {
    max-width: 50px;
  }
}
.footer__company {
  display: flex;
  gap: 24px;
  align-items: center;
}
@media screen and (max-width: 992px) {
  .footer__company {
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }
}
.footer__company-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media screen and (max-width: 992px) {
  .footer__company-wrapper {
    gap: 4px;
    align-items: center;
  }
}
.footer__company-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  text-transform: uppercase;
}
@media screen and (max-width: 992px) {
  .footer__company-name {
    font-size: 16px;
    line-height: 22px;
  }
}
.footer__company-lis {
  color: #ffffff;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
}
@media screen and (max-width: 992px) {
  .footer__company-lis {
    display: none;
  }
}
.footer__company-lis--short {
  display: none;
}
@media screen and (max-width: 992px) {
  .footer__company-lis--short {
    color: #ffffff;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    display: block;
    text-decoration: underline;
  }
}
.footer__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media screen and (max-width: 992px) {
  .footer__menu {
    display: none;
  }
}
.footer__menu-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.footer__menu-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__menu-link--active {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
@media screen and (max-width: 992px) {
  .footer__contacts {
    align-items: center;
    gap: 4px;
  }
}
.footer__contacts-item {
  color: #ffffff;
}
@media screen and (max-width: 992px) {
  .footer__contacts-item {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}
.footer__contacts-email {
  text-decoration: underline;
}

.hero {
  padding: 30px 0;
}
@media screen and (max-width: 992px) {
  .hero {
    padding: 15px 0;
  }
}
.hero__wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media screen and (max-width: 992px) {
  .hero__wrapper {
    gap: 8px;
  }
}
.hero__title {
  color: #ffffff;
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  max-width: 695px;
}
@media screen and (max-width: 992px) {
  .hero__title {
    font-weight: 700;
    font-size: 28px;
    line-height: 33px;
  }
}
.hero__description {
  color: #ffffff;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  max-width: 695px;
}
@media screen and (max-width: 992px) {
  .hero__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}

.service__wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
@media screen and (max-width: 992px) {
  .service__wrapper {
    flex-direction: column;
    gap: 12px;
  }
}
.service__item {
  overflow: hidden;
  max-width: 364.67px;
  flex: 1 1 auto;
  width: calc(33.3333333333% - 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 18px;
  border-radius: 3px;
  border: 2px solid transparent;
  -o-border-image: linear-gradient(to right top, #7982B6, #D2D5E7);
     border-image: linear-gradient(to right top, #7982B6, #D2D5E7);
  border-image-slice: 1;
}
@media screen and (max-width: 992px) {
  .service__item {
    width: 100%;
    max-width: initial;
  }
}
.service__item-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #D2D5E7;
  text-transform: uppercase;
}
.service__item-text, .service__item-price {
  color: #D2D5E7;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.service__item-price {
  font-style: italic;
}

.section__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (max-width: 992px) {
  .section__wrapper {
    gap: 24px;
  }
}
.section__title {
  font-weight: 600;
  font-size: 32px;
  line-height: 38px;
  color: #13100E;
}
@media screen and (max-width: 992px) {
  .section__title {
    font-size: 24px;
    line-height: 30px;
  }
}
.section__title--white {
  color: #D2D5E7;
}
.section__title--black {
  color: #13100E;
}
.section--bg {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background-color: #D2D5E7;
  border-radius: 3px;
}
@media screen and (max-width: 992px) {
  .section--bg {
    padding: 20px;
  }
}
.section__body {
  color: #D2D5E7;
  line-height: 1.5;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.form__row {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
@media screen and (max-width: 992px) {
  .form__row {
    flex-direction: column;
    gap: 20px;
  }
}
.form__row-item {
  flex: 1;
}
.form__submit {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 22px;
}
@media screen and (max-width: 992px) {
  .form__submit {
    flex-direction: column-reverse;
    gap: 12px;
  }
}
.form__input {
  width: 100%;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #13100E;
  padding-bottom: 6px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
  line-height: 20px;
  color: #13100E;
  transition: border-color 0.2s ease;
}
.form__input::-moz-placeholder {
  font-family: "Roboto Condensed", sans-serif;
  color: #A5A3A2;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}
.form__input::placeholder {
  font-family: "Roboto Condensed", sans-serif;
  color: #A5A3A2;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}
.form__input:focus {
  border-bottom: 1px solid #0072A2;
  outline: none;
}
.form__input:focus::-moz-placeholder {
  color: transparent;
}
.form__input:focus::placeholder {
  color: transparent;
}
.form__input--error {
  border-bottom: 1px solid red;
}
.form__send {
  background: #0072A2;
  border-radius: 3px;
  color: #ffffff;
  padding: 12px 18px;
  font-family: "Roboto Condensed", sans-serif;
  border: none;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.15s ease-in;
}
.form__send:hover {
  background: #005579;
}
.form__send:focus-visible {
  outline: 2px solid #131C50;
  outline-offset: 2px;
}
.form__send--success {
  background: #202E86;
  cursor: default;
}
.form__send--success:hover {
  background: #202E86;
}
@media screen and (max-width: 992px) {
  .form__send {
    width: 100%;
  }
}
.form__accept {
  text-align: right;
  max-width: 400px;
  font-weight: 300;
  font-size: 14px;
  line-height: 16px;
}
@media screen and (max-width: 992px) {
  .form__accept {
    text-align: center;
  }
}
.form__link {
  color: #005579;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
.form__link:hover {
  opacity: 0.8;
}
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-align: right;
  max-width: 400px;
  font-weight: 300;
  font-size: 14px;
  line-height: 16px;
}
.form__checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #0072A2;
}
.form__checkbox--error {
  color: red;
}
.form__checkbox--error input[type=checkbox] {
  outline: 1px solid red;
}
@media screen and (max-width: 992px) {
  .form__checkbox {
    text-align: center;
    justify-content: center;
  }
}

.gallery__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 42px;
}
@media screen and (max-width: 992px) {
  .gallery__wrapper {
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .gallery__wrapper::-webkit-scrollbar {
    height: 4px;
  }
  .gallery__wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
  }
  .gallery__wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
}
@media screen and (max-width: 992px) {
  .gallery__item {
    scroll-snap-align: start;
  }
}
.gallery__img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bg__top {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.bg__bottom-l {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.bg__bottom-r {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.confidential {
  color: #D2D5E7;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.confidential h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  margin-bottom: 20px;
  color: #ffffff;
}
.confidential h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 16px;
  margin-top: 24px;
  color: #ffffff;
}
.confidential h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 12px;
  margin-top: 20px;
  color: #ffffff;
}
.confidential p {
  margin-bottom: 12px;
}
.confidential ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.confidential ul li {
  margin-bottom: 6px;
  list-style-type: disc;
}
.confidential a {
  color: #0072A2;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
.confidential a:hover {
  opacity: 0.8;
}

.cookies {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 52px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookies.cookies--visible {
  opacity: 1;
  visibility: visible;
}
.cookies--hide {
  display: none;
}
.cookies__wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.cookies__body {
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  border-radius: 3px;
  cursor: default;
}
.cookies__text {
  font-size: 14px;
  line-height: 20px;
  color: #13100E;
}
.cookies__btn {
  display: flex;
  justify-content: center;
}
.cookies__link {
  text-decoration: underline;
  color: #005579;
  transition: opacity 0.2s ease;
}
.cookies__link:hover {
  opacity: 0.8;
}

.about {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media screen and (max-width: 992px) {
  .about__item {
    gap: 6px;
  }
}
.about__header {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
}
@media screen and (max-width: 992px) {
  .about__header {
    font-size: 16px;
  }
}
.about__body {
  color: #D2D5E7;
  font-size: 16px;
  line-height: 24px;
}
.about__body p:not(:last-child) {
  margin-bottom: 8px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}
.modal-overlay.modal--visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  cursor: default;
}
.modal-content img {
  display: block;
  max-width: 100%;
  max-height: calc(95vh - 32px);
  height: auto;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background 0.2s, transform 0.2s;
  z-index: 1;
}
.modal-close:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

body.modal-open {
  overflow: hidden;
}
