@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr auto auto auto;
  }
}

@media (min-width: 992px) {
  .hero__content {
    grid-template-columns: 0.92fr 0.88fr;
  }

  .about__content {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .repair-info__content {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .repair-info__media {
    justify-content: flex-end;
    padding-top: 8px;
  }

  .about-company__content {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .lead-form__content {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr auto;
  }
}

@media (max-width: 1279px) {
  .car-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }

  .delivered-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }

  .cost-breakdown__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overpay-reasons__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 991px) {
  .hero__text h1 {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__card-image {
    height: 360px;
  }

  .hero__card-title {
    font-size: 28px;
  }

  .about__title {
    font-size: 36px;
  }

  .about__visual {
    max-width: 100%;
    justify-self: center;
  }

  .cars__title,
  .cost-info__title,
  .delivered__title,
  .cost-breakdown__title,
  .profit-compare__title,
  .repair-info__title,
  .about-company__title,
  .overpay-reasons__title,
  .reviews__title,
  .faq__title,
  .lead-form__title {
    font-size: 36px;
  }

  .cars__subtitle,
  .cost-info__text,
  .repair-info__intro,
  .repair-info__step-text,
  .repair-info__paragraph,
  .about-company__text,
  .lead-form__text {
    font-size: 18px;
  }

  .cost-breakdown__item,
  .about-company__item,
  .overpay-reasons__item {
    font-size: 18px;
  }

  .cost-breakdown__item {
    min-height: 110px;
  }

  .profit-compare__price {
    font-size: 40px;
  }

  .profit-compare__text {
    font-size: 16px;
  }

  .repair-info__highlight {
    font-size: 22px;
  }

  .about-company__item {
    min-height: 116px;
  }

  .faq__question {
    font-size: 18px;
  }

  .faq__answer p {
    font-size: 16px;
  }

  .lead-form__card-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 16px;
  }

  .hero {
    padding: 36px 0 60px;
  }

  .hero__badge {
    font-size: 13px;
  }

  .hero__text h1 {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__card-image {
    height: 300px;
  }

  .hero__card-grid {
    grid-template-columns: 1fr;
    font-size: 16px;
  }

  .about {
    padding: 60px 0;
  }

  .about__title {
    font-size: 32px;
    text-align: center;
  }

  .about__feature {
    font-size: 16px;
  }

  .check-icon {
    width: 24px;
    height: 24px;
  }

  .about__messengers-buttons {
    width: 100%;
  }

  .about__messenger-btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }

  .cars,
  .cost-info,
  .delivered,
  .cost-breakdown,
  .profit-compare,
  .repair-info,
  .about-company,
  .overpay-reasons,
  .reviews,
  .faq,
  .lead-form {
    padding: 60px 0;
  }

  .cars__header,
  .delivered__header,
  .reviews__header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cars__title,
  .cost-info__title,
  .delivered__title,
  .cost-breakdown__title,
  .profit-compare__title,
  .repair-info__title,
  .about-company__title,
  .overpay-reasons__title,
  .reviews__title,
  .faq__title,
  .lead-form__title {
    font-size: 32px;
  }

  .cars__subtitle,
  .cost-info__text,
  .about-company__text,
  .lead-form__text {
    font-size: 16px;
  }

  .cost-info__text,
  .lead-form__text {
    margin-top: 16px;
    line-height: 1.6;
  }

  .carousel-arrows {
    justify-content: flex-end;
  }

  .carousel-arrow-btn {
    width: 42px;
    height: 42px;
  }

  .carousel-arrow-btn svg {
    width: 40px;
    height: 40px;
  }

  .cars__track,
  .delivered__track {
    gap: 16px;
  }

  .car-slide,
  .delivered-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .car-card {
    min-height: auto;
  }

  .delivered-card__image {
    height: 240px;
  }

  .delivered-card__title {
    font-size: 18px;
    padding: 18px;
  }

  .cost-breakdown__grid,
  .profit-compare__grid,
  .about-company__grid,
  .overpay-reasons__grid {
    grid-template-columns: 1fr;
  }

  .cost-breakdown__item,
  .about-company__item,
  .overpay-reasons__item {
    min-height: auto;
    padding: 22px 18px;
    font-size: 17px;
  }

  .overpay-reasons__item,
  .faq__item {
    border-radius: 20px;
  }

  .profit-compare__box {
    padding: 20px;
    border-radius: 24px;
  }

  .profit-compare__card {
    padding: 20px;
    border-radius: 20px;
  }

  .profit-compare__price {
    font-size: 36px;
  }

  .profit-compare__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .repair-info__intro {
    margin-top: 24px;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .repair-info__step {
    gap: 14px;
  }

  .repair-info__step-number {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .repair-info__step-text,
  .repair-info__paragraph {
    font-size: 16px;
    line-height: 1.6;
  }

  .repair-info__paragraph {
    margin-top: 24px;
  }

  .repair-info__highlight {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.5;
  }

  .repair-info__video-shell {
    max-width: 100%;
    padding: 10px;
    border-radius: 24px;
  }

  .repair-info__video-card {
    max-width: 100%;
    border-radius: 20px;
  }

  .about-company__text {
    margin-top: 16px;
    line-height: 1.6;
  }

  .reviews__track {
    gap: 12px;
  }

  .review-card {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: calc((100% - 12px) / 2);
  }

  .reviews-card {
    padding: 18px;
    border-radius: 22px;
  }

  .reviews-card__image {
    height: 120px;
    border-radius: 14px;
  }

  .reviews-card__text {
    font-size: 13px;
    line-height: 1.55;
  }

  .reviews-card__name {
    font-size: 15px;
  }

  .faq__question {
    padding: 18px 20px;
    font-size: 17px;
    line-height: 1.5;
  }

  .faq__question::after {
    font-size: 24px;
  }

  .faq__answer {
    padding: 0 20px 18px;
  }

  .faq__answer p {
    font-size: 15px;
    line-height: 1.6;
  }

  .lead-form__card {
    padding: 22px;
    border-radius: 24px;
  }

  .lead-form__card-title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .lead-form__input,
  .lead-form__phone {
    height: 54px;
    border-radius: 16px;
  }

  .lead-form__phone-code,
  .lead-form__phone-input,
  .lead-form__input {
    font-size: 15px;
  }

  .lead-form__note {
    font-size: 13px;
  }

.chat-widget {
  right: 16px;
  bottom: 98px;
}

.chat-widget__circle {
  width: 66px;
  height: 66px;
}

  .chat-widget__open-icon img {
    width: 30px;
    height: 30px;
  }

  .chat-panel {
    right: 0;
    width: min(380px, calc(100vw - 20px));
    height: 72vh;
    max-height: 560px;
    border-radius: 24px;
  }

  .chat-panel__brand-image {
    width: 44px;
    height: 44px;
  }

  .chat-panel__messages {
    padding: 14px;
  }

  .emoji-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .chat-panel__form-row {
    gap: 10px;
  }

  .chat-panel__icon-btn,
  .chat-panel__emoji-btn {
    width: 44px;
    height: 44px;
  }

  .chat-panel__input {
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }

  .chat-panel__submit {
    width: 48px;
    height: 48px;
  }

  .floating-up {
  right: 16px;
  bottom: 16px;
  width: 66px;
  height: 66px;
}

  .callback-widget {
  right: 16px;
  bottom: 178px;
}

  .callback-widget__tooltip {
    display: none;
  }

  .callback-widget__button {
  width: 66px;
  height: 66px;
}

  .callback-widget__text {
  font-size: 9px;
  line-height: 1.05;
}

  .callback-modal__dialog {
    width: calc(100vw - 20px);
    margin-top: 40px;
    border-radius: 22px;
  }

  .callback-modal__content {
    padding: 24px 18px 20px;
  }

  .callback-modal__title {
    font-size: 26px;
  }

  .callback-modal__input,
  .callback-modal__submit {
    height: 54px;
    border-radius: 16px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .process__title {
    font-size: 36px;
  }

  .process__subtitle {
    font-size: 18px;
  }

  .process__grid {
    grid-template-columns: 1fr;
  }

  .process-card__title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .process {
    padding: 60px 0;
    overflow: hidden;
  }

  .process__title {
    font-size: 32px;
  }

  .process__subtitle {
    font-size: 16px;
    line-height: 1.6;
  }

  .process__grid {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    grid-template-columns: none !important;
  }

  .process__grid::-webkit-scrollbar {
    display: none;
  }

  .process-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
    padding: 20px;
    border-radius: 24px;
  }

  .process-card__title {
    font-size: 22px;
  }

  .process-card__items {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .process-item {
    height: auto;
    min-height: auto;
    border-radius: 18px;
    padding: 18px 18px 18px 20px;
  }

  .process-item::before {
    top: 16px;
    bottom: 16px;
  }

  .process-item__trigger {
    display: block;
    padding: 0;
    cursor: default;
    pointer-events: none;
  }

  .process-item__arrow {
    display: none !important;
  }

  .process-item__content {
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    transition: none !important;
  }

  .process-item__text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .process__footer {
    justify-content: center;
    margin-top: 24px;
  }

  .process__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 9px 0;
  }

  .header__inner {
    min-height: 52px;
    display: grid;
    grid-template-columns: 120px 1fr 44px;
    align-items: center;
    gap: 10px;
  }

  .logo {
  height: 34px;
  display: flex;
  margin-left: -1px;
  align-items: center;
  overflow: visible;
}

.logo img {
  height: 22px !important;
}

.logo__subtitle {
  font-size: 9px;
}

  .nav,
  .header__cta {
    display: none;
  }

  .header__phones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
  }

  .phone-icon {
    width: 18px;
    height: 18px;
    margin-right: 0;
    flex-shrink: 0;
  }

  .header__phones-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }

  .header__phone {
    font-size: 12px;
    line-height: 1.02;
    font-weight: 700;
    white-space: nowrap;
  }

  .burger {
  display: flex;
  justify-self: end;
  transform: none;
  width: 44px;
  height: 44px;
}

  .burger span {
    width: 24px;
    height: 2.5px;
  }
}

@media (max-width: 991px) {
  .mobile-menu {
    display: none;
    background: rgba(8, 8, 9, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px 24px;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
  }

  .mobile-menu__nav a {
    display: block;
    padding: 22px 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.25s ease;
  }

  .mobile-menu__nav a:hover {
    color: #f97316;
  }

  .mobile-menu__phones {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
  }

  .mobile-menu__phone {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: color 0.25s ease;
  }

  .mobile-menu__phone:hover {
    color: #f97316;
  }

  .mobile-menu__cta {
  width: 100% !important;
  max-width: 340px !important;
  min-height: 56px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.menu__cta {
  margin-left: auto !important;
  margin-right: auto !important;
}

  .burger {
    gap: 6px;
  }

  .burger span {
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 28px;
  }

  .footer__top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: start !important;
    min-height: 0 !important;
  }

  .footer__brand,
  .footer__socials,
  .footer__contacts,
  .footer__cta {
    justify-self: start !important;
    align-self: start !important;
    grid-column: auto !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
  }

  .footer__logo img {
  height: 19px !important;
  width: auto !important;
  max-width: 100% !important;
  position: static !important;
  top: auto !important;
}

.footer__logo {
  height: 56px !important;
  margin-left: 0 !important;
}
  
  .footer__subtitle {
    margin-top: 8px !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
  }

  .footer__socials {
    gap: 12px !important;
  }

  .footer__social {
    width: 52px !important;
    height: 52px !important;
  }

  .footer__social img {
    width: 34px !important;
    height: 34px !important;
  }

  .footer__contacts {
    gap: 8px !important;
  }

  .footer__phones {
    align-items: flex-start !important;
  }

  .footer__phone-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .footer__cta {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  .footer__divider {
    margin: 28px 0 !important;
  }

  .footer__bottom {
    display: block !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header,
  .hero,
  .faq,
  .lead-form,
  .footer {
    overflow-x: hidden;
  }

  .footer__top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: start !important;
    min-height: 0 !important;
  }

  .footer__brand,
  .footer__socials,
  .footer__contacts,
  .footer__cta {
    justify-self: start !important;
    align-self: start !important;
    grid-column: auto !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
  }

  .footer__logo {
  height: 19px !important;
  margin-left: 0 !important;
}

.footer__logo img {
  height: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  position: static !important;
}

  .footer__subtitle {
    margin-top: 8px !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
  }

  .footer__socials {
    gap: 12px !important;
  }

  .footer__contacts {
    gap: 8px !important;
  }

  .footer__phones {
    align-items: flex-start !important;
  }

  .footer__phone-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .footer__cta {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  .footer__bottom {
    display: block !important;
  }
}

.logo__subtitle {
  font-size: 9px;
  color: rgba(255,255,255,0.6);
  line-height: 1;

  margin-top: 1px;   /* 🔼 вверх / вниз */
  margin-left: 0px;   /* ◀️ вправо / влево */
}

@media (max-width: 768px) {
  .chat-widget {
  position: fixed;
  right: 16px;
  bottom: 90px !important;
  z-index: 9999;
}

  .callback-widget {
    position: fixed;
    right: 16px;
    bottom: 108px !important;
    z-index: 9999;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .floating-up {
    bottom: 16px;
  }

  .chat-widget {
    bottom: 90px !important;
  }

  .callback-widget {
    bottom: 170px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    background-image: url('../img/hero-mobile.png');
  }
}

.car-card__image-wrap {
  position: relative;
}

.car-card__photos {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.car-card__photos::-webkit-scrollbar {
  display: none;
}

.car-card__photos .car-card__image {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  object-fit: cover;
}

.car-card__photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.car-card__photo-arrow--prev {
  left: 12px;
}

.car-card__photo-arrow--next {
  right: 12px;
}

.car-card__counter {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-card__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  align-items: center;
  gap: 6px;
}

.car-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: 0.2s ease;
}

.car-card__dot.is-active {
  background: #4f7cff;
}

@media (max-width: 768px) {
  .car-card__photo-arrow {
    display: none;
  }

  .car-card__dots {
    display: flex;
  }

  .car-card__counter {
    top: 10px;
    right: 10px;
    height: 26px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .hero .container {
    height: 100% !important;
    padding-inline: 16px !important;
  }

  .hero__content {
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
  }

  .hero__text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-top: 44px !important;
  }

  .hero__badge {
    margin-bottom: 22px !important;
  }

  .hero__text h1 {
    font-size: 31px !important;
    line-height: 1.00 !important;
    margin-bottom: 12px !important;
  }

  .hero__subtitle {
    font-size: 14px !important;
    line-height: 1.40 !important;
    margin-bottom: 0 !important;
  }

  .hero__actions {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 90px !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .hero__actions .btn,
  .hero__actions a {
   width: 100% !important;
   max-width: 340px !important; /* как в остальных */
   margin: 0 auto !important;
}
}

@media (max-width: 768px) {
  .about__messengers {
    width: 100%;
    max-width: 100%;
  }

  .about__messengers-title {
    font-size: 16px;
    margin-bottom: 14px;
    text-align: center;
  }

  .about__messengers-buttons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    align-items: stretch !important;
  }

  .about__messenger-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 52px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    gap: 0 !important;
  }

  .about__messenger-btn img {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    flex: 0 0 22px !important;
  }
}

@media (max-width: 768px) {
  .about__cta {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto 24px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .about__cta .btn,
  .about__cta a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
  }
}

@media (max-width: 768px) {
  .about__cta {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto 24px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .about__cta .btn,
  .about__cta a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
  }
}

@media (max-width: 768px) {
  .about__visual {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .cars__track,
  .delivered__track,
  .reviews__track {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 6px;
  }

  .cars__track::-webkit-scrollbar,
  .delivered__track::-webkit-scrollbar,
  .reviews__track::-webkit-scrollbar {
    display: none;
  }

  .car-slide,
  .delivered-slide,
  .review-card {
    flex: 0 0 85% !important; /* видно следующий слайд */
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .car-card__title {
    text-align: left !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin: 0 0 18px !important;
    padding: 0 16px !important; /* вместо padding-left */
  }
}

@media (max-width: 768px) {
  .compare__grid {
    grid-template-columns: 1fr;
  }

  .compare__price {
    font-size: 28px;
  }
}

@media (min-width: 769px) {
  .hero {
    background-image: url('../img/hero-cars.PNG') !important;
    background-position: 24% center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

@media (max-width: 768px) {
  .hero {
    background-image: url('../img/hero-mobile.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

.process__dots-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .process__dots-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .process__dots {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .process__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d6cfc9;
    transition: all 0.2s ease;
  }

  .process__dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: #f97316;
  }
}

/* БЛОК 4 — только ПК: 3 карточки */
@media (min-width: 1280px) {
  #delivered-scroll {
    gap: 20px;
  }

  #delivered-scroll .delivered-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  .car-card__date {
    bottom: 30px !important; /* было ~20-25px */
  }
}

/* БЛОК 6 — Авто в дорозі: на ПК показываем 3 карточки */
@media (min-width: 1024px) {
  #road-scroll {
    gap: 20px;
  }

  #road-scroll .delivered-slide {
    flex: 0 0 calc((100% - 40px) / 3) !important;
    min-width: calc((100% - 40px) / 3) !important;
  }
}

@media (max-width: 768px) {
  .hero__text {
    padding-top: 20px !important; /* было 90 — поднимаем выше */
    max-width: 92% !important;
  }

  .hero__badge {
    max-width: fit-content !important; /* не растягивается */
    margin-bottom: 18px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* ОДНА СТРОКА */
  }

  .hero__text h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.8px !important;
  }

  .hero__subtitle {
    max-width: 88% !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
    color: rgba(255,255,255,0.78) !important;
  }

  .hero__actions {
    bottom: 46px !important;
  }
}

.hero__subtitle {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 12px;

  background: rgba(0, 0, 0, 0.11); /* почти прозрачная */
  backdrop-filter: blur(6px);       /* стекло эффект */
  -webkit-backdrop-filter: blur(6px);

  display: inline-block;
}

@media (min-width: 1024px) {

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__logo {
    position: relative;
    z-index: 2;
  }

  .footer__subtitle {
    position: relative;
    z-index: 1;

    margin-top: 6px !important;
    transform: none !important;
    top: auto !important;
  }

}

@media (min-width: 1024px) {

  .footer__top {
    display: grid;
    grid-template-columns: 1fr auto; /* 2 колонки */
    align-items: center;
  }

  /* ПРАВАЯ ЧАСТЬ (контакты + кнопка в одну линию) */
  .footer__contacts {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  /* КОНТАКТЫ (почта + телефоны) */
  .footer__contacts-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* КНОПКА В ОДИН РЯД */
  .footer__cta {
    margin: 0 !important;
    transform: none !important;
    align-self: center;
    white-space: nowrap;
  }

}

@media (min-width: 1024px) {
  .footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer__row-top {
    grid-column: 1;
  }

  .footer__row-bottom {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 42px;
  }

  .footer__contacts {
    margin: 0 !important;
  }

  .footer__cta {
    margin: 0 !important;
    transform: none !important;
    white-space: nowrap;
  }

  .footer__divider,
  .footer__bottom {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .footer__row-bottom {
    display: flex;
    align-items: center;
    gap: 42px;
  }

  .footer__cta {
    margin-left: auto !important;
    transform: translateX(50px) !important;
    white-space: nowrap;
  }

  .footer__cta:hover {
    transform: translateX(50px) translateY(-3px) !important;
  }
}

.footer__phones {
  margin-top: -32px; /* регулируй */
}

@media (min-width: 1024px) {
  .footer__contacts {
    transform: translateX(100px) !important;
  }
}

@media (min-width: 1024px) {
  .footer__socials {
    transform: translateX(15px);
  }
}

@media (max-width: 768px) {
  .footer__phones {
    margin-top: 0 !important;
  }

  .footer__email {
    margin-bottom: 10px !important;
  }
}

@media (min-width: 769px) {
  .car-card__dots {
    display: flex !important;
    z-index: 10 !important;
  }

  .car-card__dot {
    background: rgba(210, 210, 210, 0.9) !important;
  }

  .car-card__dot.is-active {
    background: #4f7cff !important;
  }
}

@media (min-width: 769px) {

  /* поднимаем дату выше */
  .car-card__date {
    bottom: 33px; /* было примерно 20–25px */
  }

  /* чуть ниже оставляем точки */
  .car-card__dots {
    bottom: 14px;
  }

}

@media (min-width: 1024px) {
  .lead-section__title {
    position: relative;
  }

  .lead-section__title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 4px;
    height: 60px;
    background: #f97316;
    border-radius: 2px;
  }
}

@media (min-width: 1024px) {
  .cars__track,
  .delivered__track {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cars__track::-webkit-scrollbar,
  .delivered__track::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 991px) {
  .mobile-menu .menu__cta {
    width: calc(100vw - 80px) !important;
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: translateX(20px); /* ← двигает кнопку вправо */
  }
}