/* Sections - 各區塊樣式 */

/* ===== Hero Section ===== */
.hero {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: calc(-1 * var(--header-height));
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Mark Wrapper */
.hero-mark-wrapper {
    position: absolute;
    right: 8rem;
    bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    z-index: 3;
}

.hero-mark {
    max-width: 200px;
    height: auto;
}

/* Read More Button */
.btn-read-more {
    display: inline-block;
    padding: var(--space-1);
    background-color: #DC3545;
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    transition: all var(--transition-normal);
    width: 100%;
    text-align: center;
}

.btn-read-more:hover {
    background-color: #c82333;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Hero Carousel Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background-color: var(--color-white);
    transform: scale(1.2);
}

/* ===== About Section ===== */
.about {
    padding: 0;
    position: relative;
    margin-bottom: var(--space-24);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: url('../../images/frontend/底紋.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}

.about-header {
    padding: var(--space-16) var(--container-padding);
    text-align: left;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    position: relative;
    z-index: 1;
}

.about-title-en {
    font-family: 'jf Jinxuan';
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: var(--space-6);
}

.about-title-zh {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.about-subtitle {
    font-size: var(--text-sm);
    color: var(--color-black);
}

.about-image {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--shadow-xl);
}

/* About Container - 對齊圖片的容器 */
.about-container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* About Content Section - 01 About Us */
.about-content-section {
    padding: var(--space-4) 0 var(--space-16) 0;
    position: relative;
    z-index: 1;
}

.section-number {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
}

.section-number .number {
    font-family: 'Acumin Variable Concept';
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.section-number .label {
    font-family: var(--font-english);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-550);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-10);
    align-items: start;
}

.about-content-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1.4;
}

.about-content-right p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
}

/* About Features Row - 02 Features 並排區塊 */
.about-features-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.about-elevator-image {
    width: 100%;
}

.about-elevator-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.about-features-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-12);
}

.about-features-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: var(--space-6);
}

.about-features-subtitle {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.about-features-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

.hero-desc {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    opacity: 0.9;
}

/* ===== About Section ===== */
.about {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-text p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    margin-bottom: var(--space-4);
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
}

/* ===== Features Section ===== */
.features {
    position: relative;
    min-height: 1000px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.features-background {
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.features-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.features-arrow {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--color-white);
    clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 50% 100%, 0% 40%);
}

/* 金色垂直線 */
.features-arrow::after {
    content: '';
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 180px;
    background: var(--color-primary);
    z-index: 10;
}

.features-content {
    position: relative;
    z-index: 2;
    padding: var(--space-16) var(--container-padding);
    margin-top: auto;
    padding-bottom: var(--space-12);
}

/* 新版輪播樣式 - Coverflow 3D 效果 */
.features-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    perspective: 1200px;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: var(--space-8);
    position: relative;
    transform-style: preserve-3d;
    min-height: 550px;
}

.carousel-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 420px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                z-index 0s 0.3s;
    transform-origin: center bottom;
    cursor: pointer;
}

/* 左側項目 */
.carousel-item.prev {
    transform: translateX(-380px) scale(1);
    width: 300px;
    opacity: 1;
    z-index: 1;
}

/* 中間活動項目 */
.carousel-item.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}

/* 右側項目 */
.carousel-item.next {
    transform: translateX(380px) scale(1);
    width: 300px;
    opacity: 1;
    z-index: 1;
}

/* 隱藏的項目 */
.carousel-item.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.carousel-item.hidden.far-left {
    transform: translateX(-600px) scale(0.7);
}

.carousel-item.hidden.far-right {
    transform: translateX(600px) scale(0.7);
}

.carousel-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background-color: var(--color-white);
    height: 300px;
    transition: height 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-item.active .carousel-image {
    height: 420px;
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text {
    padding: var(--space-4) var(--space-3);
    text-align: left;
    margin-top: -1px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.carousel-item.active .carousel-text {
    padding: var(--space-4) var(--space-6);
    opacity: 1;
    min-height: 100px;
}

/* 左右兩側項目的文字區塊固定高度，確保圖片底部對齊 */
.carousel-item.prev .carousel-text,
.carousel-item.next .carousel-text {
    height: 100px;
    min-height: 100px;
    overflow: hidden;
}

.carousel-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.carousel-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-white);
}

/* Carousel Dots */
.features-carousel .carousel-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    padding-bottom: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--color-white);
    transform: scale(1.3);
}

/* ===== Installation Section ===== */
.installation {
    background-color: var(--color-white);
    padding: var(--space-16) 0 var(--space-1) 0;
    position: relative;
    overflow: visible;
}

/* 底紋背景 - 跨越 product-banner 底部到 equipment 區塊 */
.installation::after {
    content: '';
    position: absolute;
    top: -100px; /* 向上覆蓋 product-banner 底部 */
    left: 0;
    width: 100%;
    height: calc(100% + 500px); /* 向下延伸覆蓋 equipment 區塊 */
    background-image: url('../../images/frontend/底紋.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
    mask-image: linear-gradient(to right, transparent 0%, black 80%);

}

.installation .container {
    position: relative;
    z-index: 1;
}

.installation-header {
    margin-bottom: var(--space-12);
}

.installation-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.installation-title .highlight {
    font-size: var(--text-5xl);
    color: var(--color-primary);
}

.installation-desc {
    font-size: var(--text-base);
    color: var(--color-gray-800);
}

.installation-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
}

/* Dimensions Header */
.dimensions-header {
    margin-top: var(--space-16);
    margin-bottom: var(--space-10);
}

.dimensions-tag {
    display: inline-block;
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    letter-spacing: 0.1em;
}

.dimensions-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.dimensions-desc {
    font-size: var(--text-2xl);
    color: var(--color-gray-800);
}

.installation-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.installation-image-item {
    overflow: hidden;
}

.installation-image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: var(--space-4);
}

/* ===== Sizes Section ===== */
.sizes {
    background-color: var(--bg-light);
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.size-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.size-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.size-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.size-label {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.size-name {
    display: block;
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.size-image {
    margin-bottom: var(--space-4);
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-100);
    border-radius: var(--border-radius);
}

.size-image img {
    max-height: 150px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.size-specs {
    margin-bottom: var(--space-4);
}

.size-specs li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: var(--text-sm);
}

.size-specs li:last-child {
    border-bottom: none;
}

.size-specs li span {
    color: var(--color-gray-600);
}

.size-specs li strong {
    color: var(--color-gray-900);
}

.size-colors {
    text-align: center;
}

.size-colors p {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    margin-bottom: var(--space-2);
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.swatch {
    width: 24px;
    height: 24px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--color-gray-300);
}

.swatch-white {
    background-color: var(--color-white);
}

.swatch-black {
    background-color: var(--color-black);
}

/* ===== Tech Specs Section ===== */
.tech-specs {
    background-color: var(--color-white);
    padding: var(--space-16) 0;
}

.tech-specs-header {
    margin-bottom: var(--space-10);
}

.tech-specs-tag {
    display: inline-block;
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-dark, var(--color-black));
    letter-spacing: 0.1em;
}

.tech-specs-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.tech-specs-body {
    display: flex;
    gap: var(--space-8);
    align-items: stretch;
}

.tech-specs-grid {
    flex: 7;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: var(--space-6);
}

.tech-specs-card {
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
}

.tech-specs-card-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    padding-bottom: var(--space-2);
}

.tech-specs-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.tech-specs-card-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}

.tech-specs-label {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    flex-shrink: 0;
}

.tech-specs-value {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-black);
    text-align: right;
}

.tech-specs-image {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.tech-specs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* ===== Equipment Section ===== */
.equipment {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    padding-top:0px;
    background-color:var(--color-primary);
}

.equipment-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}

.equipment-background img {
    width: 100%;
    height: 60%;
}

.equipment-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--color-white);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.equipment-content {
    position: relative;
    z-index: 2;
    padding: var(--space-20) var(--container-padding);
}

.equipment-header {
    text-align: right;
    margin-bottom: var(--space-12);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.equipment-tag {
    display: block;
    font-family: var(--font-english);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    letter-spacing: 0.15em;
}

.equipment-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.equipment-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    letter-spacing: 0.1em;
    color: var(--color-black);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.equipment-item {
    text-align: center;
}

.equipment-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-item p {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--color-black);
    line-height: var(--leading-normal);
}

.equipment-item p small {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--font-normal);
    color: var(--color-gray-500);
    margin-top: var(--space-1);
}

/* ===== Instruction Guide Section ===== */
.instruction {
    background-color: var(--color-white);
    padding: var(--space-16) 0;
    position: relative;
}

/* 底紋背景 */
.instruction::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/frontend/底紋-1.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}

.instruction .container {
    position: relative;
    z-index: 1;
}

.instruction-header {
    margin-bottom: var(--space-10);
}

.instruction-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-2);
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.instruction-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-decoration: none;
    cursor: pointer;
}

.instruction-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.instruction-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.instruction-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.instruction-card:hover .instruction-card-image img {
    transform: scale(1.05);
}

.instruction-card-content {
    background-color: #edc78c;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.instruction-card-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: #000000;
    line-height: 1.4;
    margin-bottom: var(--space-3);
    min-height: calc(var(--text-lg) * 1.4 * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.instruction-card-desc {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: var(--space-4);
    min-height: calc(var(--text-sm) * var(--leading-relaxed) * 4);
}

.instruction-card-more {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-gray-600);
    letter-spacing: 0.05em;
    align-self: flex-end;
    transition: color var(--transition-fast);
    border: 1px solid var(--color-gray-400);
    padding: 0 var(--space-3);
    border-radius: var(--border-radius-full);
    margin-top: auto;
    background-color: #FFF;
}

.instruction-card:hover .instruction-card-more {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ===== Full Width Image Section ===== */
.full-width-image {
    width: 100%;
    padding: 0;
    margin: 0;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--color-white);
    padding: var(--space-16) 0;
}


.contact-section-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-12);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-info {
    padding-right: var(--space-8);
}

.contact-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.contact-info > p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    letter-spacing: 0.1em;
}

.contact-map {
    margin-top: var(--space-6);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
}

.contact-map iframe {
    display: block;
    max-width: 100%;
}

.contact-details {
    margin-top: var(--space-8);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.contact-item i {
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-full);
}

.contact-item p {
    font-size: var(--text-base);
    color: var(--color-gray-700);
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: var(--space-4);
}

.contact-form-wrapper .form-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    text-align: left;
    padding-bottom: var(--space-3);
    text-align: center;
}

/* Inline Form Style - 標題在左輸入在右 */
.form-row-inline {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.form-row-inline:last-of-type {
    border-bottom: none;
}

.form-row-inline > label {
    flex: 0 0 80px;
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--color-black);
    white-space: nowrap;
}

.form-row-inline > input,
.form-row-inline > select {
    flex: 1;
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-base);
    color: var(--color-gray-900);
    background-color: var(--color-gray-100);
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
}

.form-row-inline > select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 32px;
    background-color: var(--color-gray-100);
}

.form-row-inline .form-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.form-row-inline .form-input-group input {
    flex: 1;
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-base);
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
    background-color: var(--color-gray-100);
}

.form-row-inline .form-input-group select {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-base);
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
    background-color: var(--color-gray-100);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 32px;
}

.form-row-inline .select-small {
    flex: 0 0 auto;
    min-width: 80px;
}

.form-row-inline .inline-label {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--color-gray-700);
    white-space: nowrap;
    margin: 0;
}

.form-row-inline .radio-group {
    flex: 1;
    display: flex;
    gap: var(--space-6);
}

.form-row-inline.form-row-textarea {
    align-items: flex-start;
    margin-bottom: var(--space-10);
}

.form-row-inline.form-row-textarea > label {
    padding-top: var(--space-1);
}

.form-row-inline > textarea {
    flex: 1;
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-base);
    color: var(--color-gray-900);
    background-color: var(--color-gray-100);
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
    resize: vertical;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-3);
}

.form-submit .btn {
    border-radius: 0;;
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.2em;
}

.form-submit .btn .arrow {
    font-size: var(--text-lg);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-8) 0;
    letter-spacing: 0.1em;
    font-size:var(--text-base);
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    padding: 0 var(--container-padding);
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-white);
}

a.footer-link {
    text-decoration: none;
    color: var(--color-white);
    transition: opacity var(--transition-fast);
}

a.footer-link:hover {
    opacity: 0.8;
}

.footer-brand-box {
    background-color: var(--color-white);
    border-radius: 8px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    padding: 4px 8px;
}

.footer-item svg {
    flex-shrink: 0;
}

.footer-brand {
    margin-right:var(--space-16);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: opacity var(--transition-fast);
}

.footer-social:hover {
    opacity: 0.8;
    color: var(--color-white);
}

.footer-brand-text {
    font-weight: var(--font-medium);
}

.footer-search-icon {
    opacity: 0.8;
    color:var(--color-primary);
    margin-left:10px;
}

/* ===== Ascenda Page ===== */

/* Banner Section */
.ascenda-banner {
    width: 100%;
}

.ascenda-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

/* Intro Section */
.ascenda-intro {
    padding: 0 0 var(--space-16) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: visible;
}

/* 底紋背景 - 跨越 banner 底部、intro、tech、到 elevator-showcase 標題 */
.ascenda-intro::after {
    content: '';
    position: absolute;
    top: -100px; /* 向上覆蓋 banner 底部 */
    left: 0;
    width: 100%;
    height: calc(100% + 700px); /* 向下延伸覆蓋 tech 和 elevator-showcase 標題區域 */
    background-image: url('../../images/frontend/底紋.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    /* 左邊漸變透明，右邊明顯 */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
    mask-image: linear-gradient(to right, transparent 0%, black 80%);
}

.ascenda-intro .container {
    position: relative;
    z-index: 1;
}

.ascenda-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.ascenda-intro-left {
    padding-right: var(--space-16);
}

.ascenda-intro-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

.ascenda-intro-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
}

.ascenda-intro-right {
    text-align: left;
}

.ascenda-intro-slogan {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-3);
    letter-spacing: 0.1em;
}

.ascenda-intro-slogan-en {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: 0.05em;
}

/* Tech Section */
.ascenda-tech {
    padding: var(--space-16) 0 var(--space-20) 0;
    background-color: transparent;
    position: relative;
    z-index: 1; /* 確保文字在底紋上方 */
}

.ascenda-tech-header {
    text-align: left;
}

.ascenda-tech-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-3);
}

.ascenda-tech-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.ascenda-tech-subtitle {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    white-space: nowrap;
}

.ascenda-tech-line {
    flex: 1;
    height: 1px;
    margin-top: 20px;
    background-color: var(--color-primary);
    margin-left: 50px;
}

/* ============================================
   Elevator Showcase Section with Hotspots
   結構: 圓點 + 連接線 + 說明卡片 為一組
   ============================================ */
.ascenda-elevator-showcase {
    padding: var(--space-16) 0;
    background-color: transparent;
    overflow: visible;
    position: relative;
    z-index: 1; /* 確保內容在底紋上方 */
}

.elevator-hotspot-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

/* 圖片容器 - 置中 */
.elevator-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
}

.elevator-image-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   熱點組合 - 圓點 + 連接線 + 說明卡片
   調整 top 值即可移動整組位置
   ============================================ */
.hotspot-group {
    position: absolute;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* 讓 group 不攔截點擊，避免重疊問題 */
}

/* 左側組合: [說明卡片] — [連接線] — [圓點] */
.hotspot-group.left {
    right: 50%;
    flex-direction: row;
    margin-right: -250px; /* 調整此值控制圓點在圖片中的水平位置 */
}

/* 右側組合: [圓點] — [連接線] — [說明卡片] */
.hotspot-group.right {
    left: 50%;
    flex-direction: row;
    margin-left: -250px; /* 調整此值控制圓點在圖片中的水平位置 */
}

/* 圓點樣式 */
.hotspot-dot {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-primary), 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    pointer-events: auto; /* 只有圓點可點擊 */
    z-index: 20; /* 確保圓點在最上層 */
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* 脈衝動畫 */
.hotspot-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    transform: translate(-50%, -50%);
    animation: hotspot-pulse 2s ease-out infinite;
    opacity: 0;
}

@keyframes hotspot-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* 連接線 - 預設隱藏 */
.hotspot-connector {
    width: 160px;
    height: 2px;
    background-color: var(--color-primary);
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scaleX(0);
    pointer-events: none;
}

.hotspot-group.left .hotspot-connector {
    transform-origin: right center;
}

.hotspot-group.right .hotspot-connector {
    transform-origin: left center;
}

/* 說明卡片 - 預設隱藏 */
.hotspot-info {
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 260px;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    pointer-events: none;
}

.hotspot-group.left .hotspot-info {
    text-align: left;
    transform: translateX(10px);
}

.hotspot-group.right .hotspot-info {
    text-align: left;
    transform: translateX(-10px);
}

/* 說明卡片內容 */
.hotspot-info-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.hotspot-info-desc {
    font-size: var(--text-base);
    color: var(--color-gray-900);
    font-weight: var(--font-medium);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Active 狀態 - 點擊才顯示（移除 hover）
   ============================================ */
.hotspot-group.active .hotspot-dot {
    background-color: #2E6DA4;
    transform: scale(1.2);
}

.hotspot-group.active .hotspot-dot::after {
    animation: none;
    opacity: 0;
}

.hotspot-group.active .hotspot-connector {
    opacity: 1;
    transform: scaleX(1);
}

.hotspot-group.active .hotspot-info {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.hotspot-group.left.active .hotspot-info {
    transform: translateX(0);
}

.hotspot-group.right.active .hotspot-info {
    transform: translateX(0);
}

/* ============================================
   RWD 響應式設計
   ============================================ */
@media (max-width: 1200px) {
    .hotspot-info {
        width: 220px;
        padding: var(--space-4);
    }
    
    .hotspot-connector {
        width: 160px;
    }
    
    .hotspot-info-title {
        font-size: var(--text-base);
    }
    
    .hotspot-info-desc {
        font-size: var(--text-xs);
    }
    
    .hotspot-group.left {
        margin-right: -200px;
    }
    
    .hotspot-group.right {
        margin-left: -200px;
    }
}

/* 手機版 - 隱藏連接線和卡片，用 modal 顯示 */
@media (max-width: 768px) {
    .elevator-hotspot-wrapper {
        min-height: auto;
    }
    
    .elevator-image-container img {
        max-width: 400px;
    }
    
    /* 手機版隱藏連接線和卡片 */
    .hotspot-connector,
    .hotspot-info {
        display: none !important;
    }
    
    .hotspot-dot {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   Hotspot Modal - 手機版彈出視窗
   ============================================ */
.hotspot-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hotspot-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hotspot-modal {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: var(--space-6);
    max-width: 90%;
    width: 360px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    position: relative;
}

.hotspot-modal-overlay.active .hotspot-modal {
    transform: translateY(0) scale(1);
}

.hotspot-modal-close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 32px;
    height: 32px;
    border: none;
    background-color: var(--color-gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-gray-600);
    transition: all 0.2s ease;
}

.hotspot-modal-close:hover {
    background-color: var(--color-gray-200);
    color: var(--color-gray-800);
}

.hotspot-modal-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    padding-right: var(--space-8);
}

.hotspot-modal-desc {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* 保持向後相容的舊選擇器 */
.elevator-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.elevator-image-wrapper img {
    max-width: 600px;
    height: auto;
    display: block;
}

/* 舊的 hotspot 類別相容 */
.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-primary), 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

/* Divider Section */
.ascenda-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-12) 0;
    background-color: var(--color-white);
}

.ascenda-vertical-line {
    width: 3px;
    height: 250px;
    background-color: var(--color-primary);
    margin-bottom: var(--space-24);
}

.ascenda-divider-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

/* Features Alternating Section */
.ascenda-features {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
    position: relative;
}

/* 底紋背景 */
.ascenda-features::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 60%;
    background-image: url('../../images/frontend/底紋-1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}

.ascenda-features .container {
    position: relative;
    z-index: 1;
}

.feature-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
}

.feature-row.reverse{
    grid-template-columns: 1fr 1.4fr;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse .feature-text {
    order: 2;
}

.feature-row.reverse .feature-image {
    order: 1;
}

.feature-text {
    text-align: left;
}

.feature-title-en {
    font-family: var(--font-english);
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--space-16);
    letter-spacing: 0.02em;
    display: inline-block;
    position: relative;
    overflow: visible;
}

/* 斜線 */
.feature-title-en::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 0;
    width: 1.5px;
    height: 200%;
    background-color: var(--color-gray-700);
    transform: rotate(45deg);
    transform-origin: top center;
    z-index: 2;
}

/* 白色遮罩 - 覆蓋斜線右側文字 */
.feature-title-en::before {
    content: '';
    position: absolute;
    right: -58px;
    top: -10%;
    width: 15px;
    height: 140%;
    background-color: var(--color-white);
    transform: skewX(-45deg);
    transform-origin: top left;
    z-index: 1;
}

.feature-title-en2 {
    font-family: var(--font-english);
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--space-8);
    letter-spacing: 0.02em;
    display: inline-block;
    position: relative;
    overflow: visible;
}

/* 斜線 */
.feature-title-en2::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 0;
    width: 1.5px;
    height: 130%;
    background-color: var(--color-gray-700);
    transform: rotate(45deg);
    transform-origin: top center;
    z-index: 2;
}

/* 白色遮罩 - 覆蓋斜線右側文字 */
.feature-title-en2::before {
    content: '';
    position: absolute;
    right: -142px;
    top: -10%;
    width: 100px;
    height: 110%;
    background-color: var(--color-white);
    transform: skewX(-45deg);
    transform-origin: top left;
    z-index: 1;
}

/* 兩行標題 - 第一行靠右 */
.feature-title-line1 {
    text-align: right;
}

/* 兩行標題 - 第二行縮排 */
.feature-title-line2 {
    margin-right: 65px;
}

.feature-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.feature-subtitle {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.feature-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
    letter-spacing: 0.1em;
    font-family: 'jf Jinxuan';
    font-weight: 500;
}

.feature-image {
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 450px;
}

/* ===== Ascenda Feature Utility Classes ===== */

/* Feature 1: EcoSilent 大標題字級 */
.feature-title-line1-lg {
    font-size: 5rem;
}

/* Feature 1: 隱藏裝飾用句點（與背景同色） */
.feature-title-dot-hidden {
    color: #FFF;
}

/* Feature 3: 等寬雙欄 */
.feature-row-equal {
    grid-template-columns: 1fr 1fr;
}

/* Feature 4: 第二行文字靠右 */
.feature-title-line2-right {
    text-align: right;
}

/* ===== Space Fit Features Section (Dimensions Page) ===== */
.space-fit-features {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
    position: relative;
}

/* 底紋背景 */
.space-fit-features::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 60%;
    background-image: url('../../images/frontend/底紋-1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}

.space-fit-features .container {
    position: relative;
    z-index: 1;
}

.space-fit-title-en {
    font-family: var(--font-english);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

/* ===== Triangle Banner Section ===== */
.triangle-banner {
    position: relative;
    width: 100%;
}

.triangle-banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.triangle-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.triangle-banner-arrow {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--color-white);
    clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 50% 100%, 0% 40%);
    z-index: 2;
}

/* ===== Technical Resources Section ===== */
.tech-resources {
    padding: var(--space-16) 0 0 0;
    background-color: var(--color-white);
    text-align: center;
}

.tech-resources-line {
    width: 2px;
    height: 160px;
    background-color: var(--color-primary);
    margin: 0 auto var(--space-10);
}

.tech-resources-title-en {
    font-family: var(--font-english);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.tech-resources-title {
    display: flex;
    justify-content: center;
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-8);
}

/* 技術資源區塊網格 */
.tech-resources-grid {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-12);
    flex-direction: column;
    align-items: center;
}

.tech-resource-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tech-resource-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.tech-resource-subtitle {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-4);
}

.tech-resource-image {
    overflow: hidden;
    border-radius: 8px;
}

.tech-resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.tech-resource-item:hover .tech-resource-image img {
    transform: scale(1.05);
}

.tech-resources-btn {
    display: inline-block;
    padding: var(--space-8) 100px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    letter-spacing: 0.1em;
    border-radius: 30px;
    text-decoration: none;
    transition: all var(--transition-normal);
    margin-bottom: var(--space-12);
}

.tech-resources-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tech-resources-icons {    
    max-width: 700px;
    margin: 0 auto;
    margin-top:100px;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    margin-bottom: var(--space-8);
}

.icons-row:last-child {
    margin-top:100px;
    margin-bottom: 0;
}

.icons-row-3 {
    gap: 100px;
}

.icons-row-4 {
    gap: 100px;
}

.file-icon {
    width: 100px;
    height: 100px;
}

.file-icon svg {
    width: 100%;
    height: 100%;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--space-16) 0 var(--space-20) 0;
    background-color: var(--color-white);
}

/* FAQ Category Section - 分類區塊 */
.faq-category-section {
    margin-bottom: var(--space-16);
}

.faq-category-section:last-child {
    margin-bottom: 0;
}

.faq-category-header {
    margin-bottom: var(--space-8);
    display: flex;
    align-items: center;
}

.faq-category-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.faq-category-subtitle {
    font-size: var(--text-2xl);
    color: var(--color-gray-900);
    font-weight: var(--font-medium);
    margin: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-12);
}

.faq-item {
    display: flex;
    flex-direction: column;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-2) 0 0 0;
    border-top: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.faq-number {
    font-family: var(--font-english);
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1;
    flex-shrink: 0;
}

.faq-number sub {
    font-size: inherit;
    vertical-align: baseline;
}

.faq-question h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-top: var(--space-1);
    min-height: calc(var(--text-base) * 1.6 * 2);
    display: flex;
    align-items: flex-start;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding-top: var(--space-2);
    padding-bottom: var(--space-10);
    flex: 1;
}

.faq-answer-mark {
    font-family: var(--font-english);
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-500);
    line-height: 1;
    flex-shrink: 0;
}

.faq-answer-content {
    font-size: var(--text-base);
    color: var(--color-black);
    padding-top: var(--space-1);
}

.faq-answer p {
    font-size: var(--text-base);
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.faq-answer p {
    margin-bottom: 0;
}

/* ===== FAQ Page Styles - 常見問題專頁 ===== */
.faq-page {
    padding-top: var(--space-20);
}

.faq-page-header {
    margin-top: 100px;
    margin-bottom: var(--space-12);
}

.faq-tag {
    display: inline-block;
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-medium);
    color: var(--color-p);
    font-family: 'Acumin Variable Concept';
}

.faq-page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    padding-left:5px;
}

.faq-page-desc {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About HongZhanMeng Page - 關於鴻展盟 ===== */

/* Full Width Banner */
.about-banner {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}

.about-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Intro Section - 左內容右標題 */
.about-intro-section {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: visible;
}

/* 底紋背景 - 跨越 banner 底部到 philosophy/features 區塊 */
.about-intro-section::after {
    content: '';
    position: absolute;
    top: -100px; /* 向上覆蓋 banner 底部 */
    left: 0;
    width: 100%;
    height: calc(100% + 600px); /* 向下延伸覆蓋後續區塊 */
    background-image: url('../../images/frontend/底紋.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
    mask-image: linear-gradient(to right, transparent 0%, black 80%);
}

.about-intro-section .container {
    position: relative;
    z-index: 1;
}

.about-intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-intro-content {
    padding-right: var(--space-8);
}

.about-intro-lead {
    font-size: var(--text-base);
    color: var(--color-gray-900);
    margin-bottom: 0;
}

.about-intro-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
    letter-spacing: 0.05em;
    text-wrap: balance;
}

.about-intro-title-wrapper {
    text-align: left;
    padding-left: var(--space-8);
}

.about-intro-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.about-intro-subtitle {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    letter-spacing: 0.15em;
    white-space: nowrap;
}

/* Philosophy Section - 企業理念 */
.philosophy-section {
    padding: var(--space-16) 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.philosophy-section .container {
    position: relative;
    z-index: 1;
}

.philosophy-header {
    margin-bottom: var(--space-10);
}

.philosophy-label {
    font-family: var(--font-english);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-2);
}

.philosophy-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.philosophy-card {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 第 1、3 張卡片 (奇數) */
.philosophy-card:nth-child(odd) {
    background-color: #ecd2a0;
}

.philosophy-card:nth-child(odd) .philosophy-card-en {
    color: #e8c88c;
}

.philosophy-card:nth-child(odd) .philosophy-card-divider {
    background-color: #faf5ea;
}

/* 第 2、4 張卡片 (偶數) */
.philosophy-card:nth-child(even) {
    background-color: #f6ebd5;
}

.philosophy-card:nth-child(even) .philosophy-card-en {
    color: #FFFFFF;
}

.philosophy-card:nth-child(even) .philosophy-card-divider {
    background-color: #ecd2a0;
}

.philosophy-card-en {
    position: absolute;
    top: var(--space-4);
    right: -24px;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-family: var(--font-english);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    z-index: 1;
}

.philosophy-card-content {
    position: relative;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    flex: 1;
    z-index: 2;
}

.philosophy-card-title {
    display: flex;
    flex-direction: column;
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.philosophy-card-title span {
    display: block;
}

.philosophy-card-divider {
    width: 100%;
    height: 2px;
    background-color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

.philosophy-card-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    flex: 1;
    text-align: justify;
}

.philosophy-card-icon {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    color: var(--color-gray-600);
    opacity: 0.6;
}
.philosophy-card-icon img{
    width: 120px;
    height: 120px;
}

/* ===== Selection Section - 嚴選 ===== */
.selection-section {
    position: relative;
    min-height: 500px;
    margin-bottom: calc(80px + var(--space-16)); /* 三角形 + 白色間距 */
    display: flex;
    align-items: center;
    overflow: visible;
}

.selection-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 80px); /* 延伸到三角形區域 */
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 50% 100%, 0 calc(100% - 80px));
}

.selection-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左上方白色漸層遮罩 */
.selection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: calc(100% + 80px); /* 延伸到三角形區域 */
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 0.7) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 50% 100%, 0 calc(100% - 80px));
}

.selection-content {
    position: relative;
    z-index: 3;
    padding: var(--space-16) var(--container-padding);
    max-width: 660px;
}

.selection-label {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
}

.selection-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-tight);
}

.selection-desc {
    color: var(--color-black);
    text-wrap: balance;
}

.selection-desc p {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    line-height: 2;
}

.selection-desc p:last-child {
    margin-bottom: 0;
}

/* ===== Service Promise Section - 服務與承諾 ===== */
.service-promise-section {
    position: relative;
    padding: var(--space-20) 0;
    background-color: var(--color-white);
    overflow: visible;
}

/* 底紋背景 - 跨越上下區塊 */
.service-promise-section::after {
    content: '';
    position: absolute;
    top: -100px; /* 向上覆蓋 selection-section 底部 */
    left: 0;
    width: 100%;
    height: calc(100% + 200px); /* 向下延伸覆蓋 contact-cta-section 頂部 */
    background-image: url('../../images/frontend/底紋-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.service-promise-section .container {
    position: relative;
    z-index: 1;
}

.service-promise-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: flex-end;
}

.service-promise-image {
    position: relative;
}

.service-promise-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--shadow-lg);
}

.service-promise-content {
    padding: var(--space-8);
    padding-bottom:0px;
}

.service-promise-label {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
}

.service-promise-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-tight);
}

.service-promise-desc {
    color: var(--color-black);
}

.service-promise-desc p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.service-promise-desc p:last-child {
    margin-bottom: 0;
}

/* ===== Contact CTA Section - 遇見美好生活 ===== */
.contact-cta-section {
    padding: var(--space-16) 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.contact-cta-content {
    max-width: 600px;
}

.contact-cta-label {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
}

.contact-cta-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
}

.contact-cta-desc p {
    font-size: var(--text-lg);
    color: var(--color-black);
    margin-bottom: var(--space-2);
    font-family: 'jf Jinxuan';
}

.contact-cta-desc p:last-child {
    margin-bottom: 0;
}

/* ===== Page Banner Section (共用) ===== */
.page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.page-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.page-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: var(--color-white);
}

.page-banner-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    letter-spacing: 0.1em;
}

.page-banner-subtitle {
    font-family: var(--font-english);
    font-size: var(--text-xl);
    font-weight: var(--font-normal);
    letter-spacing: 0.15em;
    opacity: 0.9;
}

/* ===== About HongZhanMeng Page ===== */

/* Company Intro Section */
.company-intro {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
}

.company-intro-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-10);
    align-items: start;
    margin-top: var(--space-6);
}

.company-intro-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.company-intro-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
}

.company-intro-right p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    margin-bottom: var(--space-4);
}

.company-intro-right p:last-child {
    margin-bottom: 0;
}

/* Mission Section */
.company-mission {
    padding: var(--space-16) 0;
    background-color: var(--bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.mission-image {
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-content {
    padding: var(--space-6);
}

.mission-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
}

.mission-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    margin-bottom: var(--space-6);
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
    color: var(--color-gray-700);
}

.mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* Values Section */
.company-values {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
}

.values-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    margin-bottom: var(--space-10);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.value-card {
    text-align: center;
    padding: var(--space-8);
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    background-color: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
}

.value-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
}

.value-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
}

/* Service Section */
.company-service {
    padding: var(--space-16) 0;
    background-color: var(--bg-light);
}

.service-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    margin-bottom: var(--space-10);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.service-item {
    background-color: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--space-2);
}

.service-item-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
}

.service-item-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
}

/* Showroom Section */
.company-showroom {
    position: relative;
}

.showroom-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.showroom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-showroom .container {
    position: relative;
}

.showroom-content {
    position: absolute;
    bottom: -100px;
    right: var(--container-padding);
    background-color: var(--color-white);
    padding: var(--space-10);
    max-width: 500px;
    box-shadow: var(--shadow-xl);
}

.showroom-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.showroom-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    margin-bottom: var(--space-6);
}

.showroom-info {
    margin-bottom: var(--space-6);
}

.showroom-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

.showroom-info-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ===== About Cibes Page ===== */

/* Brand Intro Section */
.brand-intro {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
}

.brand-intro-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-10);
    align-items: start;
    margin-top: var(--space-6);
}

.brand-intro-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.brand-intro-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
}

.brand-intro-right p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    margin-bottom: var(--space-4);
}

.brand-intro-right p:last-child {
    margin-bottom: 0;
}

/* History Image Section */
.brand-history-image {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.brand-history-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--shadow-xl);
}

/* Timeline Section */
.brand-timeline {
    padding: var(--space-16) 0;
    background-color: var(--bg-light);
}

.timeline-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    margin-bottom: var(--space-10);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--color-primary);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-10);
    padding-bottom: var(--space-10);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
}

.timeline-year {
    font-family: var(--font-english);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.timeline-content h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
}

.timeline-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
}

/* Technology Section */
.brand-technology {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
}

.technology-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    margin-bottom: var(--space-10);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.technology-card {
    text-align: center;
    padding: var(--space-8);
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.technology-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.technology-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    background-color: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
}

.technology-card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-3);
}

.technology-card-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
}

/* Global Presence Section */
.brand-global {
    position: relative;
    padding: var(--space-20) 0;
    overflow: hidden;
}

.brand-global-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.brand-global-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-global-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.brand-global .container {
    position: relative;
    z-index: 2;
}

.brand-global-content {
    text-align: center;
    color: var(--color-white);
}

.brand-global-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-10);
}

.brand-global-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    margin-bottom: var(--space-10);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-english);
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-lg);
    color: var(--color-white);
    opacity: 0.9;
}

.brand-global-desc {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Certifications Section */
.brand-certifications {
    padding: var(--space-16) 0;
    background-color: var(--bg-light);
}

.certifications-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
}

.certifications-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.certifications-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    margin-bottom: var(--space-10);
}

.certifications-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
}

.certification-item {
    text-align: center;
}

.certification-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-3);
    background-color: var(--color-primary);
    border-radius: 50%;
    font-family: var(--font-english);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
}

.certification-item span {
    font-size: var(--text-sm);
    color: var(--color-gray-700);
}

/* CTA Section */
.brand-cta {
    padding: var(--space-20) 0;
    background-color: var(--color-white);
}

.brand-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.brand-cta-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.brand-cta-desc {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
    margin-bottom: var(--space-8);
}

.btn-lg {
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-lg);
}

/* ===== Cibes Features Section ===== */
.cibes-features-section {
    padding: var(--space-16) 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.cibes-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.cibes-feature-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-2) var(--space-8);
    min-height: 200px;
}

.cibes-feature-card.light {
    background-color: #ecd2a0;
}

.cibes-feature-card.dark {
    background-color: #f6ebd5;
}

.cibes-feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cibes-feature-title-wrapper {
    display: inline-block;
}

.cibes-feature-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    padding-bottom: var(--space-2);
}

.cibes-feature-divider {
    width: 100%;
    height: 2px;
    margin-bottom: var(--space-4);
}

.cibes-feature-card.light .cibes-feature-divider {
    background-color: #ffffff;
}

.cibes-feature-card.dark .cibes-feature-divider {
    background-color: #ecd2a0;
}

.cibes-feature-icon {
    flex-shrink: 0;
}

.cibes-feature-icon img {
    width: 100px;
    height: 100px;
}

.cibes-feature-desc {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    width: 100%;
}

/* Responsive for Cibes Features */
@media (max-width: 768px) {
    .cibes-features-grid {
        grid-template-columns: 1fr;
    }
    
    .cibes-feature-card {
        min-height: auto;
        padding: var(--space-6);
    }
}

/* ===== Sustainability Section ===== */
.sustainability-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sustainability-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sustainability-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustainability-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.sustainability-content {
    position: relative;
    z-index: 3;
    padding: var(--space-16) var(--container-padding) 0 var(--container-padding);
    max-width: 700px;
    color: var(--color-white);
}

.sustainability-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.sustainability-desc{
    text-wrap: balance;
}

.sustainability-desc p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    letter-spacing: 0.05em;
    
}

.sustainability-desc p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sustainability-section {
        min-height: 500px;
    }
    
    .sustainability-title {
        font-size: var(--text-2xl);
    }
    
    .sustainability-content {
        padding: var(--space-8) var(--container-padding);
    }
}

/* ===== Cibes Content Section (左右圖文區塊) ===== */
.cibes-content-section {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
}

.cibes-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-12);
    align-items: center;
}

.cibes-content-text {
    padding-right: var(--space-8);
}

.cibes-content-section.reverse .cibes-content-text {
    padding-right: 0;
    padding-left: var(--space-8);
    order: 2;
}

.cibes-content-section.reverse .cibes-content-image {
    order: 1;
}

.cibes-content-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.cibes-content-desc p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
    letter-spacing: 0.05em;
}

.cibes-content-image {
    overflow: hidden;
}

.cibes-content-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .cibes-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .cibes-content-text {
        padding-right: 0;
    }
    
    .cibes-content-section.reverse .cibes-content-text {
        padding-left: 0;
        order: 1;
    }
    
    .cibes-content-section.reverse .cibes-content-image {
        order: 2;
    }
    
    .cibes-content-title {
        font-size: var(--text-2xl);
    }
}

/* ===== Cibes Value Chain Section (上下標題+滿版圖) ===== */
.cibes-value-chain-section {
    padding: var(--space-16) 0 0 0;
    background-color: var(--color-white);
}

.cibes-value-chain-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
    margin-bottom: var(--space-12);
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
}

.cibes-value-chain-title-wrapper {
    padding-right: var(--space-8);
}

.cibes-value-chain-label {
    font-family: var(--font-english);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.cibes-value-chain-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    letter-spacing: 0.05em;
    line-height: 1.3;
    white-space: nowrap;
}

.cibes-value-chain-content {
    padding-top: var(--space-4);
}

.cibes-value-chain-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
    letter-spacing: 0.05em;
}

.cibes-value-chain-image {
    padding:0 var(--container-padding) var(--space-16) var(--container-padding);
    width: 100%;
}

.cibes-value-chain-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .cibes-value-chain-header {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .cibes-value-chain-title-wrapper {
        padding-right: 0;
    }
    
    .cibes-value-chain-title {
        font-size: var(--text-2xl);
    }
}

/* ===== Knowledge Page - 知識分享 ===== */

/* Banner Section */
.knowledge-banner {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}

.knowledge-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.knowledge-banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.knowledge-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.knowledge-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.knowledge-banner-label {
    font-family: var(--font-english);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-white);
    letter-spacing: 0.2em;
    margin-bottom: var(--space-2);
}

.knowledge-banner-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    letter-spacing: 0.15em;
}

/* Knowledge Intro Section - 左內容右標題 */
.knowledge-intro-section {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: visible;
}

/* 底紋背景 - 跨越 banner 底部到 list 區塊 */
.knowledge-intro-section::after {
    content: '';
    position: absolute;
    top: -100px; /* 向上覆蓋 banner 底部 */
    left: 0;
    width: 100%;
    height: calc(100% + 500px); /* 向下延伸覆蓋 list 區塊 */
    background-image: url('../../images/frontend/底紋.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
    mask-image: linear-gradient(to right, transparent 0%, black 80%);
}

.knowledge-intro-section .container {
    position: relative;
    z-index: 1;
}

.knowledge-intro-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.knowledge-intro-content {
    padding-right: var(--space-8);
}

.knowledge-intro-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
    letter-spacing: 0.1em;
}

.knowledge-intro-title-wrapper {
    white-space: nowrap;
}

.knowledge-intro-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
}

.knowledge-intro-subtitle {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-medium);
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

/* Knowledge List Section */
.knowledge-list-section {
    padding: var(--space-16) 0;
    background-color: transparent;
    min-height: 500px;
    position: relative;
    z-index: 1;
}

.knowledge-empty {
    text-align: center;
    padding: var(--space-20) 0;
}

.knowledge-empty p {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    overflow: hidden;
    transition: transform var(--transition-normal);
    text-decoration: none;
    cursor: pointer;
    height: 100%;
}

.knowledge-card:hover {
    transform: translateY(-5px);
}

.knowledge-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.knowledge-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.knowledge-card:hover .knowledge-card-image img {
    transform: scale(1.05);
}

.knowledge-pinned-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    padding: var(--space-1) var(--space-2);
    letter-spacing: 0.05em;
}

.knowledge-card-content {
    background-color: #edc78c;
    padding: var(--space-6);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.knowledge-card-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-primary);
    background-color: rgba(196, 164, 109, 0.15);
    padding: var(--space-1) var(--space-2);
    margin-bottom: var(--space-3);
    letter-spacing: 0.05em;
}

.knowledge-card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    line-height: 1.5;
}

.knowledge-card-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.knowledge-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-gray-200);
}

.knowledge-card-date {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    letter-spacing: 0.05em;
}

.knowledge-card-more {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity var(--transition-fast);
}

.knowledge-card-more:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .knowledge-intro-wrapper {
        gap: var(--space-8);
    }
    
    .knowledge-intro-title {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 768px) {
    .knowledge-banner {
        height: 250px;
    }
    
    .knowledge-banner-title {
        font-size: var(--text-2xl);
    }
    
    .knowledge-intro-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .knowledge-intro-content {
        padding-right: 0;
        order: 2;
    }
    
    .knowledge-intro-title-wrapper {
        padding-left: 0;
        text-align: center;
        order: 1;
    }
    
    .knowledge-intro-title {
        font-size: var(--text-2xl);
    }
    
    .knowledge-intro-section {
        padding: var(--space-10) 0;
    }
    
    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .knowledge-list-section {
        padding: var(--space-10) 0;
    }
}

/* ===== Knowledge Detail Page - 知識分享明細 ===== */

/* Full Width Banner Image */
.knowledge-detail-banner {
    width: 100%;
}

.knowledge-detail-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

/* Content Section */
.knowledge-detail-content {
    padding: var(--space-16) 0;
    background-color: var(--color-white);
}

.knowledge-detail-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.knowledge-detail-body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700);
    letter-spacing: 0.02em;
}

.knowledge-detail-body p {
    margin-bottom: var(--space-4);
}

.knowledge-detail-body img {
    max-width: 100%;
    height: auto;
    margin: var(--space-4) 0;
}

.knowledge-detail-body h2,
.knowledge-detail-body h3,
.knowledge-detail-body h4 {
    color: var(--color-gray-900);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.knowledge-detail-body ul,
.knowledge-detail-body ol {
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.knowledge-detail-body li {
    margin-bottom: var(--space-2);
}

/* Back Button */
.knowledge-detail-back {
    margin-top: var(--space-12);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-gray-200);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.btn-back:hover {
    color: var(--color-primary);
}

.btn-back svg {
    transition: transform var(--transition-fast);
}

.btn-back:hover svg {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .knowledge-detail-banner img {
        max-height: 400px;
    }
    
    .knowledge-detail-content {
        padding: var(--space-10) 0;
    }
    
    .knowledge-detail-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-6);
    }
}

/* ===== Contact Page - 聯繫我們 ===== */

/* Banner Section */
.contact-page-banner {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}

.contact-page-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-page-banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.contact-page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.contact-page-banner-label {
    font-family: var(--font-english);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-white);
    letter-spacing: 0.2em;
    margin-bottom: var(--space-2);
}

.contact-page-banner-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    letter-spacing: 0.15em;
}

/* Contact Intro Section */
.contact-intro-section {
    padding: var(--space-16) 0 10rem 0;
    background-color: var(--color-white);
    position: relative;
    overflow: visible;
}

/* 底紋背景 - 跨越 banner 底部到後續區塊 */
.contact-intro-section::after {
    content: '';
    position: absolute;
    top: -100px; /* 向上覆蓋 banner 底部 */
    left: 0;
    width: 100%;
    height: calc(100% + 400px); /* 向下延伸覆蓋後續區塊 */
    background-image: url('../../images/frontend/底紋.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
    mask-image: linear-gradient(to right, transparent 0%, black 80%);
}

.contact-intro-section .container {
    position: relative;
    z-index: 1;
}

.contact-intro-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.contact-intro-content {
    padding-right: var(--space-8);
}

.contact-intro-lead {
    font-size: var(--text-base);
    color: var(--color-black);
    margin-bottom: var(--space-);
}

.contact-intro-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
    text-align: justify;
    letter-spacing: 0.05em;
}

.contact-intro-title-wrapper {
    white-space: nowrap;
}

.contact-intro-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
}

.contact-intro-subtitle {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-medium);
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

/* Contact Details Section - 五感體驗 */
.contact-details-section {
    position: relative;
    padding: var(--space-16) 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.contact-details-visual {
    position: absolute;
    top: 10rem;
    right: 0;
    width: 55%;
    height: 70%;
    display: flex;
}

.contact-details-accent {
    width: 80px;
    height: 100%;
    background-color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details-image {
    flex: 1;
    overflow: visible;
    position: relative;
}

.contact-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 圖片左下角斜線裝飾 */
.contact-details-image::after {
    content: '';
    position: absolute;
    left: 320px;
    bottom: -75px;
    width: 3px;
    height: 100%;
    background-color: var(--color-primary);
    transform: rotate(-45deg);
    transform-origin: bottom left;
    z-index: 2;
}

/* 白色遮罩區塊 - 斜線左側 */
.contact-details-image::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 250px;
    height: 250px;
    background-color: var(--color-white);
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
    z-index: 1;
}

.contact-details-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-top: 350px;
}

.contact-details-label {
    font-family: var(--font-english);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    letter-spacing: 0.1em;
}

.contact-details-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.contact-details-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-black);
}

.contact-details-desc .contact-details-lead {
    color: var(--color-black);
    margin-bottom: var(--space-3);
}

.contact-details-desc p {
}

.contact-details-desc .highlight {
    color: var(--color-primary);
    font-weight: var(--font-bold);
}

/* Reverse 反向排版 - 圖片在左側 */
.contact-details-section.reverse {
    position: relative;
    overflow: visible;
}

/* 底紋背景 - reverse 版本，向下延伸覆蓋 divider section */
.contact-details-section.reverse::after {
    content: '';
    position: absolute;
    bottom: -690px;
    left: 0;
    width: 100%;
    height: calc(100% + 400px); /* 向下延伸覆蓋下方區塊 */
    background-image: url('../../images/frontend/底紋-1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}

.contact-details-section.reverse .container {
    position: relative;
    z-index: 1;
}

.contact-details-section.reverse .contact-details-visual {
    right: auto;
    left: 0;
    flex-direction: row-reverse;
    z-index: 1;
}

.contact-details-section.reverse .contact-details-content {
    margin-left: 60%;
    margin-right: 0;
    text-align: left;
}

/* 反向版本的斜線裝飾 - 在圖片右下角 */
.contact-details-section.reverse .contact-details-image::after {
    left: auto;
    right: 320px;
    transform: rotate(45deg);
    transform-origin: bottom right;
}

/* 反向版本的白色遮罩 - 在圖片右下角 */
.contact-details-section.reverse .contact-details-image::before {
    left: auto;
    right: 0;
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

/* 超大螢幕：限制圖片最大寬度，避免蓋住文字 */
@media (min-width: 1441px) {
    .contact-details-visual {
        width: 792px; /* 1440px * 55% */
        max-width: 792px;
        right: calc((100vw - 1440px) / 2);
    }
    
    .contact-details-section.reverse .contact-details-visual {
        left: calc((100vw - 1440px) / 2);
        right: auto;
    }
    
    .contact-details-content {
        max-width: 600px;
    }
    
    .contact-details-section.reverse .contact-details-content {
        margin-left: calc(50% + 100px);
        margin-right: 0;
    }
}

/* ===== Contact Divider Section ===== */
.contact-divider-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-16) 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.contact-vertical-line {
    width: 2px;
    height: 180px;
    background-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-intro-wrapper {
        gap: var(--space-8);
    }
    
    .contact-intro-title {
        font-size: var(--text-2xl);
    }
    
    .contact-details-visual {
        width: 50%;
        height: 60%;
    }
    
    .contact-details-content {
        padding-top: 280px;
    }
    
    .contact-details-title {
        font-size: var(--text-2xl);
    }
    
    /* 平板版、手機版、小型手機版隱藏圖片左下/右下的白色三角形區塊 */
    .contact-details-image::before,
    .contact-details-image::after,
    .contact-details-section.reverse .contact-details-image::before,
    .contact-details-section.reverse .contact-details-image::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-page-banner {
        height: 250px;
    }
    
    .contact-page-banner-title {
        font-size: var(--text-2xl);
    }
    
    .contact-intro-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .contact-intro-content {
        padding-right: 0;
        order: 2;
    }
    
    .contact-intro-title-wrapper {
        padding-left: 0;
        text-align: center;
        order: 1;
    }
    
    .contact-intro-title {
        font-size: var(--text-2xl);
    }
    
    .contact-intro-section {
        padding: var(--space-10) 0;
    }
    
    .contact-details-section {
        padding: var(--space-10) 0;
    }
    
    .contact-details-visual {
        position: relative;
        width: 100%;
        height: 300px;
        margin-bottom: var(--space-8);
    }
    
    .contact-details-accent {
        width: 60px;
    }
    
    .contact-details-content {
        padding-top: 0;
        max-width: 100%;
    }
    
    .contact-details-title {
        font-size: var(--text-xl);
    }
    
    /* 響應式反向版本 */
    .contact-details-section.reverse .contact-details-visual {
        flex-direction: row;
    }
    
    .contact-details-section.reverse .contact-details-content {
        margin-left: 0;
        text-align: left;
    }
}

/* ===== Join Us Section - 成為夥伴 ===== */
.join-us-section {
    background-color: var(--color-primary);
    padding: var(--space-16) 0;
    margin-bottom: var(--space-4)
}

.join-us-content {
}

.join-us-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-8);
    letter-spacing: 0.1em;
}

.join-us-title-en {
    font-family: var(--font-english);
    font-size: var(--text-6xl);
    /* letter-spacing: 0.1em; */
    font-style: italic;
}

.join-us-desc {
    margin-bottom: var(--space-8);
}

.join-us-desc p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-white);
}

.join-us-desc p:last-child {
    margin-bottom: 0;
}

.join-us-contact p {
    font-size: var(--text-base);
    color: var(--color-white);
}

.join-us-contact p:last-child {
    margin-bottom: 0;
}

.join-us-contact a {
    color: var(--color-white);
    text-decoration: underline;
    transition: opacity var(--transition-fast);
}

.join-us-contact a:hover {
    opacity: 0.8;
}
