/* China Loong desktop homepage. Every rule is isolated above the existing 768px breakpoint. */
@media screen and (max-width: 768px) {
  html,
  body {
    overflow-x: clip;
  }

  .pc_ {
    display: none !important;
  }

  .mo {
    display: block !important;
  }

  #kf {
    display: none !important;
  }

  .mo .oem-factory-media {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    margin: 0 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: #0c1725;
  }

  .mo .oem-factory-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
  }
}

/* The legacy mobile sidebar stops at 700px. Extend its existing visual language
   to the approved 701–768px tablet interval without changing sidebar markup. */
@media screen and (min-width: 701px) and (max-width: 768px) {
  .mo {
    width: 100%;
    margin-top: 78px;
    color: #1a1a1a;
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  .mo .banner-swiper {
    position: relative;
    overflow: hidden;
  }

  .mo .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .mo .social-section {
    padding: 18px 24px;
    background: #f5f7fa;
  }

  .mo .social-row,
  .mo .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mo .social-label {
    color: var(--c2);
    font-size: 20px;
    font-weight: 600;
  }

  .mo .social-icons {
    display: flex;
    gap: 10px;
  }

  .mo .social-icon-item {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
  }

  .mo .social-youtube { background: #e53935; }
  .mo .social-tiktok { background: #010101; }
  .mo .social-facebook { background: #3b5998; }
  .mo .social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

  .mo .promo-banner {
    padding-top: 12px;
    background: #f5f7fa;
  }

  .mo .promo-banner img {
    width: 100%;
  }

  .mo .category-section {
    padding: 28px 24px;
    background: #fff;
  }

  .mo .section-header {
    margin-bottom: 18px;
  }

  .mo h2.section-title {
    margin: 0;
    padding-left: 10px;
    color: #1a1a1a;
    border-left: 3px solid var(--c1);
    font-size: 22px;
    line-height: 1.2;
  }

  .mo .section-more {
    color: var(--c1);
    font-size: 13px;
    font-weight: 600;
  }

  .mo .category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .mo .category-item {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column-reverse;
    background: #fff;
    border: 1px solid var(--c1);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(6, 20, 39, 0.07);
  }

  .mo .category-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.78;
    overflow: hidden;
  }

  .mo .category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mo .category-name {
    display: block;
    padding: 7px 8px;
    overflow: hidden;
    color: #fff;
    background: var(--c1);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mo .category-count {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 3px 7px;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 4px;
    font-size: 10px;
  }

  .mo .oem-section {
    position: relative;
    overflow: hidden;
    padding: 42px 32px 96px;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c2));
  }

  .mo .oem-content h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 26px;
  }

  .mo .oem-content p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
  }

  .mo .oem-features,
  .mo .oem-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .mo .oem-features span {
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
  }

  .mo .oem-links {
    margin-top: 22px;
  }

  .mo .oem-link-btn {
    display: inline-flex;
    min-width: 145px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
  }
}

@media screen and (min-width: 769px) {
  :root {
    --loong-navy: #061427;
    --loong-navy-2: #0a203a;
    --loong-blue: #0874c9;
    --loong-lime: #c7ec36;
    --loong-charcoal: #151a20;
    --loong-wood: #765039;
    --loong-paper: #f5f7f4;
    --loong-muted: #66717d;
    --loong-line: rgba(6, 20, 39, 0.12);
    --loong-radius: 22px;
    --loong-ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  html {
    scroll-padding-top: 96px;
  }

  body {
    overflow-x: clip;
  }

  .pc_ {
    width: 100%;
    overflow: clip;
    background: var(--loong-paper);
  }

  .loong-pc-home,
  .loong-pc-home * {
    box-sizing: border-box;
  }

  .loong-pc-home {
    color: var(--loong-navy);
    background: var(--loong-paper);
    font-family: 'Poppins', Inter, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
  }

  .loong-pc-home img {
    display: block;
    max-width: 100%;
  }

  .loong-pc-home h1,
  .loong-pc-home h2,
  .loong-pc-home h3,
  .loong-pc-home p {
    margin: 0;
  }

  .loong-pc-home a {
    color: inherit;
    text-decoration: none;
  }

  .loong-shell {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
  }

  .loong-section {
    position: relative;
    padding: 112px 0;
  }

  .loong-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--loong-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .loong-eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--loong-lime);
  }

  .loong-eyebrow--light {
    color: rgba(255, 255, 255, 0.82);
  }

  .loong-section-head {
    margin-bottom: 48px;
  }

  .loong-section-head h2,
  .loong-custom-intro h2 {
    max-width: 790px;
    margin-top: 16px;
    color: var(--loong-navy);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.04;
  }

  .loong-section-head--split,
  .loong-section-head--factory {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: end;
    gap: 80px;
  }

  .loong-section-head--split > p,
  .loong-section-head__action > p,
  .loong-section-head--factory > p {
    color: var(--loong-muted);
    font-size: 15px;
    line-height: 1.8;
  }

  .loong-section-head__action .loong-text-link {
    margin-top: 18px;
  }

  .loong-btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.28s var(--loong-ease), background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
  }

  .loong-btn i,
  .loong-text-link i {
    font-size: 18px;
    transition: transform 0.28s var(--loong-ease);
  }

  .loong-btn:hover {
    transform: translateY(-3px);
  }

  .loong-btn:hover i,
  .loong-text-link:hover i {
    transform: translateX(4px);
  }

  .loong-btn--lime {
    color: var(--loong-navy);
    background: var(--loong-lime);
    box-shadow: 0 14px 35px rgba(199, 236, 54, 0.2);
  }

  .loong-btn--lime:hover {
    background: #d8f665;
  }

  .loong-btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(12px);
  }

  .loong-btn--glass:hover {
    border-color: var(--loong-lime);
    background: rgba(255, 255, 255, 0.15);
  }

  .loong-btn--navy {
    color: #fff;
    background: var(--loong-navy);
  }

  .loong-btn--navy:hover {
    color: var(--loong-navy);
    background: var(--loong-lime);
  }

  .loong-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--loong-blue);
    font-size: 13px;
    font-weight: 800;
  }

  .loong-text-link--dark {
    color: var(--loong-navy);
  }

  /* Hero */
  .loong-hero {
    position: relative;
    min-height: max(760px, 100svh);
    overflow: hidden;
    background: var(--loong-navy);
    color: #fff;
  }

  .loong-hero__media,
  .loong-hero__shade,
  .loong-hero__grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .loong-hero__media {
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.015);
  }

  .loong-hero__shade {
    background:
      linear-gradient(90deg, rgba(3, 11, 24, 0.98) 0%, rgba(4, 16, 32, 0.9) 35%, rgba(4, 15, 30, 0.35) 66%, rgba(2, 8, 17, 0.16) 100%),
      linear-gradient(0deg, rgba(3, 10, 21, 0.74) 0%, transparent 40%);
  }

  .loong-hero__grid {
    opacity: 0.14;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, #000, transparent 74%);
  }

  .loong-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: max(760px, 100svh);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 124px;
    padding-bottom: 92px;
  }

  .loong-hero h1 {
    max-width: 870px;
    margin-top: 22px;
    color: #fff;
    font-size: clamp(56px, 5.4vw, 86px);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  }

  .loong-hero__lead {
    max-width: 690px;
    margin-top: 26px !important;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.8;
  }

  .loong-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
  }

  .loong-hero__assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .loong-hero__assurance span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .loong-hero__assurance i {
    color: var(--loong-lime);
    font-size: 20px;
  }

  .loong-hero__scroll {
    position: absolute;
    right: 40px;
    bottom: 34px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
  }

  .loong-hero__scroll i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 16px;
    writing-mode: horizontal-tb;
  }

  /* Categories */
  .loong-categories {
    background:
      radial-gradient(circle at 95% 5%, rgba(8, 116, 201, 0.08), transparent 26%),
      var(--loong-paper);
  }

  .loong-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .loong-category-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--loong-line);
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(6, 20, 39, 0.04);
    transition: transform 0.38s var(--loong-ease), border-color 0.3s ease, box-shadow 0.38s ease;
  }

  .loong-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(8, 116, 201, 0.34);
    box-shadow: 0 22px 54px rgba(6, 20, 39, 0.12);
  }

  .loong-category-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf1f3;
  }

  .loong-category-card__media::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(6, 20, 39, 0.34));
  }

  .loong-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--loong-ease);
  }

  .loong-category-card:hover .loong-category-card__media img {
    transform: scale(1.07);
  }

  .loong-category-card__icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--loong-navy);
    background: var(--loong-lime);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: 19px;
  }

  .loong-category-card__body {
    min-height: 218px;
    padding: 22px 18px 20px;
  }

  .loong-category-card__count {
    color: var(--loong-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .loong-category-card h3 {
    margin-top: 7px;
    color: var(--loong-navy);
    font-size: 18px;
    letter-spacing: -0.025em;
    line-height: 1.2;
  }

  .loong-category-card p {
    min-height: 57px;
    margin-top: 11px;
    color: var(--loong-muted);
    font-size: 12px;
    line-height: 1.55;
  }

  .loong-category-card .loong-text-link {
    margin-top: 14px;
    font-size: 11px;
  }

  /* Factory */
  .loong-factory {
    overflow: hidden;
    color: #fff;
    background:
      radial-gradient(circle at 12% 0%, rgba(8, 116, 201, 0.24), transparent 31%),
      linear-gradient(150deg, #061427, #08101c 72%);
  }

  .loong-factory::before {
    content: '';
    position: absolute;
    top: 0;
    right: 6%;
    width: 360px;
    height: 100%;
    opacity: 0.16;
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 58px);
    transform: skewX(-12deg);
  }

  .loong-section-head--factory h2 {
    color: #fff;
  }

  .loong-section-head--factory > p {
    color: rgba(255, 255, 255, 0.62);
  }

  .loong-factory-overview {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    margin: 0 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #0c1725;
  }

  .loong-factory-overview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 10, 20, 0.88) 0%, rgba(3, 10, 20, 0.46) 42%, transparent 72%);
    pointer-events: none;
  }

  .loong-factory-overview > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
  }

  .loong-factory-overview__caption {
    position: absolute;
    z-index: 1;
    bottom: 44px;
    left: 44px;
    width: min(540px, calc(100% - 88px));
    color: #fff;
  }

  .loong-factory-overview__caption > p {
    margin: 0;
    color: var(--loong-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .loong-factory-overview__caption h3 {
    max-width: 520px;
    margin: 10px 0 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.14;
    letter-spacing: 0;
  }

  .loong-factory-overview__caption > span {
    display: block;
    max-width: 500px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.65;
  }

  .loong-factory-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.72fr 0.72fr;
    grid-template-rows: repeat(2, 310px);
    gap: 16px;
  }

  .loong-factory-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #0c1725;
  }

  .loong-factory-card--main {
    grid-row: 1 / span 2;
  }

  .loong-factory-card > img,
  .loong-application-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--loong-ease);
  }

  .loong-factory-card:hover > img,
  .loong-application-card:hover > img {
    transform: scale(1.045);
  }

  .loong-factory-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(3, 10, 20, 0.92) 100%);
  }

  .loong-factory-card__content {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    color: #fff;
  }

  .loong-factory-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    color: var(--loong-navy);
    background: var(--loong-lime);
    border-radius: 12px;
    font-size: 21px;
  }

  .loong-factory-card__content > p {
    color: var(--loong-lime);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .loong-factory-card h3 {
    margin-top: 6px;
    color: #fff;
    font-size: 18px;
    line-height: 1.18;
  }

  .loong-factory-card__content > span:last-child {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.55;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
  }

  .loong-factory-card:hover .loong-factory-card__content > span:last-child,
  .loong-factory-card--main .loong-factory-card__content > span:last-child {
    max-height: 80px;
    margin-top: 10px;
    opacity: 1;
  }

  .loong-factory-card--main .loong-factory-card__content {
    right: 36px;
    bottom: 34px;
    left: 36px;
  }

  .loong-factory-card--main h3 {
    font-size: 28px;
  }

  /* Product cards */
  .loong-products {
    background: #fff;
  }

  .loong-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .loong-product-card {
    min-width: 0;
  }

  .loong-product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background:
      radial-gradient(circle at 50% 72%, rgba(8, 116, 201, 0.1), transparent 44%),
      #f0f3f4;
    border-radius: 18px;
  }

  .loong-product-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(6, 20, 39, 0.08);
    border-radius: inherit;
    pointer-events: none;
  }

  .loong-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    mix-blend-mode: multiply;
    transition: transform 0.55s var(--loong-ease);
  }

  .loong-product-card:hover .loong-product-card__media img {
    transform: scale(1.07);
  }

  .loong-product-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 7px 10px;
    color: var(--loong-navy);
    background: var(--loong-lime);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .loong-product-card__arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--loong-navy);
    border-radius: 50%;
    font-size: 19px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.35s var(--loong-ease), opacity 0.25s ease, background 0.25s ease;
  }

  .loong-product-card:hover .loong-product-card__arrow {
    transform: translateY(0);
    opacity: 1;
  }

  .loong-product-card__body {
    padding: 18px 4px 0;
  }

  .loong-product-card__body > p {
    color: var(--loong-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .loong-product-card h3 {
    display: -webkit-box;
    min-height: 48px;
    margin-top: 7px;
    overflow: hidden;
    color: var(--loong-navy);
    font-size: 17px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .loong-product-card h3 a:hover {
    color: var(--loong-blue);
  }

  .loong-product-card__body > span {
    display: block;
    margin-top: 8px;
    color: #8b949c;
    font-size: 11px;
  }

  /* Custom program and application scenes */
  .loong-custom {
    background:
      linear-gradient(180deg, #edf2f4 0%, #f7f7f2 35%, #f7f7f2 100%);
  }

  .loong-custom-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 100px;
    align-items: end;
    margin-bottom: 54px;
  }

  .loong-custom-intro__brand > img {
    width: 148px;
    height: auto;
    margin-bottom: 28px;
  }

  .loong-custom-intro__copy > p {
    color: var(--loong-muted);
    font-size: 15px;
    line-height: 1.85;
  }

  .loong-custom-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .loong-custom-options span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 15px;
    color: var(--loong-navy);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--loong-line);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
  }

  .loong-custom-options i {
    color: var(--loong-blue);
    font-size: 19px;
  }

  .loong-application-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: repeat(2, 290px);
    gap: 16px;
  }

  .loong-application-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--loong-navy);
  }

  .loong-application-card--lead {
    grid-row: 1 / span 2;
  }

  .loong-application-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(2, 9, 20, 0.9) 100%);
  }

  .loong-application-card__content {
    position: absolute;
    right: 28px;
    bottom: 25px;
    left: 28px;
    color: #fff;
  }

  .loong-application-card__content p {
    color: var(--loong-lime);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .loong-application-card__content h3 {
    max-width: 650px;
    margin-top: 8px;
    color: #fff;
    font-size: 21px;
    line-height: 1.24;
  }

  .loong-application-card--lead .loong-application-card__content {
    right: 42px;
    bottom: 40px;
    left: 42px;
  }

  .loong-application-card--lead .loong-application-card__content h3 {
    font-size: 32px;
  }

  .loong-application-card__content span {
    display: block;
    max-width: 620px;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.6;
  }

  /* B2B process */
  .loong-process {
    background: #fff;
  }

  .loong-section-head--center {
    max-width: 780px;
    margin-right: auto;
    margin-bottom: 56px;
    margin-left: auto;
    text-align: center;
  }

  .loong-section-head--center .loong-eyebrow {
    justify-content: center;
  }

  .loong-section-head--center h2 {
    margin-right: auto;
    margin-left: auto;
  }

  .loong-section-head--center > p:last-child {
    max-width: 630px;
    margin: 20px auto 0;
    color: var(--loong-muted);
    font-size: 15px;
  }

  .loong-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .loong-process-card {
    position: relative;
    min-height: 260px;
    padding: 30px;
    overflow: visible;
    background: var(--loong-paper);
    border: 1px solid var(--loong-line);
    border-radius: 18px;
    transition: transform 0.34s var(--loong-ease), border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .loong-process-card:hover {
    z-index: 2;
    transform: translateY(-6px);
    border-color: rgba(8, 116, 201, 0.3);
    box-shadow: 0 20px 44px rgba(6, 20, 39, 0.09);
  }

  .loong-process-card__number {
    position: absolute;
    top: 21px;
    right: 23px;
    color: rgba(6, 20, 39, 0.09);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
  }

  .loong-process-card__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--loong-navy);
    background: var(--loong-lime);
    border-radius: 14px;
    font-size: 24px;
  }

  .loong-process-card h3 {
    max-width: 260px;
    margin-top: 25px;
    color: var(--loong-navy);
    font-size: 19px;
    line-height: 1.25;
  }

  .loong-process-card p {
    margin-top: 12px;
    color: var(--loong-muted);
    font-size: 12px;
    line-height: 1.7;
  }

  .loong-process-card__connector {
    position: absolute;
    top: 50%;
    right: -29px;
    z-index: 3;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: var(--loong-blue);
    border: 7px solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .loong-process-card:nth-child(3n) .loong-process-card__connector {
    display: none;
  }

  .loong-process-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 24px;
    padding: 34px 38px;
    color: var(--loong-navy);
    background:
      linear-gradient(105deg, rgba(199, 236, 54, 0.95), rgba(225, 246, 135, 0.96)),
      var(--loong-lime);
    border-radius: 18px;
  }

  .loong-process-cta p {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .loong-process-cta h3 {
    margin-top: 4px;
    color: var(--loong-navy);
    font-size: 26px;
  }

  /* Existing customer-service sidebar: style only, no markup changes. */
  #kf.container2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 100px 40px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(8, 116, 201, 0.1), transparent 34%),
      #eef3f4;
  }

  #kf .online_cont {
    width: min(1200px, 100%) !important;
    margin: 0 auto !important;
  }

  #kf .online_cont .title {
    margin: 0 0 50px !important;
  }

  #kf .online_cont .title p:first-child {
    color: var(--loong-navy) !important;
    font-size: 46px !important;
    font-weight: 750 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    text-transform: none !important;
  }

  #kf .online_cont .title p:last-child {
    margin-top: 13px !important;
    color: var(--loong-muted) !important;
    font-size: 14px !important;
  }

  #kf .online_cont ul {
    gap: 18px !important;
  }

  #kf .online_cont ul li {
    padding: 26px 18px 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(6, 20, 39, 0.1);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(6, 20, 39, 0.06);
    transition: transform 0.35s var(--loong-ease), box-shadow 0.35s ease;
  }

  #kf .online_cont ul li:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(6, 20, 39, 0.12);
  }

  #kf .online_cont ul li p:first-child {
    width: 112px !important;
    height: 112px !important;
    border: 4px solid #fff;
    box-shadow: 0 9px 26px rgba(6, 20, 39, 0.15) !important;
  }

  #kf .online_cont ul li p:nth-child(2) {
    margin: 18px 0 14px !important;
    color: var(--loong-navy) !important;
    font-size: 15px;
    font-weight: 800;
  }

  #kf .online_cont ul li p:nth-child(3) {
    gap: 7px;
    align-items: center !important;
  }

  #kf .online_cont ul li p:nth-child(3) span {
    padding: 8px 10px !important;
    background: #1e8b61 !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    letter-spacing: 0.04em;
  }

  #kf .online_cont ul li p:nth-child(3) span:nth-child(2) {
    margin-left: 0 !important;
    background: var(--loong-blue) !important;
  }

  /* Home header inherits existing markup and behavior; only its desktop surface changes. */
  .garment-header {
    background: linear-gradient(180deg, rgba(3, 10, 22, 0.58), transparent);
  }

  .garment-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  .garment-header-inner {
    width: min(1440px, calc(100% - 54px));
  }

  /* Motion is progressive and removed for users who request it. */
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--loong-ease), transform 0.7s var(--loong-ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    .loong-pc-home *,
    .loong-pc-home *::before,
    .loong-pc-home *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.001ms !important;
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
    }

    [data-reveal] {
      opacity: 1;
      transform: none;
    }
  }
}

@media screen and (min-width: 769px) and (max-width: 1279px) {
  .loong-shell {
    width: min(1180px, calc(100% - 48px));
  }

  .loong-section {
    padding: 88px 0;
  }

  .loong-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .loong-category-card__body {
    min-height: 190px;
  }

  .loong-product-grid {
    gap: 26px 16px;
  }

  .loong-factory-grid {
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: repeat(3, 280px);
  }

  .loong-factory-overview {
    aspect-ratio: 16 / 8;
  }

  .loong-factory-card--main {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .loong-custom-intro {
    gap: 56px;
  }

  .garment-header-inner {
    gap: 18px;
  }

  .garment-nav {
    gap: clamp(12px, 1.5vw, 22px);
  }

  .garment-nav > a,
  .dropdown-trigger {
    font-size: 13px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .loong-shell {
    width: calc(100% - 36px);
  }

  .loong-hero h1 {
    max-width: 650px;
    font-size: 58px;
  }

  .loong-hero__lead {
    max-width: 580px;
  }

  .loong-section-head--split,
  .loong-section-head--factory,
  .loong-custom-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .loong-factory-overview {
    aspect-ratio: 16 / 9;
  }

  .loong-factory-overview__caption {
    bottom: 30px;
    left: 30px;
    width: min(500px, calc(100% - 60px));
  }

  .loong-factory-overview__caption h3 {
    font-size: 26px;
  }

  .loong-category-grid,
  .loong-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loong-application-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 390px 290px;
  }

  .loong-application-card--lead {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .loong-process-card {
    min-height: 280px;
    padding: 26px;
  }

  .garment-header-inner {
    grid-template-columns: 170px minmax(0, 1fr) auto;
  }

  .garment-logo {
    width: 160px;
  }

  .garment-nav {
    gap: 11px;
  }

  .garment-nav > a,
  .dropdown-trigger {
    font-size: 11px;
  }

  #kf.container2 {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  #kf .online_cont ul {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  #kf .online_cont ul li {
    padding-right: 8px;
    padding-left: 8px;
  }

  #kf .online_cont ul li p:first-child {
    width: 92px !important;
    height: 92px !important;
  }
}
