@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=========  */
/*  ===================================  */
/* 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 common block service */
.service__name {
  display: flex;
  align-items: center;
  column-gap: 0.625rem;
  line-height: 1.2;
  min-height: 4.75rem;
  padding-inline: 0.625rem;
}
.service__name--large-gap {
  column-gap: 1rem;
}
.service__name-icon {
  width: 3.75rem;
  height: 3.75rem;
}
.service__link {
  font-weight: 700;
  line-height: 1.4;
}
.service__link--name {
  font-size: 1.5rem;
  line-height: 1.2;
}
.service__link--name-small {
  font-size: 1.25rem;
}
.service__link--arrow {
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 0.25rem;
  text-transform: uppercase;
  width: 100%;
}
.service__link--arrow span {
  width: 95%;
}
.service__link--arrow::after {
  content: "➜";
  width: 1.125rem;
  height: 1.125rem;
  color: currentColor;
  font-size: inherit;
}
.service__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.service__list--services-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 0.625rem;
}
.service__list-item {
  display: inline-flex;
  width: 100%;
  min-height: 3.125rem;
  padding-inline: 0.625rem 0.25rem;
}

@media (width <= 81.31125rem) {
  .service__list--services-page {
    display: flex;
    flex-direction: column;
  }
}
/*  ===================================  */
/*  ===================================  */
/* Styles for common block all-services-menu . ( it's third block in the servaces page )*/
.services-menu__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "tire-fitting car-wash" "tire-fitting сar-rapair" "refill-conditioning wheel-alignment"
    "hydrogen-cleaning hydrogen-cleaning";
  gap: 1.5rem;
}
.services-menu__item {
  width: 100%;
  border: var(--border-light);
  border-radius: var(--border-radius-small);
  padding: 1.5rem;
}
.services-menu__item--grid-cell-1 {
  grid-area: tire-fitting;
}
.services-menu__item--grid-cell-2 {
  grid-area: car-wash;
}
.services-menu__item--grid-cell-3 {
  grid-area: сar-rapair;
}
.services-menu__item--grid-cell-4 {
  display: inline-flex;
  align-items: center;
  grid-area: refill-conditioning;
}
.services-menu__item--grid-cell-5 {
  display: inline-flex;
  align-items: center;
  grid-area: wheel-alignment;
}
.services-menu__item--grid-cell-6 {
  display: inline-flex;
  align-items: center;
  grid-area: hydrogen-cleaning;
}
.services-menu__item--grid-cell-6 .services-menu__name {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.services-menu__name {
  align-self: start;
}
.services-menu__service {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-self: start;
  row-gap: 1.5rem;
  width: 100%;
}
.services-menu__service-list {
  width: 100%;
}

@media (width <= 81.31125rem) {
  .services-menu__list {
    grid-template-areas: "tire-fitting car-wash" "tire-fitting refill-conditioning" "tire-fitting сar-rapair"
      "wheel-alignment hydrogen-cleaning";
  }
}
@media (width <= 63.99875rem) {
  .services-menu {
    gap: 1.25rem;
  }
}
@media (width <= 47.99875rem) {
  .services-menu__list {
    grid-template-columns: 1fr;
    grid-template-areas: "tire-fitting" "car-wash" "refill-conditioning" " сar-rapair" " wheel-alignment"
      "hydrogen-cleaning";
    gap: 0.625rem;
  }
  .services-menu__item:last-child .services-menu__name {
    align-self: start;
  }
  .services-menu__item {
    padding: 1.5rem 2.5rem 1.40625rem 1.5rem;
  }
}
/*  ===================================  */
/*  ===================================  */
/* Styles for single card of special offer. source -- block section special offers */
.special-offer {
  --specialOfferCardWidth: 38.625rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 1.5rem;
  border-radius: var(--border-radius-small);
  border: var(--border-light);
  max-width: var(--specialOfferCardWidth);
  width: 100%;
  height: 100%;
}
.special-offer__image {
  object-fit: cover;
  width: inherit;
  height: inherit;
  border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
}
.special-offer__image-wrapper {
  display: block;
  position: relative;
  max-width: var(--specialOfferCardWidth);
  width: 100%;
  height: 13.75rem;
}
.special-offer__image-wrapper--dark-filter::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
  background-color: rgba(59, 6, 5, 0.1490196078);
}
.special-offer__body {
  display: flex;
  flex-direction: column;
  justify-content: end;
  row-gap: 1.25rem;
  padding: 0 1.5rem 1.5rem 1.5rem;
  height: 100%;
}
.special-offer__heading {
  min-height: 3.25rem;
  line-height: 1.3;
}
.special-offer__text {
  flex-grow: 1;
  line-height: 1.5;
  color: var(--text-color-dark-secondary);
}
.special-offer__button {
  align-self: start;
  font-size: 1rem;
}

@media (width <= 63.99875rem) {
  .special-offer {
    --specialOfferCardWidth: 34.375rem;
    row-gap: 1rem;
  }
  .special-offer__body {
    padding: 0 1rem 1rem 1rem;
    row-gap: 1rem;
  }
  .special-offer__heading {
    line-height: 1.2;
  }
}
@media (width <= 47.99875rem) {
  .special-offer {
    --specialOfferCardWidth: 47.9375rem;
  }
}
/*  ===================================  */
/*  ===================================  */
/* Styles for section special offers. source -- main page */
.special-offers__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (width <= 63.99875rem) {
  .special-offers__list {
    gap: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/*  ===================================  */
/*  ===================================  */
/* 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======  */
/*  ==================================  */
/* 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=services.css.map */
