@media (max-width: 1180px) {
  :root { --container-width: 920px; }

  .main-navigation__list { gap: 21px; }
  .main-navigation a { font-size: 15px; }

  .home-about__layout,
  .split-layout {
    grid-template-columns: 46% 54%;
  }

  .home-about__image,
  .split-layout__image {
    width: 100%;
  }

  .feature-grid { gap: 18px; }
  .feature-card h2 { font-size: 21px; }
  .feature-card__body { min-height: 300px; }
}

@media (max-width: 1024px) {
  :root { --container-width: 860px; }

  .main-navigation__list { gap: 16px; }
  .main-navigation a { font-size: 14px; }

  .hero-slider { height: 520px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature-card__body { min-height: 255px; }
  .feature-card h2 { font-size: 24px; }
  .site-footer__grid { gap: 44px; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 56px), var(--container-width)); }
  .top-bar { height: 53px; }
  .top-bar__phone { display: none; }
  .top-bar__inner { justify-content: center; }
  .top-bar__item { white-space: normal; line-height: 1.25; }

  .site-header { height: 80px; }
  .home-page .site-header { top: 53px; background: #fff; }
  .home-page .site-header:not(.is-fixed) .site-logo__light { opacity: 0; }
  .home-page .site-header:not(.is-fixed) .site-logo__color { opacity: 1; }
  .home-page .site-header:not(.is-fixed) .menu-toggle span { background: var(--color-secondary); }
  .site-logo, .site-logo img { width: 150px; height: 36px; }

  .menu-toggle { display: block; }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s ease;
  }

  .main-navigation.is-open {
    max-height: 520px;
    visibility: visible;
  }

  .main-navigation__list {
    display: block;
    width: min(calc(100% - 56px), var(--container-width));
    margin: 0 auto;
    padding: 14px 0 22px;
  }

  .main-navigation a,
  .home-page .site-header:not(.is-fixed) .main-navigation a {
    color: #111378;
    line-height: 1.3;
    padding: 15px 6px;
    border-bottom: 1px solid #ececec;
    font-size: 16px;
  }

  .main-navigation a::after { bottom: 0; transform-origin: left; }

  .hero-slider { height: 360px; margin-top: 80px; }
  .hero-slider__arrow { opacity: 0.85; }
  .hero-slider__dots { bottom: 20px; }

  .inner-hero { min-height: 340px; }
  .inner-hero--stations { min-height: 390px; }
  .inner-hero h1 { font-size: 32px; }
  .inner-hero::after{ background-size: 100% 30px; }
  
  .home-about,
  .content-section,
  .mission-vision-section,
  .split-section,
  .inspiration-banner,
  .stations-list {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .home-about__layout,
  .split-layout {
    display: block;
  }

  .home-about__image,
  .split-layout__image {
    height: auto;
    aspect-ratio: 600 / 550;
    border-radius: 24px;
  }

  .home-about__panel,
  .split-layout__panel {
    min-height: 0;
    margin: -45px 0 0 40px;
    padding: 58px 48px 46px;
    border-radius: 24px 0 0 24px;
  }

  .home-about__badge { margin: 42px 0 0; }

  .mission-vision-grid { gap: 34px; }
  .info-card { min-height: 390px; padding-inline: 34px; }

  .supplier-document__layout { gap: 42px; }
  .document-placeholder { min-height: 520px; }

  .site-footer__grid {
    grid-template-columns: 1fr 0.7fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 767px) {
  .container { width: min(calc(100% - 76px), var(--container-width)); }

  .top-bar { font-size: 13px; }
  .top-bar__icon { font-size: 18px; }

  .hero-slider {
    height: min(80vw, 390px);
    min-height: 297px;
  }

  .hero-slider__arrow {
    width: 36px;
    height: 48px;
    font-size: 28px;
  }

  .hero-slider__arrow--prev { left: 7px; }
  .hero-slider__arrow--next { right: 7px; }

  .inner-hero { min-height: 340px; }
  .inner-hero h1 { font-size: clamp(27px, 8vw, 32px); }
  .inner-hero--stations { min-height: 310px; }

  .section-title { font-size: 28px; }
  .section-title::after { margin-top: 16px; margin-bottom: 26px; }

  .intro-section { padding: 50px 0; }

  .home-about__panel,
  .split-layout__panel {
    margin: -34px 0 0 30px;
    padding: 52px 30px 40px;
  }

  .home-about__badge {
    align-items: center;
    margin: 36px 0 0;
    gap: 18px;
  }

  .feature-section { padding: 50px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-card__body { min-height: 180px; padding-inline: 20px; }
  .feature-card h2 { min-height: 0; }

  .mission-vision-grid { grid-template-columns: 1fr; gap: 36px; }
  .info-card { min-height: 360px; }

  .resource-grid { grid-template-columns: 1fr; gap: 28px; }
  .resource-card { font-size: 18px; }
  .supplier-form { padding: 24px; }

  .supplier-document__layout { grid-template-columns: 1fr; }
  .document-placeholder { min-height: 420px; }

  .stations-images { gap: 20px; }

  .site-footer { padding-top: 76px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__about { padding-bottom: 5px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 76px); }
  .top-bar__inner { width: calc(100% - 30px); }
  .top-bar__item { gap: 7px; }
  .site-header__inner { width: calc(100% - 76px); }

  .hero-slide img { object-position: left; }

  .inner-hero--about { background-position: 45% center; }
  .inner-hero--policies { background-position: 54% center; }
  .inner-hero--ethics { background-position: 58% center; }
  .inner-hero--supplier { background-position: 54% center; }
  .inner-hero--stations { background-position: center; }

  .inner-hero h1 { letter-spacing: 0; }
  .home-about__panel,
  .split-layout__panel {
    margin-left: 0;
    border-radius: 22px;
  }

  .home-about__badge { margin-left: 0; }
  .info-card { padding: 42px 28px; }
  .resource-card { padding: 15px 16px; }
  .resource-card__icon { width: 50px; height: 50px; }
  .document-placeholder { min-height: 360px; }
  .supplier-form { padding: 20px; }
  .authorization-modal__content { padding: 32px 24px 26px; }
  .authorization-modal h2 { font-size: 22px; }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
}

@media (max-width: 374px) {
  .container,
  .site-header__inner { width: calc(100% - 48px); }
  .top-bar { font-size: 12px; }
  .site-logo, .site-logo img { width: 140px; }
  .inner-hero h1 { font-size: 27px; }
  .section-title { font-size: 26px; }
  .feature-card h2 { font-size: 22px; }
}
