
:root{--sa-navy:#061b31;--sa-blue:#164e63;--sa-red:#dc2626;--sa-red-dark:#991b1b;--sa-slate:#64748d;--sa-border:#e5edf5;--sa-bg:#f6f9fc;--sa-shadow:0 22px 55px rgba(50,50,93,.16),0 10px 24px rgba(15,23,42,.08)}
html{scroll-behavior:smooth}body{color:var(--sa-navy);background:#fff}main{overflow:hidden}main p{line-height:1.85;color:#475569}main h1,main h2,main h3{color:var(--sa-navy);letter-spacing:-.02em}main h1{font-weight:800}main h2{font-weight:780}a{transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}img{max-width:100%;height:auto}
/* Header / nav polish */
header.wp-block-template-part{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.94);backdrop-filter:saturate(160%) blur(12px);box-shadow:0 1px 0 rgba(15,23,42,.08)}
header.wp-block-template-part img[alt*="LOGO"],header.wp-block-template-part img[alt*="logo"]{max-height:54px!important;width:auto!important}
header.wp-block-template-part nav.wp-block-navigation a.wp-block-navigation-item__content,header.wp-block-template-part nav.wp-block-navigation .wp-block-navigation-item__label{font-size:15px!important;line-height:1.25!important;color:#102033!important;font-weight:650!important;white-space:nowrap!important}
header.wp-block-template-part nav.wp-block-navigation a:hover{color:var(--sa-red)!important}header.wp-block-template-part nav.wp-block-navigation{max-width:100%!important}
@media (min-width:1000px){header.wp-block-template-part nav.wp-block-navigation .wp-block-navigation__container{gap:18px!important}header.wp-block-template-part nav.wp-block-navigation li:last-child a{background:var(--sa-red)!important;color:#fff!important;border-radius:999px!important;padding:10px 15px!important;box-shadow:0 10px 22px rgba(220,38,38,.18)}}
/* Shared cards/buttons */
main .wp-block-button__link,main a[href^="tel:"],.saxf-card-actions a,.saxf-hero-actions a,.saxf-bottom-cta a,.sa-ui-btn{border-radius:999px!important;font-weight:800!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:42px!important;padding:11px 18px!important}
main .wp-block-button__link,.saxf-card-actions a:first-child,.saxf-hero-actions a:first-child,.sa-ui-btn-primary{background:var(--sa-red)!important;color:#fff!important;border:1px solid var(--sa-red)!important;box-shadow:0 12px 26px rgba(220,38,38,.22)!important}
.saxf-card-actions a:nth-child(2),.sa-ui-btn-secondary{background:#fff!important;color:var(--sa-red-dark)!important;border:1px solid #fecaca!important;box-shadow:none!important}
.saxf-card-actions a:hover,.sa-ui-btn:hover{transform:translateY(-1px)!important;box-shadow:0 14px 28px rgba(15,23,42,.12)!important}
/* Homepage first-screen conversion improvement */
.home .hermes-home-top-banner-20260602{position:relative!important;margin-bottom:0!important}.home .hermes-home-top-banner-20260602:after{content:"商用厨房自动灭火系统 · 燃气联动切断 · 动火离人报警";position:absolute;left:clamp(18px,7vw,92px);bottom:clamp(34px,5.8vw,76px);max-width:min(780px,calc(100% - 72px));color:#fff;font-size:clamp(28px,3.7vw,46px);line-height:1.12;font-weight:900;letter-spacing:-.035em;text-shadow:0 3px 18px rgba(0,0,0,.58);z-index:2}.home .hermes-home-top-banner-20260602:before{content:"餐饮门店 / 学校食堂 / 酒店厨房 / 商业综合体";position:absolute;left:clamp(18px,7vw,92px);bottom:clamp(138px,13.5vw,158px);z-index:3;color:#fff;background:rgba(153,27,27,.90);border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:8px 13px;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.3)}.home .hermes-home-top-banner-20260602 img{filter:contrast(1.04) saturate(1.05);}
.home .saxf-home-hero,.home main > .wp-block-group:first-child{border-radius:28px!important;border:1px solid #fee2e2!important;box-shadow:var(--sa-shadow)!important;background:linear-gradient(135deg,#fff 0%,#fff7f5 100%)!important}.home .saxf-trust-strip div,.home .saxf-product-card,.home .saxf-home-case-grid article,.home .saxf-news-grid article{border:1px solid var(--sa-border)!important;border-radius:20px!important;box-shadow:0 14px 32px rgba(15,23,42,.07)!important}.home .saxf-product-card img,.home .saxf-home-case-grid img{height:auto!important;object-fit:contain!important;border-radius:18px 18px 0 0!important;background:#eef2f7!important}
/* Product page */
body.page-id-14 main figure img,body.page-id-14 main .wp-block-image img{border-radius:20px!important;box-shadow:var(--sa-shadow)!important;object-fit:cover!important;max-height:340px!important;width:100%!important}main table{border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--sa-border)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 12px 26px rgba(15,23,42,.06)!important}main table th{background:#0f2f45!important;color:#fff!important;font-weight:800!important}main table td,main table th{padding:16px!important;border-color:#e8eef6!important;vertical-align:top!important}
/* Project case page */
body.page-id-9 .saxf-project-card{background:#fff!important;border:1px solid var(--sa-border)!important;border-radius:22px!important;box-shadow:0 14px 34px rgba(15,23,42,.08)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:100%!important}body.page-id-9 .saxf-project-card:hover{transform:translateY(-4px)!important;box-shadow:var(--sa-shadow)!important}body.page-id-9 .saxf-card-media{display:block!important;position:relative!important;aspect-ratio:16/9!important;overflow:hidden!important;background:linear-gradient(135deg,#eef2f7,#fff7f5)!important}body.page-id-9 .saxf-card-media:empty:before,body.page-id-9 .saxf-card-media.sa-ui-missing:before{content:"项目现场图整理中";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#64748d;font-weight:800;background:linear-gradient(135deg,#f1f5f9,#fff7f5)}body.page-id-9 .saxf-card-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;background:#eef2f7!important}body.page-id-9 .saxf-card-body{padding:18px!important;display:flex!important;flex-direction:column!important;gap:10px!important;flex:1!important}body.page-id-9 .saxf-card-tags{display:flex!important;flex-wrap:wrap!important;gap:7px!important}body.page-id-9 .saxf-card-tags span{background:#fff1f1!important;color:#b91c1c!important;border:1px solid #fecaca!important;border-radius:999px!important;padding:4px 9px!important;font-size:12px!important;font-weight:800!important}body.page-id-9 .saxf-project-card h3{font-size:20px!important;line-height:1.32!important;margin:4px 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}body.page-id-9 .saxf-project-card p{font-size:14.5px!important;line-height:1.7!important;color:#64748d!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}body.page-id-9 .saxf-project-card ul{margin:0!important;padding-left:18px!important;color:#475569!important;font-size:14px!important}body.page-id-9 .saxf-card-actions{margin-top:auto!important;display:flex!important;gap:9px!important;flex-wrap:wrap!important}body.page-id-9 .saxf-card-actions a{font-size:13px!important;min-height:38px!important;padding:9px 12px!important}.sa-ui-case-filter{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:8px auto 26px}.sa-ui-case-filter span{border:1px solid var(--sa-border);background:#fff;border-radius:999px;padding:8px 12px;color:#334155;font-weight:800;font-size:14px}.sa-ui-case-filter span:first-child{background:#0f2f45;color:#fff;border-color:#0f2f45}
/* News */
body.blog main article,body.archive main article,body.page-id-11 main li,body.page-id-11 main .wp-block-post{border:1px solid var(--sa-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important}body.page-id-11 main h3,body.blog main h2,body.archive main h2{font-size:20px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}body.page-id-11 main h3:before{content:"产品知识";display:inline-flex;margin-right:8px;vertical-align:middle;background:#eef6ff;color:#164e63;border:1px solid #bfdbfe;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:800}.page-numbers{display:inline-flex!important;min-width:38px!important;height:38px!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;border:1px solid var(--sa-border)!important;background:#fff!important;margin:0 3px!important}.page-numbers.current{background:#0f2f45!important;color:#fff!important;border-color:#0f2f45!important}
/* Contact page */
body.page-id-10 main > .wp-block-group:first-child,body.page-id-13 main > .wp-block-group:first-child{position:relative!important}body.page-id-10 main h1 + h2,body.page-id-10 main h2:first-of-type{font-size:clamp(28px,4vw,44px)!important}.sa-contact-upgrade{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:24px;max-width:1120px;margin:26px auto 34px;padding:26px;border:1px solid var(--sa-border);border-radius:28px;background:linear-gradient(135deg,#ffffff,#f6f9fc);box-shadow:var(--sa-shadow)}.sa-contact-card{background:#fff;border:1px solid var(--sa-border);border-radius:22px;padding:20px;box-shadow:0 10px 26px rgba(15,23,42,.06)}.sa-contact-card h3{margin-top:0}.sa-contact-line{display:grid;grid-template-columns:88px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #eef2f7}.sa-contact-line:last-child{border-bottom:0}.sa-contact-line strong{color:#0f2f45}.sa-contact-form{display:grid;gap:11px}.sa-contact-form label{display:grid;gap:6px;font-weight:800;color:#273951;font-size:14px}.sa-contact-form input,.sa-contact-form textarea,.sa-contact-form select{width:100%;box-sizing:border-box;border:1px solid #dbe4ef;border-radius:12px;padding:12px 13px;font:inherit;background:#fff;color:#0f172a}.sa-contact-form textarea{min-height:96px;resize:vertical}.sa-contact-form .sa-form-note{font-size:12px;color:#64748d;line-height:1.6}.sa-contact-map{max-width:1120px;margin:0 auto 34px;border:1px solid var(--sa-border);border-radius:24px;background:#0f2f45;color:#fff;padding:24px;display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:var(--sa-shadow)}.sa-contact-map h3{color:#fff;margin:0 0 8px}.sa-contact-map p{color:#dbeafe;margin:0}.sa-contact-map a{background:#fff;color:#0f2f45!important;border-radius:999px;padding:11px 16px;text-decoration:none!important;font-weight:900;white-space:nowrap}body.page-id-10 .wp-block-group:has(> h2),body.page-id-10 main h2{scroll-margin-top:90px}body.page-id-10 main h2:nth-last-of-type(-n+2){display:none!important}body.page-id-10 main .wp-block-group.has-background,body.page-id-13 main .wp-block-group.has-background,body.page-id-10 .saxf-bottom-cta,body.page-id-13 .saxf-bottom-cta{color:#fff!important}body.page-id-10 main .wp-block-group.has-background h2,body.page-id-10 main .wp-block-group.has-background p,body.page-id-13 main .wp-block-group.has-background h2,body.page-id-13 main .wp-block-group.has-background p,body.page-id-10 .saxf-bottom-cta h2,body.page-id-10 .saxf-bottom-cta p,body.page-id-13 .saxf-bottom-cta h2,body.page-id-13 .saxf-bottom-cta p{color:#fff!important}.sa-contact-map h3,.sa-contact-map p{color:#fff!important}body.page-id-13 main h2:nth-last-of-type(-n+2){display:none!important}body.page-id-10 .saxf-cta-band,body.page-id-13 .saxf-cta-band{color:#fff!important}body.page-id-10 .saxf-cta-band h2,body.page-id-10 .saxf-cta-band p,body.page-id-13 .saxf-cta-band h2,body.page-id-13 .saxf-cta-band p{color:#fff!important}body.page-id-10 .saxf-cta-band a,body.page-id-13 .saxf-cta-band a{color:#fff!important}
/* Fix legacy red CTA contrast on homepage */
.home .saxf-quick-lead,.home .saxf-quick-lead *{color:#fff!important}.home .saxf-quick-lead p,.home .saxf-quick-lead li{color:#fff7ed!important}.home .saxf-quick-lead .saxf-section-kicker{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.38)!important;color:#fff!important}.home .saxf-quick-actions .saxf-btn-secondary,.home .saxf-quick-actions a:nth-child(2){background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;min-width:178px!important}.home .saxf-quick-actions a:nth-child(2):empty::before{content:'填写需求 / 发送现场资料';color:#fff!important}.home .saxf-quick-actions a:nth-child(2){font-size:0!important}.home .saxf-quick-actions a:nth-child(2)::before{font-size:16px!important}.home .saxf-quick-lead ul{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:20px!important;padding:20px 22px 20px 38px!important}
/* Footer */
footer.wp-block-template-part{background:#061b31!important;color:#dbeafe!important;border-top:0!important}footer.wp-block-template-part a{color:#e5edf5!important}footer.wp-block-template-part img{max-height:50px!important;width:auto!important}
/* Floating CTA: global, mobile-safe */
body{padding-bottom:0}.saxf-floating-contact{display:none!important}.sa-ui-floating-contact{position:fixed;right:18px;bottom:18px;z-index:10000;display:flex;flex-direction:column;gap:10px;opacity:.94}.sa-ui-floating-contact a{display:flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 15px;text-decoration:none!important;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.15)}.sa-ui-floating-contact a:first-child{background:var(--sa-red);color:#fff}.sa-ui-floating-contact a:last-child{background:#fff;color:#991b1b;border:1px solid #fecaca}.sa-ui-floating-contact:hover{opacity:1}
@media(max-width:860px){body{padding-bottom:0!important}header.wp-block-template-part{position:sticky!important}header.wp-block-template-part nav.wp-block-navigation{transform:none!important;margin-left:0!important;width:auto!important;max-width:100%!important;overflow:visible!important}header.wp-block-template-part nav.wp-block-navigation a.wp-block-navigation-item__content,header.wp-block-template-part nav.wp-block-navigation .wp-block-navigation-item__label{font-size:15px!important}.home .hermes-home-top-banner-20260602 img{height:250px!important}.home .hermes-home-top-banner-20260602:before{bottom:112px;font-size:12px;max-width:calc(100% - 32px)}.home .hermes-home-top-banner-20260602:after{bottom:28px;font-size:23px;max-width:calc(100% - 32px)}main > .wp-block-group,main .wp-block-group.has-global-padding{padding-left:16px!important;padding-right:16px!important}main h1{font-size:32px!important;line-height:1.15!important}.home .saxf-home-hero,.home main > .wp-block-group:first-child{border-radius:22px!important}.home .saxf-product-card img,.home .saxf-home-case-grid img{height:auto!important}.sa-contact-upgrade{grid-template-columns:1fr;padding:16px;border-radius:22px;margin:18px 0}.sa-contact-line{grid-template-columns:88px 1fr}.sa-contact-map{display:block;margin-left:0;margin-right:0}.sa-contact-map a{display:inline-flex;margin-top:14px}.sa-ui-floating-contact{display:flex!important}.saxf-floating-contact{display:none!important}body.page-id-9 .saxf-card-actions a{flex:1;min-width:130px}main table{font-size:14px!important}}
@media(max-width:390px){.sa-ui-floating-contact a{font-size:13px}.home .hermes-home-top-banner-20260602:after{font-size:22px}body.page-id-9 .saxf-project-card h3{font-size:18px!important}}
