:root {
  --ux-shadow: 0 14px 38px rgba(20, 46, 67, .12);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px;
}

@media (min-width: 769px) {
  .header__address,
  .header__social { display: none !important; }
  .header__top .wrapper { justify-content: space-between; gap: 2rem; }
  .header__right_2 { margin-left: auto; gap: 2rem; }
  .nav-wrap .nav { justify-content: center; gap: clamp(2rem, 5vw, 5rem); }
  .first__content { max-width: 48vw; }
  .first__title { font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1.08; }
  .first__text { margin-top: 1.4rem; }
}

.first__title b { font-weight: 750; }
.first__text p { max-width: 42rem; }
.first__buttons-btn { min-height: 64px; box-shadow: var(--ux-shadow); }

.services__container .container-flex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.services__item {
  width: auto !important;
  min-height: 31rem;
  border-radius: 1.4rem !important;
  overflow: hidden;
  box-shadow: var(--ux-shadow);
}
.services__item .item-img img { width: 100%; height: 100%; object-fit: cover; }
.services__item .item-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.45;
}
.services__item .item-bottom__link { min-height: 48px; }

.price__table .item-header {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.price__table .item-summary { color: var(--main-color); font-weight: 700; white-space: nowrap; }
.price__table .item-btn { border: 0; cursor: pointer; }

@media (max-width: 1024px) {
  .services__container .container-flex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
  .first { min-height: auto; padding-bottom: 4rem !important; }
  .first__title { font-size: 2.1rem !important; line-height: 1.12 !important; }
  .first__text p { font-size: 1.05rem !important; line-height: 1.4 !important; }
  .first__bullets { gap: .75rem; }
  .first__bullets .bullets-item p { font-size: .75rem !important; line-height: 1.25 !important; }
  .first__buttons-btn { width: 100%; min-height: 64px; }
  .first__buttons-text { font-size: .8rem; }
  .services__container .container-flex { grid-template-columns: 1fr; gap: 1rem; }
  .services__item { min-height: 27rem; }
  .price__title { font-size: 2rem !important; line-height: 1.2 !important; }
  .price__table .item-header { min-height: 72px; padding-right: 3.5rem; }
  .price__table .item-summary { display: block; margin-top: .4rem; white-space: normal; }
  .price__table .item-btn { width: 44px !important; height: 44px !important; }
}
