/* Russian interior pages only. Mobile scene follows the approved homepage.
   Desktop and Chinese pages do not load these rules. */
@media (max-width: 760px) {
  /* Existing HTML dimensions must not stretch the legal header on phones. */
  .legal-header img {
    height: auto;
    object-fit: contain;
  }
  .landing-page .hero {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) 14px;
    row-gap: 10px;
    min-height: 0 !important;
    padding: 96px 0 22px;
    background: #061323;
    isolation: isolate;
  }
  .landing-page .hero > .hero-grid,
  .landing-page .hero > .hero-grid > .hero-copy {
    display: contents !important;
  }
  .landing-page .hero-copy > h1 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.13;
  }
  .landing-page .hero-copy > .lead {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
  }
  .landing-page .hero > .hero-bg {
    position: relative;
    inset: auto;
    z-index: 0;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    height: clamp(200px, 56.28vw, 440px);
    margin: 2px 0 4px;
    background: url("/assets/hero-warehouse-map-wide-ru-20260914.webp") center 35% / cover no-repeat !important;
    opacity: 1;
    filter: none;
  }
  .landing-page .hero > .hero-bg::before { display: none !important; }
  .landing-page .hero > .hero-bg::after {
    display: block !important;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #061323 0, transparent 9%, transparent 91%, #061323 100%);
    pointer-events: none;
  }
  .landing-page .hero > .hero-map,
  .landing-page .hero > .warehouse-labels,
  .landing-page .hero > .truck-brand-mark { display: none !important; }
  .landing-page .hero-copy > .city-pills {
    grid-column: 2;
    grid-row: 4;
    margin: 0;
    gap: 6px;
  }
  .landing-page .hero-copy > .city-pills a {
    min-height: 44px;
    padding: 8px;
    font-size: 12px;
  }
  .landing-page .hero-copy > .hero-actions {
    grid-column: 2;
    grid-row: 5;
    display: flex;
    margin: 0;
  }
  .landing-page .hero-copy > .hero-benefits {
    grid-column: 2;
    grid-row: 6;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin: 4px 0 0;
    gap: 10px;
  }
  .landing-page .hero > .hero-grid > .hero-calc {
    grid-column: 2;
    grid-row: 7;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  /* Company, contacts and documents: same order, their content stays intact. */
  .corporate-page .corporate-hero {
    display: block;
    min-height: 0;
    background: #061323;
  }
  .corporate-page .corporate-hero::after { display: none; }
  .corporate-page .corporate-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 28px);
    padding: 20px 0 22px;
  }
  .corporate-page .corporate-hero-inner > .corporate-kicker {
    grid-row: 1;
    margin: 0;
  }
  .corporate-page .corporate-hero h1 {
    grid-row: 2;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.13;
  }
  .corporate-page .corporate-hero-lead {
    grid-row: 3;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
  }
  .corporate-page .corporate-hero-inner::after {
    content: "";
    display: block;
    grid-column: 1;
    grid-row: 4;
    height: clamp(200px, 56.28vw, 440px);
    margin: 2px -14px 4px;
    background-image: linear-gradient(180deg, #061323 0, transparent 9%, transparent 91%, #061323 100%), url("/assets/hero-warehouse-map-wide-ru-20260914.webp");
    background-size: 100% 100%, cover;
    background-position: center, center 35%;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .corporate-page .corporate-hero-inner > .hero-contact-line {
    grid-row: 5;
    margin: 0;
  }
}
