body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  background: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header {
  background: url('img/assistant.jpg') center/cover no-repeat;
  color: white;
  padding: 40px 0; /* увеличено, чтобы фон был заметен */
}

.header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

.nav-left ul,
.nav-right ul,
.nav-center ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.nav-left a,
.nav-right a,
.nav-center a {
  text-decoration: none;
  color: white;
  padding: 8px 12px;
}

.nav a:hover {
  background: #074F61;
  border-radius: 6px;
}

/* бургер */
.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

/* скрытое меню (по умолчанию видно на десктопе) */
#nav-center {
  display: flex;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;          /* цвет иконки */
  transition: 0.3s;
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

/* hover-подсветка */
.icon-link:hover {
  background: rgba(255, 255, 255, 0.15); /* полупрозрачный круг */
  color: #ffffff;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* подменю */
.nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100px;
  left: 140px;
  background: #074F61;
  padding: 10px 10px;
  min-width: 100px;
  z-index: ;
  flex-direction: column;
}

.nav .dropdown-menu li {
  width: 100%;
}

.nav .dropdown:hover .dropdown-menu {
  display: flex;
}

.nav a svg {
  vertical-align: middle;
  margin-right: 6px;
  fill: white;
}

.tg_btn {
      border: none;       /* убираем рамку */
      background: none;   /* убираем фон (если нужен только SVG) */
      padding: 0;         /* убираем внутренние отступы */
      cursor: pointer;    /* курсор-рука */
    }

.phone a {
  color: #ffd700;
  font-weight: bold;
  text-decoration: none;
}

main {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer {
  background: url('img/footer_fon.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 15px;
}

.call-btn {
  background: #ffd700;
  padding: 8px 12px;
  border-radius: 5px;
  color: #1e3a8a;
  font-weight: bold;
  text-decoration: none;
}

.call-btn:hover {
  background: #ffcc00;
}

    /* Круглая миниатюра с обтеканием */
    .article__img{
      float:right;
      width:200px;
      height:200px;
      margin:0 0 var(--gap) var(--gap);
      object-fit:cover;
      border-radius:5%; /* делает миниатюру круглой */
      box-shadow:0 6px 18px rgba(10,20,30,0.1);
      shape-outside:circle(50% at 50% 50%);
      -webkit-shape-outside:circle(50% at 50% 50%);
    }


.reviews,
.reviews-form {
  margin-top: 40px;
  padding: 20px;
  background: #f1f5f9;
  border-radius: 10px;
}

.reviews h2,
.reviews-form h2 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #1e3a8a;
}

.review {
  margin-bottom: 15px;
  padding: 15px;
  background: white;
  border-left: 4px solid #1e3a8a;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  margin: 0 0 5px 0;
}

.review-author {
  font-weight: bold;
  color: #555;
  margin: 0;
}

@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .phone {
    margin-top: 10px;
  }
}

@media (max-width: 992px) {
  #nav-center {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #1e3a8a;
    flex-direction: column;
    padding: 15px;
  }

  #nav-center.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}

/* подменю */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e3a8a;
  flex-direction: column;
  min-width: 200px;
  z-index: 1000;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

/* на десктопе — hover */
@media (min-width: 993px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

  @media (max-width:720px){
      .article__img{
        float:none;
        display:block;
        width:140px;
        height:140px;
        margin:0 auto 16px auto;
        shape-outside:none;
      }

 @media (max-width:380px){
      .article__img{
        width:120px;
        height:120px;
      }