@media (max-width:900px){

.contain {
  padding: 20px 20px 80px;
}


.red_transparent-btn, .seo_section{
  display: none;
}

.wrapper h1{
  display: none;
}

body .article-about{
  margin-top: 30px !important;
}
.contain p,
.contain li,
.contain div {
  font-size: 18px;
  line-height: 26px;
}
.contain .strong-text{
  font-weight: 600;
}


.header-container {
  display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 10px 0;
  margin-top: 10px;
  flex-direction: column;
}
.contain .logo {
  max-width: 100%;
}
.header-consultation-button {
  width: 60%;
  font-size: 14px;
  padding: 12px 10px;
  max-height: 42px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(1, 135, 206, 0.5);
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.header-container.main-pg-header {
  flex-direction: row;
  margin-top: 0px;
}

.contain .main-pg-header .logo {
  height: 50px !important;
  width: auto;
  max-width: 50%;
  margin: 0px auto 0px;
}
.main-pg-header .header-consultation-button {
  width: 50%;
  padding: 8px 5px;
}

.contain .button-change-col {
  background: linear-gradient(45deg, #fa7d3e, #fa7d3e, #000, #000);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}



.card {
  position: relative;
  background-color: #222;
  border-radius: 15px;
  overflow: hidden;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-container {
  display: grid;
  gap: 20px;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
}


.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 90%);
  z-index: 2;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}


.card-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


.card-number {
  position: absolute;
  width: 24px;
  height: 24px;
  font-size: 14px;
  top: 8px;
  right: 8px;
  border: 2px solid #fa7d3e;
  background-color: #000000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  z-index: 3;
}

.contain .recent-section {
  margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.recent-title {
  white-space: wrap;
  font-size: 30px;
    font-weight: bold;
    text-align: left;
    background: linear-gradient(45deg, #000, #fa7d3e);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 4s ease infinite;
}

.recent-title.inner-title{
    text-align: center;
    margin: 0px auto 20px;

}



.tabs-container {
  padding-bottom: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab {
  min-width: 40%;
  flex: 0 0 40%;
  padding: 10px 20px;
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color 0.3s ease;

}

.text-bl {
  margin-top: 30px;
  border: solid 1px rgb(74, 58, 50, 0.2);
  border-radius: 10px;
  padding: 10px 10px;
  box-shadow: 0 10px 10px rgb(0, 0, 0, 0.6);
  background-color: #fff;
}

.text-bl p {
  margin-bottom: 10px;
  color: #000;
}


.tab-content.active {
  display: block;
}


.tab-cards {
  display: grid;
grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}


.tab-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
}

.tab-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  object-position: top;
}


.tab-card-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
}

.tab-card-date {
  border: solid 1px #fff;
  background-color: #000;
  font-size: 12px;
  color: #fff;
  z-index: 2;
  padding: 2px 10px;
  border-radius: 5px;
  opacity: .6;
}

.tab-card-category {
  width: fit-content;
  font-size: 10px;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid #fff;
  border-radius: 4px;
  z-index: 3;
  color: #fff;
}

.tab-card-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
}

.tab-card-title {
  font-size: 16px;
font-weight: bold;
z-index: 2;
}


.free-text {
  white-space: pre-wrap;
}


.back-nav {
  background: linear-gradient(45deg, #793729, #793729, #4a3a32, #4a3a32);
  z-index: 11;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.text-block {
  width: 80%;
  margin: 40px auto;
}
.text-block h3 {
  text-align: center;
  margin-bottom: 20px;
}
.text-block p {
  line-height: 30px;
}

.contacts__map {
  width: 100%;
  height: 29.8125rem;
  -webkit-border-radius: 1.5rem;
  border-radius: 1.5rem;
  border: 0.1875rem solid #d2d9db;
  overflow: hidden;
}

.contacts__map {
  height: 17.5rem;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
}

.contacts__map {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}

.text-block .icon {
  width: 30px;
  height: 30px;
  transform: translateY(8px);
  margin-right: 10px;
}

.text-block a {
  text-decoration: none;
  color: #000;
}

.text-block1 {
  margin: 20px auto;
}

.text-block1 img {
  border-radius: 5px;
  display: block;
  width: 100%;
  margin-top: 20px;
}
.text-block1 h3 {
  font-size: 24px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
}

.text-block1 p{
  margin-top: 20px;
}


.bottom-consultation-button {
  margin-top: 20px;
  width: 100%;
  font-size: 16px;
  padding: 10px 5px;
  color: white;
  font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(1, 135, 206, 0.5);
    transition: box-shadow 0.3s ease;
    text-align: center;
    line-height: 1.2;
}


.nav-menu {
  position: fixed;
  top: auto;
      bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
justify-content: space-around;
  gap: 20px;
  padding: 10px 0;
  z-index: 1000;
}


.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

  .nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  background-color: #000000;
}

  .nav-item.active .nav-icon {
      background-color: #fa7d3e;
  }


    .nav-item.active .nav-icon img {
        filter: brightness(0);

    }

.nav-icon img {
      margin: 0px auto 0px;
      width: 24px;
      height: 24px;
      object-fit: contain;
  }



      .nav-text {
        margin-top: 5px;
          color: #808285;
          font-size: 12px;
          font-weight: 500;
      }






}


.inblock-video{
  margin-top: 20px;
  width: 100%;
  height: 100%;
}