/* ============================================================
   沙沟集团 2026 新版首页样式（头部/底部/首页）
   设计稿：Figma 沙沟集团官网首页
   ============================================================ */

/* 阿里妈妈数黑体（标题专用） */
@font-face {
    font-family: 'alimamashuheiti';
    src:url('/static/fonts/alimamashuheiti.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* @font-face {
    font-family: 'alimamashuheiti';
    src: url('/static/fonts/alimamashuheiti.woff2') format('woff2'),
         url('/static/fonts/alimamashuheiti.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */

@font-face {
    font-family: 'AlibabaPuHuiTi';
    src:url('/static/font/AlibabaPuHuiTi-2-55-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --sg-red: #e60012;
    --sg-red-dark: #c8000f;
    --sg-yellow: #fbcc00;
    --sg-dark: #1b2228;
    --sg-text: #313133;
    --sg-gray: #777777;
    --sg-gray-l: #999999;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
html, body { background: #ffffff; }
body { overflow-x: clip; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--sg-text);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { border: 0; vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

.sg-wrap { max-width: 1600px; margin: 0 auto; padding: 0 20px; }

/* ================= 头部 ================= */
.sg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    transition: box-shadow .3s;
}
.sg-header.scrolled { background: #ffffff; box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
body { padding-top: 84px; }
.sg-header-in {
    display: flex;
    align-items: center;
    height: 84px;
}
/* 头部不受 1600 容器限制：logo 更靠左、右侧图标更靠右 */
.sg-header .sg-header-in {
    max-width: 1920px;
    padding: 0 48px;
}
.sg-logo { flex: 0 0 auto; display: block; margin-left: 24px; }
.sg-logo img { height: 56px; width: auto; }

.sg-nav { display: flex; justify-content: center; flex: 1 1 auto; padding-left: 160px; }
.sg-nav li { position: relative; }
.sg-nav li a {
    display: block;
    padding: 0 25px;
    height: 84px;
    line-height: 84px;
    font-size: 17px;
    color: var(--sg-text);
    letter-spacing: 1px;
    transition: color .2s;
    white-space: nowrap;
	font-family: 'AlibabaPuHuiTi';
}
.sg-nav li a:hover,
.sg-nav li.active a { color: var(--sg-red); font-weight: bold; }

/* 一级导航子栏目：mega 面板（左侧图片 + 右侧两列子栏目卡片） */
.sg-subnav {
    position: fixed;
    left: 0;
    top: 84px;
    width: 100vw;
    transform: translateY(-10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .14);
    padding: 34px 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, transform .28s cubic-bezier(.22, .61, .36, 1), visibility .28s;
    z-index: 50;
}
.sg-nav li:hover > .sg-subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* 无子栏目时不渲染面板（多写法兼容不同内核） */
.sg-subnav:has(.sg-subnav-list:not(:has(a))) { display: none; }
.sg-nav li:not(:has(.sg-subnav-list a)) .sg-subnav { display: none; }
.sg-subnav-pic { flex: 0 0 440px; }
.sg-subnav-pic img {
    display: block;
    width: 460px;
    height: 280px;
    object-fit: cover;
    /* border-radius: 12px; */
}
.sg-subnav-list {
    display: grid;
    grid-template-columns: repeat(2, 224px);
    gap: 16px 20px;
}
/* 需盖过 .sg-nav li a（height/line-height 84px），故提高选择器层级 */
.sg-nav li .sg-subnav-list a,
.sg-nav li .sg-subnav-list a:link,
.sg-nav li .sg-subnav-list a:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    line-height: 44px;
    padding: 0 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    font-size: 14px;
    font-weight: normal;
    color: var(--sg-text);
    text-align: left;
    white-space: nowrap;
    transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.sg-nav li .sg-subnav-list a::after { display: none; }
.sg-nav li .sg-subnav-list a svg { color: #c0c4c9; transition: color .25s ease, transform .25s ease; flex: 0 0 auto; }
.sg-nav li .sg-subnav-list a:hover {
    color: var(--sg-red);
    border-color: var(--sg-red);
    background: #fff8f8;
}
.sg-nav li .sg-subnav-list a:hover svg {
    color: var(--sg-red);
    transform: translateX(3px);
}

.sg-header-r { flex: 0 0 auto; display: flex; align-items: center; }
.sg-lang { position: relative; cursor: pointer; margin-right: 34px; }
.sg-lang-cur {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--sg-text);
	font-family: 'AlibabaPuHuiTi';
	margin-left: 20px;
}
.sg-lang-cur svg { margin-right: 6px; }
/* 语言切换图标（球形地球 gif） */
.sg-lang-cur .icon {
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    object-fit: cover;
    /* transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease; */
}
.sg-lang:hover .sg-lang-cur .icon {
    /* transform: rotate(180deg) scale(1.08);
    box-shadow: 0 0 0 1px rgba(230, 0, 18, .18); */
}
.sg-lang-cur .caret {
    margin-left: 5px;
    border-style: solid;
    border-width: 5px 4.5px 0 4.5px;
    border-color: #313133 transparent transparent transparent;
}
.sg-lang-drop {
    display: none;
    position: absolute;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 96px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    padding: 6px 0;
    text-align: center;
    z-index: 20;
}
.sg-lang-drop.show { display: block; }
.sg-lang-drop a {
	font-family: 'AlibabaPuHuiTi';
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--sg-text);
}
.sg-lang-drop a:hover, .sg-lang-drop a.active { color: var(--sg-red); }

.sg-social { display: flex; align-items: center; margin-left: 32px; }
.sg-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(230, 0, 18, .45);
    border-radius: 50%;
    transition: all .25s;
}
.sg-social a:first-child { margin-left: 0; }
.sg-social img { width: 20px; height: 20px; object-fit: contain; display: block; transition: filter .25s; }
.sg-social a:hover { background: var(--sg-red); }
/* 仅图标自身变白，不影响弹层里的二维码 */
.sg-social a:hover > img { filter: brightness(0) invert(1); }

/* 头部社交：微信/抖音悬浮弹出二维码（取自后台配置，向下弹出） */
.sg-social .sg-s-qr { position: relative; overflow: visible; }
.sg-social .qr-pop {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(-10px) scale(.96);
    width: 132px;
    padding: 10px 10px 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, transform .28s cubic-bezier(.22, .61, .36, 1), visibility .28s;
    pointer-events: none;
    z-index: 20;
}
.sg-social .sg-s-qr:hover .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}
.sg-social .qr-pop img { width: 100%; height: auto; display: block; border-radius: 6px; }
.sg-social .qr-pop b {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: normal;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.4;
}
.sg-social .qr-pop::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -7px;
    margin-left: -7px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 8px solid #ffffff;
}

/* ================= 首屏轮播 ================= */
.sg-hero { position: relative; }
.sg-hero .swiper-container { width: 100%; }

/* 右侧悬浮热线卡 */
.sg-hero-tel {
    position: absolute;
    right: 12.5%;
    top: 36%;
    z-index: 10;
    background: rgba(255, 255, 255, .96);
    border-radius: 10px;
    padding: 26px 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.sg-hero-tel .item + .item { margin-top: 20px; }
.sg-hero-tel .lab { font-size: 14px; color: #555; margin-bottom: 6px; }
.sg-hero-tel .num { font-size: 23px; font-weight: bold; color: var(--sg-red); letter-spacing: 1px; }

/* 数字分页（选中为水滴状） */
.sg-hero-page {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
}
.sg-hero-page .pg {
    position: relative;
    width: 34px;
    height: 34px;
    margin: 0 9px;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sg-hero-page .pg i {
    position: relative;
    z-index: 2;
    font-style: normal;
    line-height: 1;
    transition: color .25s;
}
/* 水滴背景（尖朝上）：默认隐藏，选中时放大浮现 */
.sg-hero-page .pg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--sg-red);
    border-radius: 50% 0 50% 50%;
    transform: rotate(-45deg) scale(0);
    opacity: 0;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), opacity .25s;
}
.sg-hero-page .pg.on::before {
    transform: rotate(-45deg) scale(1);
    opacity: 1;
}
.sg-hero-page .pg.on i { color: #fff; font-weight: bold; transform: translateY(-1px); }
.sg-hero-page .pg:hover:not(.on) i { color: var(--sg-yellow); }

/* 首屏 Ken Burns 缓推效果（头部固定 84px，轮播填满剩余一屏） */
.sg-hero .swiper-slide { height: calc(100vh - 84px); min-height: 560px; }
.sg-hero .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-hero .swiper-slide-active img { animation: sgKenburns 7s ease-out forwards; }
@keyframes sgKenburns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

/* ================= 走进沙沟 ================= */
.sg-about { padding: 105px 0 95px; }
.sg-about-in { display: flex; align-items: flex-start; }
.sg-about-l { flex: 1 1 auto; padding-right: 60px; }
.sg-sec-title {
    font-family: 'alimamashuheiti';
    font-size: 42px;
    color: var(--sg-red);
    line-height: 1.2;
}
.sg-about-sub {
    font-family: 'alimamashuheiti';
    font-size: 26px;
    font-weight: normal;
    color: #1a1a1a;
    margin: 34px 0 30px;
}
.sg-about-txt {
    font-family: 'AlibabaPuHuiTi';
    font-size: 15px;
    color: #555555;
    line-height: 2.1;
    text-align: justify;
}
.sg-about-txt p + p { margin-top: 14px; }

.sg-stats { display: flex; margin: 44px 0 40px; }
.sg-stat { margin-right: 74px; }
.sg-stat:last-child { margin-right: 0; }
.sg-stat .n {
	font-weight: 600;
    font-family: 'AlibabaPuHuiTi';
    font-size: 46px;
    color: var(--sg-red);
    line-height: 1;
}
.sg-stat .n small { font-size: 20px; margin-left: 2px; }
.sg-stat .t {font-family: 'AlibabaPuHuiTi'; font-size: 14px; color: #666; margin-top: 12px; }

.sg-btn {
	font-family: 'AlibabaPuHuiTi';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 34px;
    border: 1.5px solid var(--sg-red);
    border-radius: 24px;
    color: var(--sg-red);
    font-size: 16px;
    transition: all .25s;
    background: transparent;
}
.sg-btn svg { margin-left: 8px; transition: transform .25s; }
.sg-btn:hover { background: var(--sg-red); color: #fff; }
.sg-btn:hover svg { transform: translateX(3px); }

.sg-about-r { flex: 0 0 750px; }
.sg-about-r img { width: 750px; height: 480px; object-fit: cover; border-radius: 22px; display: block; }

/* ================= 产品中心 ================= */
.sg-product-band {
    background: url('/static/images/sg/product-bg.jpg') center top / cover no-repeat #fdf6e3;
    border-radius: 50px 50px 0 0;
    padding: 95px 0 110px;
}
.sg-sec-head { display: flex; align-items: flex-end; justify-content: space-between; }
.sg-sec-sub { 
	font-family: 'AlibabaPuHuiTi';
	font-size: 15px; 
	color: #8a8a8a; 
	margin-top: 22px; 
}

/* 产品"香"字背景层：产品浮于其上，hover 时平移到对应产品后方 */
.sg-prod-wrap {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
.sg-xiang {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: 44vw;
    opacity: 1;
    transition: left .55s cubic-bezier(.22, .61, .36, 1), top .55s cubic-bezier(.22, .61, .36, 1), opacity .4s ease;
    pointer-events: none;
    z-index: 0;
}
.sg-xiang img { width: 100%; display: block; animation: sgXiangFloat 6s ease-in-out infinite; }
@keyframes sgXiangFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.sg-prod-list {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}
.sg-prod { flex: 1 1 0; min-width: 0; text-align: center; position: relative; cursor: pointer; }
.sg-prod .imgbox {
    position: relative;
    height: 330px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.sg-prod .imgbox > img {
    position: relative;
    z-index: 2;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.sg-prod:hover .imgbox > img { transform: translateY(-12px) scale(1.05); }
.sg-prod.hot .imgbox { height: 400px; }
.sg-prod .seal {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 430px;
    z-index: 1;
}
.sg-prod .name {
    font-family: 'alimamashuheiti';
    font-size: 22px;
    font-weight: normal;
    color: #1a1a1a;
    margin-top: 34px;
    transition: color .25s;
}
/* hot 项名称默认红色；悬浮其他产品时红色让位给当前悬浮项 */
.sg-prod.hot .name, .sg-prod:hover .name { color: var(--sg-red); }
.sg-prod-list:hover .sg-prod.hot:not(:hover) .name { color: var(--sg-text); }
.sg-prod .ds { font-size: 13.5px; color: #888; line-height: 1.9; margin-top: 14px; }

/* ================= 新闻动态 ================= */
.sg-news { padding: 100px 0 105px; }
.sg-news-tabs { display: flex; }
.sg-news-tabs a {
	font-family: 'AlibabaPuHuiTi';
    display: block;
    min-width: 120px;
    height: 42px;
    line-height: 40px;
    text-align: center;
    padding: 0 22px;
    border: 1.5px solid var(--sg-red);
    border-radius: 21px;
    color: var(--sg-red);
    font-size: 15px;
    margin-left: 18px;
    transition: all .25s;
}
.sg-news-tabs a.on, .sg-news-tabs a:hover { background: var(--sg-red); color: #fff; }

.sg-news-list { display: flex; margin: 56px -14px 0; }
.sg-news-panes { margin: 56px -14px 0; position: relative; }
.sg-news-pane { display: none; flex-wrap: wrap; }
.sg-news-pane.active { display: flex; }
.sg-news-pane .sg-news-card {
    opacity: 0;
    transform: translateY(24px);
}
.sg-news-pane .sg-news-card.card-in {
    animation: sgCardIn .6s cubic-bezier(.22, .61, .36, 1) forwards;
}
@keyframes sgCardIn {
    to { opacity: 1; transform: translateY(0); }
}
.sg-news-card { width: 25%; padding: 0 14px; }
.sg-news-card .pic { display: block; border-radius: 12px; overflow: hidden; }
.sg-news-card .pic img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .5s; }
.sg-news-card:hover .pic img { transform: scale(1.05); }
.sg-news-card .tt {
   font-family: 'AlibabaPuHuiTi';
    font-size: 17px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.6;
    margin-top: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
}
.sg-news-card .ms {
	font-family: 'AlibabaPuHuiTi';
    font-size: 13px;
    color: #9a9a9a;
    line-height: 1.8;
    margin-top: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 47px;
}
.sg-news-card .ft { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.sg-news-card .dt { font-family: 'AlibabaPuHuiTi';font-size: 14px; color: #9a9a9a; }
.sg-news-card .ar {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--sg-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-red);
    transition: all .25s;
}
.sg-news-card:hover .ar, .sg-news-card.first .ar { background: var(--sg-red); color: #fff; }

/* ================= 使用场景（铺满全屏） ================= */
.sg-scene { padding-bottom: 100px; }
.sg-scene-band {
    position: relative;
    width: 100%;
    height: 41.6vw;
    max-height: 800px;
    overflow: hidden;
    border-radius: 40px;
}
/* 两张可切换的场景大图（crossfade） */
.sg-scene-img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .7s ease, transform 1.4s ease;
}
.sg-scene-img.active { opacity: 1; transform: scale(1); }
.sg-scene-head { position: absolute; left: 8.3%; top: 13%; z-index: 3; }
.sg-scene-sub { font-family: 'AlibabaPuHuiTi';font-size: 15px; color: #ffffff; margin-top: 20px; text-shadow: 0 1px 6px rgba(0,0,0,.15); }
.sg-scene-more { position: absolute; right: 8.3%; top: 46%; z-index: 3; }

/* 底部品牌切换块 */
.sg-scene-tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 8.3% 62px;
}
.sg-scene-tab {
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: .55;
    transition: opacity .3s, transform .3s;
    max-width: 46%;
}
.sg-scene-tab:hover { opacity: .85; }
.sg-scene-tab.active { opacity: 1; transform: translateY(-4px); }
.sg-scene-tab .logo { flex: 0 0 auto; width: 85px; height: 77px; display: flex; align-items: center; }
.sg-scene-tab .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sg-scene-tab .info { margin-left: 20px; position: relative; padding-bottom: 12px; }
.sg-scene-tab .tt { font-family: 'alimamashuheiti'; font-size: 22px; font-weight: normal; color: #ffffff; }
.sg-scene-tab .ds { font-family: 'AlibabaPuHuiTi';font-size: 13.5px; color: rgba(255, 255, 255, .85); margin-top: 10px; line-height: 1.7; }
/* 红色指示线：位于描述文字下方 */
.sg-scene-tab .info::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--sg-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.sg-scene-tab.active .info::after { transform: scaleX(1); }

/* ================= 招商加盟 ================= */
.sg-join { padding-bottom: 100px; }
.sg-join-list { display: flex; margin: 60px -15px 0; }
.sg-join-card {
    position: relative;
    overflow: hidden;
    width: 50%;
    margin: 0 15px;
    background: #F5F6F8;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    padding: 62px 68px 66px;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}
/* 背景图：默认不显示，悬浮时淡入 */
.sg-join-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/sg/join-bg-new.png') center / cover no-repeat;
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
    z-index: 0;
}
.sg-join-card > * { position: relative; z-index: 1; }
.sg-join-card .logo { height: 96px; }
.sg-join-card .logo img { height: 100%; width: auto; }
.sg-join-card .tt {
    font-family: 'alimamashuheiti';
    font-size: 30px;
    font-weight: normal;
    margin-top: 34px;
    transition: color .35s ease;
}
/* 两个卡片标题默认均为黑色，悬浮时才变红 */
.sg-join-card.c1 .tt,
.sg-join-card.c2 .tt { color: #1a1a1a; }
.sg-join-card .sg-btn { font-family: 'AlibabaPuHuiTi';transition: background .35s ease, color .35s ease, border-color .35s ease; }
.sg-join-card .ds { font-size: 14.5px; color: #888; line-height: 2; margin: 26px 0 44px; }

/* ================= 黄色联系横幅（铺满全屏） ================= */
.sg-cta-wrap { padding: 0; }
.sg-cta {
    position: relative;
    background: url('/static/images/sg/cta-bg.png') center / cover no-repeat var(--sg-yellow);
    border-radius: 42px 42px 0 0;
    padding: 100px 0 110px;
    text-align: center;
    overflow: hidden;
}
.sg-cta .badge { height: 84px; }
.sg-cta .tt {
    font-family: 'alimamashuheiti';
    font-size: 48px;
    color: var(--sg-red);
    margin-top: 34px;
    letter-spacing: 2px;
}
.sg-cta .ds { font-family: 'AlibabaPuHuiTi';font-size: 16px; color: #6B5B3E; margin-top: 24px; }
.sg-cta .sg-btn { margin-top: 44px; border-color: var(--sg-red); color: var(--sg-red); }
.sg-cta .sg-btn:hover { background: var(--sg-red); color: #fff; }
.sg-cta .mascot {
    position: absolute;
    right: 7%;
    bottom: 48px;
    height: 72%;
    pointer-events: none;
}

/* ================= 底部 ================= */
.sg-footer { background: var(--sg-dark); border-radius: 48px 48px 0 0; }
/* 首页：底部上移压住黄色横幅下沿 */
.sg-footer.sg-footer-home { position: relative; margin-top: -52px; }
.sg-footer-in { padding: 85px 0 70px; display: flex; }
.sg-f-brand { flex: 0 0 300px; }
.sg-f-logo { display: flex; align-items: center; }
.sg-f-logo img { height: 72px; width: auto; }
.sg-f-logo .txt { margin-left: 14px; }
.sg-f-logo .txt .cn { font-family: 'alimamashuheiti';font-size: 30px; font-weight: bold; color: #ffffff; letter-spacing:1px; }
.sg-f-logo .txt .en { font-family: 'alimamashuheiti';font-size: 13px; font-weight: bold;color: #ffffff; letter-spacing:1.5px; margin-top: 4px; }
.sg-f-social { display: flex; margin-top: 42px; }
.sg-f-social a {
    width: 44px;
    height: 44px;
    border: 1px solid #3a454e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    transition: all .25s;
}
.sg-f-social a:hover { border-color: var(--sg-red); background: var(--sg-red); }
.sg-f-social img { width: 24px; height: 24px; object-fit: contain; }

/* 底部社交：微信/抖音悬浮弹出二维码（取自后台配置） */
.sg-f-social .sg-f-qr { position: relative; overflow: visible; }
.sg-f-social .qr-pop {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    transform: translateX(-50%) translateY(10px) scale(.96);
    width: 132px;
    padding: 10px 10px 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, transform .28s cubic-bezier(.22, .61, .36, 1), visibility .28s;
    pointer-events: none;
    z-index: 20;
}
.sg-f-social .sg-f-qr:hover .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}
.sg-f-social .qr-pop img { width: 100%; height: auto; display: block; border-radius: 6px; }
.sg-f-social .qr-pop b {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: normal;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.4;
}
.sg-f-social .qr-pop::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -7px;
    margin-left: -7px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid #ffffff;
}

.sg-f-cols { flex: 1 1 auto; display: flex; justify-content: space-between; padding-left: 60px; flex-wrap: wrap; row-gap: 20px; }
.sg-f-col { flex: 0 0 auto; }
.sg-f-col .h {font-family: 'AlibabaPuHuiTi'; font-size: 16px; font-weight: bold; color: #ffffff; margin-bottom: 26px; white-space: nowrap; }
.sg-f-col a, .sg-f-col .it {
	font-family: 'AlibabaPuHuiTi';
    display: block;
    font-size: 14px;
    color: #9a9a9a;
    line-height: 2.3;
    transition: color .2s;
    white-space: nowrap;
}
.sg-f-col a:hover { color: #ffffff; }
.sg-f-contact .h { font-size: 17px; }
.sg-f-contact .lab { font-family: 'AlibabaPuHuiTi';font-size: 13px; color: #8b939c; margin-top: 18px; }
.sg-f-contact .tel {
    font-family: 'alimamashuheiti';
    font-size: 26px;
    color: #ffffff;
    margin-top: 8px;
    letter-spacing: .5px;
}
.sg-f-contact .addr { font-family: 'AlibabaPuHuiTi';font-size: 15px; color: #ffffff; margin-top: 8px; }
.sg-f-tels { display: flex; }
.sg-f-tels > div + div { margin-left: 48px; }

.sg-f-bottom {
    border-top: 1px solid #2b343c;
    padding: 26px 0;
}
/* 内层需撑满，否则 max-width 容器内没有剩余空间，space-between 不生效 */
.sg-f-bottom .sg-f-bottom-in {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sg-f-bottom .cp { font-size: 13px; color: #6D6D6D; }
.sg-f-bottom .cp a { color: #6D6D6D; margin-left: 18px; }
.sg-f-bottom .cp a:hover { color: #fff; }
.sg-f-icp { display: flex; align-items: center; }
.sg-f-icp img { width: 18px; height: 18px; margin-right: 8px; }
.sg-f-icp a { font-size: 13px; color: #6D6D6D; }
.sg-f-icp a:hover { color: #fff; }
.sg-f-icp .sg-f-line { color: #4a5560; margin: 0 14px; font-size: 13px; user-select: none; }

/* ================= 右侧悬浮条 ================= */
.sg-fixedbar {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .14);
    padding: 14px 0;
    width: 64px;
}
.sg-fixedbar .it {
    position: relative;
    display: block;
    text-align: center;
    padding: 12px 0 10px;
    cursor: pointer;
}
.sg-fixedbar .it + .it { border-top: 1px solid #f0f0f0; }
.sg-fixedbar .it img { width: 26px; height: 26px; object-fit: contain; }
/* 灰/红双图标：悬浮切换为红色 */
.sg-fixedbar .it img.ic-r { display: none; }
.sg-fixedbar .it:hover img.ic-g { display: none; }
.sg-fixedbar .it:hover img.ic-r { display: inline-block; animation: sgIconPop .3s ease; }
@keyframes sgIconPop {
    0% { transform: scale(.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.sg-fixedbar .it span { font-family: 'AlibabaPuHuiTi';display: block; font-size: 12px; color: #555; margin-top: 5px; transition: color .25s; }
.sg-fixedbar .it:hover span { color: var(--sg-red); }
/* TOP：与其他项一致的双图标切换；文字悬浮变红 */
.sg-fixedbar #sgToTop:hover span { color: var(--sg-red); }
/* 左侧弹出面板 */
.sg-fixedbar .it .pop {
    display: block;
    position: absolute;
    right: 74px;
    top: 50%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    padding: 16px 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(14px, -50%);
    transition: opacity .28s ease, transform .28s cubic-bezier(.22, .61, .36, 1), visibility .28s;
}
.sg-fixedbar .it .pop::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}
.sg-fixedbar .it:hover .pop {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}
.sg-fixedbar .it .pop img { width: 130px; height: 130px; }
.sg-fixedbar .it .pop .qr { width: 140px; height: 140px; display: block; }
.sg-fixedbar .it .pop .pop-hd {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.sg-fixedbar .it .pop p { font-size: 15px; color: var(--sg-red); font-weight: bold; line-height: 1.9; }

/* ================= 移动端适配（简版） ================= */
.sg-wap-header, .sg-wap-nav { display: none; }

@media (max-width: 1500px) {
    .sg-nav li a { padding: 0 16px; }
    .sg-nav { padding-left: 46px; }
    .sg-logo { margin-left: 10px; }
    .sg-header .sg-header-in { padding: 0 28px; }
    .sg-social { margin-left: 20px; }
    .sg-social a { width: 32px; height: 32px; margin-left: 12px; }
    .sg-lang { margin-right: 20px; }
}

@media (max-width: 1200px) {
    .sg-wrap { padding: 0 16px; }
    .sg-header .sg-header-in { padding: 0 16px; }
    .sg-nav li a { padding: 0 11px; font-size: 14px; }
    .sg-about-r { flex-basis: 48%; }
    .sg-about-r img { width: 100%; height: auto; }
}

@media (max-width: 768px) {
    body { padding-top: 0; }
    .sg-header { display: none; }
    .sg-wap-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 56px;
        padding: 0 16px;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0,0,0,.06);
    }
    .sg-wap-header img { height: 36px; }
    .sg-wap-menu { width: 26px; }
    .sg-wap-menu span { display: block; height: 2px; background: #313133; margin: 5px 0; }
    .sg-hero-tel { display: none; }
    .sg-about { padding: 50px 0; }
    .sg-about-in { flex-direction: column; }
    .sg-about-l { padding-right: 0; }
    .sg-sec-title { font-size: 28px; }
    .sg-about-sub { font-size: 19px; margin: 20px 0; }
    .sg-stats { flex-wrap: wrap; margin: 30px 0; }
    .sg-stat { width: 40%; margin: 0 0 24px; }
    .sg-stat .n { font-size: 32px; }
    .sg-about-r { flex-basis: auto; margin-top: 30px; width: 100%; }
    .sg-product-band { border-radius: 26px 26px 0 0; padding: 50px 0 60px; }
    .sg-prod-list { flex-wrap: wrap; margin-top: 30px; }
    .sg-prod { flex: 0 0 48%; width: 48%; margin-bottom: 30px; }
    .sg-prod .imgbox, .sg-prod.hot .imgbox { height: 200px; }
    .sg-prod .seal { width: 240px; }
    .sg-news { padding: 50px 0; }
    .sg-news-list { flex-wrap: wrap; margin: 30px 0 0; }
    .sg-news-card { width: 100%; padding: 0 0 34px; }
    .sg-scene-band { height: 60vw; border-radius: 24px; }
    .sg-join-list { flex-direction: column; margin: 30px 0 0; }
    .sg-join-card { width: 100%; margin: 0 0 20px; padding: 34px 26px; }
    .sg-cta { border-radius: 24px 24px 0 0; padding: 60px 20px; }
    .sg-cta .tt { font-size: 26px; }
    .sg-cta .mascot { display: none; }
    .sg-footer { border-radius: 26px 26px 0 0; }
    .sg-footer-in { flex-direction: column; padding: 46px 0 30px; }
    .sg-f-cols { flex-wrap: wrap; padding-left: 0; margin-top: 34px; }
    .sg-f-col { width: 46%; margin-bottom: 26px; }
    .sg-f-tels { flex-direction: column; }
    .sg-f-tels > div + div { margin-left: 0; }
    .sg-f-bottom .sg-f-bottom-in { flex-direction: column; gap: 12px; }
    .sg-fixedbar { display: none; }
}

/* ============================================================
   集团站滚动动画系统（data-anim / in-view）
   ============================================================ */
[data-anim] {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity .85s cubic-bezier(.22, .61, .36, 1), transform .85s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
[data-anim="fade"] { transform: none; }
[data-anim="left"] { transform: translateX(-56px); }
[data-anim="right"] { transform: translateX(56px); }
[data-anim="zoom"] { transform: scale(.86); }
[data-anim].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    [data-anim] { opacity: 1; transform: none; transition: none; }
    .sg-hero .swiper-slide-active img { animation: none; }
}

/* 导航下划线动效 */
.sg-nav li a { position: relative; }
.sg-nav li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 22px;
    height: 3px;
    margin-left: -11px;
    border-radius: 2px;
    background: var(--sg-red);
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.sg-nav li a:hover::after,
.sg-nav li.active a::after { transform: scaleX(1); }

/* 招商卡片悬浮：上浮 + 阴影加深 + 背景图淡入 + 标题变红 */
.sg-join-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .12);
}
.sg-join-card:hover::before { opacity: 1; }
.sg-join-card:hover .tt { color: var(--sg-red); }
/* 卡片悬浮时按钮同步变红底白字 */
.sg-join-card:hover .sg-btn { background: var(--sg-red); color: #ffffff; }

/* 走进沙沟图片悬浮 */
.sg-about-r { overflow: hidden; border-radius: 22px; }
.sg-about-r img { transition: transform 1.2s cubic-bezier(.22, .61, .36, 1); }
.sg-about-r:hover img { transform: scale(1.06); }

/* 新闻卡片悬浮微抬 */
.sg-news-card { transition: transform .4s cubic-bezier(.22, .61, .36, 1); }
.sg-news-card:hover { transform: translateY(-8px); }

/* 移动端补充适配 */
@media (max-width: 768px) {
    .sg-scene-band { height: auto; min-height: 78vw; }
    .sg-scene-tabs { position: static; padding: 20px 20px 26px; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
    .sg-scene-tab .tt { font-size: 15px; padding-bottom: 6px; }
    .sg-scene-tab .ds { display: none; }
    .sg-scene-tab .logo { width: 52px; height: 48px; }
    .sg-xiang { width: 52vw; }
    .sg-hero .swiper-slide { height: auto; min-height: 62vw; }
    .sg-hero-page .pg { width: 28px; height: 28px; font-size: 14px; }
}
