@charset "UTF-8";
@import url("../common/common.css");

/* Section page-heading */
.page-heading {
  --breadcrumbsColor: var(--color-gray-500);
  --breadcrumbsGap: clamp(3rem, 2.9418604651rem + 0.2325581395vw, 3.125rem);
  padding-block: 1.5rem 0.625rem;
  color: var(--breadcrumbsColor);
}
.page-heading__breadcrumbs {
  margin-bottom: 1.125rem;
}
.page-heading__breadcrumbs-list {
  display: flex;
  align-items: center;
  column-gap: var(--breadcrumbsGap);
}
.page-heading__breadcrumbs-item {
  position: relative;
}
.page-heading__breadcrumbs-item:not(:last-child)::after {
  position: absolute;
  content: "−";
  right: calc(var(--breadcrumbsGap) / 2 * -1 - 0.3125rem);
  top: 10%;
}
.page-heading__breadcrumbs-item:last-child a {
  opacity: 0.7;
  pointer-events: none;
}
.page-heading__breadcrumbs-link {
  font-size: clamp(0.9375rem, 0.8502906977rem + 0.3488372093vw, 1.125rem);
  color: currentColor;
  line-height: 1.5;
}
.page-heading__page-name {
  color: var(--color-dark);
}
.page-heading__page-name--small-mobile {
  font-size: clamp(1.25rem, 0.9011627907rem + 1.3953488372vw, 2rem);
  line-height: 1.5;
}

@media (width <= 63.99875rem) {
  .page-heading {
    padding-block: 1.25rem 0.5rem;
  }
  .page-heading__breadcrumbs {
    margin-bottom: 0.625rem;
  }
  .page-heading__breadcrumbs-item:not(:last-child)::after {
    top: 5%;
  }
  .page-heading__breadcrumbs-link {
    line-height: 1.4;
    letter-spacing: 0.03em;
  }
}
@media (width <= 47.99875rem) {
  .page-heading__breadcrumbs-list {
    flex-wrap: wrap;
    column-gap: var(--breadcrumbsGap);
    row-gap: 0.9375rem;
  }
}
/*  ===================================  */
/*  ==========END page-heading=========  */
/*  ===================================  */
/* Section promo. Styles for car-service page */
.promo {
  position: relative;
  min-height: 37.5rem;
  color: var(--text-color-light);
  overflow: hidden;
  background: var(--color-grad-1);
}
.promo__background {
  max-width: 120rem;
  width: 100%;
  height: 37.5rem;
  position: absolute;
  left: 50%;
  translate: -50% 0;
}
.promo__decor-image {
  width: 16.8125rem;
  height: 16.8125rem;
  position: absolute;
}
.promo__decor-image--left {
  top: 4.0625rem;
  left: 2rem;
}
.promo__decor-image--right {
  right: 0;
  bottom: -3%;
}
.promo__main-image {
  width: inherit;
  height: inherit;
}
.promo__main-image-wrapper {
  width: 45.1875rem;
  height: 37.5rem;
  position: absolute;
  top: 0;
  right: 14.8125rem;
}
.promo__content {
  padding-block: clamp(3.125rem, 2.3401162791rem + 3.1395348837vw, 4.8125rem) 0;
}
.promo__title {
  position: relative;
  max-width: 54.6875rem;
  line-height: 1.27;
  margin-bottom: 2.5rem;
}
.promo__subtitle {
  position: relative;
  max-width: 35.4375rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.promo__subtitle p:not(:last-child) {
  margin-bottom: clamp(0rem, -1.1627906977rem + 4.6511627907vw, 2.5rem);
}
.promo__subtitle-list {
  list-style: disc;
  margin-left: 1.5625rem;
}
.promo__buttons {
  display: flex;
  gap: clamp(1rem, 0.7674418605rem + 0.9302325581vw, 1.5rem);
}
.promo__button {
  position: relative;
  font-size: 1rem;
}

@media (width <= 112.56125rem) {
  .promo__decor-image--left {
    top: -40%;
    translate: -50% 50%;
  }
  .promo__decor-image--right {
    bottom: -40%;
    translate: 40% -50%;
  }
}
@media (width <= 100.06125rem) {
  .promo__main-image-wrapper {
    right: -2.5rem;
  }
}
@media (width <= 81.31125rem) {
  .promo__main-image-wrapper {
    right: -6.25rem;
  }
  .promo__title {
    max-width: 43.75rem;
    margin-bottom: 1.9375rem;
  }
  .promo__subtitle {
    max-width: 25rem;
    margin-bottom: 1.9375rem;
  }
}
@media (width <= 63.99875rem) {
  .promo {
    min-height: 30.25rem;
    background: var(--color-grad-2), var(--color-grad-1);
  }
  .promo .container {
    --container-padding-x: 2.6875rem;
  }
  .promo__main-image-wrapper {
    width: 22.5rem;
    height: 22.75rem;
    right: 1.875rem;
    top: unset;
    bottom: 7.25rem;
  }
  .promo__content {
    padding-block: 5.625rem 0;
  }
  .promo__title {
    max-width: unset;
    font-size: 1.5rem;
    padding-inline: 0.625rem;
  }
  .promo__subtitle {
    max-width: 30.625rem;
    font-size: 1rem;
    margin-bottom: 1.9375rem;
  }
  .promo__button {
    font-size: 0.8125rem;
    min-width: 10rem;
    line-height: 1.69231;
  }
}
@media (width <= 47.99875rem) {
  .promo {
    background: inherit;
  }
  .promo__background {
    position: static;
    top: unset;
    left: unset;
    display: flex;
    align-items: end;
    justify-content: center;
    height: 30.25rem;
    translate: 0;
    max-width: unset;
    width: 100%;
    background: var(--color-grad-1);
    margin-bottom: 0.625rem;
  }
  .promo__main-image-wrapper {
    position: relative;
    right: unset;
    bottom: 0;
  }
  .promo__main-image-wrapper::after {
    content: "";
    position: absolute;
    z-index: -1;
    max-width: 12.5rem;
    width: 100%;
    height: 2.75rem;
    border-radius: 50%;
    bottom: 6%;
    left: 1%;
    background-color: var(--color-black-light);
    filter: blur(0.75rem);
  }
  .promo__content {
    padding-block: unset;
    padding-inline: 0.75rem;
  }
  .promo__title {
    position: absolute;
    top: 2.5rem;
    left: 50%;
    translate: -50% 0;
    width: 100%;
    text-align: center;
    line-height: 1.3;
  }
  .promo__subtitle {
    max-width: unset;
    margin-bottom: 0.625rem;
    color: var(--text-color-dark);
    font-weight: 600;
  }
  .promo__buttons {
    justify-content: center;
  }
}
@media (width <= 30.06125rem) {
  .promo__button {
    padding-inline: 0.875rem;
  }
}
/*  =====================================  */
/*  =====END promo block(car-service)====  */
/*  =====================================  */
/* Style for accent red link from common blocks */
.accent-color-link {
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: var(--letter-spacing);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--color-accent-600);
}

/*  ===================================  */
/*  ===================================  */
/* Styles for block promotion. Source car-service page*/
.promotion {
  --promotionCardBackgroundColor: var(--color-red-opcity-40);
}
.promotion__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: stretch;
  gap: clamp(0.625rem, 0.2180232558rem + 1.6279069767vw, 1.5rem);
  width: 100%;
}

.promotion__card {
  position: relative;
  min-height: 10.625rem;
  height: 100%;
  border-radius: var(--border-radius-small);
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  row-gap: 0.875rem;
  padding-block: clamp(1.0625rem, 0.6555232558rem + 1.6279069767vw, 1.9375rem);
  padding-inline: clamp(1.5rem, 1.3255813953rem + 0.6976744186vw, 1.875rem);
  background-color: var(--promotionCardBackgroundColor);
  transition-duration: var(--transition-duration);
}
@media (any-hover: hover) {
  .promotion__card:hover {
    background-color: transparent;
  }
}
@media (any-hover: hover) and (any-hover: none) {
  .promotion__card:active {
    background-color: transparent;
  }
}
.promotion__card-image {
  border-radius: var(--border-radius-small);
  object-fit: cover;
  width: inherit;
  height: inherit;
}
.promotion__card-image-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-small);
}
.promotion__card-name {
  font-size: clamp(1.125rem, 1.0668604651rem + 0.2325581395vw, 1.25rem);
  text-transform: uppercase;
  line-height: 1.3;
}
.promotion__card-taxt {
  line-height: 1.4;
  font-size: 0.875rem;
  letter-spacing: var(--letter-spacing-medium);
}
.promotion__card-taxt--uppercase {
  text-transform: uppercase;
}
.promotion__card-taxt--uppercase::before {
  width: 100%;
}
.promotion__card-taxt--underline {
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  cursor: pointer;
  transition-duration: var(--transition-duration) !important;
}
.promotion__card-taxt:not(.promotion__card-taxt--underline) {
  height: 100%;
}
.promotion__card-promocode {
  text-transform: none;
}

@media (width <= 47.99875rem) {
  .promotion__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .promotion__accent-color-link {
    text-align: center;
  }
  .promotion__card-name {
    line-height: 1.2;
  }
  .promotion__card-taxt--underline {
    line-height: 1.4;
    font-size: 1rem;
  }
}
/* =============================== */
/* =============================== */
/* Styles for section cost-service-banner. Part of section cort-service. source tire-fitting-page */
.cost-service-banner {
  --costServiceBannerBackground: var(--color-accent-200);
  max-width: 83.75rem;
  padding-inline: 1.25rem;
  background-color: var(--color-accent-200);
  padding-block: clamp(0rem, -1.4534883721rem + 5.8139534884vw, 3.125rem)
    clamp(0rem, -1.1627906977rem + 4.6511627907vw, 2.5rem);
  margin-inline: auto;
  border-radius: var(--border-radius-small);
}
.cost-service-banner__auth-portal {
  margin-bottom: clamp(0.625rem, 0.2180232558rem + 1.6279069767vw, 1.5rem);
}

@media (width <= 35.93625rem) {
  .cost-service-banner {
    background-color: transparent;
    padding-inline: 0;
  }
}
/* =============================== */
/* =============================== */
/* common-block auth-portal. */
.auth-portal__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.90625rem;
  background-color: var(--color-accent);
  border-radius: var(--border-radius-small);
}
.auth-portal__text {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-color-light);
}
.auth-portal__image {
  width: inherit;
  height: inherit;
}
.auth-portal__image-wrapper {
  width: 3.75rem;
  height: 3.75rem;
}
.auth-portal__button {
  background-color: var(--color-light);
  color: var(--text-color-dark);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: var(--letter-spacing);
  min-height: var(--auth-portal-button-height);
  padding-block: 0.375rem;
}

@media (width <= 63.99875rem) {
  .auth-portal__wrapper {
    gap: 0.75rem;
  }
}
@media (width <= 47.99875rem) {
  .auth-portal__wrapper {
    flex-direction: column;
    padding-inline: 0.71875rem;
    padding-block: 1.25rem;
  }
  .auth-portal__text {
    text-align: center;
    line-height: 1.2;
  }
  .auth-portal__image-wrapper {
    rotate: 90deg;
  }
}
/*  ==============================  */
/*  =====END block auth-portal====  */
/*  ==============================  */
/* Search block. ( form + input + button) .part of block locations */
.search {
  --searchBlockHeight: 2.375rem;
  --searchBlockHeightHigh: 3.125rem;
  --searchBgColor: var(--color-light);
  --searchBgColorHover: var(--color-gray-100);
  --searchBorder: var(--border-light);
  --searchIconColor: var(--color-border-medium);
  position: relative;
  display: block;
  height: 100%;
}
.search__input {
  min-height: var(--searchBlockHeight);
  height: 100%;
  width: 100%;
  padding-inline: 0.625rem calc(var(--searchBlockHeight) + 1.25rem);
  padding-block: 0.1875rem;
  border: none;
  outline: var(--searchBorder);
  border-radius: var(--border-radius-small);
  background-color: var(--searchBgColor);
  transition-duration: var(--transition-duration) !important;
}
.search__input--high {
  min-height: var(--searchBlockHeightHigh);
}
.search__input:focus {
  background-color: var(--searchBgColor) !important;
  outline: var(--border);
}
@media (any-hover: hover) {
  .search__input:hover {
    background-color: var(--searchBgColorHover);
  }
}
@media (any-hover: hover) and (any-hover: none) {
  .search__input:active {
    background-color: var(--searchBgColorHover);
  }
}
.search__button {
  padding: 0;
  background-color: transparent;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute !important;
  top: 0;
  right: 0;
  border-radius: var(--border-radius-small);
  min-height: var(--searchBlockHeight);
  width: var(--searchBlockHeight);
}
.search__button--high {
  min-height: var(--searchBlockHeightHigh);
}
@media (any-hover: hover) {
  .search__button:hover {
    filter: opacity(0.6);
  }
}
@media (any-hover: hover) and (any-hover: none) {
  .search__button:active {
    filter: opacity(0.6);
  }
}
.search__button:active {
  filter: opacity(0.3);
}
.search__icon {
  fill: transparent;
  stroke: var(--searchIconColor);
}

@media (width <= 47.99875rem) {
  .search {
    --searchBlockHeightHigh: 2.625rem;
  }
}
/* Syles for text-block attention-info */
.attention-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.625rem;
  border: var(--border-light);
  border-radius: var(--border-radius-small);
}
.attention-info__icon {
  flex-shrink: 0;
}
.attention-info__text {
  color: var(--text-color-dark-secondary);
  line-height: 1.47;
}
.attention-info__text--static-fs {
  font-size: 1.125rem;
}
.attention-info__text--small {
  font-size: clamp(0.9375rem, 0.9084302326rem + 0.1162790698vw, 1rem);
  line-height: 1.36;
  padding-inline: 0.6875rem;
}
.attention-info__text p:not(:last-child) {
  margin-bottom: 1.0625rem;
}

@media (width <= 47.99875rem) {
  .attention-info {
    flex-direction: column;
  }
  .attention-info__text {
    line-height: 1.49;
  }
  .attention-info__text--centred-mobile {
    text-align: center;
    line-height: 1.47;
  }
}
/* ===================================== */
/* ===================================== */
/* Styles for block-tabs services-tabs. Part of section cost-service. source car-service */
.services-tabs {
  --serviceTabsButtonBg: var(--color-accent-extra-light);
  --serviceTabsActiveButtonBg: var(--color-gray-800);
}
.services-tabs__header {
  display: flex;
  align-items: center;
  gap: clamp(0.625rem, 0.2180232558rem + 1.6279069767vw, 1.5rem);
  margin-bottom: 1.875rem;
}
.services-tabs__search {
  max-width: 14.0625rem;
  width: 100%;
  min-height: 100%;
  flex-shrink: 0;
}
.services-tabs__buttons {
  display: flex;
  gap: clamp(0.625rem, 0.2180232558rem + 1.6279069767vw, 1.5rem);
}
.services-tabs__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 3.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
  padding-inline: 1.25rem;
  padding-block: 0.78125rem;
  border: none;
  outline: var(--border-light);
  background-color: var(--serviceTabsButtonBg);
  border-radius: var(--border-radius-small);
  transition-duration: var(--transition-duration) !important;
}
.services-tabs__button.is-active {
  background-color: var(--serviceTabsActiveButtonBg);
  color: var(--color-light);
}
@media (any-hover: hover) {
  .services-tabs__button:hover {
    background-color: var(--serviceTabsActiveButtonBg);
    color: var(--color-light);
  }
}
@media (any-hover: hover) and (any-hover: none) {
  .services-tabs__button:active {
    background-color: var(--serviceTabsActiveButtonBg);
    color: var(--color-light);
  }
}
.services-tabs__button:active {
  scale: 0.98;
  will-change: transform;
  filter: brightness(80%);
}
.services-tabs__body {
  max-width: 78.75rem;
  width: 100%;
}
.services-tabs__content {
  display: none;
  flex-shrink: 0;
  width: 100%;
}
.services-tabs__content.is-active {
  display: block;
}

@media (width <= 100.06125rem) {
  .services-tabs__header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .services-tabs__buttons {
    display: contents;
  }
  .services-tabs__search {
    max-width: unset;
    grid-column: 1/4;
  }
}
@media (width <= 63.99875rem) {
  .services-tabs__header {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-tabs__search {
    max-width: unset;
    grid-column: 1/2;
  }
}
@media (width <= 47.99875rem) {
  .services-tabs__header {
    display: flex;
    flex-wrap: wrap;
  }
  .services-tabs__button {
    height: 2rem;
    font-size: 0.75rem;
    line-height: 1.66;
    padding-inline: 0.75rem;
    padding-block: 0.375rem;
  }
}
/* =============================== */
/* =============================== */
/* Styles for service-price-list. Part of section cost-service */
.service-price-list {
  width: 100%;
  padding-block: clamp(0rem, -0.5813953488rem + 2.3255813953vw, 1.25rem);
}
.service-price-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  font-weight: 700;
  font-size: clamp(1.0625rem, 0.9752906977rem + 0.3488372093vw, 1.25rem);
  line-height: 1.3;
  text-transform: uppercase;
  min-height: 3.125rem;
}
.service-price-list__item span {
  min-width: 13.25rem;
}
.service-price-list__item--heading {
  min-height: 2.5rem;
  font-size: clamp(0.9375rem, 0.8793604651rem + 0.2325581395vw, 1.0625rem);
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-big);
  color: var(--text-color-dark-secondary);
}
.service-price-list__icon-block {
  display: flex;
  align-items: center;
}

@media (width <= 47.99875rem) {
  .service-price-list__item {
    line-height: 1.2;
  }
  .service-price-list__item span {
    min-width: 5.0625rem;
  }
  .service-price-list__item--heading {
    letter-spacing: 0;
    min-height: 3.125rem;
  }
  .service-price-list__item--heading span {
    min-width: unset;
  }
}
/* Section cost-service. Styles for page car-service */
.cost-service__banner {
  margin-bottom: clamp(0.625rem, -0.5377906977rem + 4.6511627907vw, 3.125rem);
}
.cost-service__tabs {
  margin-bottom: 1.875rem;
}
.cost-service__prices-button {
  display: flex;
  justify-content: center;
  margin-bottom: 1.875rem;
}
.cost-service__prices-button .cost-service__prices-link {
  --buttonColorBg: transparent;
  --buttonColorBgLight: transparent;
  color: var(--color-accent) !important;
  background-color: transparent !important;
  border: 0.0625rem solid var(--color-accent) !important;
}
.cost-service__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.625rem, 0.3343023256rem + 1.1627906977vw, 1.25rem);
  margin-bottom: 1.875rem;
}
.cost-service__button {
  font-size: 1rem;
}

@media (width <= 35.93625rem) {
  .cost-service__buttons {
    flex-direction: column;
    padding-inline: 1.875rem;
  }
}
/*  =========================  */
/*  =====END cost-service====  */
/*  =========================  */
/* Section appointment-choose */
.appointment-choose__wrapper {
  display: flex;
  align-items: center;
  background-color: var(--color-gray-800);
  width: 100%;
  min-height: 8.625rem;
  padding-block: 0.625rem;
  padding-inline: 10.4375rem;
  border-radius: var(--border-radius-small);
}
.appointment-choose__title {
  color: var(--text-color-light);
  font-size: clamp(1.25rem, 1.0174418605rem + 0.9302325581vw, 1.75rem);
  line-height: 1.35;
  margin-right: 4.375rem;
}
.appointment-choose__image {
  width: 5.375rem;
  height: 6.75rem;
}
.appointment-choose__image-wrapper {
  flex-shrink: 0;
  display: inline-flex;
  align-items: end;
  width: 5.375rem;
  height: 7.375rem;
  margin-right: 1.375rem;
}
.appointment-choose__buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.appointment-choose__button {
  min-width: 8.75rem;
}

@media (width <= 100.06125rem) {
  .appointment-choose__wrapper {
    padding-inline: 1.25rem;
    justify-content: center;
    gap: 1.5rem;
  }
  .appointment-choose__image-wrapper {
    margin-right: 0;
  }
  .appointment-choose__title {
    margin-right: 0;
  }
}
@media (width <= 63.99875rem) {
  .appointment-choose__wrapper {
    padding-block: 1.875rem;
    flex-direction: column;
    max-width: 34.375rem;
    margin-inline: auto;
    gap: 2.125rem;
  }
  .appointment-choose__title {
    font-size: 1.25rem;
    line-height: 1.5;
    text-align: center;
    max-width: 15.625rem;
    text-transform: uppercase;
  }
  .appointment-choose__image-wrapper {
    align-items: start;
  }
  .appointment-choose__buttons {
    max-width: 18.75rem;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }
}
@media (width <= 35.93625rem) {
  .appointment-choose__wrapper {
    padding-inline: 1rem;
  }
  .appointment-choose__buttons {
    max-width: unset;
  }
}
/*  ===================================  */
/*  ======END appointment-choose=======  */
/*  ===================================  */
/* Block-card for advantage slider( our-advantage ).Part of Section advantages. Differences from blocks advantages in background color and positioning of the card*/
.advantage-card {
  --advantageCardTitleTextColor: var(--color-gray-800);
  --ourAdvantageCardBgColor: var(--color-accent-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.1875rem;
  max-width: 18.5625rem;
  width: 100%;
  padding: 1.1875rem 1.25rem 1.5625rem;
  border: var(--border-light);
  border-radius: var(--border-radius-small);
  background-color: var(--ourAdvantageCardBgColor);
}
.advantage-card__image {
  width: 3.75rem;
  height: 3.75rem;
}
.advantage-card__heading {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--advantageCardTitleTextColor);
}
.advantage-card__text {
  color: var(--text-color-dark-secondary);
  line-height: 1.52;
}

@media (width <= 47.99875rem) {
  .advantage-card {
    padding: 1.25rem 1.25rem 1.125rem;
    row-gap: 1.125rem;
  }
  .advantage-card__heading {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  .advantage-card__text {
    line-height: 1.47;
  }
}
/* Section advantages.Slider(our-advantage). Differences from the advantages section, in the cards.*/
.advantages {
  --advantagesSlidesQuantity: 4;
  overflow-x: hidden;
}
.advantages__title {
  margin-bottom: 3.125rem;
}
.advantages__slider-wrapper {
  display: grid;
  grid-template-rows: auto !important;
  grid-template-columns: repeat(var(--advantagesSlidesQuantity), 18.5625rem);
  column-gap: 1.5rem;
}
.advantages__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.25rem;
}
.advantages__button {
  font-size: 1rem;
}

@media (width <= 63.99875rem) {
  .advantages__slider {
    margin-block: 0 1.25rem;
  }
  .advantages__buttons {
    column-gap: 1rem;
    justify-content: start;
  }
}
@media (width <= 47.99875rem) {
  .advantages__slider-wrapper {
    column-gap: 0.625rem;
  }
}
/*  ===================================  */
/*  =======END section advantages======  */
/*  ===================================  */
/* section when-work*/
.when-work__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  outline: var(--border-light);
  padding-inline: 6.25rem 0;
  border-radius: var(--border-radius-small);
}
.when-work__wrapper--desktop-padding {
  padding-block: clamp(0rem, -0.5087209302rem + 2.0348837209vw, 1.09375rem);
}
.when-work__body {
  display: flex;
  flex-direction: column;
  row-gap: 1.875rem;
  max-width: 36.9375rem;
}
.when-work__title {
  line-height: 1.2;
}
.when-work__subtitle {
  line-height: 1.5;
  color: var(--text-color-dark-secondary);
}
.when-work__subtitle--bold {
  font-size: clamp(1.0625rem, 0.9752906977rem + 0.3488372093vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text-color-dar);
}
.when-work__subtitle:has(ul) ul {
  margin-block: 0;
  text-align: start;
  padding-left: 1.6875rem;
}
.when-work__buttons {
  display: flex;
  gap: 1.25rem;
}
.when-work__button {
  font-size: clamp(0.9375rem, 0.9084302326rem + 0.1162790698vw, 1rem);
  font-weight: 700;
  min-width: 8.75rem;
  letter-spacing: var(--letter-spacing-big);
}
.when-work__button:not(.button--accent-bg) {
  background: var(--color-blue-light);
}
.when-work__image {
  width: inherit;
  height: inherit;
}
.when-work__image-wrapper {
  width: 29.3125rem;
  height: 19.25rem;
  flex-shrink: 0;
}

@media (width <= 81.31125rem) {
  .when-work__wrapper {
    padding-inline: 2.5rem 0;
  }
}
@media (width <= 63.99875rem) {
  .when-work__wrapper {
    padding-inline: 1.25rem 0;
    padding: 1.25rem;
  }
  .when-work__body {
    row-gap: 1.25rem;
  }
  .when-work__buttons {
    gap: 0.625rem;
  }
  .when-work__image-wrapper {
    width: 20rem;
    height: 12.1875rem;
  }
}
@media (width <= 47.99875rem) {
  .when-work__wrapper {
    flex-direction: column;
  }
  .when-work__title,
  .when-work__subtitle {
    text-align: center;
  }
  .when-work__button {
    width: 100%;
  }
  .when-work__image-wrapper {
    order: -1;
  }
}
@media (width <= 35.93625rem) {
  .when-work__wrapper {
    padding-inline: 0;
  }
  .when-work__body {
    row-gap: 1.875rem;
  }
  .when-work__title {
    padding-inline: 1.875rem;
    line-height: 1.5;
  }
  .when-work__title--static-padding {
    padding-inline: 0;
  }
  .when-work__buttons {
    flex-direction: column;
    padding-inline: 0.625rem;
  }
}
/*  ==================================  */
/*  =======END section when-work======  */
/*  ==================================  */
/* Blok-card other-services-card. Part of component other-services */
.other-service-card {
  --otherServiceCardBgColor: var(--color-gray-800);
  max-width: 13.75rem;
  min-height: 10.75rem;
  width: 100%;
  will-change: transform;
}
.other-service-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  width: 100%;
  padding: 0.5rem clamp(0.625rem, 0.3343023256rem + 1.1627906977vw, 1.25rem)
    0.875rem;
  color: var(--text-color-light);
  background-color: var(--otherServiceCardBgColor);
  border-radius: var(--border-radius);
  transition-duration: var(--transition-duration) !important;
}
@media (any-hover: hover) {
  .other-service-card__link:hover {
    filter: opacity(1);
  }
  .other-service-card__link:hover .other-service-card__link-text {
    filter: brightness(70%);
  }
}
@media (any-hover: hover) and (any-hover: none) {
  .other-service-card__link:active {
    filter: opacity(1);
  }
  .other-service-card__link:active .other-service-card__link-text {
    filter: brightness(70%);
  }
}
.other-service-card__link:active {
  filter: brightness(90%);
}
.other-service-card__link-text {
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: var(--letter-spacing);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  transition-duration: var(--transition-duration);
}
.other-service-card__image {
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 0.625rem;
}
.other-service-card__name {
  font-size: clamp(0.9375rem, 0.7921511628rem + 0.5813953488vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.375rem;
}

@media (width <= 30.06125rem) {
  .other-service-card__link {
    padding: 0.9375rem 0.625rem 1.3125rem;
  }
}
/* Section other-services.*/
.other-services__list {
  max-width: 59.5rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(0.625rem, 0.2180232558rem + 1.6279069767vw, 1.5rem);
}

@media (width <= 63.99875rem) {
  .other-services__list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(0.625rem, -3.7354651163rem + 17.4418604651vw, 10rem);
  }
  .other-services__list-item {
    justify-self: end;
  }
  .other-services__list-item:nth-child(even) {
    justify-self: start;
  }
}
/*  ===================================  */
/*  =======END section other-services======  */
/*  ===================================  */
/* Navigation footer section. part of footer */
.footer-svc-links__heading {
  font-size: 1rem;
  line-height: 2.625rem;
  letter-spacing: var(--letter-spacing);
  font-weight: 600;
  text-align: center;
  color: var(--color-light);
  border-bottom: var(--border-light);
  width: 100%;
  margin-bottom: 2.25rem;
}
.footer-svc-links__nemu {
  font-weight: 600;
  font-size: 0.875rem;
}
.footer-svc-links__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(auto, 11.875rem));
  gap: 1.5rem;
}
.footer-svc-links__item:not(:last-child) {
  margin-bottom: 0.875rem;
}
.footer-svc-links__link {
  line-height: 1.44;
}

@media (width <= 81.31125rem) {
  .footer-svc-links__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem 1.5rem;
  }
}
@media (width <= 30.06125rem) {
  .footer-svc-links__list {
    grid-template-columns: 1fr;
    gap: 0.875rem 1.5rem;
  }
}
/* Block footer . For all pages.*/
.footer {
  background-color: var(--color-gray-800);
  color: var(--color-white-opacity-35);
}
.footer__inner {
  padding-block: clamp(0.9375rem, 0.6468023256rem + 1.1627906977vw, 1.5625rem)
    clamp(1.375rem, 0.2122093023rem + 4.6511627907vw, 3.875rem);
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: repeat(2, auto);
  row-gap: clamp(1.9375rem, 1.414244186rem + 2.0930232558vw, 3.0625rem);
  column-gap: 4.625rem;
}
.footer__heading {
  max-width: 21.875rem;
  width: 100%;
}
.footer__heading-text {
  font-size: 0.8125rem;
  line-height: 1.4;
}
.footer__logo {
  width: 20.6875rem;
  height: 4.875rem;
  margin-bottom: 1rem;
  margin-left: -0.625rem;
}
.footer__buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1.375rem;
  align-self: flex-end;
  max-width: 52rem;
}
.footer__qs-line {
  grid-area: qs;
  max-width: 25.25rem;
  width: 100%;
}
.footer__qs-line-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-block: clamp(0rem, -0.4941860465rem + 1.976744186vw, 1.0625rem);
  padding-inline: 2.5rem;
  border: var(--border-light);
  border-radius: var(--border-radius-small);
  color: var(--color-green-light);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing);
  text-align: center;
  text-transform: uppercase;
}
.footer__qs-line-phone {
  white-space: nowrap;
}
.footer__qs-line-text {
  font-size: 0.9375rem;
  line-height: 1.3;
  max-width: 14.6875rem;
}
.footer__yandex-button {
  grid-area: yandex;
  justify-self: center;
  width: clamp(3.375rem, 2.851744186rem + 2.0930232558vw, 4.5rem);
  height: clamp(4.3125rem, 3.6438953488rem + 2.6744186047vw, 5.75rem);
  margin-top: -0.5625rem;
}
.footer__button {
  grid-area: button;
  font-size: 1rem;
}
.footer__svc-links {
  max-width: 52rem;
}
.footer__links {
  align-self: end;
  color: var(--color-light);
  font-size: 1rem;
  line-height: 1.25;
}
.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 1.9375rem 1.875rem;
  letter-spacing: var(--letter-spacing);
}
.footer ul {
  list-style: none;
  margin-block: 0;
  padding: 0;
}

@media (width <= 81.31125rem) {
  .footer__buttons {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: minmax(5.75rem, auto) auto;
    grid-template-areas: "yandex qs" "button button";
    row-gap: 2.25rem;
  }
  .footer__button {
    justify-self: center;
  }
  .footer__links {
    align-self: center;
  }
}
@media (width <= 63.99875rem) {
  .footer .container {
    --container-padding-x: 1.875rem;
  }
  .footer__inner {
    padding-block: 1.5625rem 3.9375rem;
    grid-template-areas: "heading buttons" "links-list links-list" "svc svc";
    column-gap: 2.125rem;
  }
  .footer__heading {
    grid-area: heading;
    justify-self: center;
    text-align: center;
    margin-left: -0.625rem;
  }
  .footer__heading-text {
    font-size: 0.75rem;
  }
  .footer__links {
    grid-area: links-list;
    margin-bottom: 1.375rem;
  }
  .footer__links-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
  }
  .footer__svc-links {
    grid-area: svc;
    max-width: unset;
  }
  .footer__buttons {
    grid-area: buttons;
    margin-inline: auto;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    max-width: unset;
    width: 100%;
    grid-template-areas: "yandex button" ". qs";
    row-gap: 1rem;
  }
  .footer__button {
    align-self: start;
  }
  .footer__yandex-button {
    width: 3.375rem;
    height: 4.3125rem;
    align-self: start;
  }
}
@media (width <= 47.99875rem) {
  .footer .container {
    --container-padding-x: 1rem;
  }
  .footer__inner {
    padding-block: 0.6875rem 1.375rem;
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "buttons" "links-list" "svc";
    row-gap: 0;
  }
  .footer__heading {
    max-width: unset;
    width: 100%;
    margin-bottom: 1rem;
    margin-left: unset;
  }
  .footer__logo {
    margin-bottom: 1.125rem;
    margin-left: unset;
  }
  .footer__buttons {
    grid-template-rows: 1fr minmax(5.75rem, auto);
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "button button" "yandex qs";
    column-gap: 1.6875rem;
    row-gap: 2.3125rem;
    margin-bottom: 1.3125rem;
  }
  .footer__qs-line {
    min-width: 14.9375rem;
  }
  .footer__yandex-button {
    align-self: start;
    margin-top: 0.4375rem;
  }
  .footer__links {
    margin-bottom: 1.75rem;
  }
  .footer__links-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
  }
}
@media (width <= 30.06125rem) {
  .footer__yandex-button {
    margin-top: 0.4375rem;
  }
}
/*  ===================================  */
/*  =============END footer============  */
/*  ===================================  */

/*# sourceMappingURL=car-service.css.map */
