/* 首页导航叠于首屏，不新增滚动吸顶行为；无脚本时自然排布菜单。 */
.home-v5 .gt-header.gt-enhanced{position:absolute;inset:0 0 auto;background:transparent;border-bottom:0;color:#171824}
.home-v5 .gt-header .gt-submenu{color:#171824;background:#fff}
.home-v5 .gt-header:not(.gt-enhanced){background:#fff}
.home-v5 .hero-section-12{min-height:100vh;min-height:100svh;min-height:100dvh}
.home-v5 .hero-section-12__wrapper{min-height:100vh;min-height:100svh;min-height:100dvh;box-sizing:border-box}
/* 仅首屏文案内收；网格按导航与底部说明之间的可用高度分配留白，不干预 GSAP transform。 */
.home-v5 .hero-section-12__wrapper{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,.3fr) auto minmax(24px,.7fr) auto;padding-top:clamp(96px,10dvh,120px)}
.home-v5 .hero-section-12__content{grid-row:2;width:auto;min-width:0;max-width:780px;padding:0;margin:0 clamp(32px,6.5vw,144px) 0 max(0px,calc(clamp(32px,6.5vw,144px) - max(15px,(100vw - 1860px)/2)))}
.home-v5 .hero-section-12__title{font-size:clamp(40px,5vw,72px);max-width:11em}
.home-v5 .hero-section-12__bottom{grid-row:4}
/* 仅首页 hero 询价链接，保持与橙色按钮相同的高度、内边距和圆角。 */
.home-v5 .hero-section-12 .home-hero-contact{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:70px;font-size:18px;font-weight:500;line-height:16px;padding:26px 35px;border:2px solid #1765a6;border-radius:500px;color:#1765a6;background:transparent;text-decoration:none;white-space:nowrap}
.home-v5 .hero-section-12 .home-hero-contact:is(:hover,:focus,:focus-visible){color:#1765a6;background:transparent;text-decoration:none}
.home-v5 .hero-section-12 .home-hero-contact:hover{background:#fff}
.home-v5 .hero-section-12 .home-hero-contact:focus-visible{outline:2px solid #1765a6;outline-offset:4px}
@media(max-width:1023px){
  .home-v5 .hero-section-12__content{margin-inline:9px;max-width:740px}
  .home-v5 .hero-section-12__title{font-size:clamp(40px,5.5vw,56px)}
}
@media(max-width:767px){
  .home-v5 .hero-section-12__wrapper{grid-template-rows:minmax(0,.3fr) auto minmax(24px,.7fr) auto;padding-top:96px}
  .home-v5 .hero-section-12__title{font-size:clamp(29px,8.5vw,34px)}
}
@media(max-height:600px){
  .home-v5 .hero-section-12__wrapper{grid-template-rows:minmax(16px,.3fr) auto minmax(24px,.7fr) auto;padding-top:96px}
  .home-v5 .hero-section-12__title{font-size:clamp(29px,4vw,48px)}
}
@media(max-height:600px) and (max-width:767px){
  .home-v5 .hero-section-12__title{font-size:clamp(29px,8.5vw,34px)}
}
.home-v5 .hero-section-12::before{background:linear-gradient(to bottom,rgba(255,255,255,.88) 0,rgba(255,255,255,.65) 110px,rgba(255,255,255,.24) 210px)}
@media(max-width:1279px){
  .home-v5 .gt-header.gt-enhanced:has(.gt-nav.is-open){background:#fff;color:#171824}
  .home-v5 .gt-header.gt-enhanced .gt-nav.is-open{max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:767px){
  .home-v5 .hero-section-12::before{background:linear-gradient(to bottom,rgba(255,255,255,.9),rgba(255,255,255,.58) 180px)}
}
/* v7首页优势区：桌面保留四列，图形与正文独立留白。 */
.home-v5 .home-why-grid { gap: 32px; }
.home-v5 .home-why .home-advantage { padding-top: 32px; min-width: 0; }
.home-v5 .home-why .home-number { min-height: 136px; align-items: flex-start; margin-bottom: 32px; }
.home-v5 .home-advantage-svg { display: block; width: 112px; height: 112px; flex-shrink: 0; overflow: visible; }
.home-v5 .home-why .home-number > span { padding-top: 4px; }
.home-v5 .home-why .home-advantage h3 { margin-bottom: 20px; }
@media (min-width: 1200px) { .home-v5 .home-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .home-v5 .home-why-grid { gap: 40px 22px; }
  .home-v5 .home-why .home-advantage { padding-top: 24px; }
  .home-v5 .home-why .home-number { min-height: 112px; margin-bottom: 24px; }
  .home-v5 .home-advantage-svg { width: 96px; height: 96px; }
  .home-v5 .home-why .home-advantage h3 { margin-bottom: 18px; }
}
/* v5首页文化编辑式构图；其余模块沿用v4布局。 */
.home-v5 .home-culture { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 80px); margin-top: 88px; padding-top: 40px; border-top: 1px solid #d8d3ca; }
.home-v5 .home-culture-heading { margin-bottom: 32px; }
.home-v5 .home-culture-photo { overflow: hidden; aspect-ratio: 5 / 4; background: #f5f3ef; }
.home-v5 .home-culture-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-v5 .home-culture-text { padding-top: 8px; min-width: 0; }
.home-v5 .home-culture-text h3 { font-size: 18px; font-weight: 500; line-height: 1.5; color: #945300; margin: 0 0 16px; }
.home-v5 .home-culture-text p { margin: 0; letter-spacing: 0; text-wrap: pretty; }
.home-v5 .home-culture-mission p, .home-v5 .home-culture-value p, .home-v5 .home-culture-vision p { font-size: clamp(28px, 2.65vw, 38px); line-height: 1.55; font-weight: 500; color: #252630; }
.home-v5 .home-culture-value { margin-top: 38px; padding-top: 28px; position: relative; }
.home-v5 .home-culture-value::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: #e68908; }
.home-v5 .home-culture-vision { margin-top: 28px; }
.home-v5 .home-product-image img, .home-v5 .home-factory-image img, .home-v5 .home-text-link span, .home-v5 .home-product-link span, .home-v5 .rr-btn-primary { transition: transform .28s cubic-bezier(.25,1,.5,1); }
.home-v5 .home-product:focus-within .home-product-image img { transform: scale(1.035); }
.home-v5 .home-factory-image:hover img { transform: scale(1.035); }
.home-v5 .home-factory-image:hover img.home-rotate { transform: rotate(180deg) scale(1.035); }
.home-v5 .home-text-link:is(:hover,:focus-visible) span, .home-v5 .home-product-link:is(:hover,:focus-visible) span { transform: translate(3px,-3px); }
.home-v5 .rr-btn-primary:is(:hover,:focus-visible) { transform: translateY(-2px); }
.home-v5 .rr-btn-primary:active { transform: translateY(0); }
.home-v5 .home-faq summary { transition: none; }
@media (max-width: 900px) { .home-v5 .home-culture { gap: 32px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); } .home-v5 .home-culture-photo { aspect-ratio: 4 / 5; } }
/* 桌面标题独占首行，图片与右侧正文共享第二行；手机保留原堆叠。 */
@media (min-width: 768px) {
  .home-v5 .home-culture { row-gap: 0; align-items: start; }
  .home-v5 .home-culture-visual { display: contents; }
  .home-v5 .home-culture-heading { grid-column: 1; grid-row: 1; }
  .home-v5 .home-culture-photo { grid-column: 1; grid-row: 2; width: 100%; }
  .home-v5 .home-culture-text { grid-column: 2; grid-row: 2; padding-top: 0; }
}
@media (max-width: 767px) {
  .home-v5 .home-culture { grid-template-columns: minmax(0,1fr); gap: 32px; margin-top: 56px; padding-top: 28px; }
  .home-v5 .home-culture-heading { margin-bottom: 24px; }
  .home-v5 .home-culture-photo { aspect-ratio: 4 / 3; }
  .home-v5 .home-culture-text { padding-top: 0; }
  .home-v5 .home-culture-mission p, .home-v5 .home-culture-value p, .home-v5 .home-culture-vision p { font-size: 28px; line-height: 1.6; }
  .home-v5 .home-culture-value { margin-top: 28px; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .home-v5 .home-product-image img, .home-v5 .home-factory-image img, .home-v5 .home-text-link span, .home-v5 .home-product-link span, .home-v5 .rr-btn-primary { transition: none; } .home-v5 .home-product-image img, .home-v5 .rr-btn-primary { transform: none; } }

/* 企业数据区：文字位于上方，工业线式装饰在每列右下独立留白内。 */
.home-v5 .home-data { padding-block: 32px; }
.home-v5 .home-data-grid > div { position: relative; box-sizing: border-box; min-height: 246px; }
.home-v5 .home-data strong { font-size: 60px; }
.home-v5 .home-data-grid p { margin-top: 12px; font-size: 18px; }
.home-v5 .home-data-decoration { position: absolute; right: 18px; bottom: 10px; display: block; width: 140px; height: 105px; color: #d8d3ca; pointer-events: none; }
.home-v5 .home-data-decoration-accent { stroke: #edc795; }
@media (max-width: 767px) {
  .home-v5 .home-data { padding-block: 28px; }
  .home-v5 .home-data-grid > div { min-height: 226px; }
  .home-v5 .home-data strong { font-size: clamp(46px, 12vw, 48px); }
  .home-v5 .home-data-decoration { right: 8px; bottom: 10px; width: 110px; height: 82.5px; }
}

/* 首页关于区：在原左栏内并排放置标题与真实厂房照片。 */
.home-v5 .home-about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 24px; align-items: start; min-width: 0; }
.home-v5 .home-about-heading { min-width: 0; }
.home-v5 .home-about .home-about-plant { aspect-ratio: 2 / 1; width: 100%; margin: 0; grid-column: auto; grid-row: auto; background: #f5f3ef; overflow: hidden; }
.home-v5 .home-about-plant img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
  .home-v5 .home-about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-v5 .home-about-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-v5 .home-about-copy { border-left: 0; padding-left: 0; }
}

/* guard 在解析页眉前标记，避免延迟导航增强使页眉退出普通流并推动正文。无脚本保留原可访问导航。 */
@media (max-width:1279px) {
  .home-mobile-entry .home-v5 .gt-header { position: absolute; inset: 0 0 auto; border-bottom: 0; }
}
