/* Homepage corrections against vkadre вёрстка/-public/index.html.
 * The header, hero and shared page styles are intentionally outside this file.
 */
.home main > section:not(.promo) img {
  max-width: 100%;
}

.home .about .ico-info:focus-visible {
  overflow: visible;
  outline: 1px solid currentColor;
}

.home .about .ico-info::before {
  content: "Точный срок готовности указан в выбранном тарифе.";
}

.home .about .ico-info:focus-visible::before {
  opacity: 1;
}

.home .works,
.home .location,
.home .team { overflow-x: clip; }

.home .footer > .container { width: 100%; }

.home .works__wrapper__col {
  width: var(--work-width) !important;
}

.home .works__wrapper__col a {
  display: block;
}

.home .works__wrapper__col a + a {
  margin-top: 40px;
}

.home .works__wrapper__col img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.home .vkadre-home-services .services__wrapper {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-right: 100px;
}

.home .vkadre-home-services .services__inner {
  height: auto;
  max-height: 767px;
  overflow-x: hidden;
  overflow-y: auto;
}

.home .vkadre-home-services__tabpanel {
  flex: 1 1 0;
  min-width: 0;
}

.home .vkadre-home-services .services__content-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 716 / 239;
  object-fit: cover;
}

.home .vkadre-home-services .services__content-descr p:last-child {
  margin-bottom: 16px;
}

.home .vkadre-home-services .services__content__price {
  padding-right: 27px;
}

.home .location__item-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 395 / 376;
  object-fit: cover;
}

.home .location__wrapper-title a {
  color: inherit;
  text-decoration: none;
}

.home .location__wrapper-title a:hover {
  text-decoration: underline;
}

.home .team__item-image img {
  display: block;
  width: 288px;
  height: auto;
  aspect-ratio: 288 / 368;
  object-fit: cover;
}

.home .team__item-descr {
  max-width: 288px;
}

.home .review__carousel-image {
  display: block;
  width: 395px;
  height: auto;
  aspect-ratio: 395 / 486;
  object-fit: cover;
}

.home .faq hr {
  width: 100%;
}

.home .faq .panel:not([hidden]) {
  display: block;
}

.home .faq .accordion:focus-visible {
  outline: 2px solid #171a1e;
  outline-offset: 2px;
}

.home .featback .vkadre-home-service-select { position: relative; }
.home .featback .vkadre-home-service-select::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 14px;
  pointer-events: none;
}
.home .featback select { appearance: none; text-transform: uppercase; padding-right: 24px; }

.home .featback .vkadre-consent {
  margin: 18px 0 0;
  font-size: 12px;
  color: #747678;
}

.home .featback .vkadre-consent a {
  color: inherit;
}

.home .featback .form .btn {
  margin-top: 28px;
}

.home .featback .vkadre-form-status:empty {
  display: none;
}

.vkadre-home-preview {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.vkadre-home-preview::backdrop { background: rgba(255, 255, 255, .8); }
.vkadre-home-preview .modal__preview__wrapper { min-height: 100dvh; background: transparent; }
.vkadre-home-preview .modal__preview__carousel-item img { max-height: 75dvh; object-fit: contain; }
.vkadre-home-preview__close { padding: 0; border: 0; background: transparent; }
.home:has(.vkadre-home-preview[open]) { overflow: hidden; }

@media (max-width: 1439px) {
  .home .vkadre-home-services .services__wrapper { margin-right: 60px; }
}

@media (max-width: 1199px) {
  .home .vkadre-home-services .services__wrapper { margin-right: 40px; }
}

@media (max-width: 991px) {
  .home .vkadre-home-services .services__wrapper { margin-right: 24px; }
  .home .vkadre-calendar__title { white-space: normal; }
}

@media (max-width: 767px) {
  .home .vkadre-home-services .services__wrapper {
    width: 100%;
    height: auto;
    margin-right: 0;
    padding-bottom: 20px;
  }
  .home .vkadre-home-services .services__inner { max-height: 280px; }
  .home .vkadre-home-services__tabpanel { width: 100%; }
  .home .vkadre-home-services .services__content__price { padding: 20px; }
  .home .vkadre-home-services .services__content__price-item { gap: 12px; }
  .home .vkadre-home-services .services__content__price-item-time { white-space: normal; }
  .home .vkadre-home-services .services__content__price-item-dots { display: none; }
  .home .team__item-descr { margin: 0 auto; }
  .home .review__carousel-image { margin: 0 auto; }
  .home .vkadre-calendar { padding: 60px 0; }
  .home .vkadre-calendar__filters { grid-template-columns: 1fr 1fr; gap: 16px; }
  .home .vkadre-calendar__filters label:first-child { grid-column: 1 / -1; }
  .home .vkadre-calendar__filters label { min-width: 0; }
  .home .vkadre-calendar__navigation { align-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .home .vkadre-home-services__tabpanel { animation: none; }
}
