/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* JOST */
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost/Jost-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost/Jost-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost/Jost-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* UBUNTU */
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu/Ubuntu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu/Ubuntu-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu/Ubuntu-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.container {
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: 20px;
}

.title {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
}
@media (max-width: 1199px) {
  .title {
    font-size: 36px;
  }
}

.items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 1199px) {
  .items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .items {
    grid-template-columns: repeat(1, 1fr);
  }
}

.button {
  display: block;
  width: fit-content;
  border-radius: 100px;
  padding: 10px 25px 12px;
  gap: 10px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
  background: #386BDB;
}
.button:hover {
  filter: brightness(1.2);
}

.text-block {
  margin-block: 80px;
  font-size: 18px;
}
.text-block .title {
  margin-block: 0 20px !important;
  text-align: left !important;
}
.text-block .text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  background: #F2F2F2;
}

header {
  flex: 0 0 auto;
}

main {
  flex: 1 0 auto;
}

footer {
  flex: 0 0 auto;
}

a,
button,
input,
textarea,
svg * {
  transition-duration: 0.2s;
}

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

.header__logo:hover {
  opacity: 0.7;
}
.header__inner {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__socials {
  display: flex;
  gap: 40px;
  align-items: center;
  font-weight: 700;
  color: #386BDB;
}
@media (max-width: 1199px) {
  .header__socials {
    display: none;
  }
}
.header__mail, .header__phone, .header__geo {
  display: flex;
  gap: 15px;
  align-items: center;
}
.header__mail a:hover, .header__phone a:hover, .header__geo a:hover {
  opacity: 0.7;
}
.header__phone {
  font-size: 24px;
}
.header__nav {
  background: #386BDB;
  padding-block: 15px;
}
@media (max-width: 1199px) {
  .header__nav {
    display: none;
  }
}
.header__nav.active {
  display: flex;
  position: absolute;
  z-index: 9999;
  width: 100%;
}
.header__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 45px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  color: white;
}
@media (max-width: 1199px) {
  .header__list {
    flex-direction: column;
    font-size: 24px;
    gap: 20px;
    padding-block: 20px;
  }
}
.header__link:hover {
  opacity: 0.7;
}
.header__mobile-burger {
  display: none;
}
@media (max-width: 1199px) {
  .header__mobile-burger {
    display: block;
  }
}
.header__mobile-burger {
  position: relative;
  flex-shrink: 0;
  z-index: 5;
  margin-left: 0.8rem;
}
.header__mobile-burger .line {
  width: 46px;
  height: 6px;
  background-color: #386BDB;
  margin: 3.5px 0;
  transition: 0.4s;
}
.header__mobile-burger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 2px);
}
.header__mobile-burger.active .line:nth-child(2) {
  opacity: 0;
}
.header__mobile-burger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(11px, -9px);
}

.footer {
  background: #FFFFFF;
}
.footer__logo:hover {
  opacity: 0.7;
}
.footer__inner {
  padding-block: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1199px) {
  .footer__inner {
    flex-direction: column;
    gap: 30px;
    padding-block: 25px 50px;
  }
}
.footer__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 18px;
  color: #404040;
  gap: 15px 60px;
}
@media (max-width: 1199px) {
  .footer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
}
@media (max-width: 599px) {
  .footer__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.footer__link:hover {
  color: #386BDB;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 32.5px 10px;
  flex-wrap: wrap;
}
@media (max-width: 1199px) {
  .footer__contacts {
    flex-direction: row;
    gap: 15px 10px;
    justify-content: center;
  }
}
.footer__mail, .footer__phone, .footer__geo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #404040;
  font-weight: 700;
}
.footer__mail svg, .footer__phone svg, .footer__geo svg {
  flex-shrink: 0;
}
.footer__mail a:hover, .footer__phone a:hover, .footer__geo a:hover {
  color: #386BDB;
}
@media (max-width: 1199px) {
  .footer__mail, .footer__phone, .footer__geo {
    font-size: 18px;
  }
}
.footer__phone {
  font-size: 24px;
}
@media (max-width: 1199px) {
  .footer__phone {
    font-size: 18px;
  }
}
@media (max-width: 599px) {
  .footer__geo {
    max-width: 230px;
  }
}
.footer__copyright-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 1.125rem;
  margin-bottom: 15px;
}
.footer__copyright-wrapper a span, .footer__copyright-wrapper a:hover {
  color: #386BDB;
}

.advantages {
  background: #386BDB;
  padding-block: 70px 100px;
}
.advantages__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) {
  .advantages__items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .advantages__items {
    grid-template-columns: 1fr;
  }
}
.advantages__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px 15px;
}
.advantages__title {
  margin-top: 35px;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
}
.advantages__text {
  margin-top: 25px;
  text-align: center;
}

.contacts {
  overflow: hidden;
}
.contacts .title {
  margin-block: 60px 50px;
}
@media (max-width: 1199px) {
  .contacts .title {
    margin-block: 20px 50px;
  }
}
.contacts__wrapper {
  display: grid;
  grid-template-columns: 360px auto;
  gap: 100px;
}
@media (max-width: 1199px) {
  .contacts__wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
@media (max-width: 599px) {
  .contacts__wrapper {
    gap: 30px;
  }
}
.contacts__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 1199px) {
  .contacts__items {
    flex-direction: row;
    justify-content: space-between;
  }
}
.contacts__phone, .contacts__mail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #404040;
}
.contacts__phone a:hover, .contacts__mail a:hover {
  color: #386BDB;
}
.contacts__phone {
  font-size: 24px;
}
.contacts__phone a:hover {
  color: #386BDB;
}
.contacts__map {
  width: 150%;
  height: 680px;
}
@media (max-width: 1199px) {
  .contacts__map {
    width: 100%;
  }
}

.service {
  margin-block: 144px;
}
@media (max-width: 599px) {
  .service {
    margin-block: 80px;
  }
}
.service h2 {
  margin-bottom: 43px;
}
.service p {
  font-size: 18px;
}
.service__item {
  padding: 15px 30px 40px;
  background: #FFFFFF;
  border-radius: 10px;
}
.service__item:hover {
  color: #386BDB;
}
.service__item-image {
  height: 255px;
  padding-bottom: 20px;
  margin-bottom: 35px;
  border-bottom: 1px solid #D9D9D9;
}
.service__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service__item-title {
  font-weight: 700;
  font-size: 24px;
}
.service__button {
  margin: 120px auto 0;
}
@media (max-width: 1199px) {
  .service__button {
    margin: 100px auto 0;
  }
}

.catalog {
  margin-block: 230px 120px;
}
@media (max-width: 599px) {
  .catalog {
    margin-block: 160px 120px;
  }
}
.catalog__item {
  padding: 20px 20px 30px;
  background: #FFFFFF;
  border-radius: 17px;
}
.catalog__item:hover {
  color: #386BDB;
}
.catalog__item-image {
  height: 250px;
  margin-bottom: 10px;
}
.catalog__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog__item-title {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  padding-bottom: 15px;
}
.catalog__item-title::after {
  content: "";
  background: #FF1842;
  height: 3px;
  width: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.catalog__title {
  margin-bottom: 40px;
  text-align: center;
}
.catalog__button {
  margin-top: 50px;
  margin-inline: auto;
}
.catalog .info {
  margin-bottom: 120px;
}
@media (max-width: 599px) {
  .catalog .info {
    margin-bottom: 70px;
  }
}

.info {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 80px;
}
@media (max-width: 1199px) {
  .info {
    flex-direction: column;
    gap: 40px;
  }
}
.info__content h1, .info__content h2 {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 15px;
}
.info__content p, .info__content ol, .info__content ul {
  font-size: 18px;
  margin-block: 1rem;
}
.info__content ol, .info__content ul {
  padding-left: 1.25rem;
}
.info__content ul {
  list-style-type: disc;
}
.info__content ol {
  list-style-type: decimal;
}
.info__image {
  width: 580px;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}
.info__image img {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero__title {
  font-weight: 700;
  font-size: 84px;
  text-align: center;
  color: #FFFFFF;
  max-width: 750px;
}
@media (max-width: 1199px) {
  .hero__title {
    font-size: 60px;
  }
}
@media (max-width: 599px) {
  .hero__title {
    font-size: 50px;
  }
}
@media (max-width: 479px) {
  .hero__title {
    font-size: 35px;
  }
}
.hero__subtitle {
  font-family: "Ubuntu", sans-serif;
  margin-top: 20px;
  font-size: 24px;
  color: white;
  text-align: center;
}
@media (max-width: 1199px) {
  .hero__subtitle {
    font-size: 16px;
  }
}
.hero.second img {
  filter: brightness(0.35);
}

.content {
  margin-bottom: 80px;
}
.content .title {
  text-align: center;
  margin-block: 90px 70px;
}
@media (max-width: 1199px) {
  .content .title {
    margin-block: 45px 60px;
  }
}
.content .info {
  margin-top: 115px;
}
@media (max-width: 1199px) {
  .content .info {
    flex-direction: column-reverse;
  }
}
@media (max-width: 599px) {
  .content .info__content h1 {
    font-size: 26px;
  }
}

.map .title {
  margin-bottom: 80px;
}
.map .map__body {
  height: 550px;
}

.documents .title {
  margin-bottom: 30px;
}
.documents__wrapper {
  margin-block: 100px 200px;
}
@media (max-width: 1199px) {
  .documents__wrapper {
    margin-block: 20px 100px;
  }
}
.documents__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 140px;
}
@media (max-width: 1199px) {
  .documents__items {
    margin-bottom: 100px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .documents__items {
    margin-bottom: 70px;
    grid-template-columns: 1fr;
  }
}
.documents__item:hover {
  color: #386BDB;
}
.documents__item:hover svg {
  scale: 1.2;
}
.documents__item svg {
  transition: 0.4s;
}
.documents__item-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 241px;
  background: #E6E6E6;
}
.documents__item-name {
  padding: 20px 15px;
  background: #FFFFFF;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.accordion__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 35px 35px 35px 20px;
  background-color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 20px;
  border-radius: 10px;
}
.accordion__toggle:hover {
  background-color: #e0e0e0;
}
.accordion__toggle.accordion__toggle_active .accordion__icon {
  transform: rotate(180deg);
}
.accordion__icon {
  transition: transform 0.3s ease;
}
.accordion__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  padding: 0 0 0 60px;
}
.accordion__content a {
  font-size: 20px;
  color: #386BDB;
  width: fit-content;
}
.accordion__content a:hover {
  opacity: 0.7;
}