/* November revision: persistent navigation, ratings and mobile service cards. */
html {
  scroll-padding-top: 119px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  width: 100%;
  min-height: 98px;
  background: #f6fafff5;
  border-bottom: 1px solid #c8dbf97a;
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 98px;
}
.site-header .brand {
  flex: none;
}
.site-header .header-contacts {
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-left: auto;
}
.site-header .header-phone {
  font-size: 20px;
}
.site-header .text-button {
  font-size: 14px;
  padding: 0;
}
.site-header .menu-toggle {
  display: none;
}
#site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  font:
    500 16px/1.4 Inter,
    sans-serif;
}
#site-menu > a:not(.button) {
  white-space: nowrap;
  padding: 14px 10px;
  border-radius: 7px;
}
#site-menu > a:hover {
  color: var(--blue);
  background: #e9f1ff;
}
@media (min-width: 1100px) {
  #site-menu[hidden] {
    display: flex !important;
  }
}
.service-summary,
.service-action {
  display: none;
}
.hero-photo {
  object-position: center top;
}
.hero-service:first-child > img {
  object-position: 58% center;
}
.team-banner > img {
  object-fit: cover;
  object-position: center;
}
.team-image img {
  object-position: center;
}
.rating {
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 3px 14px;
  padding: 14px;
  min-width: 0;
}
.rating-logo {
  grid-column: 1;
  grid-row: 1/4;
  width: 56px;
  height: 35px;
  object-fit: contain;
  align-self: center;
}
.rating > .rating-value {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  line-height: 1;
}
.rating-value b {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}
.rating-value > span {
  font-size: 12px;
  color: var(--muted);
}
.rating > .rating-stars {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: block;
  width: 90px;
  height: 18px;
  margin: 3px 0;
}
.rating-stars .star-base,
.rating-stars .star-fill {
  display: flex;
  flex-direction: row;
  width: 90px;
  height: 18px;
  gap: 0;
}
.rating-stars .star-base {
  filter: grayscale(1);
  opacity: 0.25;
}
.rating-stars .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}
.rating-stars .icon {
  position: static;
  width: 18px;
  height: 18px;
  min-width: 18px;
  filter: none;
}
.rating > small {
  grid-column: 2;
  grid-row: 3;
  font-size: 12px;
  line-height: 1.3;
}
.review-ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}
.rating-large {
  position: relative;
  grid-template-columns: 126px 1fr;
  grid-template-rows: auto auto auto auto;
  padding: 35px;
  gap: 7px 35px;
  border: 1px solid var(--line);
  border-radius: 21px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.rating-large:hover {
  border-color: var(--blue);
  background: #fff;
}
.rating-large .rating-logo {
  width: 126px;
  height: 63px;
  grid-row: 1/4;
}
.rating-large .rating-value b {
  font-size: 49px;
}
.rating-large .rating-value > span {
  font-size: 18px;
}
.rating-large > .rating-stars {
  width: 140px;
  height: 28px;
  margin: 7px 0;
}
.rating-large .star-base,
.rating-large .star-fill {
  width: 140px;
  height: 28px;
}
.rating-large .rating-stars .icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
}
.rating-large > small {
  font-size: 16px;
}
.rating-large > .rating-link {
  grid-column: 1/3;
  grid-row: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 21px;
  padding-top: 21px;
  font:
    600 18px Inter,
    sans-serif;
  color: var(--blue);
}
.rating-link .icon {
  position: static;
}
@media (min-width: 1100px) and (max-width: 1399px) {
  .header-inner {
    gap: 21px;
  }
  #site-menu {
    gap: 0;
    font-size: 14px;
  }
  #site-menu > a:not(.button) {
    padding-inline: 7px;
  }
  .site-header .header-phone {
    font-size: 18px;
  }
  .site-header .brand strong {
    font-size: 31px;
  }
}
@media (max-width: 1099px) {
  html {
    scroll-padding-top: 105px;
  }
  .site-header,
  .header-inner {
    min-height: 84px;
  }
  .header-inner {
    gap: 21px;
  }
  .site-header .menu-toggle {
    display: grid;
    margin-left: 0;
    flex: none;
  }
  .site-header .header-contacts {
    margin-left: auto;
  }
  .site-header .text-button {
    display: none;
  }
  #site-menu {
    position: absolute;
    left: 21px;
    right: 21px;
    top: calc(100% + 7px);
    display: grid;
    gap: 7px;
    padding: 21px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 21px;
    box-shadow: 0 14px 35px #092a6126;
    font-size: 18px;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #site-menu > a:not(.button) {
    padding: 14px;
  }
}
@media (max-width: 599px) {
  .header-inner {
    gap: 14px;
  }
  .site-header .header-phone {
    font-size: 0;
  }
  .site-header .header-contacts {
    order: 2;
    margin-left: auto;
  }
  .site-header .menu-toggle {
    order: 3;
    width: 49px;
  }
  .site-header .brand {
    order: 1;
  }
  #site-menu {
    left: 14px;
    right: 14px;
    padding: 14px;
  }
  .hero-photo {
    object-position: 63% center;
  }
  .ratings {
    gap: 14px;
  }
  .rating {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 3px 10px;
    padding: 14px 10px;
  }
  .rating-logo {
    width: 35px;
    height: 35px;
  }
  .rating-value b {
    font-size: 26px;
  }
  .rating-value > span {
    font-size: 10px;
  }
  .rating > .rating-stars {
    width: 75px;
    height: 15px;
  }
  .rating-stars .star-base,
  .rating-stars .star-fill {
    width: 75px;
    height: 15px;
  }
  .rating-stars .icon {
    width: 15px;
    height: 15px;
    min-width: 15px;
  }
  .rating > small {
    font-size: 11px;
  }
  .price-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .price-columns > div {
    display: grid;
    gap: 21px;
  }
  .price-row,
  .price-columns > div:first-child .price-row:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto;
    gap: 14px 7px;
    min-height: 0;
    padding: 0 21px 21px;
    border: 1px solid var(--line);
    border-radius: 21px;
    overflow: hidden;
    background: white;
  }
  .price-row:last-child {
    border: 1px solid var(--line);
  }
  .price-row > img {
    grid-column: 1/3;
    grid-row: 1;
    width: calc(100% + 42px);
    max-width: none;
    height: auto;
    aspect-ratio: 1.9;
    object-fit: cover;
    object-position: center;
    margin-left: -21px;
    border-radius: 0;
  }
  .price-row h3 {
    grid-column: 1/3;
    grid-row: 2;
    font-size: 23px;
    line-height: 1.2;
    margin-top: 7px;
  }
  .price-row .service-summary {
    display: block;
    grid-column: 1/3;
    grid-row: 3;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
  }
  .price-row .price {
    grid-column: 1;
    grid-row: 4;
    align-self: center;
    gap: 4px;
    font-size: 15px;
  }
  .price-row .price b {
    font-size: 28px;
  }
  .price-row .price small {
    font-size: 14px;
  }
  .price-row .service-action {
    display: flex;
    grid-column: 2;
    grid-row: 4;
    gap: 7px;
    align-items: center;
    justify-content: end;
    font:
      600 13px Inter,
      sans-serif;
    color: var(--blue);
    min-height: 42px;
  }
  .service-action .icon {
    width: 21px;
    height: 21px;
  }
  .review-ratings {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .rating-large {
    grid-template-columns: 84px minmax(0, 1fr);
    padding: 28px;
    gap: 7px 28px;
  }
  .rating-large .rating-logo {
    width: 84px;
    height: 49px;
  }
  .rating-large .rating-value b {
    font-size: 42px;
  }
  .rating-large .rating-value > span {
    font-size: 16px;
  }
  .rating-large > .rating-stars {
    width: 120px;
    height: 24px;
  }
  .rating-large .star-base,
  .rating-large .star-fill {
    width: 120px;
    height: 24px;
  }
  .rating-large .rating-stars .icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  .rating-large > small {
    font-size: 15px;
  }
  .rating-large > .rating-link {
    font-size: 16px;
    padding-top: 21px;
    margin-top: 14px;
  }
  .team-banner > img {
    object-position: 64% center;
  }
}
@media (max-width: 359px) {
  .ratings {
    gap: 7px;
  }
  .rating {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 3px 7px;
    padding: 10px 7px;
  }
  .rating-logo {
    width: 28px;
    height: 28px;
  }
  .rating-value b {
    font-size: 23px;
  }
  .rating > .rating-stars {
    width: 65px;
    height: 13px;
  }
  .rating-stars .star-base,
  .rating-stars .star-fill {
    width: 65px;
    height: 13px;
  }
  .rating-stars .icon {
    width: 13px;
    height: 13px;
    min-width: 13px;
  }
  .rating-value > span {
    font-size: 9px;
  }
  .price-row,
  .price-columns > div:first-child .price-row:last-child {
    padding-inline: 14px;
  }
  .price-row > img {
    width: calc(100% + 28px);
    margin-left: -14px;
  }
  .price-row .service-action {
    font-size: 0;
  }
  .rating-large {
    grid-template-columns: 70px 1fr;
    gap: 7px 21px;
    padding: 21px;
  }
  .rating-large .rating-logo {
    width: 70px;
    height: 49px;
  }
  .rating-large > .rating-stars {
    width: 100px;
    height: 20px;
  }
  .rating-large .star-base,
  .rating-large .star-fill {
    width: 100px;
    height: 20px;
  }
  .rating-large .rating-stars .icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
}
