.mobile-page {
  display: none;
}

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

@media (max-width: 767px) {
  body.mobile-page-open {
    overflow: hidden;
  }

  body[data-page="inspection"] > .container,
  body[data-page="destinations"] > .container,
  body[data-page="destination-kazakhstan"] > .container,
  body[data-page="destination-south-africa"] > .container,
  body[data-page="destination-egypt"] > .container,
  body[data-page="destination-canada"] > .container,
  body[data-page="destination-usa"] > .container,
  body[data-page="destination-singapore"] > .container,
  body[data-page="destination-thailand"] > .container,
  body[data-page="destination-vietnam"] > .container,
  body[data-page="destination-france"] > .container,
  body[data-page="destination-germany"] > .container,
  body[data-page="destination-kyrgyzstan"] > .container,
  body[data-page="destination-uzbekistan"] > .container,
  body[data-page="stories"] > .container,
  body[data-page="story-huihua-tech"] > .container,
  body[data-page="story-engineering-service"] > .container,
  body[data-page="story-mining-service"] > .container,
  body[data-page="story-energy-equipment"] > .container,
  body[data-page="story-home-brand"] > .container,
  body[data-page="story-consumer-brand"] > .container,
  body[data-page="story-logistics"] > .container,
  body[data-page="story-storage"] > .container,
  body[data-page="story-new-energy"] > .container,
  body[data-page="story-electronics"] > .container,
  body[data-page="story-industrial-automation"] > .container,
  body[data-page="story-smart-equipment"] > .container,
  body[data-page="contact"] > .container {
    display: none !important;
  }

  body[data-page="inspection"],
  body[data-page="destinations"],
  body[data-page="destination-kazakhstan"],
  body[data-page="destination-south-africa"],
  body[data-page="destination-egypt"],
  body[data-page="destination-canada"],
  body[data-page="destination-usa"],
  body[data-page="destination-singapore"],
  body[data-page="destination-thailand"],
  body[data-page="destination-vietnam"],
  body[data-page="destination-france"],
  body[data-page="destination-germany"],
  body[data-page="destination-kyrgyzstan"],
  body[data-page="destination-uzbekistan"],
  body[data-page="stories"],
  body[data-page="story-huihua-tech"],
  body[data-page="story-engineering-service"],
  body[data-page="story-mining-service"],
  body[data-page="story-energy-equipment"],
  body[data-page="story-home-brand"],
  body[data-page="story-consumer-brand"],
  body[data-page="story-logistics"],
  body[data-page="story-storage"],
  body[data-page="story-new-energy"],
  body[data-page="story-electronics"],
  body[data-page="story-industrial-automation"],
  body[data-page="story-smart-equipment"],
  body[data-page="contact"],
  body[data-page="404"] {
    min-height: 100%;
    background: #f7f8fa;
  }

  body[data-page="404"] > main {
    display: none !important;
  }

  .mobile-page,
  .mobile-page *,
  .mobile-page *::before,
  .mobile-page *::after {
    box-sizing: border-box;
  }

  .mobile-page {
    display: block;
    width: 100%;
    overflow-x: clip;
    color: #1a1a1a;
    background: #f7f8fa;
    font-family: 'Noto Sans SC-Regular', 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  .mobile-page a {
    color: inherit;
    text-decoration: none;
  }

  .mobile-page img {
    display: block;
    max-width: 100%;
  }

  .mp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    backdrop-filter: blur(10px);
  }

  .mp-logo {
    min-width: 0;
    max-width: 150px;
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mp-logo-text {
    width: 104px;
    display: grid;
    gap: 3px;
  }

  .mp-logo-text img {
    width: 100%;
    height: auto;
  }

  .mp-logo-mark {
    width: 34px;
    height: auto;
  }

  .mp-menu-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: #1a1a1a;
    cursor: pointer;
  }

  .mp-menu-button span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #fff;
  }

  .mp-overlay[hidden],
  .mp-menu[hidden] {
    display: none !important;
  }

  .mp-overlay {
    position: fixed;
    inset: 64px 0 0;
    z-index: 35;
    background: rgba(0, 0, 0, 0.36);
  }

  .mp-menu {
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    z-index: 45;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(26, 26, 26, 0.16);
  }

  .mp-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
  }

  .mp-menu a[aria-current="page"] {
    color: #fff;
    background: #1a1a1a;
  }

  .mp-hero {
    background: #fff;
  }

  .mp-hero-media img {
    width: 100%;
    aspect-ratio: 39 / 20;
    object-fit: cover;
    object-position: center;
  }

  .mp-hero-card {
    width: calc(100% - 32px);
    margin: -28px auto 0;
    position: relative;
    z-index: 1;
    padding: 20px 18px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
  }

  .mp-section {
    padding: 36px 16px 0;
  }

  .mp-section-head {
    margin-bottom: 18px;
  }

  .mp-hero-card h1,
  .mp-section-head h2 {
    margin: 0;
    color: #1a1a1a;
    letter-spacing: 0;
  }

  .mp-hero-card h1 {
    font-size: clamp(26px, 7.2vw, 30px);
    line-height: 1.3;
    font-weight: 700;
  }

  .mp-section-head h2 {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
  }

  .mp-hero-card p,
  .mp-section-head p,
  .mp-card p,
  .mp-article p,
  .mp-contact-list p,
  .mp-form p {
    margin: 12px 0 0;
    color: rgba(26, 26, 26, 0.68);
    font-size: 15px;
    line-height: 1.7;
  }

  .mp-grid,
  .mp-list {
    display: grid;
    gap: 16px;
  }

  .mp-card,
  .mp-article,
  .mp-form {
    overflow: hidden;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 8px;
    background: #fff;
  }

  .mp-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }

  .mp-card > div,
  .mp-article,
  .mp-form {
    padding: 18px;
  }

  .mp-card h2,
  .mp-card h3,
  .mp-article h2,
  .mp-article h3,
  .mp-form h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
  }

  .mp-tags {
    display: flex;
    gap: 10px;
    margin: 16px -16px 0 0;
    padding-right: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mp-tags::-webkit-scrollbar {
    display: none;
  }

  .mp-tags span,
  .mp-pills span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 999px;
    background: #fff;
    color: rgba(26, 26, 26, 0.72);
    font-size: 14px;
    white-space: nowrap;
  }

  .mp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }

  .mp-list ul,
  .mp-card ul,
  .mp-article ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
  }

  .mp-list li,
  .mp-card li,
  .mp-article li {
    position: relative;
    padding-left: 16px;
    color: rgba(26, 26, 26, 0.72);
    font-size: 15px;
    line-height: 1.6;
  }

  .mp-list li::before,
  .mp-card li::before,
  .mp-article li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #1a1a1a;
  }

  .mp-button,
  .mp-text-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    border-radius: 7px;
    color: #fff;
    background: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
  }

  .mp-stat {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mp-stat article {
    padding: 18px 14px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 8px;
    background: #fff;
  }

  .mp-stat strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
  }

  .mp-stat span {
    display: block;
    margin-top: 6px;
    color: rgba(26, 26, 26, 0.62);
    font-size: 14px;
    line-height: 1.5;
  }

  .mp-form label,
  .mp-form span.label {
    display: block;
    margin-top: 14px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
  }

  .mp-form input,
  .mp-form textarea,
  .mp-form select {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 6px;
    background: #fff;
    color: #1a1a1a;
    font: inherit;
  }

  .mp-form textarea {
    min-height: 126px;
    resize: vertical;
  }

  .mp-footer {
    margin-top: 42px;
    padding: 30px 16px 24px;
    color: #fff;
    background: #1a1a1a;
  }

  .mp-footer .mp-logo-text {
    width: 118px;
    filter: invert(1);
  }

  .mp-footer .mp-logo-mark {
    width: 38px;
  }

  .mp-footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .mp-footer-brand p {
    flex-basis: 100%;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
  }

  .mp-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
  }

  .mp-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
  }

  .mp-footer span,
  .mp-footer a {
    min-height: 30px;
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
  }

  .mp-qr {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 4px;
  }

  .mp-copyright {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.6;
  }

  .mobile-404 {
    min-height: 100vh;
  }

  .mobile-404 main {
    min-height: calc(100vh - 64px);
    display: grid;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .mp-footer-grid,
  .mp-stat {
    grid-template-columns: 1fr;
  }
}
