/* Адаптив: 1024 / 768 / 480 */

/* Дефолты для мобильных элементов */
.burger { display: none; }
.picks-dots { display: none; }
.header__phones { display: none; }
.promo-card__media { display: contents; }
.promo-card__deco-m { display: none; }
.akcii-card__media { display: contents; }
.akcii-card__deco-m { display: none; }
.gallery-thumbs { display: none; }

/* ─── Планшет ─── */
@media (max-width: 1024px) {
  .filter-card { padding: 28px 28px; }

  .filter-card__row { flex-wrap: wrap; }
  .fsel { flex: 1 1 30%; min-width: 160px; }
  .filter-submit { flex: 1 1 100%; }

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

  .brands-arrow { width: 64px; height: 64px; }
  .brands-arrow img { width: 64px; height: 64px; }
  .brands-arrow--left  { left:  -8px; }
  .brands-arrow--right { right: -8px; }

  .promo-card__deco { width: 300px; }
  .promo-card__content { padding: 32px 32px; }

  .contacts__info { flex-basis: 340px; padding: 32px 28px; }
}

/* ─── Мобильный ─── */
@media (max-width: 768px) {
  :root { --page-pad: 16px; }

  /* Топбар */
  .topbar { display: none; }

  /* Шапка */
  .header__inner {
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    grid-template-columns: none;
  }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }
  .burger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .burger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger--active span:nth-child(2) { opacity: 0; }
  .burger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .logo { flex: 1; text-align: center; font-size: 21px; }

  .header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .callback-btn { display: none; }
  .header__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    line-height: 1.25;
  }
  .header__phones a {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
  }

  /* Меню */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
    border-top: 1px solid var(--border);
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    transition: max-height .35s var(--ease), opacity .25s var(--ease), padding .35s var(--ease);
  }
  .nav.nav--open {
    max-height: 70vh;
    opacity: 1;
    padding: 8px 0;
    overflow-y: auto;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0 var(--page-pad);
  }
  .nav__list li {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__list li:last-child { border-bottom: none; }
  .nav--open .nav__list li { opacity: 1; transform: none; }
  .nav--open .nav__list li:nth-child(1) { transition-delay: .06s; }
  .nav--open .nav__list li:nth-child(2) { transition-delay: .10s; }
  .nav--open .nav__list li:nth-child(3) { transition-delay: .14s; }
  .nav--open .nav__list li:nth-child(4) { transition-delay: .18s; }
  .nav--open .nav__list li:nth-child(5) { transition-delay: .22s; }
  .nav--open .nav__list li:nth-child(6) { transition-delay: .26s; }
  .nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  /* Hero */
  .hero__img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Фильтр */
  .filter-section { margin-top: 28px; padding-bottom: 36px; }
  .filter-card { padding: 16px; border-radius: 14px; }
  .filter-card__title { font-size: 19px; margin-bottom: 14px; }
  .filter-card__row { flex-direction: column; gap: 10px; }
  .fsel { flex: 0 0 auto; min-width: 0; width: 100%; }
  .fsel__btn { height: 54px; }
  .fsel__value { display: none; }
  .fsel__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0;
  }
  .filter-submit {
    flex: 0 0 auto;
    width: 100%;
    height: 58px;
    font-size: 16px;
    padding: 0;
  }

  /* Бренды */
  .brands-section { padding-top: 16px; padding-bottom: 40px; }
  .brands-arrow { display: none; }
  .brands-viewport {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
  .brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    gap: 10px;
    padding: 2px;
  }
  .brand-chip { flex: 0 0 auto; }

  .section-title { font-size: 22px; margin-bottom: 16px; }

  /* Подборки */
  .picks-section { padding-top: 36px; padding-bottom: 28px; }
  .picks-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-pad);
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px;
  }
  .picks-grid::-webkit-scrollbar { display: none; }
  .pick-card {
    flex: 0 0 210px;
    width: 210px;
    scroll-snap-align: start;
    border-radius: 14px;
  }
  .pick-card img { width: 210px; height: 147px; object-fit: cover; }

  .picks-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .picks-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9d9d9;
    transition: width .25s var(--ease), background .25s;
  }
  .picks-dots span.active {
    width: 20px;
    border-radius: 4px;
    background: var(--red);
  }

  /* Хиты */
  .hits-section { padding-bottom: 40px; }
  .hits-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-pad);
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px;
  }
  .hits-grid::-webkit-scrollbar { display: none; }
  .hit-card {
    flex: 0 0 238px;
    width: 238px;
    height: 281.35px;
    scroll-snap-align: start;
    padding: 12px;
  }
  .hit-card__badge { width: 100%; max-width: 100%; }
  .hit-card__badge span { font-size: 11px; }
  .hit-card__btn { width: 100%; }

  /* Каталог */
  .filter-section--page { margin-top: 0; padding-top: 16px; }
  .catalog-cars { padding-bottom: 28px; }
  .catalog-cars__title { font-size: 20px; margin-bottom: 16px; }
  .catalog-cars .hits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
  }
  .catalog-cars .hit-card {
    flex: none;
    width: auto;
    height: auto;
  }
  .catalog-cars .hit-card__img { min-height: 150px; }
  .catalog-cars .hits-grid .hit-card:nth-child(n+5) { display: none; }
  .catalog-promo { padding-bottom: 28px; }

  .pagination { display: none; }

  /* Промо-секции */
  .promo-sections { padding-bottom: 44px; }
  .promo-sections__inner { gap: 20px; }
  .promo-card {
    flex-direction: column;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
  }
  .promo-card__content {
    padding: 24px 20px;
    gap: 18px;
  }
  .promo-card__title { font-size: 24px; text-align: center; }
  .promo-card__sub { font-size: 15px; text-align: center; }
  .promo-card__sub--lg { font-size: 17px; text-align: center; }

  .promo-card__deco { display: none; }
  .promo-card__media {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .promo-card__deco-m {
    display: block;
    width: 270px;
    max-width: none;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: -68px;
  }

  /* Подарки */
  .promo-card--gifts .promo-card__features {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .promo-card--gifts .promo-card__deco-m {
    width: 220px;
    margin-right: -50px;
  }
  .promo-card--gifts .promo-feature { gap: 8px; }
  .promo-card--gifts .promo-feature__icon { width: 28px; height: 28px; }
  .promo-card--gifts .promo-feature__icon img { width: 26px; height: 26px; }
  .promo-card--gifts .promo-feature__label { font-size: 12px; }

  /* Автокредит */
  .promo-card--credit .promo-card__features--cols {
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
  }
  .promo-card--credit .promo-card__deco-m {
    width: 230px;
    margin-right: -52px;
  }
  .promo-feature__sep { display: none; }
  .promo-feature--col { padding: 0; gap: 5px; flex: none; }
  .promo-feature--col .promo-feature__label { font-size: 11px; }
  .promo-feature__img { width: 30px; height: 30px; }

  /* Трейд-ин */
  .promo-card--tradein .promo-benefits {
    flex: 1 1 0;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .promo-benefit { font-size: 12px; gap: 8px; }
  .promo-benefit__check { width: 18px; height: 18px; }
  .promo-card--tradein .promo-card__deco-m {
    width: 185px;
    margin-right: -40px;
    align-self: center;
  }

  /* Промо-форма */
  .promo-form__block {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    gap: 10px;
    padding: 12px;
  }
  .promo-form__input-wrap { width: 100%; }
  .promo-form__submit { width: 100%; }

  /* Акции */
  .akcii-section { padding-top: 20px; padding-bottom: 40px; }
  .akcii-section__inner { gap: 20px; }
  .akcii-card {
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
  }
  .akcii-card__body { padding: 24px 20px; gap: 14px; }
  .akcii-card__head { gap: 10px; }
  .akcii-card__badge img { width: 48px; height: 48px; }
  .akcii-card__title { font-size: 22px; }
  .akcii-card__sub { font-size: 13px; }

  .akcii-card__deco { display: none; }
  .akcii-card__media {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .akcii-card__media .akcii-card__sub { flex: 1 1 0; min-width: 0; }
  .akcii-card__deco-m {
    display: block;
    width: 185px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: -44px;
  }
  .akcii-card__deco-m--lg { width: 195px; }
  .akcii-card__deco-m--sm { width: 160px; }

  /* Контакты */
  .contacts { padding-bottom: 40px; }
  .contacts__card {
    flex-direction: column;
    min-height: 0;
    border-radius: 16px;
    padding: 16px;
    gap: 16px;
  }
  .contacts__map {
    order: -1;
    min-height: 0;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
  }
  .contacts__info {
    flex-basis: auto;
    padding: 0;
    gap: 16px;
  }
  .contacts__title { font-size: 22px; }
  .contacts__list { grid-template-columns: 1fr; gap: 12px; }
  .contacts__btn { width: 100%; text-align: center; }

  /* Обратная связь */
  .feedback { padding-bottom: 40px; }
  .feedback__card {
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
  }
  .feedback__img {
    order: -1;
    flex-basis: auto;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .feedback__img img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    object-position: center top;
  }
  .feedback__content {
    padding: 24px 20px;
    gap: 16px;
    text-align: center;
  }
  .feedback__title { font-size: 22px; }
  .feedback__sub { font-size: 18px; margin-top: 8px; }

  .feedback__form { text-align: left; }
  .feedback__form .promo-form__block--col {
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 12px;
  }
  .feedback__form .promo-form__input-wrap--area {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
  }
  .feedback__form .promo-form__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0;
  }
  .feedback__form .promo-form__submit { width: 100%; }

  /* ─── Страница авто ─── */

  /* Hero */
  .car-hero { padding-top: 12px; padding-bottom: 24px; }
  .car-hero__inner { flex-direction: column; gap: 14px; }
  .car-main {
    flex-direction: column;
    min-height: 0;
    border-radius: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .car-main__visual {
    padding: 18px 16px 14px;
    background: none;
  }
  .car-main__top { gap: 8px; flex-wrap: nowrap; align-items: center; }
  .car-main__name { font-size: 22px; }
  .car-main__badge {
    width: auto;
    height: 34px;
    padding: 0 14px;
    font-size: 14px;
    gap: 7px;
  }
  .car-main__img { padding: 10px 0; min-height: 120px; }
  .car-main__img img { max-height: 200px; }

  /* Цвета */
  .car-main__colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  .car-main__colors-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 4px;
  }
  .car-swatch {
    width: 36px;
    height: 24px;
    border-radius: 24px;
  }

  /* Спеки */
  .car-main__specs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
  }
  .car-spec-block {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(19,28,41,.06);
    gap: 6px;
    align-items: center;
  }
  .car-spec-block--wide { width: auto; flex: 1.5 1 0; }
  .car-spec-block img { width: 22px; height: 22px; flex-shrink: 0; }
  .car-spec-block > span { font-size: 11px; line-height: 1.25; }
  .car-spec-block .spec-val { font-size: 11px; }
  .car-spec-block .spec-val:last-child {
    display: block;
    font-size: 14px;
    margin-top: 2px;
  }

  /* Цены */
  .car-main__pricing {
    width: auto;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(227,234,240,.85);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 16px;
  }
  .car-main__pricing::before { display: none; }
  .car-price-divider { display: none; }
  .car-price-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 4px;
  }
  .car-price-label { font-size: 13px; }
  .car-price-label br { display: none; }
  .car-price-val { font-size: 22px; }
  .car-price-row:last-child { grid-column: 1 / -1; }

  /* Сайдбар */
  .car-sidebar { width: auto; gap: 12px; }
  .car-sidebar__phone-card { padding: 12px 16px; gap: 12px; min-height: 0; }
  .car-sidebar__call-icon { width: 40px; height: 40px; }
  .car-sidebar__call-label { font-size: 13px; }
  .car-sidebar__call-phone { font-size: 20px; }
  .car-sidebar__form-card { min-height: 0; }
  .car-sidebar__title { font-size: 20px; padding: 18px 16px 0; }
  .car-sidebar__sub { font-size: 14px; padding: 4px 16px 12px; }
  .car-sidebar__form { padding: 0 16px 16px; gap: 10px; }

  /* Комплектации */
  .car-configs { padding-bottom: 28px; }
  .car-configs__tabs { gap: 24px; margin-bottom: 18px; }
  .car-tab { font-size: 18px; padding-bottom: 6px; }
  .car-configs__engine { font-size: 15px; margin-bottom: 10px; }

  .config-table__head { display: none; }
  .config-row {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "main    main"
      "old     old"
      "current monthly"
      "submit  dl";
    column-gap: 8px;
    row-gap: 6px;
    height: auto;
    padding: 14px;
    align-items: center;
    border-radius: 10px;
  }
  .config-cell { padding: 0; }
  .config-cell:nth-child(1) { grid-area: main; }
  .config-cell:nth-child(2) { grid-area: old; }
  .config-cell:nth-child(3) { grid-area: current; }
  .config-cell:nth-child(4) { grid-area: monthly; justify-self: end; }
  .config-cell:nth-child(5) { grid-area: submit; }
  .config-cell:nth-child(6) { grid-area: dl; justify-self: end; }

  .config-cell--main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
  }
  .config-cell--main .config-cb-label { display: inline-flex; }
  .config-check { width: 22px; height: 22px; }
  .config-name {
    font-size: 16px;
    font-weight: 700;
    flex: 1;
    text-align: center;
  }

  .config-price-old { font-size: 13px; }
  .config-price { font-size: 18px; font-weight: 700; }
  .config-monthly { font-size: 14px; }

  .config-submit { width: 100%; height: 44px; font-size: 15px; border-radius: 10px; }
  .config-cell--dl { display: flex; align-items: center; justify-content: flex-end; }
  .config-download { width: 28px; height: 28px; margin-left: 0; }
  .config-download img { width: 28px; height: 28px; }

  .config-features {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 14px;
  }
  .config-features--visible { padding: 14px; }
  .config-features__col { gap: 6px; }
  .config-features__title { font-size: 14px; margin-bottom: 6px; }
  .config-features__list li { font-size: 13px; }

  .car-configs__compare { justify-content: center; margin-top: 18px; }
  .car-configs__compare-btn { width: 100%; height: 44px; font-size: 14px; }

  /* Характеристики */
  .car-specs-table { border-radius: 10px; }
  .car-specs-row { padding: 10px 14px; font-size: 13px; gap: 12px; }

  /* ─── Кредит / Трейд-ин ─── */
  .credit-hero { padding-top: 12px; padding-bottom: 18px; }
  .credit-hero__title { font-size: 24px; text-align: left; }

  .credit-steps__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .credit-step {
    flex-direction: column !important;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 16px;
    min-height: 0;
  }
  .credit-step__num {
    width: 36px;
    height: 36px;
    font-size: 16px;
    flex-shrink: 0;
  }
  .credit-step__text { font-size: 13px; line-height: 1.35; }

  .credit-main__inner { flex-direction: column; gap: 16px; }
  .credit-form-card {
    width: auto;
    padding: 20px 16px;
    border-radius: 14px;
  }
  .credit-form-card__title { font-size: 26px; margin-bottom: 14px; }
  .credit-form__benefits,
  .credit-form__benefits--spread {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .credit-form__benefit { font-size: 14px; gap: 8px; }
  .credit-form__benefit img { width: 18px; height: 18px; }

  .credit-form__section { font-size: 16px; font-weight: 700; margin: 18px 0 14px; }

  .credit-form__grid,
  .credit-form__grid--full {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .credit-form .fsel__btn { height: 64px; padding: 0 18px; }
  .credit-form .fsel__label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .credit-form .fsel__value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
  }

  .credit-form .credit-form__section + .credit-form__grid { margin-bottom: 6px; }
  .credit-form__submit {
    width: 100%;
    height: 48px;
    font-size: 15px;
    margin-top: 0;
  }

  /* Авто внутри анкеты */
  .credit-main__inner .credit-form .credit-car-area {
    position: static;
    width: auto;
    padding: 16px 4px 4px;
    margin: 16px 0;
    text-align: left;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
  }
  .credit-car-name {
    font-size: 18px;
    text-align: left;
    margin: 0 0 10px 0;
  }
  .credit-car-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 16px;
    display: block;
  }
  .credit-car-prices__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 6px;
  }
  .credit-car-prices__sep { display: none; }
  .credit-car-price-col {
    flex-direction: column !important;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
  }
  .credit-car-price-label { font-size: 13px; }
  .credit-car-price-val { font-size: 18px; }
  .credit-car-prices__bottom {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Условия / Требования */
  .credit-conditions__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .credit-info-card {
    padding: 20px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(19,28,41,.06);
  }
  .credit-info-card__title { font-size: 20px; margin-bottom: 12px; }
  .credit-info-list { gap: 6px; }
  .credit-info-list li { font-size: 14px; padding-left: 20px; line-height: 1.4; }
  .credit-info-list li::before { top: 8px; }

  /* Банки */
  .banks-section { padding-bottom: 32px; }
  .banks-section__title { font-size: 22px; margin-bottom: 14px; }
  .banks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bank-chip { height: 64px; padding: 0 10px; border-radius: 10px; }
  .bank-chip__logo { max-width: 100%; max-height: 40px; }

  /* Галерея */
  .car-gallery { padding-bottom: 28px; }
  .car-gallery__title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 14px;
  }
  .gallery-slider { border-radius: 14px; }
  .gallery-arrow { display: none; }
  .gallery-segs { bottom: 10px; left: 14px; right: 14px; }

  .gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 2px;
  }
  .gallery-thumb {
    flex: 1 1 0;
    min-width: 0;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s;
    box-shadow: 0 2px 8px rgba(19,28,41,.06);
  }
  .gallery-thumb:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(19,28,41,.12); }
  .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .gallery-thumb--active { display: none; }

  /* Футер */
  .footer { padding-top: 32px; padding-bottom: 28px; margin-top: 40px; }
  .footer__inner { gap: 22px; }
  .footer__top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }
  .footer__callback { justify-self: center; width: 100%; }
  .footer__brands-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  .footer__contacts {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer__legal { text-align: left; }
}

/* ─── Узкие телефоны ─── */
@media (max-width: 480px) {
  .promo-card__title { font-size: 21px; }
  .section-title { font-size: 20px; }

  .header__inner { gap: 8px; }
  .logo { font-size: 19px; }
  .header__phones a { font-size: 12px; }
}
