.tabs-nav {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #777;
  transition: all 0.3s ease;
  position: relative;
}

/* Активная кнопка */
.tab-btn.active {
  color: var(--accent);
  font-weight: bold;
}

/* Линия под активной кнопкой */
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.tab-btn:hover {
  color: #333;
}

/* Стили для контента */
.tab-pane {
  display: none;
  /* Скрываем все по умолчанию */
  /* Анимация появления */
  opacity: 0;
  transform: translateY(10px);
  /* Небольшой сдвиг вниз */
  transition: opacity 0.4s ease, transform 0.4s ease;
  /* position: relative; */
  height: 100%;
  /* background-color: #333; */

}

.card-map--info {
  max-width: 700px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(21px, -50%);
  background-color: white;
  z-index: 1000;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}


.card-map--info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.card-map--info img.map-building {
  width: 300px;
  border-radius: 20px;
  /* height: 100px; */
}

.card-map--wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
  font-family: Montserrat, sans-serif;
}

.card-map--wrapper p {
  color: rgb(102, 102, 102);
  font-size: 14px;
  font-weight: 400;
  font-family: Montserrat, sans-serif;
  padding: 0px;
  margin: 0;
  margin-bottom: 30px;
  margin-top: 10px;
}

.card-map--wrapper .info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 20px;
}

.card-map--wrapper .info .work-time {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-map--wrapper .info .work-time h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}

.card-map--wrapper .info .work-time p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  padding: 0;
}

.card-map--wrapper .info .phone-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-map--wrapper .info .phone-list h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}

.card-map--wrapper .info .phone-list p {
  margin: 0;
  padding: 0;
}

.card-map--wrapper .info .phone-list p a {
  font-size: 0.8rem;
  color: #666;
  display: flex;
  gap: 5px;
  text-decoration: none;
  font-weight: 400;
  font-family: Montserrat, sans-serif;

}

.licensie--img {
  font-size: .8rem;
  color: var(--accent);
  margin-top: 20px;
  padding: 0;
  text-decoration: none;
}

.phone--icon {
  width: 16px;
  height: 16px;
}

.tabs-content {
  position: relative;
  height: 500px;
}

/* Класс, который делает контент видимым */
.tab-pane.active {
  display: block;
  /* Небольшая задержка, чтобы display:block успел сработать перед изменением opacity */
  animation: fadeInUp 0.4s forwards;
}

/* Ключевые кадры для анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabs-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  text-align: start;
}

.subscribe--btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 8px 30px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  /* width: 100px; */
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
  text-align: center;
}

.subscribe--btn:hover {
  background: white;
  color: var(--accent);
  outline: 1px solid var(--accent);
}

.qa--title {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.2;
  flex-shrink: 0;
  margin-bottom: 70px;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .tabs-nav {
    max-width: 100%;
    padding: 0 20px;
  }

  .tab-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .tabs-content {
    height: auto;
    min-height: 500px;
  }

  .card-map--info {
    position: static;
    transform: none;
    margin: 20px auto;
    width: 90%;
  }

  .card-map--info {
    flex-direction: column;
  }

  .card-map--info img.map-building {
    width: 100%;
    margin-top: 20px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 5px;
  }

  .card-map--info {
    width: 95%;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .card-map--wrapper .info {
    flex-direction: column;
    gap: 20px;
  }

  .qa--title {
    font-size: 32px;
  }

  .subscribe--btn {
    width: 100%;
    padding: 12px;
  }
}

.mail--wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
}
.mail--wrapper h5 {
  font-size: 16px;
  margin: 0;
  
}
.mail--wrapper a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 480px) {
  .card-map--wrapper .info {
    flex-direction: column;
    gap: 15px;
  }

  .card-map--wrapper .info .work-time,
  .card-map--wrapper .info .phone-list {
    width: 100%;
  }

  .tabs-content h1 {
    font-size: 1.5rem;
  }

  .card-map--wrapper h3 {
    font-size: 1.2rem;
  }

  .qa--title {
    font-size: 24px;
  }
}

.license {}

.license h2 {
  max-width: 760px;
  width: 100%;
  font-family: Montserrat, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.2;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.license p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  /* margin-bottom: 25px; */
}

.license p a {
  color: var(--accent);
  text-decoration: none;
}