.page {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #111111;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.page__body {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page__main {
  flex: 1;
}
.page__menu {
  overflow: auto;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s;
}
@media (min-width: 1024px) {
  .page__menu {
    display: none;
  }
}
.page__menu:target {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.page:has(.page__menu:target) {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  padding-inline: 20px;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 41px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 914px;
    margin: 0 auto;
    padding-inline: 0;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1040px;
  }
}

.section {
  padding: 30px 0;
}
@media (min-width: 640px) {
  .section {
    padding: 60px 0;
  }
}

.title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 25px;
}

.icon {
  cursor: pointer;
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
}
.icon--linkedin {
  background-image: url(../images/socials/socials-linkedin.svg);
}
.icon--telegram {
  background-image: url(../images/socials/socials-telegram.svg);
}
.icon--whatsup {
  background-image: url(../images/socials/socials-whatsup.svg);
}
.icon--facebook {
  background-image: url(../images/socials/socials-facebook.svg);
}

.phone {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 20px;
  padding-left: 38px;
  position: relative;
  display: flex;
  align-items: center;
}
.phone--desktop {
  display: none;
}
@media (min-width: 1024px) {
  .phone--desktop {
    display: block;
    transition: color 0.5s;
  }
  .phone--desktop:hover {
    color: #C9C9C9;
  }
  .phone--desktop:hover .phone__icon {
    color: #C4161C;
  }
}
.phone--tablet {
  display: none;
}
@media (min-width: 640px) {
  .phone--tablet {
    display: block;
  }
}
@media (min-width: 1024px) {
  .phone--tablet {
    display: none;
  }
}

.phone__icon {
  position: absolute;
  left: 0;
  font-size: 28px;
  color: #dd262d;
}
.phone__icon--menu {
  color: #fff;
}
@media (min-width: 1024px) {
  .phone__icon {
    transition: color 0.5s;
  }
}

.top-bar {
  padding-block: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 1024px) {
  .header-content {
    flex-direction: row;
    flex-grow: 1;
    justify-content: space-between;
  }
}
.header-content__nav {
  margin-bottom: 25px;
}
@media (min-width: 1024px) {
  .header-content__nav {
    margin: 0;
  }
}

.menu {
  z-index: 100;
  box-sizing: border-box;
  height: 100vh;
  background-color: #C4161C;
}
.menu__top-bar {
  margin-bottom: 25px;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1024px) {
  .nav__list {
    flex-direction: row;
    gap: 41px;
  }
}
.nav__item {
  width: 100%;
  text-align: center;
}
@media (min-width: 1024px) {
  .nav__item {
    width: auto;
  }
}
.nav__link {
  text-decoration: none;
  text-transform: uppercase;
  color: #C9C9C9;
  letter-spacing: 0.2em;
  display: block;
  width: 100%;
  padding: 5px 0;
  font-weight: 700;
  font-size: 14px;
}
@media (min-width: 1024px) {
  .nav__link {
    padding: 0;
    position: relative;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    border-radius: 50%;
    width: 100%;
    height: 1px;
    background-color: #C4161C;
    transform: scale(0);
    transform-origin: left;
    transition: transform 0.5s;
  }
  .nav__link:hover::after {
    transform: scale(1);
  }
}

.socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}
@media (min-width: 1024px) {
  .socials__item-link {
    display: block;
    transition: transform 0.5s;
  }
  .socials__item-link:hover {
    transform: scale(1.2);
  }
}

.form__input {
  outline: none;
  box-sizing: border-box;
  width: 100%;
  display: block;
  padding: 14px 11px;
  font-family: inherit;
  font-size: 14px;
  line-height: 142%;
  color: #111111;
  margin-bottom: 16px;
  background-color: #eae5e5;
  border: 1px solid transparent;
  transition: border-color 0.5s;
}
.form__input:last-child {
  margin-bottom: 32px;
}
.form__input::placeholder {
  font-size: 14px;
  line-height: 142%;
  color: #8d8d92;
  transition: color 0.5s;
}
.form__input--message {
  resize: none;
  height: 144px;
}
.form__input:hover::placeholder, .form__input:focus::placeholder {
  color: #111111;
}
.form__input:hover {
  border-color: #111111;
}
.form__input:focus {
  border-color: #111111;
}
.form__btn {
  width: 100%;
}

.btn {
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  letter-spacing: 0.2em;
  color: inherit;
  background-color: #C4161C;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-weight: 700;
}
@media (min-width: 640px) {
  .btn {
    letter-spacing: 0.3em;
  }
}
@media (min-width: 1024px) {
  .btn {
    margin: 0;
    transition: color 0.5s, box-shadow 0.5s, background-color 0.5s;
  }
  .btn:hover {
    color: #C4161C;
    background-color: #fff;
  }
  .btn:focus {
    outline: transparent;
    box-shadow: 0 0 0 2px #fff;
  }
  .btn:active {
    background-color: #C9C9C9;
  }
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__nav {
  display: none;
}
@media (min-width: 1024px) {
  .header__nav {
    display: block;
  }
}
.top-bar__menu-btn {
  text-align: center;
  width: 44px;
  height: 44px;
}
@media (min-width: 1024px) {
  .top-bar__menu-btn {
    display: none;
  }
}
.top-bar__menu-btn-icon {
  font-size: 30px;
  line-height: 44px;
  color:#C4161C;
}
.top-bar__menu-btn-icon--close {
  color:#fff;
}

.hero {
  padding: 30px 0;
}
.hero__container {
  display: flex;
  flex-direction: column-reverse;
  gap: 30px;
}
@media (min-width: 640px) {
  .hero__container {
    text-align: center;
  }
}
@media (min-width: 1024px) {
  .hero__container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}
.hero__img-block {
  box-shadow: -11px 11px 15px -5px rgba(196, 22, 28, 0.5019607843);
  width: 100%;
}
@media (min-width: 640px) {
  .hero__img-block {
    box-shadow: -14px 14px 15px -5px rgba(196, 22, 28, 0.5019607843);
    max-width: 680px;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .hero__img-block {
    box-shadow: -23px 23px 15px -5px rgba(196, 22, 28, 0.5019607843);
    max-width: 380px;
  }
}
.hero__img {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.hero__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  margin: 0 0 15px;
}
.hero__text {
  margin: 0 0 15px;
}
@media (min-width: 640px) {
  .hero__btn {
    max-width: 270px;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .hero__btn {
    margin: 0;
  }
}

.about__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 1024px) {
  .about__container {
    flex-direction: row;
  }
}
.about__text {
  margin: 0;
  padding: 0 15px 15px 0;
}

.milestones {
  padding: 60px 0;
}
.milestones__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
}
@media (min-width: 1024px) {
  .milestones__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.milestones__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #1E1E1E;
  transition: box-shadow 0.5s, transform 0.5s;
}
.milestones__item:hover {
  transform: scale(1.05);
  box-shadow: 1px 4px 16px 0 rgba(232, 232, 240, 0.4);
}
.milestones__item--large {
  background-color: transparent;
  grid-column: 1/2;
  grid-row: 1/3;
}
.milestones__item--large .milestones__item-title {
  font-size: 72px;
  margin-bottom: 30px;
}
.milestones__item-title {
  font-weight: 700;
  font-size: 28px;
  color: #C4161C;
  margin-bottom: 15px;
}

.services__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}
@media (min-width: 1024px) {
  .services__list {
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
  }
}
.services__item {
  display: flex;
  flex-direction: column;
  background-color: #1E1E1E;
  padding: 25px 20px;
  border-top-right-radius: 35px;
  max-width: 100%;
  height: 280px;
}
@media (min-width: 640px) {
  .services__item {
    flex-direction: row-reverse;
    justify-content: center;
    height: 200px;
  }
}
@media (min-width: 1024px) {
  .services__item {
    width: 240px;
    height: 280px;
    flex-direction: column;
    justify-content: flex-start;
    transition: box-shadow 0.5s, transform 0.5s;
    transition: box-shadow 0.5s, transform 0.5s, background-color 0.5s;
  }
  .services__item:hover {
    transform: scale(1.05);
    box-shadow: 1px 4px 16px 0 rgba(232, 232, 240, 0.4);
  }
  .services__item:hover {
    background-color: #C4161C;
  }
  .services__item:hover .services__item-icon {
    color: #fff;
  }
  .services__item:hover .services__item-price {
    background-color: #fff;
    color: #C4161C;
  }
}
.services__item-icon {
  font-size: 74px;
  margin-bottom: 30px;
  color: #C4161C;
}
@media (min-width: 640px) {
  .services__item-icon {
    font-size: 150px;
    width: 50%;
    text-align: center;
    align-self: center;
  }
}
@media (min-width: 1024px) {
  .services__item-icon {
    font-size: 74px;
    text-align: left;
    align-self: start;
    transition: color 0.5s;
  }
}
.services__item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.services__item-title {
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 15px;
}
.services__item-text {
  margin: 0;
  flex-grow: 1;
  max-width: 240px;
}
.services__item-price {
  border-top-right-radius: 15px;
  display: block;
  width: fit-content;
  background-color: #C4161C;
  padding: 8px;
  transition: color 0.5s, background-color 0.5s;
}

.team:hover .team__item-photo {
  box-shadow: 0 0 15px 5px rgba(196, 22, 28, 0.5019607843);
  transform: scale(1.05);
}
.team__title {
  text-align: center;
}
.team__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}
@media (min-width: 640px) {
  .team__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 45px;
  }
}
@media (min-width: 1024px) {
  .team__list {
    justify-content: center;
    gap: 5rem;
  }
}
.team__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team__item-photo {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  max-width: 250px;
  max-height: 250px;
  aspect-ratio: 1/1;
}
@media (min-width: 640px) {
  .team__item-photo {
    max-width: 380px;
  }
}
@media (min-width: 1024px) {
  .team__item-photo {
    transition: box-shadow 0.5s, transform 0.5s;
  }
}
.team__item-position {
  color: #C4161C;
  letter-spacing: 0.2em;
}

.certificates__title {
  text-align: center;
}
.certificates__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}
@media (min-width: 640px) {
  .certificates__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 45px;
  }
}
@media (min-width: 1024px) {
  .certificates__list {
    justify-content: center;
    gap: 5rem;
  }
}
.certificates__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.certificates__photo {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  max-width: 150px;
  max-height: 150px;
  transition: box-shadow 0.5s, transform 0.5s;
}
.certificates__photo:hover {
  box-shadow: 0 0 15px 5px rgba(196, 22, 28, 0.5019607843);
  transform: scale(1.9) translate(0, -10px);
}
@media (min-width: 640px) {
  .certificates__photo {
    max-width: 380px;
  }
}
@media (min-width: 1024px) {
  .certificates__photo:hover {
    transform: scale(2.1);
  }
}

.contacts__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 50px;
  background-color: #1E1E1E;
  padding: 30px 20px;
}
@media (min-width: 640px) {
  .contacts__inner {
    padding: 30px 50px;
  }
}
@media (min-width: 1024px) {
  .contacts__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 200px;
    text-align: left;
  }
}
.contacts__title span {
  color: #C4161C;
}
.contacts__text {
  margin: 0;
}
.contacts__form {
  width: 100%;
  flex-grow: 1;
}
@media (min-width: 640px) {
  .contacts__form {
    max-width: 500px;
  }
}
@media (min-width: 1024px) {
  .contacts__form {
    max-width: 400px;
  }
}

.recommendations__title {
  text-align: center;
}
.recommendations__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 70px 30px;
}
@media (min-width: 640px) {
  .recommendations__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (min-width: 1024px) {
  .recommendations__list {
    justify-content: space-around;
    gap: 70px 10px;
  }
}
.recommendations__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 280px;
}
@media (min-width: 1024px) {
  .recommendations__item {
    flex-basis: 30%;
  }
  .recommendations__item:hover .recommendations__photo, .recommendations__item:hover .recommendations__video {
    box-shadow: 0 0 15px 5px rgba(196, 22, 28, 0.5019607843);
  }
}
.recommendations__item-title {
  margin: 0;
}
@media (min-width: 1024px) {
  .recommendations__item-title {
    transition: color 0.5s;
  }
}
.recommendations__photo, .recommendations__video {
  display: flex;
  width: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1.77/0.99;
}
.recommendations__photo {
  transition: box-shadow 0.5s, transform 0.5s;
}
.recommendations__video {
  transition: box-shadow 0.5s;
}
.recommendations__link {
  font-weight: 700;
  text-transform: uppercase;
  color: #C4161C;
  text-decoration: none;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 5px;
}
@media (min-width: 1024px) {
  .recommendations__link {
    transition: color 0.5s;
  }
  .recommendations__link:hover {
    color: #fff;
  }
  .recommendations__link:hover .recommendations__link-icon {
    color: #fff;
  }
}
.recommendations__link-icon {
  font-size: 20px;
  color: #C4161C;
}
@media (min-width: 1024px) {
  .recommendations__link-icon {
    transition: color 0.5s;
  }
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}
.footer__bottom {
  background-color: #1E1E1E;
  padding-block: 25px;
}
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}
@media (min-width: 1024px) {
  .footer__container {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer__phones {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__phone {
  text-decoration: none;
  color: inherit;
  display: flex;
  padding-left: 38px;
  position: relative;
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .footer__phone {
    transition: color 0.5s;
  }
  .footer__phone:hover {
    color: #C9C9C9;
  }
  .footer__phone:hover .footer__phone-icon {
    color: #C9C9C9;
  }
}
.footer__phone-icon {
  position: absolute;
  left: 0;
  font-size: 28px;
  color: #fff;
}
@media (min-width: 1024px) {
  .footer__phone-icon {
    transition: color 0.5s;
  }
}
.footer__go-top {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-left: 18px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 1024px) {
  .footer__go-top {
    position: relative;
  }
  .footer__go-top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    border-radius: 50%;
    width: 100%;
    height: 1px;
    background-color: #C4161C;
    transform: scale(0);
    transform-origin: left;
    transition: transform 0.5s;
  }
  .footer__go-top:hover::after {
    transform: scale(1);
  }
}
.footer__go-top-icon {
  position: absolute;
  left: 0;
  font-size: 12px;
}

/*# sourceMappingURL=main.css.map */
