.page-inspection .site-wrap {
  overflow: clip;
}

.page-inspection main {
  display: block;
}

.inspection-page__section {
  padding: var(--section-space-y) 0;
}

.inspection-page__section--intro {
  padding-top: 24px;
}

.inspection-page__section--transport {
  padding-bottom: 52px;
}

.inspection-page__section--acts {
  padding-bottom: 56px;
}

.inspection-page__section--prepare {
  padding-bottom: 64px;
}

.inspection-page__breadcrumbs {
  margin-bottom: 20px;
}

.inspection-page__section-title {
  margin-bottom: 28px;
}

.inspection-page__section-title span {
  color: var(--color-brand);
}

.inspection-hero .hero--bimage img {
  object-position: center 36%;
}

.inspection-hero__content {
  max-width: 760px;
}

.inspection-hero__lead {
  max-width: 41ch;
}

.inspection-acts {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.inspection-acts__heading {
  padding-top: 8px;
}

.inspection-acts__table {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.inspection-acts__table.card-surface:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.inspection-acts__action-col,
.inspection-acts__action-cell {
  width: 160px;
  text-align: right;
}

.inspection-page__section--transport .card-feature--compact {
  min-height: 228px;
}

.inspection-page__section--prepare .card-feature--compact {
  min-height: 210px;
}

.inspection-acts .table-brand {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
  --bs-table-border-color: transparent;

  border-collapse: separate;
  border-spacing: 0 10px;
}

.inspection-acts .table-brand thead th {
  padding: 0 20px 8px;
}

.inspection-acts .table-brand tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  background: #fff;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.inspection-acts .table-brand tbody td:first-child {
  border-left: 1px solid var(--color-border-soft);
  border-radius: 22px 0 0 22px;
}

.inspection-acts .table-brand tbody td:last-child {
  border-right: 1px solid var(--color-border-soft);
  border-radius: 0 22px 22px 0;
}

.inspection-acts .table-brand tbody td:nth-child(1) {
  width: 28%;
}

.inspection-acts .table-brand tbody td:nth-child(2) {
  width: auto;
}

.inspection-acts .table-brand tbody tr:hover td {
  background: #fffdfa;
  border-color: rgba(243, 132, 39, 0.18);
}

.inspection-acts .table-brand tbody tr:hover td:first-child {
  box-shadow: -4px 8px 18px rgba(19, 18, 24, 0.04);
}

.inspection-acts .table-brand tbody tr:hover td:last-child {
  box-shadow: 4px 8px 18px rgba(19, 18, 24, 0.04);
}

.inspection-acts .btn-outline-brand {
  min-width: 118px;
}

.inspection-acts__empty td {
  text-align: center;
  color: var(--color-muted);
}

.inspection-guarantees-grid .guarantees-grid__item {
  min-height: 148px;
}

.inspection-page__appointment,
.inspection-page__map {
  padding-top: 0;
}

.inspection-page__guarantees .home-section--guarantees {
  padding-top: 0;
}

.inspection-page--redirect {
  min-height: 360px;
}

@media (max-width: 1199.98px) {
  .inspection-acts {
    grid-template-columns: 1fr;
  }

  .inspection-acts__heading {
    padding-top: 0;
  }
}

@media (max-width: 991.98px) {
  .inspection-page__section {
    padding: 44px 0;
  }

  .inspection-page__section--transport,
  .inspection-page__section--acts,
  .inspection-page__section--prepare {
    padding-top: 0;
    padding-bottom: 44px;
  }

  .inspection-page__section--transport .card-feature--compact,
  .inspection-page__section--prepare .card-feature--compact {
    min-height: auto;
  }

  .inspection-hero__content,
  .inspection-hero__lead {
    max-width: none;
  }

  .inspection-page__section-title {
    margin-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .inspection-page__section--intro {
    padding-top: 18px;
  }

  .inspection-page__breadcrumbs {
    margin-bottom: 18px;
  }

  .inspection-acts__table {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .inspection-acts .table-responsive {
    overflow: visible;
  }

  .inspection-acts .table-brand {
    display: block;
    min-width: 0;
    border-spacing: 0;
  }

  .inspection-acts .table-brand thead {
    display: none;
  }

  .inspection-acts .table-brand tbody,
  .inspection-acts .table-brand tr,
  .inspection-acts .table-brand td {
    display: block;
    width: 100%;
  }

  .inspection-acts .table-brand tbody tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-soft);
    border-radius: 18px;
    background: #fff;
  }

  .inspection-acts .table-brand tbody tr:last-child {
    margin-bottom: 0;
  }

  .inspection-acts .table-brand tbody td,
  .inspection-acts .table-brand tbody td:first-child,
  .inspection-acts .table-brand tbody td:last-child {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 0;
  }

  .inspection-acts .table-brand tbody td + td {
    border-top: 1px solid var(--color-border-soft);
  }

  .inspection-acts .table-brand tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.3;
    content: attr(data-label);
  }

  .inspection-acts__empty td::before {
    display: none;
  }

  .inspection-acts__action-cell {
    text-align: left;
  }

  .inspection-acts .btn-outline-brand {
    width: 100%;
  }
}
