.title2 {
    font-size: var(--ld-title2-font-size);
    font-weight: var(--ld-title2-font-weight);
    font-style: var(--ld-title2-font-style);
    font-family: var(--ld-title2-font-family);
    color: var(--ld-title2-color);
    line-height: var(--ld-title2-line-height);
    letter-spacing: var(--ld-title2-letter-spacing);
    text-transform: var(--ld-title2-text-transform);
}

.text2 {
    font-size: var(--ld-text2-font-size);
    font-weight: var(--ld-text2-font-weight);
    font-style: var(--ld-text2-font-style);
    font-family: var(--ld-text2-font-family);
    color: var(--ld-text2-color);
    line-height: var(--ld-text2-line-height);
    letter-spacing: var(--ld-text2-letter-spacing);
    text-transform: var(--ld-text2-text-transform);
}

body.frontend-body-canvas {
    background-color: #000;
}

.index-main {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #fff;
}

.index-main section {
    box-sizing: border-box;
}

.index-main .section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部大图轮播 */
.hero-swiper {
    position: relative;
}

.hero-swiper .image-swiper {
    min-height: 520px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 26px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.btn-primary {
    padding: 10px 100px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 1);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: rgba(61, 64, 68, 1);
    color: #fff !important;
}

.section-gradient {
    /* background: radial-gradient(circle at top, #242b38 0, #05060a 55%, #020308 100%); */
}

.section-spacing-top {
    padding: 0 !important;
}

.index-main .section-spacing {
    padding: 80px 0;
}

/* 双图功能区：Wooden Doors / Cat Houses */
.feature-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    min-height: 800px;
}

.feature-card img {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-card-content {
    position: absolute;
    inset: auto 0 80px;
    text-align: center;
    color: #fff;
    padding: 0 30px;
}

.feature-title {
    color: #fff;
}

.feature-desc {
    line-height: 1.7;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-outline {
    padding: 11px 38px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
    background-color: rgba(29, 33, 41, 1);
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline .icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

.btn-outline:hover {
    background-color: rgba(61, 64, 68, 1);
}

/* Hot Products */
.hot-section-header {
    text-align: center;
    margin: 80px 0 30px;
}

.hot-title {
    font-size: 36px;
    margin-bottom: 18px;
    color: #fff;
}

.hot-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.hot-tab {
    position: relative;
    padding: 10px 12px 18px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    opacity: .9;
    transition: color .2s ease, opacity .2s ease;
}

.hot-tab::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, .28);
    border-radius: 3px;
    transform: translateZ(0);
}

.hot-tab.is-active {
    opacity: 1;
    color: #fff;
}

.hot-tab.is-active::after {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 0 10px rgba(255, 255, 255, .15);
}

.hot-panels {
    margin: 0 auto;
    text-align: center;
    padding: 40px 0 60px;
}

.hot-panel {
    display: none;
}

.hot-panel.is-active {
    display: block;
}

.hot-panel img {
    width: 100%;
    margin-bottom: 28px;
}

.hot-panel-title {
    margin-top: 30px;
    font-size: 32px;
    margin-bottom: 8px;
    color: #fff;
}

.hot-panel-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 26px;
}

/* Whole-House Customization 横向大图 */
.customization-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 700px;
}

.customization-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
}

.customization-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 100px;
    text-align: center;
}

.customization-title {
    font-size: 42px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    margin-bottom: 14px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}

.customization-desc {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 22px;
}

.customization-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.customization-actions a {
    padding: 14px 80px;
    width: 180px;
    align-items: center;
    justify-content: center;
    font-size: 16px;

}

/* 双图内容块 */
.gallery-dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card {
    max-width: 100%;
    flex: 1 1 50%;
    min-height: auto;
    will-change: flex, max-width;
    flex-direction: column;
    display: flex;
    padding: 5px 15px 5px 15px;
}

.gallery-card img {
    width: 100%;
    display: block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.gallery-card-footer {
    margin-top: 22px;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-card-footer a {
    font-size: 13px;
    color: #fff;
    text-decoration: none;
}

.gallery-card .feature-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}

/* About us */
.about-section {
    background-color: #fff;
    color: #111827;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-intro {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-item {
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-item:last-child {
    border-bottom: none;
}

.about-item-title {
    font-size: 24px;
    font-weight: 700;

    margin-bottom: 10px;
}

.about-item-desc {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.about-video {
    overflow: hidden;
    position: relative;
    background: #000;
}

.about-video img {
    width: 100%;
    display: block;
    height: auto;
}

.about-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.about-video-play:hover {
    background: rgba(0, 0, 0, 0.3);
}

.about-video-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.about-video-play:hover .about-video-play-btn {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

/* 视频播放模态框 */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.is-active {
    display: flex;
}

.video-modal.is-visible {
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 1;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease, transform 0.2s ease;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.video-modal-player {
    width: 100%;
    height: auto;
    max-height: 90vh;
    display: block;
    outline: none;
}

/* Case Studies / News */
.case-section {
    position: relative;
    overflow: hidden;
}

.case-section .lead-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 0;
    box-sizing: border-box;
    position: absolute !important;
}

.case-section .lead-bg-img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 0;
    box-sizing: border-box;
    position: absolute !important;
    overflow: hidden;
}

.case-section .lead-bg img {
    width: 100%;
    top: 50%;
    position: absolute !important;
    transform: translate(-50%, -50%);
    left: 50%;
    object-fit: cover;
    height: auto;
    min-height: 100%;
}

.case-section .lead-bg-color {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 0;
    box-sizing: border-box;
    position: absolute !important;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position-x: center;
    background-position-y: center;
    z-index: auto;
}

.case-section .section-inner {
    position: relative;
    z-index: 1;
}

.news-title {
    font-size: 36px;
    font-weight: 700;
    color: #374151;
    text-align: center;
    margin-bottom: 40px;
}

.case-icons {
    display: grid;
    border-radius: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background-color: rgba(0, 0, 0, 0.08);
    gap: 1px;
    margin-bottom: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.case-icon {
    text-align: center;
    font-size: 14px;
    background-color: #f9fafb;
    padding: 30px 20px;

}

.case-icons:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.case-icon i {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #374151;
    margin-bottom: 12px;
}

.case-icon div {
    color: #374151;
    font-weight: 500;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.case-card {
    overflow: hidden;
}

.case-card img {
    width: 100%;
    max-height: 400px;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.case-card-body {
    padding: 20px;
}

.case-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

/* 响应式 */
@media (max-width: 1024px) {

    .feature-split,
    .gallery-dual,
    .about-layout,
    .case-list,
    .case-icons {
        grid-template-columns: 1fr;
    }

    .hot-tabs {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hot-tab {
        width: 40%;
        font-size: 16px;
    }

    .feature-card {
        min-height: 440px;
    }


    .customization-inner {
        max-width: 100%;
        min-height: 440px;
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .index-main .section-spacing {
        padding: 50px 0;
    }

    .hero-swiper .image-swiper {
        min-height: 380px;
    }

    .hero-title {
        font-size: 20px;
    }
}