@charset "utf-8";
/* ==========================================================================
   BeStone clone — 1:1 rebuild of https://themes.muffingroup.com/be/stone/
   Values are measured from the source page (getBoundingClientRect + computed).
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-var.woff2') format('woff2-variations'),
         url('../fonts/roboto-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- tokens ---------- */
:root {
    --accent: #a87c79;
    --accent-dark: #8c6363;
    --accent-hover: #9b6f6c;
    --dark: #27272f;
    --hero-base: #1a1009;
    --page-bg: #eeeeee;
    --footer-bg: #e3e3e3;
    --footer-text: #2a2a2a;
    --menu-idle: #d6cbc4;
    --container: 1045px;
    --font: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background-color: var(--page-bg);
    font-family: var(--font);
    font-size: 14px;
    line-height: 25px;
    color: #000;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
.image_wrapper { line-height: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 15px; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: 400; }

/* ---------- typography ---------- */
h1 { font-size: 60px; line-height: 70px; font-weight: 700; }
h2 { font-size: 34px; line-height: 38px; font-weight: 700; }
h3 { font-size: 20px; line-height: 30px; font-weight: 900; }
h4 { font-size: 18px; line-height: 28px; font-weight: 400; letter-spacing: 6px; }
h5 { font-size: 18px; line-height: 28px; font-weight: 400; }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin: 0 auto; }
.section { position: relative; }
.section_wrapper { max-width: var(--container); margin: 0 auto; position: relative; }
.section.full > .section_wrapper { max-width: none; }
.mcb-wrap { float: left; position: relative; }
.clearfix::after { content: ''; display: block; clear: both; }
.one-third { width: 33.3333%; }
.two-third { width: 66.6666%; }
.one-half { width: 50%; }
.three-fifth { width: 60%; }
.two-fifth { width: 40%; }
.one-fifth { width: 20%; }
.one { width: 100%; float: none; }
.mcb-wrap-inner { width: 100%; }

/* ---------- header ---------- */
#Top_bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 91px;
    z-index: 30;
    /* 未吸顶时给 30% 背景遮罩，兼顶图片较亮时菜单仍可读；吸顶后过渡为实色 */
    background-color: rgba(39, 39, 47, .3);
    transition: height .3s ease, background-color .3s ease, box-shadow .3s ease;
}
#Top_bar .container { max-width: 100%; margin: 0; }
.top_bar_left { position: relative; height: 90px; transition: height .3s ease; }
.logo { position: absolute; left: 20px; top: 0; height: 90px; display: flex; align-items: center; transition: height .3s ease; }
.logo a { display: block; line-height: 60px; }
.logo img { display: block; height: 23px; width: auto; max-width: 260px; }
#menu { position: absolute; right: 0; top: 0; height: 90px; transition: height .3s ease; }
#menu > ul { display: flex; height: 90px; transition: height .3s ease; }
#menu > ul > li { position: relative; height: 90px; transition: height .3s ease; }
#menu > ul > li > a {
    display: block;
    height: 90px;
    line-height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--menu-idle);
    white-space: nowrap;
    transition: height .3s ease, line-height .3s ease, padding .3s ease, color .25s ease;
}
#menu > ul > li > a:hover,
#menu > ul > li.current-menu-item > a { color: #fff; }

/* sticky */
body.sticky-header #Top_bar.is-sticky {
    position: fixed;
    height: 60px;
    background-color: var(--dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    z-index: 701;
}
#Top_bar.is-sticky .top_bar_left { height: 60px; }
#Top_bar.is-sticky .logo { height: 60px; }
#Top_bar.is-sticky #menu,
#Top_bar.is-sticky #menu > ul,
#Top_bar.is-sticky #menu > ul > li { height: 60px; }
#Top_bar.is-sticky #menu > ul > li > a { height: 60px; line-height: 60px; padding: 0 20px; color: #fff; }

/* responsive toggle */
.responsive-menu-toggle { display: none; }

/* side slide (mobile menu) */
#Side_slide {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #17171e;
    z-index: 9998;
    overflow-y: auto;
    transition: right .3s ease-in-out;
}
body.side-slide-is-open #Side_slide { right: 0; }
#Side_slide .close { display: block; padding: 15px 20px; text-align: right; color: #fff; font-size: 20px; }
#Side_slide ul li a { display: block; padding: 11px 5px 10px 20px; font-size: 13px; letter-spacing: 2px; line-height: 19px; color: #fff; }
#Side_slide ul li a:hover { color: var(--accent); }
#body_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
body.side-slide-is-open #body_overlay { opacity: 1; visibility: visible; }

/* ---------- hero: home video ---------- */
#Header_wrapper { position: relative; background-color: var(--hero-base); }
.hero-slide { position: relative; overflow: hidden; }
/* 整屏视频：静音自动循环，按 16:9 铺满宽度 */
.hero-video-slide { background-color: #0d0d0d; }
.hero-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: #0d0d0d;
}
.hero-grid {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1024px;
    max-width: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}
/* 后台轮播图片的标题 / 副标题留空时，前台不渲染对应元素 */
.hero-title:empty, .hero-btn:empty { display: none; }
.hero-title {
    position: absolute;
    left: 30px;
    top: 50%;
    margin-top: -120px;
    font-size: 60px;
    line-height: 70px;
    font-weight: 700;
    color: #fff;
}
.hero-btn {
    position: absolute;
    left: 30px;
    top: 50%;
    margin-top: 73px;
    display: inline-block;
    padding: 14px 50px;
    font-size: 14px;
    line-height: 23px;
    color: #fff;
    background-color: var(--accent);
    transition: background-color .2s;
    pointer-events: auto;
}
.hero-btn:hover { background-color: var(--accent-dark); color: #fff; }

/* ---------- 分组轮播背景（后台“轮播图片”驱动） ---------- */
.bg-set { position: absolute; inset: 0; }
/* 页面横幅：真图按宽度铺满、高度自适应（不裁切） */
.banner-item { position: absolute; inset: 0; }
.banner-item:first-child { position: relative; }
.banner-img { display: block; width: 100%; height: auto; }
.bg-slide { opacity: 0; transition: opacity 1.2s ease; }
.bg-set:not(.js) .bg-slide:first-child { opacity: 1; }
.bg-slide.is-active { opacity: 1; }
.bg-link { position: absolute; inset: 0; z-index: 1; }
.bg-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    text-align: center;
    font-size: 0;
    line-height: 20px;
    z-index: 4;
}
.bg-dots button {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 20px;
    margin: 0 2px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0;
    line-height: 0;
    color: transparent;
    cursor: pointer;
    vertical-align: middle;
}
.bg-dots button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 100%;
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    transition: width .3s ease, height .3s ease, margin .3s ease, border-radius .3s ease, background-color .3s ease;
}
.bg-dots button.is-active::before {
    width: 22px;
    height: 8px;
    margin: -4px 0 0 -11px;
    border-radius: 2px;
    background: var(--accent);
}

/* ---------- section title helper ---------- */
.section-title { text-align: center; }
.section-title h4 { text-align: center; }

/* ---------- home: 3 cards ---------- */
.section-cards {
    padding: 130px 0 90px;
    background-image: url('../images/home_stone_sectionbg1.jpg');
    background-repeat: no-repeat;
    background-position: 50% 0;
}
.section-cards h4 { margin: 0 12px; }
.section-cards .mcb-wrap.one .mcb-wrap-inner { padding-bottom: 55px; }
.cards-row { display: flex; flex-wrap: wrap; }
.cards-row .mcb-wrap { padding: 0 2%; }
.card-item { padding-bottom: 40px; }
.card-item .image_wrapper { width: 283px; margin: 0 auto 40px; }
/* 卡片图可点击放大（弹灯箱）+ 明显的悬停动效：放大 + 压暗 */
.card-item .image_wrapper { position: relative; overflow: hidden; cursor: pointer; }
.card-item .image_wrapper img { transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.card-item .image_wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.card-item .image_wrapper:hover img,
.card-item .image_wrapper:focus-visible img { transform: scale(1.12); }
.card-item .image_wrapper:hover::after,
.card-item .image_wrapper:focus-visible::after { opacity: 1; }
.card-item .image_wrapper:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* 产品图尺寸不限，统一裁成源站卡片的 780×500 比例，保证区块高度不漂移 */
.card-item .image_wrapper img { display: block; width: 283px; height: 181px; object-fit: cover; }
.card-item h3 { color: var(--accent); margin: 0 12px 0 42px; }
.card-item h3 a { color: var(--accent); }
.card-item p { margin: 15px 12px 0 42px; }
/* 卡片正文：富文本内容（后台内容-正文），段落间距与卡片文字对齐 */
.card-item .card-content { margin: 15px 12px 0 42px; }
.card-item .card-content > :first-child { margin-top: 0; }
.card-item .card-content p { margin: 0 0 10px; }
.card-item .card-content p:last-child { margin-bottom: 0; }
.card-item .card-content ul,
.card-item .card-content ol { margin: 0 0 10px; padding-left: 20px; }
.card-item .card-content img { max-width: 100%; height: auto; }

/* ---------- home: text + image ---------- */
.section-products { padding: 0 0 70px; }
.section-products .mcb-wrap.text { padding: 0; }
.section-products .mcb-wrap.text .mcb-wrap-inner { padding-bottom: 55px; }
.section-products .mcb-wrap.image { padding: 0; }
.section-products .mcb-wrap.image .mcb-wrap-inner { padding-bottom: 40px; }
.section-products h2 { margin: 0 12px 46px; }
.section-products h5 { margin: 0 12px 31px; }
.section-products .link-more { margin-left: 12px; }
.section-products .image_wrapper img { display: block; width: 638px; max-width: 100%; height: auto; }
.section-products .image_wrapper { margin: 0 12px; }

/* "See more" link */
p.more { margin: 0; }
.section-products p.more { margin: 0 12px; }
.link-more {
    display: inline-block;
    padding-right: 24px;
    font-size: 14px;
    line-height: 25px;
    color: #000;
    background-image: url('../images/home_stone_link.png');
    background-repeat: no-repeat;
    background-position: right center;
}
.link-more:hover { color: var(--accent); }
.dark-section .link-more { color: #fff; }
.dark-section .link-more:hover { color: var(--accent); }

/* 目录下载列表：VIEW 靠左下、DOWNLOAD 靠右下，两者分列两端 */
p.dl-actions { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
button.link-more {
    background-color: transparent;
    border: 0;
    font-family: inherit;
    font-weight: inherit;
    cursor: pointer;
}

/* PDF 预览弹窗 */
.pdf-viewer { position: fixed; inset: 0; z-index: 9998; display: none; }
.pdf-viewer.is-open { display: block; }
.pdf-viewer-mask { position: absolute; inset: 0; background: rgba(8, 8, 10, .86); }
.pdf-viewer-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1100px, 92vw);
    height: 88vh;
    background: #fff;
    overflow: hidden;
}
.pdf-viewer-frame { display: block; width: 100%; height: 100%; border: 0; }
.pdf-viewer-close {
    position: absolute;
    right: 10px;
    top: 8px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(12, 12, 14, .08);
    color: #222;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.pdf-viewer-close:hover { background: rgba(12, 12, 14, .18); }
body.pdf-open { overflow: hidden; }
/* CTA 区（深底）：源站为强调色 + 700 字重 + 35px 箭头内距，且为行内元素（行盒 17px） */
.section-cta .link-more {
    display: inline;
    padding-right: 35px;
    font-weight: 700;
    color: var(--accent);
}
.section-cta .link-more:hover { color: #fff; }

/* ---------- home: gallery slider ---------- */
.section-gallery {
    padding: 100px 0;
    background-color: #000;
    overflow: hidden;
}
.section-gallery h4 { color: #fff; text-align: center; margin-bottom: 46px; letter-spacing: 6px; }
.gallery-slider { position: relative; height: calc(min(60vw, 1004px) * 0.5625 + 40px); }
.gallery-viewport { position: relative; height: calc(min(60vw, 1004px) * 0.5625); overflow: hidden; }
.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .3s ease;
    will-change: transform;
}
.gallery-slide {
    flex: 0 0 60%;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 每侧至少 5px 间隙：相邻两张图永不贴合 */
    padding: 0 5px;
}
.gallery-slide img { display: block; width: 100%; max-width: 1004px; height: 100%; object-fit: cover; }
.gallery-slide.is-clickable { cursor: pointer; }
.gallery-slide.is-clickable:focus { outline: none; }
.gallery-slide.is-clickable:focus img { outline: 2px solid var(--accent); outline-offset: -2px; }
.gallery-arrow {
    position: absolute;
    top: 50%;
    margin-top: -105px;
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 22px;
    line-height: 54px;
    text-align: center;
    color: #fff;
    background: rgba(12, 12, 14, .45);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
    cursor: pointer;
    z-index: 6;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.gallery-arrow:focus { outline: none; }
.gallery-arrow:active { transform: scale(.94); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-dots {
    position: relative;
    height: 20px;
    margin-top: 20px;
    text-align: center;
    font-size: 0;
    line-height: 20px;
    z-index: 6;
}
.gallery-dots button {
    display: inline-block;
    width: 30px;
    height: 20px;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}
.gallery-dots button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 100%;
    background: rgba(255, 255, 255, .3);
    transition: width .3s ease, height .3s ease, margin .3s ease, border-radius .3s ease, background-color .3s ease;
}
.gallery-dots button.active::before {
    width: 10px;
    height: 8px;
    margin: -4px 0 0 -5px;
    border-radius: 2px;
    background: var(--accent);
}

/* ---------- home: cta ---------- */
.section-cta { padding: 130px 0 80px; background-color: var(--dark); overflow: hidden; }
.section-cta h2 { color: #fff; }
.section-cta h5 { color: #bfbfc1; margin-bottom: 31px; }
.section-cta .mcb-wrap.left { padding: 0 12px; }
.section-cta .mcb-wrap.right { padding: 0 12px; }

/* parallax layer */
.parallax-layer { position: absolute; left: 50%; top: 0; width: 1920px; margin-left: -960px; height: 1200px; object-fit: cover; will-change: transform; z-index: 0; opacity: 1; }
.parallax-layer.mfn-parallax { width: 100%; left: 0; margin-left: 0; height: auto; }
.section-gallery .parallax-layer { height: 1200px; }
.section-cta .parallax-layer { height: 970px; }
.section-gallery .parallax-layer.mfn-parallax,
.section-cta .parallax-layer.mfn-parallax {
    top: -260px;
    height: calc(100% + 520px);
    width: 100%;
    object-fit: cover;
}
.section-gallery .section_wrapper,
.section-cta .section_wrapper { position: relative; z-index: 2; }
.section-cta .mcb-wrap.right { padding-bottom: 55px; }

/* ==========================================================================
   TECHNOLOGY
   ========================================================================== */
.section-tech-hero {
    padding: 220px 0 170px;
    background-color: var(--dark);
    background-image: url('../images/home_stone_sectionbg4.jpg');
    background-repeat: no-repeat;
    background-position: center top;
}
.section-tech-hero h1 { color: #fff; margin: 0 12px; }
.section-tech-hero .mcb-wrap.one .mcb-wrap-inner { padding-bottom: 55px; }
.tech-features { display: flex; margin-top: 0; }
.tech-features .mcb-wrap { padding: 0 1%; }
.tech-feature { padding: 0 0 55px; }
.tech-feature .image_wrapper { width: 39px; margin: 0 0 40px 12px; }
.tech-feature .image_wrapper img { width: 39px; height: 39px; }
.tech-feature h3 { color: #fff; margin: 0 57px 0 12px; }
.tech-feature p { margin: 15px 57px 0 12px; color: #cccacb; }

.section-tech-text { padding: 130px 0 80px; }
.section-tech-text .col-title { padding: 0; }
.section-tech-text .col-title .mcb-wrap-inner { padding-bottom: 55px; }
.section-tech-text .col-title h2 { margin: 0 44px 0 12px; }
.section-tech-text .col-body { padding: 0; }
.section-tech-text .col-body .mcb-wrap-inner { padding-bottom: 55px; }
.section-tech-text .col-body h5 { margin: 0 12px 35px; }
.section-tech-text .col-body .text-cols { margin: 0 12px; }
.section-tech-text h2 { margin-bottom: 0; }
.section-tech-text h5 { margin-bottom: 35px; }
.section-tech-text .text-cols { display: flex; }
.section-tech-text .text-cols > div { width: 50%; }
.section-tech-text .text-cols > div:first-child { width: 308px; padding-right: 0; margin-right: 41px; }
.section-tech-text .text-cols > div:last-child { width: 324px; padding-right: 0; }
.section-tech-text .text-cols p:last-child { margin-bottom: 0; }

.section-full-image { padding: 0; }
.section-full-image .section_wrapper { max-width: none; }
.section-full-image img { display: block; width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }

/* ==========================================================================
   SUBHEADER (products)
   ========================================================================== */
#Subheader {
    position: relative;
    padding: 0;
    background-color: rgba(247, 247, 247, 0);
    overflow: hidden;
}
/* 横幅图在流内，用它自身比例撑开高度 */
#Subheader .bg-set { position: relative; inset: auto; }
#Subheader .container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 2;
    pointer-events: none;
}
#Subheader h1 { color: #fff; text-align: center; line-height: 60px; }

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */
.section-products-grid { padding: 80px 0 40px; }
.products-row { display: flex; flex-wrap: wrap; }
.products-row .mcb-wrap { padding: 0 1%; }
.product-card {
    padding: 20px 20px 16px;
    margin: 0 12px 40px;
    background-color: #fafafa;
}
.products-row .mcb-wrap-inner { padding-bottom: 0; }
.product-card .image_wrapper { margin-bottom: 21px; position: relative; overflow: hidden; cursor: pointer; }
.product-card .image_wrapper img { display: block; width: 100%; height: auto; transition: transform .3s; }
/* 鼠标划过：轻微压暗 + 图片放大；点击弹出灯箱 */
.product-card .image_wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .15);
    opacity: 0;
    transition: opacity .3s;
}
.product-card .image_wrapper:hover::after { opacity: 1; }
.product-card .image_wrapper:hover img { transform: scale(1.1); }
.product-card .image_wrapper:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.product-card h3 { color: var(--accent); margin: 0 0 15px; }
.product-card h3 a { color: var(--accent); }
.product-card p { margin: 15px 0 0; }
.product-card p.sizes { font-weight: 400; margin-bottom: 15px; }
.product-card p.sizes strong { font-weight: 700; }
.product-card p.more { margin: 15px 0 0; text-align: right; }
.product-card .link-more {
    margin-top: 0;
    padding-right: 35px;
    font-weight: 700;
    color: var(--accent);
}
/* 目录下载按钮：不带箭头图标，纯文字 */
.product-card p.dl-actions .link-more {
    padding-right: 0;
    background-image: none;
}

/* ==========================================================================
   PRODUCT DETAILS
   ========================================================================== */
.section-detail-hero { padding: 0; }
.section-detail-hero .section_wrapper { max-width: none; }
.section-detail-hero img { display: block; width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }

.section-detail-body { padding: 0 0 80px; }
.section-detail-body .detail-main { margin-top: -30px; padding: 0; }
.section-detail-body .detail-main .mcb-wrap-inner { padding-bottom: 40px; }
.section-detail-body .detail-main .image_wrapper { margin: 0 12px; }
.section-detail-body .detail-main img { display: block; width: 100%; height: auto; }
.section-detail-body .detail-side { padding: 80px 0 0 104.5px; }
.section-detail-body .detail-side .mcb-wrap-inner { padding-bottom: 40px; }
.section-detail-body .detail-side h2 { margin: 0 12px 31px; }
.section-detail-body .detail-side p { margin: 0 12px 15px; }
.section-detail-body .detail-side p:first-of-type { margin-bottom: 31px; }

.section-sizes { padding: 0 0 80px; }
.section-sizes h4 { margin: 0 12px; }
.section-sizes .mcb-wrap-inner { padding-bottom: 55px; }
.sizes-row { display: flex; }
.sizes-row .mcb-wrap { padding: 0 1%; }
.size-item { padding: 0 12px 55px; text-align: left; }
.size-item img { display: block; width: 164px; height: 140px; }
.size-item p { margin: 40px 0 0; font-size: 14px; line-height: 25px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.section-contact-hero {
    position: relative;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
}
.section-contact-hero .bg-set { position: relative; inset: auto; }
.section-contact-hero .section_wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}
.section-contact-hero .mcb-wrap { padding: 0; }
.section-contact-hero .mcb-wrap-inner { padding-bottom: 0; }
.section-contact-hero h1 { color: #fff; width: 760px; max-width: 100%; margin-left: 12px; }

.section-contact-body { padding: 100px 0 50px; }
.contact-cols { display: flex; }
.contact-info { width: 50%; padding: 0 112px 55px 12px; }
.contact-form-col { width: 50%; padding: 0 12px 40px; }
.contact-info h4, .contact-form-col h4 { margin-bottom: 15px; }
.contact-info p.big { font-size: 16px; line-height: 28px; margin-bottom: 15px; }

/* form */
.contact-form { padding: 0 10px; }
.contact-form p { margin: 0 0 25px; min-height: 43px; }
.contact-form p.msg-row { min-height: 130px; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-family: var(--font);
    font-size: 15px;
    line-height: 20px;
    color: #626262;
    background-color: #e7e7e7;
    border: 1px solid #e7e7e7;
    border-radius: 0;
    outline: none;
}
.contact-form input[type=text],
.contact-form input[type=email] { height: 40px; }
.contact-form textarea { height: 122px; resize: vertical; }
.contact-form input[type=submit] {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font);
    font-size: 14px;
    line-height: 16.8px;
    color: #fff;
    background-color: var(--accent);
    border: 0;
    cursor: pointer;
    transition: background-color .2s;
}
.contact-form input[type=submit]:hover { background-color: var(--accent-dark); }
.form-row { display: flex; gap: 20px; }
.form-row p { flex: 1; }
.form-msg { margin-top: 15px; font-size: 14px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
#Footer {
    position: relative;
    padding-top: 80px;
    background-color: var(--footer-bg);
    color: var(--footer-text);
}
#Footer .widgets { display: flex; max-width: var(--container); margin: 0 auto; padding-bottom: 15px; }
#Footer .widget { width: 33.3333%; padding: 30px 12px 0; }
#Footer h4 { color: #000; }
#Footer a { color: var(--footer-text); }
#Footer a:hover { color: var(--accent); }
#Footer .social-icons { margin-top: 15px; font-size: 44px; line-height: 44px; letter-spacing: 10px; }
#Footer .social-icons a { display: inline-block; vertical-align: top; }
/* 社媒图标：优先用后台上传的图片（高度 44px），未上传/加载失败时退回图标字体 */
#Footer .social-icons .social-icon { display: block; height: 44px; width: auto; }
#Footer .social-icons a:hover .social-icon { opacity: .72; }
#Footer .social-icons i { color: var(--accent); }
#Footer .social-icons a:hover i { color: var(--footer-text); }
#Footer .widget p:not(.social-icons) { margin: 15px 20% 0 0; }
/* 源站第三栏地址段占满整列（324），只有前两栏收窄 20% */
#Footer .widget:last-child p:not(.social-icons) { margin-right: 0; }
#Footer .widget p.social-icons { margin: 15px 0 0; }
#Footer .copyright {
    position: relative;
    max-width: var(--container);
    margin: 81px auto 0;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#Footer .copyright span { display: inline-block; }
#back_to_top {
    position: absolute;
    right: 12px;
    top: 21px;
    width: 42px;
    height: 42px;
    line-height: 24px;
    padding: 9px 0;
    text-align: center;
    font-size: 20px;
    color: #747474;
    background-color: #f7f7f7;
}
#Footer #back_to_top { color: #747474; }
#back_to_top:hover { color: var(--accent); }

/* ==========================================================================
   SHOWCASE（案例相册集 + 灯箱）
   ========================================================================== */
.section-albums { padding: 80px 0 40px; }
.album-grid { display: flex; flex-wrap: wrap; }
.album-card { width: 33.3333%; padding: 0 12px; margin: 0 0 40px; }
.album-cover {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--hero-base);
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
}
.album-cover img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .6s ease;
}
.album-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18);
    opacity: 0;
    transition: opacity .3s ease;
}
.album-card:hover .album-cover img { transform: scale(1.06); }
.album-card:hover .album-cover::after { opacity: 1; }
.album-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 18px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
    text-align: left;
    line-height: 1.4;
    z-index: 2;
}
.album-title { display: block; color: #fff; font-size: 18px; letter-spacing: 2px; }
.album-count { display: block; margin-top: 2px; color: rgba(255, 255, 255, .65); font-size: 12px; letter-spacing: 1px; }
.album-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .3s ease, transform .3s ease;
    z-index: 2;
}
.album-zoom::before,
.album-zoom::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; }
.album-zoom::before { width: 12px; height: 1px; margin: -.5px 0 0 -6px; }
.album-zoom::after { width: 1px; height: 12px; margin: -6px 0 0 -.5px; }
.album-card:hover .album-zoom { opacity: 1; transform: scale(1); }

/* lightbox */
body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 10000; display: none; }
.lightbox.is-open { display: block; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(12, 12, 14, .95); opacity: 0; transition: opacity .3s ease; }
.lightbox.is-open .lightbox-backdrop { opacity: 1; }
.lightbox-head { position: absolute; top: 22px; left: 32px; right: 90px; z-index: 3; color: #fff; }
.lightbox-title { display: block; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; }
.lightbox-index { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: 1px; }
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 4;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 30px;
    line-height: 40px;
    color: #fff;
    background: none;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}
.lightbox-close:hover { color: var(--accent); border-color: var(--accent); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    margin-top: -28px;
    z-index: 4;
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 34px;
    line-height: 50px;
    color: #fff;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.lightbox-nav:hover { background: rgba(0, 0, 0, .5); color: var(--accent); border-color: var(--accent); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-stage {
    position: absolute;
    left: 96px;
    right: 96px;
    top: 84px;
    bottom: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    transform: scale(.9);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .25, 1);
}
.lightbox.is-open .lightbox-img { opacity: 1; transform: scale(1); }
.lightbox-thumbs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    background: rgba(0, 0, 0, .35);
    z-index: 3;
}
.lightbox-thumbs button {
    width: 92px;
    height: 66px;
    padding: 0;
    border: 0;
    background: #000;
    opacity: .5;
    cursor: pointer;
    overflow: hidden;
    outline: 2px solid transparent;
    transition: opacity .25s ease, outline-color .25s;
}
.lightbox-thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumbs button:hover { opacity: .85; }
.lightbox-thumbs button.is-active { opacity: 1; outline-color: var(--accent); }

/* case 详情（直接访问某案例时的降级页） */
.section-case-head { padding: 60px 0 20px; }
.case-back { margin: 0 0 12px; font-size: 12px; letter-spacing: 2px; }
.case-back a { color: var(--accent); }
.section-case-head h1 { font-size: 34px; line-height: 44px; font-weight: 700; }
.case-sub { margin: 8px 0 0; color: #666; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.section-case-gallery { padding: 30px 0 80px; }
.case-thumbs { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.case-thumb { width: 33.3333%; margin: 0 0 16px; padding: 0 8px; }
.case-thumb img { display: block; width: 100%; height: 240px; object-fit: cover; }

/* ==========================================================================
   ICON FONT
   ========================================================================== */
@font-face {
    font-family: 'mfn-icons';
    src: url('../fonts/icons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
[class^="icon-"], [class*=" icon-"] {
    font-family: 'mfn-icons';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    -webkit-font-smoothing: antialiased;
}
.icon-menu-fine:before { content: "\e960"; }
.icon-cancel-fine:before { content: "\e963"; }
.icon-up-open-big:before { content: "\e946"; }
.icon-left-open-big:before { content: "\e8b8"; }
.icon-right-open-big:before { content: "\e916"; }
.icon-facebook:before { content: "\f30c"; }
.icon-gplus:before { content: "\f0d5"; }
.icon-twitter:before { content: "\f309"; }
.icon-vimeo:before { content: "\f306"; }
.icon-mail-line:before { content: "\e8d1"; }
.icon-phone:before { content: "\e8f4"; }

/* ==========================================================================
   ENTRANCE ANIMATIONS (source: fadeIn / zoomIn / fadeInRight, 1s)
   ========================================================================== */
.anim { opacity: 0; }
.anim.anim-run { opacity: 1; }
.anim.anim-run { animation-duration: 1s; animation-fill-mode: both; }
.anim-run.fadeIn { animation-name: stoneFadeIn; }
.anim-run.zoomIn { animation-name: stoneZoomIn; }
.anim-run.fadeInRight { animation-name: stoneFadeInRight; }
@keyframes stoneFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes stoneZoomIn {
    from { opacity: 0; transform: scale(.6); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes stoneFadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1239px) {
    .container, .section_wrapper { max-width: 100%; padding-left: 20px; padding-right: 20px; }
    .hero-grid { width: 100%; }
    .hero-title { font-size: 50px; line-height: 60px; }
    #Footer .widgets, #Footer .copyright { padding-left: 20px; padding-right: 20px; }
    .card-item .image_wrapper { max-width: 100%; }
    .card-item .image_wrapper img { width: 100%; height: auto; aspect-ratio: 78 / 50; }
    .section-products .image_wrapper img { max-width: 100%; }
    .tech-feature .image_wrapper { width: 39px; }
}

/* 源站 768/390 实测：标题字阶在这两个宽度一致（h2=18/23、h5=16/25、标题下间距 15px） */
@media (max-width: 959px) {
    h2 { font-size: 18px; line-height: 23px; }
    h5 { font-size: 16px; line-height: 25px; }
    .section-products h2, .section-products h5, .section-cta h5 { margin-bottom: 15px; }
    .album-card { width: 50%; }
    .case-thumb { width: 50%; }
}

/* 源站：≤767 才切移动端；768 仍为桌面/平板布局，且分节 padding 不随宽度变化 */
@media (max-width: 767px) {
    #Top_bar { position: relative; height: 61px; background-color: var(--dark); }
    .top_bar_left { height: 61px; }
    .logo { left: 50%; transform: translateX(-50%); height: 61px; }
    #menu { display: none; }
    .responsive-menu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 50%;
        margin-top: -17px;
        width: 34px;
        height: 34px;
        line-height: 34px;
        text-align: center;
        font-size: 20px;
        color: #fff;
    }
    .cards-row, .tech-features, .products-row, .sizes-row, .contact-cols { display: block; }
    .mcb-wrap.one-third, .mcb-wrap.two-third, .mcb-wrap.one-half,
    .mcb-wrap.one-fifth, .mcb-wrap.three-fifth, .mcb-wrap.two-fifth { width: 100%; }
    .card-item { padding-bottom: 0; }
    .card-item .image_wrapper { margin-bottom: 20px; }
    .section-products .mcb-wrap.text .mcb-wrap-inner,
    .section-products .mcb-wrap.image .mcb-wrap-inner { padding-bottom: 0; }
    .section-products .image_wrapper { margin: 0 0 20px; }
    .section-products .image_wrapper img { width: 100%; }
    .tech-feature { padding: 0 0 30px; }
    .tech-feature .image_wrapper { margin-bottom: 20px; }
    .tech-feature h3, .tech-feature p { margin-right: 12px; }
    .section-tech-text .col-title .mcb-wrap-inner,
    .section-tech-text .col-body .mcb-wrap-inner { padding-bottom: 0; }
    .section-tech-text .col-title { padding-bottom: 20px; }
    .section-tech-text .col-body h5, .section-tech-text .col-body .text-cols { margin-left: 0; margin-right: 0; }
    .section-tech-text .text-cols { display: block; }
    .section-tech-text .text-cols > div:first-child { width: auto; margin-right: 0; }
    .section-tech-text .text-cols > div:last-child { width: auto; }
    .gallery-arrow { display: none; }
    .gallery-slide { flex: 0 0 80%; width: 80%; }
    .gallery-track { padding-left: 10%; }
    .section-cta .mcb-wrap.right { padding-bottom: 0; }
    .section-cta .mcb-wrap.left { padding-bottom: 20px; }
    .section-detail-body .detail-main { margin-top: 0; }
    .section-detail-body .detail-main .mcb-wrap-inner { padding-bottom: 0; }
    .section-detail-body .detail-side { padding: 30px 0; }
    .size-item { padding: 0 0 20px; text-align: center; }
    .size-item img { margin: 0 auto; }
    .contact-info, .contact-form-col { width: 100%; padding: 0 0 30px; }
    /* 源站 390 实测：h2 = 18/23（ctaH2 2 行 46）、h5 = 16/25（ctaH5 3 行 76） */
    h2 { font-size: 18px; line-height: 23px; }
    h5 { font-size: 16px; line-height: 25px; }
    /* 源站实测：≤767 标题下间距统一为 15px */
    .section-products h2, .section-products h5, .section-cta h5,
    .section-detail-body .detail-side h2, .section-detail-body .detail-side p { margin-bottom: 15px; }
    .section-detail-body .detail-side p:first-of-type { margin-bottom: 15px; }
    .section-products .mcb-wrap.text .mcb-wrap-inner, .section-products .mcb-wrap.image .mcb-wrap-inner { padding-bottom: 0; }
    .section-cta .mcb-wrap.right { padding-bottom: 0; }
    /* 源站 390 实测：footer = widgets_wrapper(pad 80/80) + footer_copy 171 */
    #Footer { padding-top: 0; }
    #Footer .widgets { display: block; padding: 80px 0; }
    #Footer .widget { width: 100%; padding: 0 12px; margin: 0; }
    #Footer .copyright { margin: 0; height: 170px; padding: 30px 20px 0; align-items: flex-start; }
    #back_to_top { top: 30px; margin-top: 0; right: 10px; }
    .album-card { width: 100%; padding: 0; }
    .album-cover img { height: 240px; }
    .case-thumb { width: 100%; }
    .lightbox-head { left: 18px; right: 76px; top: 16px; }
    .lightbox-stage { left: 12px; right: 12px; top: 76px; bottom: 116px; }
    .lightbox-nav { display: none; }
    .lightbox-thumbs { height: 100px; gap: 6px; }
    .lightbox-thumbs button { width: 64px; height: 48px; }
}

@media (max-width: 479px) {
    .hero-title { font-size: 28px; line-height: 36px; margin-top: -60px; left: 20px; }
    .hero-btn { left: 20px; margin-top: 40px; padding: 10px 24px; font-size: 12px; }
    h1 { font-size: 34px; line-height: 42px; }
    .section-title h4 { letter-spacing: 3px; font-size: 15px; }
    #Footer h4 { letter-spacing: 3px; font-size: 15px; }
}
