/* =====================================================================
   style_mobile.css — АДАПТИВ
   ===================================================================== */

@media (max-width: 768px) {

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

  .slider-arrow {
  width: 34px;
  height: 34px;

  font-size: 20px;

  background: rgba(0,0,0,.55);
  }

  .slider-arrow--prev {
    left: -6px;
  }

  .slider-arrow--next {
    right: -6px;
  }

    /* --- Мобильная шапка: логотип + бургер --- */

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99990;

    width: 100%;
    height: 76px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 10px 18px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
  }

  /* чтобы первый экран не залезал под fixed-шапку */
  body {
    padding-top: 76px;
  }

  .header-left {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .header-logo-img {
    width: 100px;
    height: 100px;
    padding: 0;
  }

  .header-logo-text {
    width: auto;
    height: auto;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-dark);
  }

  /* кнопка бургера справа */
  .burger-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    padding: 0 11px;
    cursor: pointer;
    z-index: 100000;
  }

  .burger-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-dark);
    transition: .25s ease;
  }

  .burger-btn--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger-btn--active span:nth-child(2) {
    opacity: 0;
  }

  .burger-btn--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* контакты скрыты в компактной шапке */
  .header-right {
    position: fixed;
    top: 76px;
    left: 0;

    width: 100%;
    max-height: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 0 20px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);

    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }

  /* раскрытое меню */
  .header-right--open {
    max-height: 420px;
    opacity: 1;
    padding: 20px;
  }

  .header-contact {
    text-align: center;
  }

  .header-phone {
    font-size: 20px;
  }

  .header-address {
    font-size: 14px;
  }

  /* --- Hero --- */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 40px 20px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-right {
    order: -1;
  }

  .hero-car-img {
    max-height: 220px;
  }

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

  .hero-text {
    font-size: 15px;
  }

  .hero-form,
  .hero-success {
    max-width: 100%;
  }

  /* --- Promo --- */
  .promo-section {
    padding: 48px 20px;
  }

  .promo-title {
    font-size: 26px;
  }

  .promo-subtitle {
    font-size: 17px;
  }

  .promo-description {
    font-size: 15px;
  }

  .promo-btn {
    width: 100%;
    font-size: 16px;
  }

  /* --- Преимущества --- */
  .advantages-section {
    padding: 50px 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .advantage-card {
    padding: 26px 22px;
  }

  /* --- Авто --- */
  .cars-section {
    padding: 50px 20px;
  }

  .cars-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .car-card--select {
    margin-top: 14px;
  }

  .car-popup {
    padding: 24px 18px;
  }

  .car-popup-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .car-popup-img {
    min-height: auto;
    padding: 20px;
  }

  .car-popup-img img {
    max-height: 220px;
  }

  .car-popup-name {
    font-size: 26px;
  }

  .car-popup-price {
    font-size: 20px;
  }

  .car-popup-cta .btn,
  .cars-cta .btn {
    width: 100%;
    min-width: 0;
  }

  /* --- Форма --- */
  .form-section {
    padding: 50px 20px;
  }

  .form-box {
    padding: 32px 22px;
  }

  /* --- О бренде --- */
  .brand-section {
    padding: 50px 20px;
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-images {
    grid-template-columns: 1fr;
  }

  .brand-img img {
    height: 220px;
  }

  /* --- Подвал --- */
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 20px;
    gap: 24px;
  }

  .footer-right {
    text-align: center;
    align-items: center;
  }

  /* --- Cookie --- */
  .cookie-bar {
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    text-align: center;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 27px;
  }

  .car-popup-name {
    font-size: 23px;
  }

  .color-dot {
    width: 34px;
    height: 34px;
  }
}