* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
a {
  text-decoration: none;
  color: white;
}
body {
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.top-header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    max-width: none;
    padding: 0 20px;
    margin: 0 auto;
}


@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.modal-title {
  margin-bottom: 20px;
  color: #2c7da0;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.submit-btn {
  background-color: #65e7d9;
  color: #333;
  border: none;
  padding: 12px 30px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #4fd1c5;
}
footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-map {
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
}

.footer-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-item i {
  margin-right: 15px;
  font-size: 20px;
  color: #65e7d9;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  color: white;
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
  color: #65e7d9;
}

.sitemap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sitemap-column h3 {
  margin-bottom: 20px;
  color: #65e7d9;
}

.sitemap-links {
  list-style: none;
}

.sitemap-links li {
  margin-bottom: 10px;
}

.sitemap-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.sitemap-links a:hover {
  color: #65e7d9;
}

@media screen and (max-width: 992px) {
  .news-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .news-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .sitemap {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 992px) {
  .advantages-grid,
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide {
    height: 60vh;
  }
}

@media screen and (max-width: 768px) {
  .header-right {
    gap: 15px;
  }

  .social-icons {
    display: none;
  }

  .nav-bubble {
    display: none;
    position: fixed;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 999;
  }

  .nav-active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links li {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .burger {
    display: flex;
  }

  .banner h1 {
    font-size: 36px;
  }

  .banner p {
    font-size: 18px;
  }

  .slide {
    height: 50vh;
    min-height: 400px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 576px) {
  .advantages-grid,
  .specialists-grid {
    grid-template-columns: 1fr;
  }

  .logo h1 {
    font-size: 20px;
  }

  .logo p {
    font-size: 12px;
  }



  .slide {
    height: 40vh;
    min-height: 300px;
  }

  .slider-title {
    font-size: 28px;
  }

  .action-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
.specialists-content {
  padding: 80px 0 100px;
  background: white;
}

.specialists-header {
  text-align: center;
  margin-bottom: 60px;
}

.specialists-header h2 {
  font-size: 36px;
  color: #2c7da0;
  margin-bottom: 20px;
  position: relative;
  margin-top: 120px;
}

.specialists-header h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #2c7da0;
  margin: 15px auto 0;
}

.specialists-description {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-weight: 400;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.specialist-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(101, 231, 217, 0.1);
}

.specialist-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.specialist-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c7da0, #65e7d9);
  z-index: 2;
}

.specialist-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.specialist-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 1;
}

.specialist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.specialist-card:hover .specialist-image img {
  transform: scale(1.1);
}

.specialist-info {
  padding: 30px;
  position: relative;
}

.specialist-name {
  font-size: 24px;
  font-weight: 700;
  color: #2c7da0;
  margin-bottom: 12px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 12px;
}



.specialist-specialty {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 8px 16px;
  background: #65e7d9;
  border-radius: 12px;
  display: inline-block;
  border: none;
}

.specialist-category {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.specialist-category::before {
  content: "⭐";
  font-size: 16px;
}

.specialist-experience {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(44, 125, 160, 0.05);
  border-radius: 12px;
  border-left: 4px solid #65e7d9;
}

.specialist-experience i {
  color: black;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.specialist-description {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(101, 231, 217, 0.3);
  position: relative;
}




@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.specialist-card {
  animation: cardAppear 0.6s ease forwards;
}

.specialist-card:nth-child(2) { animation-delay: 0.1s; }
.specialist-card:nth-child(3) { animation-delay: 0.2s; }
.specialist-card:nth-child(4) { animation-delay: 0.3s; }
.specialist-card:nth-child(5) { animation-delay: 0.4s; }
.specialist-card:nth-child(6) { animation-delay: 0.5s; }

/* Адаптивность */
@media screen and (max-width: 1200px) {
  .specialists-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .specialists-content {
    padding: 60px 0 80px;
  }
  
  .specialists-header h2 {
    font-size: 32px;
  }
  
  .specialists-description {
    font-size: 16px;
    padding: 0 20px;
  }
  
  .specialists-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 500px;
    margin: 40px auto 0;
  }
  
  .specialist-image {
    height: 280px;
  }
  
  .specialist-info {
    padding: 25px;
  }
  
  .specialist-name {
    font-size: 22px;
  }
}

@media screen and (max-width: 576px) {
  .specialists-content {
    padding: 40px 0 60px;
  }
  
  .specialist-info {
    padding: 20px;
  }
  
  .specialist-image {
    height: 250px;
  }
  
  .specialist-name {
    font-size: 20px;
  }
  
  .specialist-specialty {
    font-size: 14px;
  }
}
.telephone {
  color: #2c3e50!important;
}