* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8fafc;
  font-family: "Onest", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

/* Шапка */
.header {
  background-color: #f8fafc;
  padding: 12px 0;
  width: 100%;
  height: 60px;
  position: fixed;
  z-index: 999;
}

.header-article {
  background-color: #f1f4fa;
  padding: 12px 0;
  width: 100%;
  height: 60px;
  position: fixed;
  z-index: 999;
}

.header-cont {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 24px;
}

.logo__circle {
  width: 34px;
  height: 34px;
  background-color: #115e59;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
}

.logo__name {
  font-size: 16px;
  font-weight: 700;
  color: #3f3f3f;
}

.logo__title {
  font-size: 14px;
  color: #3f3f3f;

  font-size: 500;
}

.head-btn-cont {
  margin-right: 8px;
}

.header__burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  gap: 8px;
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  -webkit-tap-highlight-color: transparent;
}

.line-btn1 {
  display: block;
  width: 32px;
  height: 4px;
  background-color: #3f3f3f;
  border-radius: 10px;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-btn2 {
  display: block;
  width: 32px;
  height: 4px;
  background-color: #3f3f3f;
  border-radius: 10px;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-btn3 {
  display: block;
  width: 32px;
  height: 4px;
  background-color: #3f3f3f;
  border-radius: 10px;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__burger-btn.open .line-btn1 {
  transform: translateY(12px) rotate(45deg);
}

.header__burger-btn.open .line-btn2 {
  opacity: 0;
  transform: scaleX(0);
}

.header__burger-btn.open .line-btn3 {
  transform: translateY(-12px) rotate(-45deg);
}

.header .btn,
.hero__subtitle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
    url("/images/med-about-block.png");
  z-index: 99;
  padding-top: 120px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background-color 0.2s ease;
}

.m-m-c {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  width: 80%;
  height: 48px;
  opacity: 80%;
  border-radius: 10px;
  border: none;
  background-color: #f8fafc;
  opacity: 60%;
  transition: background-color 0.2s ease;
  text-decoration: none;
  font-family: "Onest", sans-serif;
  letter-spacing: 1%;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 20px;
  -webkit-tap-highlight-color: transparent;
}

.m-m-c:active {
  background-color: #dbe8ff;
  border: 3px solid #e3dada;
}

.btn__header_desktop {
  display: none;
}

@media (max-width: 767px) {
  .logo {
    display: flex;
    align-items: center;
    padding-left: 16px;

    .logo__text {
      display: flex;
      flex-direction: column;
      margin-left: 8px;
    }

    .logo__name {
      font-size: 16px;
      font-weight: 700;
      color: #3f3f3f;
    }

    .logo__title {
      font-size: 14px;
      color: #3f3f3f;
      font-size: 500;
    }
  }

  .desktop-menu {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .desktop-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .header {
    width: 100%;
  }

  .header-cont {
    position: relative;
    max-width: 100%;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    padding-left: 0;
  }

  .logo__name {
    font-size: 16px;
    font-weight: 700;
    color: #3f3f3f;
  }

  .logo__title {
    font-size: 14px;
    color: #3f3f3f;

    font-size: 500;
  }

  .logo__text {
    margin-left: 8px;
    letter-spacing: 1%;
  }
  .header__burger-btn {
    display: none;
  }

  .logo__circle {
    width: 40px;
    height: 40px;
  }

  .btn__header_desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    text-align: center;
    background-color: #a9d4ff;
    color: #3f3f3f;
    opacity: 95%;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    letter-spacing: 1%;
  }

  .desktop-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .m-m-d {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    opacity: 85%;
    background-color: transparent;
    transition:
      background-color 0.2s ease,
      opacity 0.2s ease,
      color 0.2s ease,
      transform 0.1s ease;
    text-decoration: none;
    font-family: "Onest", sans-serif;
    letter-spacing: 1%;
    color: #3f3f3f;
    font-weight: 500;
    font-size: 18px;
    -webkit-tap-highlight-color: transparent;
  }

  .m-m-d:hover {
    opacity: 100%;
    color: #115e59;
  }

  .m-m-d:active {
    transform: translateY(1px);
    opacity: 70%;
  }

  .btn__header_desktop:hover {
    background-color: #7dbeff;
    color: #3f3f3f;
    box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
    transform: translateY(-2px);
  }

  .head-btn-cont {
    display: none;
  }
}

/* hero */
.hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0), rgba(244, 248, 251, 100)),
    url("/images/background-desktop.jpg");
}

.hero__content {
  padding-top: 24px;
  margin-left: 16px;
  margin-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-1 {
  display: flex;
  flex-direction: column;
}

.hero__subtitle {
  display: none;
}

.hero__title {
  margin-top: 64px;
  font-size: 24px;
  font-weight: 600;
  color: #3f3f3f;
  padding-left: 16px;
  padding-right: 16px;
  text-align: left;
}

.hero-descr-back {
  display: flex;
  align-items: left;
  justify-content: center;
}

.hero__description {
  font-size: 20px;
  color: #3f3f3f;
  padding-left: 16px;
  padding-right: 16px;
  font-weight: 500;
  text-align: left;
  margin-top: 12px;
}

.hero__button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-general {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  padding: 12px 32px;
  margin-top: 48px;
  text-align: center;
  background-color: #a9d4ff;
  color: #3f3f3f;
  opacity: 95%;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  letter-spacing: 1%;
  -webkit-tap-highlight-color: transparent;
}

.btn-general:hover {
  background-color: #7dbeff;
  color: #3f3f3f;
  box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
  transform: translateY(-2px);
}

.hero-photo img {
  width: 80vw;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0), rgba(244, 248, 251, 100)),
      url("/images/background-desktop.jpg");
  }

  .hero__content {
    padding-top: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .hero-1 {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
  }

  .dean-2 {
    padding-right: 10px;
  }

  .hero__subtitle {
    display: none;
  }

  .hero__title {
    margin-top: 40px;
    font-size: 30px;
    font-weight: 600;
    color: #3f3f3f;
    padding-left: 60px;
    text-align: left;
  }

  .hero-descr-back {
    border-radius: 100px;
    display: flex;
    align-items: left;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
  }

  .hero__description {
    font-size: 18px;
    color: #3f3f3f;
    padding-left: 60px;
    font-weight: 500;
    text-align: left;
    margin-top: 24px;
  }

  .hero__button {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-general {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 40px;
    margin-top: 64px;
    text-align: center;
    background-color: #a9d4ff;
    color: #3f3f3f;
    opacity: 95%;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    letter-spacing: 1%;
  }

  .btn-general:hover {
    background-color: #7dbeff;
    color: #3f3f3f;
    box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
    transform: translateY(-2px);
  }

  .hero-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
  }
}

@media (min-width: 1024px) {
  .hero {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0), rgba(244, 248, 251, 100)),
      url("/images/background-desktop.jpg");
  }

  .hero__content {
    padding-top: 104px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .hero-1 {
    display: flex;
    flex-direction: column;
    padding-left: 24px;
  }

  .dean-2 {
    padding-right: 24px;
  }

  .hero__subtitle {
    display: block;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3f3f3f;
    padding-left: 60px;
  }

  .hero__title {
    margin-top: 40px;
    font-size: 40px;
    font-weight: 700;
    color: #3f3f3f;
    padding-left: 60px;
    text-align: left;
  }

  .hero-descr-back {
    border-radius: 100px;
    display: flex;
    align-items: left;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
  }

  .hero__description {
    font-size: 20px;
    color: #3f3f3f;
    padding-left: 60px;
    font-weight: 500;
    text-align: left;
    margin-top: 24px;
  }

  .hero__button {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-general {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 48px;
    margin-top: 72px;
    text-align: center;
    background-color: #a9d4ff;
    color: #3f3f3f;
    opacity: 95%;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    letter-spacing: 1%;
  }

  .btn-general:hover {
    background-color: #7dbeff;
    color: #3f3f3f;
    box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
    transform: translateY(-2px);
  }

  .hero-photo img {
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
  }
}

/* Категории */

.general__block {
  padding: 48px 16px;
  background-color: #f4f8fa;
}

.general__category {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category {
  position: relative;
  z-index: 10;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 8px;
  padding-right: 8px;
  width: 100%;
  height: auto;
  background-color: #f4f8fa;
  border-radius: 10px;
  border: 1px solid #c7c7c7;
  box-shadow: 0px 0px 12px rgba(138, 138, 138, 0.5);
  color: #3f3f3f;
  font-family: "Onest", sans-serif;
  letter-spacing: 2%;
  cursor: pointer;
}

.category:nth-child(1) {
  background-image:
    linear-gradient(rgba(244, 248, 250, 0.9), rgba(244, 248, 251, 0.95)),
    url("/images/med-back-about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.category:nth-child(2) {
  background-image:
    linear-gradient(rgba(244, 248, 250, 0.9), rgba(244, 248, 251, 0.95)),
    url("/images/med-back-test.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.category:nth-child(3) {
  background-image:
    linear-gradient(rgba(244, 248, 250, 0.9), rgba(244, 248, 251, 0.95)),
    url("/images/med-back-article.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.category:hover {
  background-color: #f0f7ff;
  border-color: #3498db;
  box-shadow: 0px 4px 15px rgba(52, 152, 219, 0.3);
}

.category:active {
  transform: scale(0.99);
  box-shadow: none;
}

.category__title {
  margin-left: 16px;
  font-size: 22px;
  font-weight: 700;
}

.category__subtitle {
  margin-top: 8px;
  margin-left: 16px;
  font-size: 20px;
  font-weight: 500;
}

.category__description {
  margin-top: 4px;
  margin-left: 16px;
  font-weight: 400;
  font-size: 16px;
}

.category-link {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.category-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}

@media (min-width: 650px) and (max-width: 1023px) {
  .general__category {
    padding-top: 80px;
    padding-left: 56px;
    padding-right: 56px;
    padding-bottom: 48;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .general__block {
    padding: 48px 16px;
    background-color: #f4f8fa;
  }

  .general__category {
    padding-top: 72px;
    padding-left: 56px;
    padding-right: 56px;
    padding-bottom: 48;
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .category {
    position: relative;
    z-index: 10;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
    height: auto;
    background-color: #f4f8fa;
    border-radius: 10px;
    border: 1px solid #c7c7c7;
    box-shadow: 0px 0px 12px rgba(138, 138, 138, 0.5);
    color: #3f3f3f;
    font-family: "Onest", sans-serif;
    letter-spacing: 2%;
    cursor: pointer;
  }

  .category__title {
    margin-left: 16px;
    font-size: 20px;
    font-weight: 700;
  }

  .category__subtitle {
    margin-top: 8px;
    margin-left: 16px;
    font-size: 18px;
    font-weight: 500;
  }

  .category__description {
    margin-top: 4px;
    margin-left: 16px;
    font-weight: 500;
    font-size: 16px;
  }

  .category-link {
    text-decoration: none;
    color: inherit;
    outline: none;
  }

  .category-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
  }
}

/* Обо мне */

.about__me {
  padding: 16px 16px;
  background-color: #f4f8fa;
}

.about__container {
  padding-bottom: 24px;
  padding-top: 16px;
  padding-right: 8px;
  padding-left: 8px;
  width: auto;
  height: auto;
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
    url("/images/med-about-block.png");
  font-family: "Onest", sans-serif;
  font-weight: 500;
  letter-spacing: 2%;
  border-radius: 10px;
  color: #3f3f3f;
}

.about-cont-title {
  margin-top: 16px;
  padding-left: 16px;
  font-size: 24px;
}

.about-cont-desc {
  margin-top: 24px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 18px;
  font-weight: 300;
}

.about_category {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 24px;
}

.about-category-cont {
  width: 90%;
  height: auto;
  background-color: #f4f8fa;
  border-radius: 10px;
  padding-left: 8px;
  padding-top: 16px;
  padding-right: 8px;
  padding-bottom: 16px;
}

.acc-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #3f3f3f;
}

.acc-fact {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  color: #3f3f3f;
}

.med-about-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 24px 16px;
}

.med-about-photo img {
  max-width: auto;
  max-height: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.med-photo-desc {
  margin-top: 4px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 4%;
  font-family: "Onest", sans-serif;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about__me {
    padding: 48px 48px;
    background-color: #f4f8fa;
  }

  .about__container {
    padding-bottom: 32px;
    padding-top: 32px;
    padding-right: 24px;
    padding-left: 24px;
    width: auto;
    height: auto;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
      url("/images/med-about-block.png");
    font-family: "Onest", sans-serif;
    font-weight: 500;
    letter-spacing: 2%;
    border-radius: 10px;
    color: #3f3f3f;
  }

  .about-cont-title {
    margin-top: 24px;
    padding-left: 16px;
    font-size: 24px;
  }

  .about-cont-desc {
    margin-top: 32px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 18px;
    font-weight: 300;
  }

  .about_category {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .about-category-cont {
    width: 90%;
    height: auto;
    background-color: #f4f8fa;
    border-radius: 10px;
    padding-left: 8px;
    padding-top: 16px;
    padding-right: 8px;
    padding-bottom: 16px;
  }

  .acc-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #3f3f3f;
  }

  .acc-fact {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: #3f3f3f;
  }

  .med-about-photo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 24px 16px;
  }

  .med-about-photo img {
    max-width: auto;
    max-height: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
  }

  .med-photo-desc {
    margin-top: 4px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 4%;
    font-family: "Onest", sans-serif;
  }
}

@media (min-width: 1024px) {
  .about__me {
    padding: 32px 48px;
    background-color: #f4f8fa;
  }

  .about__container {
    padding-bottom: 32px;
    padding-top: 16px;
    padding-right: 40px;
    padding-left: 40px;
    width: auto;
    height: auto;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
      url("/images/med-about-block.png");
    font-family: "Onest", sans-serif;
    font-weight: 500;
    letter-spacing: 2%;
    border-radius: 10px;
    color: #3f3f3f;
  }

  .about-cont-title {
    margin-top: 24px;
    padding-left: 16px;
    font-size: 24px;
  }

  .about-cont-desc {
    margin-top: 32px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 18px;
    font-weight: 300;
  }

  .about_category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    gap: 16px;
    padding-top: 60px;
    padding-bottom: 24px;
    justify-items: center;
  }

  .about-category-cont {
    height: auto;
    background-color: #f4f8fa;
    border-radius: 10px;
  }

  .acc-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #3f3f3f;
  }

  .acc-fact {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: #3f3f3f;
  }

  .med-about-photo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 16px;
  }

  .med-about-photo img {
    max-width: 80%;
    max-height: auto;

    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
  }

  .med-photo-desc {
    margin-top: 8px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 4%;
    font-family: "Onest", sans-serif;
  }
}

/* Методы */

.about__work-title {
  padding-top: 48px;
  font-weight: 600;
  font-size: 24px;
  text-align: left;
  padding-left: 16px;
}

.about__work-title-2 {
  padding-top: 104px;
  font-weight: 600;
  font-size: 24px;
  text-align: left;
  padding-left: 16px;
}

.category-work {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  width: 100%;
  height: 100%;
}

.cat-rec {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 16px;
  padding: 16px 24px;
  width: auto;
  height: auto;
  background-color: #f4f8fa;
  border-radius: 10px;
  text-align: center;
}

.svg-icon-cat {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.cat-rec-title {
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about__work-title {
    padding-top: 64px;
    font-weight: 600;
    font-size: 24px;
    text-align: left;
    padding-left: 16px;
  }

  .about__work-title-2 {
    padding-top: 120px;
    font-weight: 600;
    font-size: 24px;
    text-align: left;
    padding-left: 16px;
  }

  .category-work {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
    width: 100%;
    height: 100%;
  }

  .cat-rec {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    padding: 16px 24px;
    width: auto;
    height: auto;
    background-color: #f4f8fa;
    border-radius: 10px;
    text-align: center;
  }

  .svg-icon-cat {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .cat-rec-title {
    font-size: 18px;
    font-weight: 600;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .about__work-title {
    padding-top: 56px;
    font-weight: 600;
    font-size: 24px;
    text-align: left;
    padding-left: 32px;
  }

  .about__work-title-2 {
    padding-top: 140px;
    font-weight: 600;
    font-size: 24px;
    text-align: left;
    padding-left: 32px;
  }

  .category-work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
    width: 100%;
    height: 100%;
  }

  .cat-rec {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    padding: 16px 24px;
    width: auto;
    height: auto;
    background-color: #f4f8fa;
    border-radius: 10px;
    text-align: center;
  }

  .svg-icon-cat {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .cat-rec-title {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
  }
}

/* Дипломы и сертификаты */

.dyplom-title {
  margin-top: 88px;
  font-weight: 600;
  font-size: 24px;
  text-align: left;
}

.sdb-title {
  padding-left: 16px;
  font-weight: 600;
  font-size: 24px;
  text-align: left;
}

.dyplom-block {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skills-diplom-block {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  gap: 8px;
  text-align: center;
  width: 95%;
}

@media (min-width: 1024px) {
  .skills-diplom-block {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
    gap: 8px;
    text-align: center;
    width: 50%;
  }
}

.diploms-block {
  margin-top: 16px;
  gap: 8px;
  width: auto;
  height: auto;
  background-color: #f4f8fa;
  border-radius: 10px;
  text-align: center;
}

.diploms {
  padding: 16px;
}

.dimloms-title {
  padding: 8px 8px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.diploma-image {
  margin-top: 8px;
  width: 50%;
  border-radius: 10px;
  object-position: center;
}

.dimlom-decr {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1%;
  font-family: "Onest", sans-serif;
}

/* Статьи */
.article {
  scroll-margin-top: 16px;
  margin-top: 16px;
  margin-left: 16px;
  margin-right: 16px;
  background-color: #f4f8fa;
  padding-bottom: 24px;
  padding-top: 8px;
  padding-right: 8px;
  padding-left: 8px;
  width: auto;
  height: auto;
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
    url("/images/med-about-block.png");
  font-family: "Onest", sans-serif;
  font-weight: 500;
  border-radius: 10px;
  color: #3f3f3f;
}

.a-s-t {
  padding-left: 16px;
}

/* article-html */

.article-html {
  margin: auto;
  padding-top: 48px;
  padding-left: 16px;
  padding-right: 16px;
}

/* article-open.html */

.article-open {
  padding-top: 72px;
  font-family: "Onest", sans-serif;
  color: #3f3f3f;
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.9)),
    url("/images/med-about-block.png");
  height: 100vh;
}

.article-head {
  padding-top: 16px;
  margin-left: 16px;
  margin-right: 16px;
}

.article-head-text {
  margin-left: 24px;
}

.article-head-title {
  font-size: 18px;
}

.article-date {
  margin-left: 32px;
}

.art-time {
  font-size: 12px;
  font-weight: 300;
}

.article-head-desc {
  margin-left: 24px;
}

.a-c-d {
  font-size: 14px;
  font-weight: 400;
}

.article-text {
  margin-top: 24px;
  margin-left: 16px;
  margin-right: 16px;
  font-size: 15px;
  font-weight: 400;
}

.btn-article-open {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  opacity: 70%;
}

.btn-art-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 42px;
  background-color: #ffffff;
  border: none;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  color: #000000;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  letter-spacing: 2%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.btn-art-open:hover {
  background-color: #f0f7ff;
  border-color: #3498db;
  box-shadow: 0px 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-art-open:active {
  transform: scale(0.99);
  box-shadow: none;
}

/* testing.html */

.testing-html {
  margin: auto;
  padding-top: 48px;
  padding-left: 16px;
  padding-right: 16px;
}

.article-block {
  display: flex;
  flex-direction: column;
}

.a-s-title {
  margin-top: 24px;
  font-size: 24px;
}

.article-cat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.article-category {
  display: flex;
  position: relative;
  z-index: 10;
  gap: 8px;
  padding-top: 8px;
  padding-left: 8px;
  padding-bottom: 2px;
  width: 100%;
  height: 100%;
  background-color: #f4f8fa;
  border-radius: 10px;
  border: 1px solid #c7c7c7;
  box-shadow: 0px 0px 12px rgba(138, 138, 138, 0.5);
  color: #3f3f3f;
  font-family: "Onest", sans-serif;
  letter-spacing: 2%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.article-category:hover {
  background-color: #f0f7ff;
  border-color: #3498db;
  box-shadow: 0px 4px 15px rgba(52, 152, 219, 0.3);
}

.article-category:active {
  background-color: #eff5ff;
  outline: 3px solid #e3dada;
}

.art-photo_title {
  display: block;
  flex-shrink: 0;
}

.ar-cat-image {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.art-time-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.article-cat-time {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-right: 8px;
}

.ar-cat-title {
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  margin-top: 8px;
}

.article-link {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.article-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}

.art-cat-min {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  gap: 4px;
}
.ar-cat-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.ar-cat-subtitle {
  text-align: right;
  font-size: 13px;
  font-weight: 400;
}

/* Тестирование */

.art-time-column2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.dot-svg {
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  display: block;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .article {
    scroll-margin-top: 16px;
    margin-top: 56px;
    margin-left: 48px;
    margin-right: 48px;
    background-color: #f4f8fa;
    width: auto;
    height: auto;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
      url("/images/med-about-block.png");
    font-family: "Onest", sans-serif;
    font-weight: 500;
    border-radius: 10px;
    color: #3f3f3f;
  }

  /* article-html */

  .article-html {
    padding-top: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* article-open.html */

  .article-open {
    padding-top: 72px;
    font-family: "Onest", sans-serif;
    color: #3f3f3f;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.9)),
      url("/images/med-about-block.png");
    height: 100vh;
  }

  .article-head {
    padding-top: 16px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .article-head-text {
    margin-left: 24px;
  }

  .article-head-title {
    font-size: 18px;
  }

  .article-date {
    margin-left: 32px;
  }

  .art-time {
    font-size: 12px;
    font-weight: 300;
  }

  .article-head-desc {
    margin-left: 24px;
  }

  .a-c-d {
    font-size: 14px;
    font-weight: 400;
  }

  .article-text {
    margin-top: 24px;
    margin-left: 16px;
    margin-right: 16px;
    font-size: 15px;
    font-weight: 400;
  }

  .btn-article-open {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    opacity: 70%;
  }

  .btn-art-open {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 42px;
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    color: #000000;
    font-family: "Onest", sans-serif;
    font-size: 16px;
    letter-spacing: 2%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
  }

  .btn-art-open:hover {
    background-color: #f0f7ff;
    border-color: #3498db;
    box-shadow: 0px 4px 15px rgba(52, 152, 219, 0.3);
  }

  .btn-art-open:active {
    transform: scale(0.99);
    box-shadow: none;
  }

  /* testing.html */

  .article {
    margin-top: 32px;
    margin-left: 48px;
    margin-right: 48px;
  }

  .testing-html {
    margin: auto;
    padding-top: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-block {
    display: flex;
    flex-direction: column;
  }

  .a-s-title {
    margin-top: 48px;
    text-align: left;
    font-size: 26px;
  }

  .article-cat-list {
    padding-top: 16px;
    margin-left: 32px;
    margin-right: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }

  .article-category {
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 10;
    gap: 8px;
    padding-top: 8px;
    padding-left: 8px;
    padding-bottom: 2px;
    width: 100%;
    height: 100%;
    background-color: #f4f8fa;
    border-radius: 10px;
    border: 1px solid #c7c7c7;
    box-shadow: 0px 0px 12px rgba(138, 138, 138, 0.5);
    color: #3f3f3f;
    font-family: "Onest", sans-serif;
    letter-spacing: 2%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .article-category:hover {
    background-color: #f0f7ff;
    border-color: #3498db;
    box-shadow: 0px 4px 15px rgba(52, 152, 219, 0.3);
  }

  .article-category:active {
    background-color: #eff5ff;
    outline: 3px solid #e3dada;
  }

  .art-photo_title {
    display: block;
    flex-shrink: 0;
  }

  .ar-cat-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .art-time-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .article-cat-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-right: 8px;
  }

  .ar-cat-title {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    margin-top: 8px;
  }

  .article-link {
    text-decoration: none;
    color: inherit;
    outline: none;
  }

  .article-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
  }

  .art-cat-min {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    gap: 4px;
  }
  .ar-cat-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
  }

  .ar-cat-subtitle {
    text-align: right;
    font-size: 14px;
    font-weight: 400;
  }
}

@media (min-width: 1024px) {
  .article {
    margin-top: 32px;
    margin-left: 48px;
    margin-right: 48px;
  }

  .article-block {
    display: flex;
    flex-direction: column;
  }

  .a-s-title {
    margin-top: 64px;
    margin-left: 32px;
    text-align: left;
    font-size: 26px;
  }

  .article-cat-list {
    padding-top: 16px;
    margin-left: 32px;
    margin-right: 32px;
    padding-bottom: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }

  .article-category {
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 10;
    gap: 8px;
    padding-top: 8px;
    padding-left: 8px;
    padding-bottom: 2px;
    width: 100%;
    height: 100%;
    background-color: #f4f8fa;
    border-radius: 10px;
    border: 1px solid #c7c7c7;
    box-shadow: 0px 0px 12px rgba(138, 138, 138, 0.5);
    color: #3f3f3f;
    font-family: "Onest", sans-serif;
    letter-spacing: 2%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .article-category:hover {
    background-color: #f0f7ff;
    border-color: #3498db;
    box-shadow: 0px 4px 15px rgba(52, 152, 219, 0.3);
  }

  .article-category:active {
    background-color: #eff5ff;
    outline: 3px solid #e3dada;
  }

  .art-photo_title {
    display: block;
    flex-shrink: 0;
  }

  .ar-cat-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .art-time-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .article-cat-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-right: 8px;
  }

  .ar-cat-title {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    margin-top: 8px;
  }

  .article-link {
    text-decoration: none;
    color: inherit;
    outline: none;
  }

  .article-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
  }

  .art-cat-min {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    gap: 4px;
  }
  .ar-cat-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
  }

  .ar-cat-subtitle {
    text-align: right;
    font-size: 14px;
    font-weight: 400;
  }
}

/* страница статей */
.article-container {
  max-width: 700px;
  margin: 0 auto;

  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.article-cover-wrapper {
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
}

.article-main-img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.article-page-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #3f3f3f;
  margin: 0 0 12px 0;
}

/* Дата публикации */
.article-meta-date {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}

.article-body-content {
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
  font-weight: 400;
  word-wrap: break-word;
}

.article-body-content br {
  margin-bottom: 12px;
  display: block;
  content: "";
}

.article-footer-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-start;
}

.btn-back-to-blog {
  display: inline-block;
  background-color: #3f3f3f;
  color: #f8fafc;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.btn-back-to-blog:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .article-container {
    margin: 30px auto;
  }

  .article-page-title {
    font-size: 26px;
  }

  .article-cover-wrapper {
    max-height: 280px;
    margin-bottom: 20px;
  }

  .article-body-content {
    font-size: 16px;
  }
}

/* Консультации */

.workflow-section {
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(255, 255, 255, 0.9)),
    url("/images/med-about-block.png");
  margin-top: 16px;
  margin-left: 16px;
  margin-right: 16px;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  letter-spacing: 1%;
  font-family: "Onest", sans-serif;
  color: #3f3f3f;
}

.workflow-section__title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.container-work {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.workflow-section__grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-top: 32px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 450px;
}

.workflow-section__item {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.workflow-section__number {
  width: 40px;
  height: 40px;
  border: 2px solid #115e59;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.workflow-section__text {
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .workflow-section {
    scroll-margin-top: 16px;

    margin-left: 48px;
    margin-right: 48px;
    justify-items: center;
    background-color: #f4f8fa;
    width: auto;
    height: auto;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
      url("/images/med-about-block.png");
    font-family: "Onest", sans-serif;
    font-weight: 500;
    border-radius: 10px;
    color: #3f3f3f;
  }

  .workflow-section__title {
    margin-top: 40px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
  }

  .workflow-section__grid {
    display: flex;
    flex-direction: column;

    gap: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 32px;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 450px;
  }

  .workflow-section__item {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
  }

  .workflow-section__number {
    width: 64px;
    height: 64px;
    border: 2px solid #115e59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
  }

  .workflow-section__text {
    text-align: left;
    font-size: 22px;
    font-weight: 500;
  }
}

@media (min-width: 1024px) {
  .workflow-section {
    scroll-margin-top: 16px;
    margin-top: 56px;
    margin-left: 48px;
    margin-right: 48px;
    background-color: #f4f8fa;
    justify-items: center;
    width: auto;
    height: auto;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.85)),
      url("/images/med-about-block.png");
    font-family: "Onest", sans-serif;
    font-weight: 500;
    border-radius: 10px;
    color: #3f3f3f;
  }

  .workflow-section__title {
    margin-top: 48px;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
  }

  .workflow-section__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 32px;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 450px;
  }

  .workflow-section__item {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
  }

  .workflow-section__number {
    width: 64px;
    height: 64px;
    border: 2px solid #115e59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
  }

  .workflow-section__text {
    text-align: left;
    font-size: 22px;
    font-weight: 500;
  }
}

/* CTA */

.cta-section {
  margin-left: 16px;
  margin-right: 16px;
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(255, 255, 255, 0.9)),
    url("/images/med-about-block.png");
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 16px;
  text-align: center;
  letter-spacing: 1%;
  font-family: "Onest", sans-serif;
}

.cta-section__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 24px;
  margin-right: 24px;
  color: #3f3f3f;
}

.cta-section__title {
  font-size: 20px;
  font-weight: 800;
}

.cta-section__subtitle {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.cta-section__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  max-width: 340px;
  background-color: #f4f8fa;
  opacity: 70%;
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.cta-section__btn:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

.cta-section__note {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.cta-section__messengers {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.social1-svg {
  width: 32px;
  height: 32px;
}

.cta-section__link {
  display: inline-flex;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.cta-section__link:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cta-section {
    margin-left: 48px;
    margin-right: 48px;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(255, 255, 255, 0.9)),
      url("/images/med-about-block.png");
    padding-top: 64px;
    padding-bottom: 64px;
    margin-top: 16px;
    text-align: center;
    letter-spacing: 1%;
    font-family: "Onest", sans-serif;
  }

  .cta-section__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 24px;
    margin-right: 24px;
    color: #3f3f3f;
  }

  .cta-section__title {
    font-size: 22px;
    font-weight: 800;
  }

  .cta-section__subtitle {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
  }

  .cta-section__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 12px 32px;
    margin-top: 32px;
    text-align: center;
    background-color: #a9d4ff;
    color: #3f3f3f;
    opacity: 95%;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    letter-spacing: 1%;
    -webkit-tap-highlight-color: transparent;
  }

  .cta-section__btn:hover {
    background-color: #7dbeff;
    color: #3f3f3f;
    box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
    transform: translateY(-2px);
  }

  .cta-section__note {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
  }

  .cta-section__messengers {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 56px;
  }

  .social1-svg {
    width: 32px;
    height: 32px;
  }

  .cta-section__link {
    display: inline-flex;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .cta-section__link:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@media (min-width: 1024px) {
  .cta-section {
    margin-left: 48px;
    margin-right: 48px;
    background-image:
      linear-gradient(rgba(244, 248, 251, 0.9), rgba(255, 255, 255, 0.9)),
      url("/images/med-about-block.png");
    padding-top: 64px;
    padding-bottom: 64px;
    margin-top: 16px;
    text-align: center;
    letter-spacing: 1%;
    font-family: "Onest", sans-serif;
  }

  .cta-section__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 24px;
    margin-right: 24px;
    color: #3f3f3f;
  }

  .cta-section__title {
    font-size: 26px;
    font-weight: 800;
  }

  .cta-section__subtitle {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 500;
  }

  .cta-section__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 12px 32px;
    margin-top: 32px;
    text-align: center;
    background-color: #a9d4ff;
    color: #3f3f3f;
    opacity: 95%;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    letter-spacing: 1%;
    -webkit-tap-highlight-color: transparent;
  }

  .cta-section__btn:hover {
    background-color: #7dbeff;
    color: #3f3f3f;
    box-shadow: 0 8px 20px rgba(77, 166, 255, 0.4);
    transform: translateY(-2px);
  }

  .cta-section__note {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 500;
  }

  .cta-section__messengers {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 56px;
  }

  .social1-svg {
    width: 32px;
    height: 32px;
  }

  .cta-section__link {
    display: inline-flex;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .cta-section__link:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* Отзывы */

.reviews-section {
  scroll-margin-top: 80px;
  margin-left: 16px;
  margin-right: 16px;
  background-color: #f4f8fa;
  padding: 24px 8px;
  width: auto;
  height: auto;
  background-image:
    linear-gradient(rgba(244, 248, 251, 0.9), rgba(244, 248, 251, 0.9)),
    url("/images/med-about-block.png");
  font-family: "Onest", sans-serif;
  font-weight: 500;
  border-radius: 10px;
  color: #3f3f3f;
  display: block;
}

.rev-s-title {
  margin-top: 24px;
  margin-left: 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.reviews-swiper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 40px !important;
}

.reviews-swiper .swiper-slide {
  box-sizing: border-box;
  width: 100%;
}

.reviews-section__card {
  background-color: #f4f8fa;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  opacity: 90%;
}

.reviews-section__author {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.reviews-section-avatar {
  margin: 0;
  padding: 0;
}

.icon-photo-reviews {
  border-radius: 10px;
  width: 20vw;
  height: auto;
}

.reviews-section__author-name {
  font-size: 16px;
  font-weight: 700;
  color: #3f3f3f;
}

.reviews-section__author-status {
  font-size: 13px;
  color: #4a5568;
  font-weight: 500;
}

.reviews-section__bubble {
  margin-top: 8px;
  background-color: #ebebeb;
  border-radius: 16px;
  padding: 16px 8px;
  width: 100%;
  box-sizing: border-box;
}

.reviews-section__text {
  margin-left: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #3f3f3f;
}

.reviews-swiper__pagination.swiper-pagination-bullets {
  bottom: 0 !important;
}

.reviews-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  opacity: 1;
  margin: 0 5px !important;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.reviews-swiper__pagination .swiper-pagination-bullet-active {
  background-color: #115e59;
  transform: scale(1.1);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .reviews-section {
    margin-left: 48px;
    margin-right: 48px;
  }

  .icon-photo-reviews {
    border-radius: 10px;
    width: 10vw;
    height: auto;
  }

  .reviews-section__title {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .reviews-section {
    display: grid;
    place-items: center;
    padding: 48px 0 100px 0;
    margin-left: 48px;
    margin-right: 48px;
  }

  .reviews-swiper {
    max-width: 600px;
    padding: 10px 0 50px 0 !important;
  }

  .reviews-section__card {
    width: 100%;
  }

  .reviews-section__author {
    gap: 16px;
  }

  .icon-photo-reviews {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }

  .reviews-section__author-name {
    font-size: 20px;
  }

  .reviews-section__author-status {
    font-size: 16px;
  }

  .reviews-section__bubble {
    margin-top: 16px;
  }

  .reviews-section__text {
    font-size: 18px;
  }

  .reviews-section__title {
    font-size: 26px;
    text-align: center;
    margin: 0 auto 45px auto;
  }
}
/* Contacts */

.footer-contacts {
  margin-left: 16px;
  margin-right: 16px;
  background-color: #f4f8fa;
  padding: 64px 0 30px 0;
  border-top: 1px solid #e2e8f0;
  font-family: "Onest", sans-serif;
}

.footer-contacts__container {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.footer-t {
  text-align: left;
  margin-bottom: 32px;
  padding: 0 16px;
  margin-top: 24px;
  margin-left: 32px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #3f3f3f;
}

.footer-s {
  text-align: left;
  margin-top: 8px;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: 40px;
  font-size: 16px;
  color: #3f3f3f;
  font-weight: 300;
  max-width: 480px;
}

.footer-contacts__list {
  display: flex;
  flex-direction: column;
  margin-left: 24px;
  margin-bottom: 56px;
  top: 24px;
  gap: 40px;
  list-style: none;
  width: 100%;
  max-width: 320px;
}

.footer-contacts__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contacts__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.footer-contacts__item-content {
  display: flex;
  flex-direction: column;
}

.footer-contacts__link {
  font-size: 16px;
  font-weight: 500;
  color: #3f3f3f;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contacts__link:hover {
  color: #1a6057;
}

.footer-contacts__subtext {
  font-size: 14px;
  color: #718096;
  margin-top: 4px;
}

.footer-contacts__text {
  font-size: 16px;
  font-weight: 400;
  color: #3f3f3f;
}

.contact-icons {
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.footer-contacts__socials {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.footer-contacts__social-btn {
  width: 52px;
  height: 52px;
  background-color: #d4fcf7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.footer-contacts__social-btn:hover {
  transform: translateY(-2px);
  background-color: #bff7f0;
}

.footer-end {
  margin-top: 40px;
  text-align: center;
  font-weight: 400;
  font-size: 12px;
}

@media (min-width: 768px) and (max-width: 1023) {
  .footer-contacts {
    margin-left: 48px;
    margin-left: 48px;
    background-color: #f4f8fa;
    padding: 100px 0 100px 0;
    border-top: 1px solid #e2e8f0;
    font-family: "Onest", sans-serif;
  }

  .footer-contacts__container {
    display: flex;
    flex-direction: column;
    align-items: left;
  }

  .footer-t {
    text-align: left;
    margin-bottom: 32px;
    padding: 0 16px;
    margin-top: 24px;
    margin-left: 64px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #3f3f3f;
  }

  .footer-s {
    text-align: left;
    margin-top: 8px;
    margin-left: 64px;
    margin-right: 16px;
    margin-bottom: 40px;
    font-size: 18px;
    color: #3f3f3f;
    font-weight: 400;
    max-width: 1200px;
  }

  .footer-contacts__list {
    display: flex;
    flex-direction: column;
    margin-left: 64px;
    margin-bottom: 56px;
    top: 24px;
    gap: 56px;
    list-style: none;
    width: 100%;
    max-width: 1200px;
  }

  .footer-contacts__item {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .footer-contacts__icon {
    display: inline-flex;
    flex-shrink: 0;
  }

  .footer-contacts__item-content {
    display: flex;
    flex-direction: column;
  }

  .footer-contacts__link {
    font-size: 20px;
    font-weight: 500;
    color: #3f3f3f;
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-contacts__link:hover {
    color: #1a6057;
  }

  .footer-contacts__subtext {
    font-size: 16px;
    color: #718096;
    margin-top: 4px;
  }

  .footer-contacts__text {
    font-size: 20px;
    font-weight: 500;
    color: #3f3f3f;
  }

  .contact-icons {
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .footer-contacts__socials {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
  }

  .footer-contacts__social-btn {
    width: 52px;
    height: 52px;
    background-color: #d4fcf7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      transform 0.2s,
      background-color 0.2s;
  }

  .footer-contacts__social-btn:hover {
    transform: translateY(-2px);
    background-color: #bff7f0;
  }

  .footer-end {
    margin-top: 40px;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
  }
}

.article-container {
  max-width: 700px;
  margin: 0 auto;

  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.article-cover-wrapper {
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
}

.article-main-img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.article-page-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #3f3f3f;
  margin: 0 0 12px 0;
}

/* Дата публикации */
.article-meta-date {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}

.article-body-content {
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
  font-weight: 400;
  word-wrap: break-word;
}

.article-body-content br {
  margin-bottom: 12px;
  display: block;
  content: "";
}

.article-footer-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-start;
}

.btn-back-to-blog {
  display: inline-block;
  background-color: #3f3f3f;
  color: #f8fafc;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.btn-back-to-blog:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .article-container {
    margin: 30px auto;
  }

  .article-page-title {
    font-size: 26px;
  }

  .article-cover-wrapper {
    max-height: 280px;
    margin-bottom: 20px;
  }

  .article-body-content {
    font-size: 16px;
  }
}
