@media (max-width: 1180px) {
  .site-nav,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .footer-grid,
  .process-grid,
  .stats-grid,
  .team-grid,
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .magazine-services,
  .knowledge-mix {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-feature:first-child,
  .service-feature:nth-child(4),
  .knowledge-card.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--content-max-width));
  }

  .section {
  /*padding: var(--section-gap-mobile) 0;*/
    overflow-x: hidden;  
    overflow-y: visible;  
 }

  .header-inner {
    min-height: 56px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

  .header-phone {
    display: none;
  }

  .home-hero {
    min-height: calc(100vh - 56px);
    background-image: linear-gradient(180deg, rgba(26,24,22,0.74), rgba(26,24,22,0.62)), url("/static/skin/images/banner-mobile.webp");
  }

  .home-hero__content {
    padding: 72px 0 96px;
  }

  .page-hero {
    min-height: 440px;
    background-position: center;
    background-size: cover;
  }

  .home-hero h1,
  .page-hero h1,
  .article-detail h1 {
    font-size: var(--text-2xl);
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .trust-item {
    min-height: auto; 
    padding: var(--space-4);
  }

  .split-grid,
  .store-preview,
  .service-section,
  .detail-layout,
  .faq-layout,
  .site-cta .container,
  .knowledge-layout {
    grid-template-columns: 1fr;
  }

  .story-layer {
    min-height: auto;     
  }

  .story-layer .image-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .story-panel {
    position: relative;
    width: 100%;
    padding: var(--space-6);
  }

  .magazine-services,
  .knowledge-mix,
  .article-grid,
  .process-grid,
  .stats-grid,
  .team-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: auto;      
    padding: var(--space-6);
  }

  .service-section:nth-child(even) .image-frame {
    order: 0;
  }

  .store-preview .image-frame {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .store-row {
    grid-template-columns: 1fr;
  }

  .faq-nav,
  .category-panel,
  .detail-aside {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-bar {
    display: grid;
  }

  .back-to-top {
    bottom: 76px;
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .btn-block-mobile {
    width: 100%;
  }

  img, video, iframe, svg, table {
    max-width: 100% !important;
    height: auto !important;
  }


  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }


  .article-content p,
  .article-content a,
  .article-content span,
  .description,
  .text-content,
  .detail-content p,
  .detail-content a {
    word-break: break-word;
    overflow-wrap: break-word;
  }


  pre, code {
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
  }


  .article-detail,
  .detail-content,
  .content-area,
  .entry-content,
  .service-detail-content {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .breadcrumb {
    display: block;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .breadcrumb a {
    display: inline;
  }
}



