@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"),
    url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"),
    url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"),
    url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-SemiBold.woff2") format("woff2"),
    url("../fonts/Raleway-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Bold.woff2") format("woff2"),
    url("../fonts/Raleway-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "Raleway", sans-serif;
  --after-width: 0;
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

section {
  padding: 60px 0;
}

.title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  color: #323232;
}

.link {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 300px;
  padding: 16px 0;
  border-radius: 100px;
  text-decoration: none;
  background: #134d39;
  font-family: var(--second-family);
  font-weight: 600;
  text-align: center;
  color: #fff;
}

.container {
  max-width: 1440px;
  padding: 0 20px;
  margin: 0 auto;
}

.header-main {
  background-color: #ffffff !important;
  height: 60px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-branding {
  color: var(--e-global-color-accent);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
}

.header-branding img {
  height: 70px;
  width: auto;
  display: block;
}

.header-nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 40px;
}

.header-nav-item {
  position: relative;
}

.header-nav-link {
  text-decoration: none;
  color: #134c37 !important;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  padding: 5px 0;
  transition: all 0.3s ease;
  position: relative;
}

.header-nav-link:hover {
  color: #0f3329 !important;
}

.header-nav-link::after {
  content: "";
  position: absolute;
  width: var(--after-width, 0);
  height: 2px;
  bottom: 5px;
  left: 0;
  background-color: #134c37;
  transition: width 0.3s ease;
}

.header-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.header-hamburger span {
  width: 25px;
  height: 3px;
  background-color: #134c37;
  transition: 0.3s;
}

.routes__title {
  width: 95%;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 64px;
  color: #134d39;
}

.routes__title--color {
  color: #ff8840;
}

.routes__paragraph {
  margin-top: 20px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 142%;
  color: #323232;
}

.routes__link {
  margin-top: 40px;
  font-size: 24px;
}

.routes__container {
  display: flex;
  gap: 20px;
  align-items: center;
}

.routes {
  padding-top: 120px;
}

.routes__descr,
.routes__video {
  flex: 1;
  min-width: 0;
}

.routes__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
}

.way__list {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.way__item {
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid #e9e9e9;
  border-radius: 30px;
  box-shadow: 6px 6px 16px 0 rgba(31, 31, 31, 0.1);
}

.way__number,
.way__name {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  color: #134d39;
}

.way__name {
  margin-top: 5px;
}

.way__descr {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.way__link {
  width: 260px;
  margin-top: 20px;
  font-size: 20px;
}

.way__item-wrapper {
  padding: 40px;
}

.way__img {
  margin-top: auto;
  display: block;
  width: 100%;
}

.way__descr-item {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  color: #666;
}

.advantages__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #666;
}

.advantages__text--color {
  font-weight: 700;
  color: #134d39;
}

.advantages__list {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.advantages__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 40px 40px 30px;
  border: 1px solid #e9e9e9;
  border-radius: 30px;
  box-shadow: 6px 6px 16px 0 rgba(31, 31, 31, 0.1);
}

.process__steps-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  flex: 1;
  border: 1px solid #e9e9e9;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 6px 6px 16px 0 rgba(31, 31, 31, 0.1);
}

.process__steps {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.process__recommendations {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.process__recommendation {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  color: #666;
}

.process__steps-number {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 48px;
  text-align: center;
  color: #134d39;
}

.process__steps-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  color: #323232;
}

.process__actions {
  margin-top: 40px;
  padding: 60px 0;
  border-radius: 30px;
  background: #134d39;
}

.process__actions-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #fff;
}

.process__actions-text {
  margin-top: 30px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  color: #fff;
}

.process__actions-link {
  font-size: 24px;
}

.process__actions-link:first-child {
  background: #fff;
  color: #ff8840;
}

.process__actions-link:last-child {
  background: #ff8840;
  color: #fff;
}

.process__actions-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.way__descr-link {
  text-decoration: underline;
  color: #134d39;
}

@media (max-width: 1024px) {
  .routes__container {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }

  .container {
    padding: 0 10px;
  }

  .routes {
    padding-top: 100px;
  }

  .routes__title {
    width: 100%;
    font-size: 48px;
  }

  .routes__paragraph {
    font-size: 18px;
  }

  .link {
    margin-top: 20px;
    padding: 13px 0;
    width: 100%;
    font-size: 18px;
  }

  .title {
    font-size: 36px;
  }

  .way__list {
    margin-top: 30px;
    flex-direction: column;
  }

  .way__number,
  .way__name {
    font-size: 20px;
  }

  .way__descr-item {
    font-size: 18px;
  }

  .advantages__list {
    margin-top: 30px;
    flex-direction: column;
  }

  .advantages__text {
    font-size: 18px;
  }

  .advantages__item {
    padding: 40px;
  }

  .process__recommendations {
    flex-direction: column;
    gap: 10px;
  }

  .process__recommendation span {
    max-width: 80%;
    text-align: center;
  }

  .process__recommendation {
    justify-content: center;
  }

  .process__recommendation:first-child span {
    max-width: 47%;
  }

  .process__steps {
    margin-top: 30px;
    flex-direction: column;
  }

  .process__steps-text {
    font-size: 20px;
  }

  .process__actions {
    margin-top: 30px;
  }

  .process__actions-links {
    flex-direction: column;
    gap: 20px;
  }

  .process__actions {
    padding: 40px;
  }

  .process__actions-link {
    margin: 0;
  }

  .header-nav-menu {
    position: fixed;
    top: 40px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 40px);
    background-color: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .header-hamburger {
    display: flex;
  }

  .header-nav-menu.active {
    left: 0;
  }
}
