/* ============================================================
   home.css — 首页 H5（≤768px）流式布局，覆盖 main.css 等比缩放
   ============================================================ */

@media (max-width: 768px) {
  .page.page--home {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .page.page--home .stage--home {
    width: 100% !important;
    transform: none !important;
    transform-origin: top center;
    height: auto !important;
    min-height: 0;
    overflow: visible;
    position: relative;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  /* 顶栏 */
  .page--home .nav.abs {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 56px;
    padding: 10px 16px;
    padding-top: max(10px, env(safe-area-inset-top));
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(15, 32, 72, .06);
  }

  .page--home .nav.is-scrolled {
    left: 0;
    transform: none;
    animation: none;
  }

  /* Hero 文案 + CTA */
  .page--home .hero-title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    padding: calc(72px + env(safe-area-inset-top, 0px)) 20px 12px;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
    text-align: center;
  }

  .page--home .hero-sub {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
  }

  .page--home .cta-main {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto 28px;
    display: block;
  }

  html[lang="en-US"] .page--home .hero-title {
    top: auto;
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.2;
  }

  /* Hero 视频区 */
  .page--home .section-hero {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - 32px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 200px;
    margin: 0 auto 40px;
    border-radius: 16px;
  }

  .page--home .section-hero .hero-shot {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Feature 1 */
  .page--home .feature-row-1 {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    padding: 0 0 40px;
  }

  .page--home .feature-row-1 .center-frame {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .page--home .feature-row-1 .feature-1-image {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto;
    aspect-ratio: 720 / 552;
    object-fit: cover;
    order: 1;
  }

  .page--home .feature-row-1 .feature-1-title {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0;
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.35;
    order: 2;
  }

  .page--home .feature-row-1 .feature-1-desc-1,
  .page--home .feature-row-1 .feature-1-desc-2 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .page--home .feature-row-1 .feature-1-desc-1 {
    order: 3;
  }

  .page--home .feature-row-1 .feature-1-desc-2 {
    order: 4;
  }

  html[lang="en-US"] .page--home .feature-row-1 .feature-1-desc-1,
  html[lang="en-US"] .page--home .feature-row-1 .feature-1-desc-2 {
    top: auto !important;
  }

  /* Feature 2 */
  .page--home .feature-row-2 {
    position: relative;
    top: auto;
    height: auto;
    padding: 0 0 40px;
  }

  .page--home .feature-row-2 .center-frame {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .page--home .feature-row-2 .feature-2-title {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0;
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.35;
    order: 1;
  }

  .page--home .feature-row-2 .feature-2-desc {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    order: 2;
  }

  .page--home .feature-row-2 .feature-2-image {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto;
    aspect-ratio: 752 / 700;
    object-fit: cover;
    order: 3;
  }

  html[lang="en-US"] .page--home .feature-row-2 .feature-2-desc {
    top: auto !important;
  }

  /* Feature 3 */
  .page--home .feature-row-3 {
    position: relative;
    top: auto;
    height: auto;
    padding: 0 0 44px;
  }

  .page--home .feature-row-3 .center-frame {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .page--home .feature-row-3 .feature-3-image {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto;
    aspect-ratio: 567 / 512;
    object-fit: cover;
    order: 1;
  }

  .page--home .feature-row-3 .feature-3-title {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0;
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.35;
    order: 2;
  }

  .page--home .feature-row-3 .feature-3-desc {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    order: 3;
  }

  /* Capability */
  .page--home .capability-section {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    min-height: 420px;
    padding: 40px 0 48px;
    overflow: hidden;
  }

  .page--home .capability-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: none !important;
  }

  .page--home .capability-section .center-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    align-items: start;
  }

  .page--home .capability-section .capability-title {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    grid-column: 1 / -1;
    margin: 0;
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.3;
    order: 1;
  }

  .page--home .capability-section .capability-sub {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    grid-column: 1 / -1;
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.5;
    order: 2;
  }

  .page--home .capability-section .capability-image {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 / -1;
    width: 100% !important;
    height: auto;
    aspect-ratio: 718 / 442;
    object-fit: cover;
    border-radius: 12px;
    order: 3;
    margin: 4px 0 8px;
  }

  .page--home .capability-section .cap-tag {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    min-width: 0;
    height: 48px;
    margin: 0;
    font-size: 14px;
    order: 4;
    animation: none;
  }

  .page--home .capability-section .cap-tag:hover {
    transform: none;
  }

  .page--home .capability-section .cap-inner-tag {
    display: none !important;
  }

  .page--home .capability-section .cap-tag-left-1,
  .page--home .capability-section .cap-tag-left-2,
  .page--home .capability-section .cap-tag-left-3,
  .page--home .capability-section .cap-tag-left-4,
  .page--home .capability-section .cap-tag-right-1,
  .page--home .capability-section .cap-tag-right-2,
  .page--home .capability-section .cap-tag-right-3,
  .page--home .capability-section .cap-tag-right-4 {
    left: auto !important;
    top: auto !important;
  }

  /* Testimonials */
  .page--home .testimonials-section {
    position: relative;
    top: auto;
    height: auto;
    padding: 36px 0 40px;
  }

  .page--home .testimonials-section .center-frame {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .page--home .testimonials-section .testimonials-title {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0;
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.35;
  }

  .page--home .testimonials-section .testimonials-sub {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .page--home .testimonials-section .testi-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 420px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 24px 22px;
  }

  .page--home .testimonials-section .testi-card:hover {
    transform: none;
  }

  .page--home .testimonials-section .testi-quote {
    font-size: 48px;
  }

  .page--home .testimonials-section .testi-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .page--home .testimonials-section .testimonials-float-icon {
    display: none;
  }

  /* CTA banner */
  .page--home .cta-banner {
    position: relative;
    top: auto !important;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 240px;
    padding: 40px 20px 48px;
    overflow: hidden;
  }

  .page--home .cta-banner .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
  }

  .page--home .cta-banner .cta-title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 0 8px;
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.35;
    z-index: 1;
  }

  .page--home .cta-banner .btn {
    position: relative;
    top: auto;
    left: auto;
    margin: 20px auto 0;
    display: block;
    z-index: 1;
  }

  /* Footer */
  .page--home footer {
    position: relative;
    top: auto !important;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 36px 20px 28px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .page--home footer .center-frame {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .page--home footer .abs {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0 0 22px 0;
    transform: none !important;
  }

  .page--home footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .page--home footer .footer-brand img {
    width: 40px;
    height: auto;
  }

  .page--home footer .footer-brand-text {
    font-size: 22px;
  }

  .page--home footer .footer-contact-label-1,
  .page--home footer .footer-contact-label-2 {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #9aa3af;
  }

  .page--home footer .footer-contact-value-1,
  .page--home footer .footer-contact-value-2 {
    display: block;
    font-size: 14px;
    margin-bottom: 16px;
  }

  .page--home footer .col .col-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .page--home footer .col a {
    font-size: 14px;
    line-height: 1.85;
  }

  .page--home footer .footer-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .page--home footer .footer-contact-icon {
    width: 16px;
    height: 16px;
  }

  .page--home footer .copy {
    position: static;
    display: block;
    text-align: center;
    margin: 28px 0 0;
    padding-top: 16px;
    font-size: 12px;
    color: #9aa3af;
  }
}
