@charset "UTF-8";
/* ==========================================================================
   運豐行工程 YUN FENG ENGINEERING - 形象官網首頁樣式表
   視覺基底：高度還原參考模板 cy168.com.tw 的清爽微水泥底紋、無外框缺角圖卡、
             左側斜切主視覺、45px 大圓角案例橫列、三錯落乾淨長圖與深灰綠頁尾
   技術規範：微漸層 + 顆粒肌理、非對稱比例、物理 cubic-bezier 曲線、Iconify 圖示
   ========================================================================== */

:root {
    /* 參考模板核心色系 */
    --brand-orange: #D25F1F;
    --brand-orange-alt: #D46122;
    --brand-orange-top: #D56223;
    --brand-orange-light: #E87A3E;
    --brand-dark: #2E3736;
    --brand-charcoal: #222726;
    --gray-btn: #555555;
    --text-main: #333333;
    --text-sub: #555555;
    --text-muted: #777777;
    --text-en: #656565;

    /* 倡毅冷灰色微水泥底紋與 Twozzim 深曜石對比色標 */
    --cement-bg-top: #F3F4F3;
    --cement-bg-mid: #F0F0EE;
    --cement-bg-bot: #E6E8E7;
    --dark-slate-top: #1E2322;
    --dark-slate-mid: #28302F;
    --dark-slate-bot: #1A1F1E;
    --card-surface: #FFFFFF;

    /* 社群與功能色 */
    --line-green: #41A81E;
    --line-bright: #47D001;
    --fb-blue: #1877F2;
    --ig-rose: #D62976;
    --yt-red: #D92020;

    /* 字體 */
    --font-sans: 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', sans-serif;
    --font-display: 'Oswald', 'Noto Sans TC', sans-serif;
    --font-hero-impact: 'Chiron Hei HK', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    --font-hero-tech: 'Oswald', 'Chiron Hei HK', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;

    /* 物理緩動曲線（僅使用 cubic-bezier） */
    --curve-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --curve-swift: cubic-bezier(0.22, 1, 0.36, 1);
    --curve-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --motion-base: all 0.42s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 108px;
    --header-height-scrolled: 82px;
    --container-max: 1260px;
}

/* ==========================================================================
   1. Reset & 參考模板淺灰白水泥底紋 + 細緻顆粒肌理
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height-scrolled);
    overflow-x: clip;
}

#wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background:
        radial-gradient(circle at 18% 22%, rgba(210, 95, 31, 0.04) 0%, transparent 48%),
        radial-gradient(circle at 82% 78%, rgba(46, 55, 54, 0.05) 0%, transparent 52%),
        linear-gradient(175deg, var(--cement-bg-top) 0%, var(--cement-bg-mid) 52%, var(--cement-bg-bot) 100%);
    line-height: 1.75;
    letter-spacing: 0.04em;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

/* 輕量雙層 CSS 微水泥網點肌理層（免除 SVG feTurbulence 重繪，GPU 零負擔） */
.noise-layer {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    contain: strict;
    opacity: 0.032;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, rgba(46, 55, 54, 0.9) 0, rgba(46, 55, 54, 0.9) 1px, transparent 1px, transparent 11px),
        repeating-radial-gradient(circle at 83% 68%, rgba(210, 95, 31, 0.45) 0, rgba(210, 95, 31, 0.45) 1px, transparent 1px, transparent 17px);
    background-size: 29px 29px, 37px 37px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--motion-base);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

.container {
    width: 92%;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

iconify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ==========================================================================
   2. 進站品牌入場動畫 (Preloader：模仿「又悠數位」上滑揭示入場動畫)
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #2E3736 0%, #1D2322 100%);
    color: #FFFFFF;
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s 0.9s;
}

.preloader__name {
    overflow: hidden;
    padding: 8px 12px;
}

.preloader__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: st-pre-in 0.9s cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

.preloader__logo {
    width: clamp(240px, 44vw, 410px);
    height: auto;
    display: block;
}

.preloader__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.preloader__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.preloader__en {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--brand-orange-light);
    text-transform: uppercase;
}

.preloader__zh {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #FFFFFF;
}

@keyframes st-pre-in {
    from {
        transform: translateY(115%);
    }
    to {
        transform: none;
    }
}

html.is-ready .preloader {
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
}

html:not(.js) .preloader {
    display: none;
}

html.skip-preloader .preloader {
    display: none !important;
    transition: none !important;
}

html.preloader-lock,
html.preloader-lock body {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
}

html.preloader-lock body {
    padding-right: var(--yf-scrollbar-w, 0px);
}

html.preloader-lock #header {
    padding-right: var(--yf-scrollbar-w, 0px);
}

html.preloader-lock .float-cta-group {
    right: calc(2% + var(--yf-scrollbar-w, 0px));
}

html.preloader-lock .preloader {
    touch-action: none;
}

/* ==========================================================================
   3. 共用頁首 (參考模板清爽白底頂欄 #FFFFFF + 漢堡選單)
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: var(--header-height);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 245, 244, 0.96) 100%);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: height 0.38s var(--curve-expo), box-shadow 0.38s var(--curve-expo), transform 0.72s var(--curve-expo), opacity 0.65s var(--curve-swift);
}

html.js:not(.is-ready) #header:not(.is-entered) {
    opacity: 0;
    transform: translateY(-16px);
}

#header.scrolled {
    height: var(--header-height-scrolled);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
    gap: 12px;
    z-index: 1002;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: height 0.35s var(--curve-expo), transform 0.35s var(--curve-spring);
}

#header.scrolled .brand-logo-img {
    height: 40px;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.03);
}

.brand-logo-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    transition: transform 0.38s var(--curve-spring), width 0.35s var(--curve-expo), height 0.35s var(--curve-expo);
}

#header.scrolled .brand-logo-icon {
    width: 44px;
    height: 44px;
}

.brand-logo:hover .brand-logo-icon {
    transform: scale(1.05);
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
    text-align: left;
}

.brand-logo-en {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-orange);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-logo-zh {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.08em;
}

#header.scrolled .brand-logo-zh {
    font-size: 1.22rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 1.6rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link {
    display: block;
    padding: 0.6rem 1.05rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1.05rem;
    width: 0;
    height: 2.5px;
    background-color: var(--brand-orange);
    transition: width 0.35s var(--curve-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-orange);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2.1rem);
}

/* 漢堡選單按鈕（參考模板右上無外框極簡三橫線，電腦版隱藏，僅於平版／手機顯示） */
.hamburger-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    z-index: 1002;
    transition: opacity 0.3s var(--curve-swift);
}

.hamburger-btn:hover {
    opacity: 0.72;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background-color: #444444;
    transition: transform 0.35s var(--curve-expo), opacity 0.25s var(--curve-swift), background-color 0.3s var(--curve-swift);
}

.hamburger-btn.active .hamburger-line {
    background-color: var(--brand-orange);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* 手機側邊滑出選單（Twozzim .slideMenuArea 右側全高滑出式結構 ＋ 1:1 進場速度曲線與節奏） */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16, 20, 19, 0.72);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.42, 0, 0.58, 1), visibility 0.5s cubic-bezier(0.42, 0, 0.58, 1);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, #1E2423 0%, #272F2E 52%, #191E1D 100%);
    color: #F2F3F1;
    z-index: 1006;
    box-shadow: -14px 0 40px rgba(0, 0, 0, 0.42);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.42, 0, 0.58, 1), opacity 0.6s cubic-bezier(0.42, 0, 0.58, 1), visibility 0.6s cubic-bezier(0.42, 0, 0.58, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.mobile-drawer.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drawer-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0 28px;
}

.drawer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateX(10px);
}

.drawer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #FFFFFF;
}

.drawer-brand-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.drawer-brand-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-shrink: 0;
}

.drawer-brand-icon svg {
    width: 100%;
    height: 100%;
}

.drawer-brand-name {
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}

.drawer-close-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    transition: transform 0.35s var(--curve-expo);
}

.drawer-close-line {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    transition: background-color 0.28s var(--curve-swift);
}

.drawer-close-line:first-child {
    transform: rotate(45deg);
}

.drawer-close-line:last-child {
    transform: rotate(-45deg);
}

.drawer-close-btn:hover {
    transform: rotate(90deg);
}

.drawer-close-btn:hover .drawer-close-line {
    background-color: var(--brand-orange-light);
}

.drawer-nav-list {
    display: flex;
    flex-direction: column;
    padding: 20px 0 26px;
    opacity: 0;
    transform: translateX(10px);
}

.drawer-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-nav-item:last-child {
    border-bottom: none;
}

.drawer-nav-link {
    position: relative;
    display: block;
    padding: 21px 12px;
    font-size: 1.38rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #F2F3F1;
    text-align: center;
    transition: color 0.28s var(--curve-swift), letter-spacing 0.32s var(--curve-expo);
}

.drawer-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 36px;
    height: 2.5px;
    background-color: var(--brand-orange);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.32s var(--curve-expo);
}

.drawer-nav-link:hover,
.drawer-nav-link:active {
    color: var(--brand-orange-light);
    letter-spacing: 0.22em;
}

.drawer-nav-link:hover::after,
.drawer-nav-link:active::after {
    transform: translateX(-50%) scaleX(1);
}

.drawer-quick-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0;
    transform: translateX(10px);
}

.drawer-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: transform 0.3s var(--curve-expo), background-color 0.28s var(--curve-swift);
}

.drawer-action-btn.call {
    background: var(--brand-orange);
}

.drawer-action-btn.call:hover {
    background: #BC4E15;
    transform: translateY(-2px);
}

.drawer-action-btn.line {
    background: var(--line-green);
}

.drawer-action-btn.line:hover {
    background: #368E17;
    transform: translateY(-2px);
}

@keyframes drawerSlideLeftIn {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-drawer.active .drawer-top-bar {
    animation: drawerSlideLeftIn 0.5s cubic-bezier(0.42, 0, 0.58, 1) 0.6s both;
}

.mobile-drawer.active .drawer-nav-list {
    animation: drawerSlideLeftIn 0.5s cubic-bezier(0.42, 0, 0.58, 1) 0.9s both;
}

.mobile-drawer.active .drawer-quick-actions {
    animation: drawerSlideLeftIn 0.5s cubic-bezier(0.42, 0, 0.58, 1) 1.2s both;
}

/* ==========================================================================
   4. 主視覺區 (100% 還原參考模板 B1169405578475.jpg 斜切構圖 + 底部半透明聯絡列)
   ========================================================================== */
.hero-section {
    position: relative;
    margin-top: var(--header-height);
    height: calc(100vh - var(--header-height));
    min-height: 580px;
    max-height: 820px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #ECEEED 0%, #E2E5E4 100%);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 42%;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 4%, #000 22%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 4%, #000 22%, #000 100%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.15s var(--curve-expo), visibility 1.15s var(--curve-expo);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.06);
    transition: transform 0.1s 1.2s var(--curve-swift);
}

.hero-slide.show .hero-slide-bg,
html:not(.js) .hero-slide:first-child .hero-slide-bg {
    transform: scale(1);
    transition: transform 5.8s var(--curve-expo);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(234, 236, 235, 0.65) 0%, rgba(234, 236, 235, 0.24) 12%, rgba(234, 236, 235, 0) 26%);
}

/* 參考模板 B1169405578475.jpg 左側斜切淺灰水泥面板 */
.hero-diagonal-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 61%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 85%, rgba(210, 95, 31, 0.055) 0%, transparent 45%),
        linear-gradient(112deg, rgba(243, 244, 243, 0.97) 0%, rgba(235, 237, 236, 0.93) 68%, rgba(226, 229, 228, 0.84) 100%);
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0% 100%);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.9s var(--curve-expo), opacity 0.7s var(--curve-swift);
}

html.js:not(.is-ready) .hero-section:not(.is-entered) .hero-diagonal-panel {
    transform: translateX(-8%);
    opacity: 0;
}

.slide-bottom-call {
    transition: opacity 0.72s var(--curve-expo) 0.42s, transform 0.78s var(--curve-expo) 0.42s;
}

html.js:not(.is-ready) .hero-section:not(.is-entered) .slide-bottom-call {
    opacity: 0;
    transform: translateY(28px);
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2.5rem 0 4.5rem;
}

/* Twozzim 編輯式固定左側主視覺文字排版與一次性 .show 進場時序 */
.hero-text-slides {
    display: grid;
    width: 100%;
    max-width: 690px;
}

.hero-text-slide {
    grid-area: 1 / 1;
    text-align: left;
    color: var(--text-main);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s var(--curve-expo), visibility 0s 0.7s;
}

.hero-text-slide.is-current,
.hero-text-slide.show,
html:not(.js) .hero-text-slide:first-child {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s var(--curve-swift), visibility 0s 0s;
}

.hero-eyebrow {
    font-family: var(--font-hero-tech);
    font-size: clamp(1.38rem, 2.25vw, 2.05rem);
    font-weight: 700;
    color: #1F2726;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.hero-main-headline {
    position: relative;
    display: inline-block;
    font-family: var(--font-hero-impact);
    font-size: clamp(3rem, 5vw, 4.65rem);
    font-weight: 900;
    line-height: 1.14;
    color: var(--brand-orange);
    background: linear-gradient(135deg, #D96422 0%, #B84912 58%, #E47635 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.hero-copy-group {
    max-width: 610px;
    margin-bottom: 0;
}

.hero-copy-line {
    font-family: var(--font-hero-tech);
    font-size: clamp(1.12rem, 1.38vw, 1.36rem);
    font-weight: 500;
    color: #363D3C;
    line-height: 1.85;
    letter-spacing: 0.04em;
}

.hero-copy-line + .hero-copy-line {
    margin-top: 0.7rem;
}

/* 進場初始狀態：未加上 .show 前下沉隱藏 */
.hero-text-slide:not(.show) .hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--curve-expo) 0.3s, transform 0.4s var(--curve-expo) 0.3s;
}

.hero-text-slide:not(.show) .hero-main-headline {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--curve-expo) 0.2s, transform 0.4s var(--curve-expo) 0.2s;
}

.hero-text-slide:not(.show) .hero-copy-group {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--curve-expo) 0.1s, transform 0.4s var(--curve-expo) 0.1s;
}

/* 進場：引言(0.4s) -> 主標(0.6s) -> 內文(0.8s) 正序由下浮現 */
.hero-text-slide.show .hero-eyebrow,
html:not(.js) .hero-text-slide:first-child .hero-eyebrow {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--curve-expo) 0.4s, transform 0.8s var(--curve-expo) 0.4s;
}

.hero-text-slide.show .hero-main-headline,
html:not(.js) .hero-text-slide:first-child .hero-main-headline {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--curve-expo) 0.6s, transform 0.8s var(--curve-expo) 0.6s;
}

.hero-text-slide.show .hero-copy-group,
html:not(.js) .hero-text-slide:first-child .hero-copy-group {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--curve-expo) 0.8s, transform 0.8s var(--curve-expo) 0.8s;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.78rem 1.65rem;
    border-radius: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: var(--motion-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #BD5116 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(210, 95, 31, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gray-btn) 0%, #3F3F3F 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.btn-outline:hover {
    background: var(--gray-btn);
    color: #FFFFFF;
    border-color: var(--gray-btn);
    transform: translateY(-2px);
}

/* 100% 還原參考模板招牌：底部半透明白底三欄聯絡列 (.slide-bottom-call) */
.slide-bottom-call {
    position: relative;
    z-index: 5;
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.06fr 1.06fr 1.18fr;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 241, 240, 0.94) 100%);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.slide-call-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 1.3rem 2.1rem;
    color: var(--gray-btn);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: var(--motion-base);
    text-align: left;
}

.slide-call-btn:not(:last-child) {
    border-right: 1px solid #FFFFFF;
}

.slide-call-icon {
    display: inline-flex;
    align-items: center;
    font-size: 1.85rem;
    color: var(--gray-btn);
    transition: color 0.3s var(--curve-swift), transform 0.3s var(--curve-spring);
}

.slide-call-btn.line .slide-call-icon {
    color: var(--line-green);
}

.slide-call-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.22;
}

.slide-call-label {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 600;
}

.slide-call-number {
    font-family: var(--font-display);
    font-size: 1.48rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.slide-call-btn:hover {
    background: var(--gray-btn);
    color: #FFFFFF;
}

.slide-call-btn:hover .slide-call-label,
.slide-call-btn:hover .slide-call-icon {
    color: #FFFFFF;
}

.slide-call-btn.line:hover {
    background: var(--line-green);
}

/* ==========================================================================
   5. 區塊標題 (.edit-title 純中文大標題)
   ========================================================================== */
.section-block {
    padding: 5rem 0;
    position: relative;
    overflow-x: clip;
}

.section-block > .container {
    z-index: 10;
}

.edit-title {
    margin-bottom: 2.8rem;
    text-align: left;
}

.edit-title h2 {
    font-size: clamp(2.15rem, 3.6vw, 2.75rem);
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.08em;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.edit-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    background-color: var(--brand-orange);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.75s var(--curve-expo) 0.18s;
}

.reveal-up.revealed .edit-title h2::after,
.edit-title.revealed h2::after {
    transform: scaleX(1);
}

/* ==========================================================================
   6. 服務項目簡介區 (還原參考模板：無外框背景、左下白色缺角圓弧 + 橘色底線標題)
   ========================================================================== */
.services-section {
    background:
        radial-gradient(circle at 86% 18%, rgba(210, 95, 31, 0.045) 0%, transparent 45%),
        linear-gradient(180deg, #F3F4F3 0%, #ECEDEC 100%);
    padding-bottom: clamp(15.2rem, 18.2vw, 18.5rem);
}

/* 統一等寬三欄（2 列 × 3 欄剛好排滿六大服務項目） */
.service-item-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.8rem 2.2rem;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    contain: layout style;
    transition: transform 0.45s var(--curve-expo);
}

.service-card:hover {
    transform: translateY(-6px);
}

/* 參考模板招牌：圓角照片 + 左下角白色缺角內嵌標題 */
.service-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.2;
    border-radius: 26px;
    overflow: hidden;
    background: var(--brand-dark);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.service-box-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--curve-expo);
}

.service-card:hover .service-box-img {
    transform: scale(1.07);
}

/* 左下角內凹圓弧缺角 (與倡毅冷灰背景色 #EFF0EF 無縫銜接) */
.service-box-txt {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #EFF0EF;
    padding: 12px 24px 8px 10px;
    border-top-right-radius: 24px;
    z-index: 3;
    min-width: 72%;
}

.service-box-txt::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 0;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 100% 0, transparent 22px, #EFF0EF 22.5px);
}

.service-box-txt::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -22px;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 100% 0, transparent 22px, #EFF0EF 22.5px);
}

.service-box-txt h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.38rem;
    font-weight: 800;
    color: var(--text-main);
    padding-bottom: 5px;
    border-bottom: 3px solid var(--brand-orange);
    transition: color 0.3s var(--curve-swift);
}

.service-icon-badge {
    color: var(--brand-orange);
    font-size: 1.48rem;
    display: inline-flex;
    transition: transform 0.35s var(--curve-spring);
}

.service-card:hover .service-box-txt h3 {
    color: var(--brand-orange);
}

.service-card:hover .service-icon-badge {
    transform: rotate(-10deg) scale(1.12);
}

.service-desc {
    margin-top: 0.9rem;
    font-size: 1.06rem;
    font-weight: 500;
    color: var(--text-sub);
    line-height: 1.72;
}

.service-seo-tags {
    margin-top: 0.55rem;
    font-size: 0.96rem;
    font-weight: 500;
    color: #666C6B;
}

.service-seo-tags small {
    font-size: 1em;
}

.section-action-bar {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   7. 精選案例分享區 (Twozzim 深曜石斜切板塊 + 倡毅 45px 大圓角圖文橫列)
   ========================================================================== */
.cases-section {
    background: transparent;
    margin-top: -5.2vw;
    margin-bottom: calc(-5.2vw - 110px);
    padding: clamp(11.5rem, 11.8vw, 13.8rem) 0 calc(10rem + 110px);
}

.cases-section > .container {
    z-index: auto;
}

.cases-section .edit-title,
.cases-section .wp-category-filter,
.cases-section .products_lists {
    position: relative;
    z-index: 10;
}

.cases-slant-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    clip-path: polygon(0 5.2vw, 100% 0, 100% 100%, 0 100%);
}

.cases-slant-inner {
    position: absolute;
    inset: 0;
    background-color: var(--dark-slate-top);
    background-image:
        radial-gradient(circle at 18% 25%, rgba(210, 95, 31, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.04) 0%, transparent 48%),
        linear-gradient(165deg, rgba(24, 29, 28, 0.22) 0%, rgba(20, 24, 24, 0.12) 52%, rgba(16, 20, 19, 0.28) 100%),
        url('../images/deco/dark-concrete-bg-tile.jpg');
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    background-size: 100% 100%, 100% 100%, 100% 100%, 820px auto;
    background-position: 0 0, 0 0, 0 0, center top;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5.2vw), 0 100%);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

#cases .edit-title h2 {
    color: #FFFFFF;
    font-size: clamp(2.35rem, 3.9vw, 3.05rem);
}

/* WordPress 分類篩選器（工業建築切角索引牌：去除通用圓角膠囊與廉價漸層） */
.wp-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 8px;
    padding-bottom: 1.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wp-filter-btn {
    position: relative;
    padding: 0.68rem 1.3rem 0.68rem 1.08rem;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    background: #F4F5F4;
    color: var(--text-sub);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-left: 3px solid rgba(210, 95, 31, 0.45);
    transition: var(--motion-base);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

#cases .wp-filter-btn {
    background: rgba(255, 255, 255, 0.045);
    color: #CFD5D3;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 3px solid rgba(210, 95, 31, 0.35);
}

.wp-filter-btn .count {
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-weight: 700;
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: #D25F1F;
}

#cases .wp-filter-btn .count {
    background: transparent;
    color: #D88A56;
}

#cases .wp-filter-btn:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.28);
    border-left-color: #E27A3F;
    transform: translateY(-2px);
}

.wp-filter-btn:hover,
.wp-filter-btn.active,
#cases .wp-filter-btn.active {
    background: #F2F3F1;
    color: #1D2322;
    border-color: #F2F3F1;
    border-left: 4px solid #D25F1F;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.wp-filter-btn.active .count,
#cases .wp-filter-btn.active .count {
    background: transparent;
    color: #555E5C;
}

/* 還原參考模板 .products_lists 橫向「左大圓角圖 (42%) + 右說明與雙按鈕 (58%)」 */
.products_lists {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.wp-post-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
    width: 100%;
    max-width: 100%;
    gap: 2.8rem;
    align-items: center;
    padding: 1.65rem 1.85rem;
    border-radius: 32px;
    background: linear-gradient(145deg, #FFFFFF 0%, #F4F5F4 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    contain: layout style;
    transition: opacity 0.42s var(--curve-expo), transform 0.45s var(--curve-expo), box-shadow 0.45s var(--curve-expo);
    text-align: left;
}

.wp-post-row.is-filtering-in {
    opacity: 0;
    transform: translateY(14px);
}

.wp-post-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

/* 鑽石圓鋸片「由左向右切開混凝土擋板顯影」純 GPU 動畫 */
.wp-post-row.is-brush-armed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.case-dust-veil {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    z-index: 6;
    pointer-events: none;
    background:
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.048) 0, rgba(255, 255, 255, 0.048) 1px, transparent 1px, transparent 14px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 44px),
        linear-gradient(115deg, rgba(31, 37, 36, 0.97) 0%, rgba(44, 51, 50, 0.96) 55%, rgba(27, 32, 31, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
    clip-path: inset(0 0 0 0% round 32px);
    will-change: clip-path;
}

.wp-post-row.is-brush-sweeping .case-dust-veil {
    animation: caseDustClear 1.85s cubic-bezier(0.28, 0.72, 0.36, 1) forwards;
}

.case-brush-carrier {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0%, 0, 0);
    will-change: transform, opacity;
}

.case-brush-carrier::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(180deg, transparent 0%, rgba(210, 95, 31, 0.85) 22%, #FFAD5C 50%, rgba(210, 95, 31, 0.85) 78%, transparent 100%);
    box-shadow: 0 0 14px rgba(255, 138, 43, 0.75), 0 0 28px rgba(210, 95, 31, 0.45);
    border-radius: 99px;
}

.wp-post-row.is-brush-sweeping .case-brush-carrier {
    animation: caseBrushTravel 1.85s cubic-bezier(0.28, 0.72, 0.36, 1) forwards;
}

.case-brush-img {
    --blade-size: clamp(120px, 12.5vw, 172px);
    position: absolute;
    left: 0;
    top: 50%;
    width: var(--blade-size);
    height: var(--blade-size);
    margin-left: calc(var(--blade-size) * -0.5);
    margin-top: calc(var(--blade-size) * -0.5);
    transform-origin: 50% 50%;
    transform: rotate(0deg) scale(0.86);
    filter: drop-shadow(0 14px 22px rgba(8, 12, 11, 0.55));
    will-change: transform;
}

.wp-post-row.is-brush-sweeping .case-brush-img {
    animation: caseBladeSpin 1.85s cubic-bezier(0.28, 0.72, 0.36, 1) forwards;
}

@keyframes caseDustClear {
    0% { clip-path: inset(0 0 0 0% round 32px); }
    100% { clip-path: inset(0 0 0 100% round 32px); }
}

@keyframes caseBrushTravel {
    0% { opacity: 0; transform: translate3d(0%, 0, 0); }
    8% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(100%, 0, 0); }
}

@keyframes caseBladeSpin {
    0%   { transform: rotate(0deg) scale(0.86); }
    12%  { transform: rotate(90deg) scale(1.02); }
    88%  { transform: rotate(630deg) scale(1.02); }
    100% { transform: rotate(720deg) scale(0.86); }
}

/* 案例區底部：工業導引線 ＋ 雙切角重工鋼板 CTA 按鈕 */
.cases-archive-bar {
    margin-top: 3.4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cases-archive-bar.reveal-up,
.cases-archive-bar.reveal-up.revealed {
    opacity: 1;
    transform: none;
}

.cases-archive-bar.reveal-up .cases-archive-rule,
.cases-archive-bar.reveal-up .btn-cases-archive {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--curve-expo), transform 0.75s var(--curve-expo);
}

.cases-archive-bar.reveal-up.revealed .cases-archive-rule,
.cases-archive-bar.reveal-up.revealed .btn-cases-archive {
    opacity: 1;
    transform: translate(0, 0);
}

.cases-archive-rule {
    position: relative;
    z-index: 2;
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(210, 95, 31, 0.7) 0%, rgba(255, 255, 255, 0.18) 65%, rgba(255, 255, 255, 0.35) 100%);
}

/* 雙切角重工鋼板 CTA：外框 1.5px 金屬斜角折線 ＋ 左側銅橘切口線 ＋ 冷白橫向快門掃描 */
.btn-cases-archive {
    position: relative;
    z-index: 10;
    display: inline-flex;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(210, 95, 31, 0.85) 0%, rgba(255, 255, 255, 0.28) 52%, rgba(210, 95, 31, 0.65) 100%);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    transition: transform 0.38s var(--curve-expo), background 0.35s var(--curve-swift);
    flex-shrink: 0;
}

.btn-cases-inner {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    background: #1D2322;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    overflow: hidden;
}

.btn-cases-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F2F3F1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.42s var(--curve-expo);
    z-index: 0;
}

.btn-cases-kerf {
    position: relative;
    z-index: 1;
    width: 5px;
    background: #D25F1F;
    transition: width 0.35s var(--curve-expo);
}

.btn-cases-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 1.08rem 2.2rem 1.08rem 1.9rem;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #F2F3F1;
    transition: color 0.32s var(--curve-swift);
}

.btn-cases-arrow {
    position: relative;
    z-index: 1;
    width: 56px;
    display: grid;
    place-items: center;
    background: #D25F1F;
    color: #FFFFFF;
    transition: background-color 0.35s var(--curve-swift);
}

.btn-cases-arrow iconify-icon {
    transition: transform 0.38s var(--curve-spring);
}

.cases-archive-bar.reveal-up.revealed .btn-cases-archive:hover,
.btn-cases-archive:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #D25F1F 0%, #F2F3F1 55%, #D25F1F 100%);
}

.btn-cases-archive:hover .btn-cases-inner::before {
    transform: scaleX(1);
}

.btn-cases-archive:hover .btn-cases-label {
    color: #1D2322;
}

.btn-cases-archive:hover .btn-cases-arrow {
    background: #B94E14;
}

.btn-cases-archive:hover .btn-cases-arrow iconify-icon {
    transform: translate(3px, -3px);
}

.wp-post-row.hidden {
    display: none;
}

/* 左側：45px 大圓角工程照片 (還原 .products_lists .product_img img { border-radius: 45px; }) */
.product_img_col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.wp-post-thumbnail {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 2.75;
    border-radius: 45px;
    overflow: hidden;
    background: var(--brand-dark);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.wp-post-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--curve-expo), opacity 0.24s var(--curve-swift);
}

.wp-post-image.is-swapping {
    opacity: 0.28;
}

.wp-post-row:hover .wp-post-image {
    transform: scale(1.05);
}

.wp-post-thumbnail.is-empty,
.case-gallery-stage.is-empty {
    background: linear-gradient(155deg, #2B3332 0%, #1F2524 100%);
    border: 1.5px dashed rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-post-empty-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.5rem;
    text-align: center;
    color: rgba(244, 245, 244, 0.72);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wp-post-empty-media iconify-icon {
    color: rgba(232, 122, 62, 0.85);
}

/* 斜切消光黑鐵工程銘牌（俐落內縮懸浮於大圓角圖左上，不被邊緣切傷） */
.wp-category-badge {
    position: absolute;
    top: 20px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    background: rgba(22, 27, 26, 0.9);
    color: #F4F5F4;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 24px 8px 15px;
    border-radius: 0;
    border-left: 4px solid #E27A3F;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

/* 案例現場多圖縮圖切換列（前台上限 4 張縮圖，並附左右切換箭頭） */
.case-thumb-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.case-thumb-track {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.case-thumb-track::-webkit-scrollbar {
    display: none;
}

.case-thumb-arrow {
    width: 30px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(46, 55, 54, 0.16);
    background: rgba(46, 55, 54, 0.08);
    color: var(--text-main);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--motion-base);
}

.case-thumb-arrow:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #FFFFFF;
}

.case-mini-thumb {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.65;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--motion-base);
}

.case-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-mini-thumb.active,
.case-mini-thumb:hover {
    opacity: 1;
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

/* 右側：參考模板 .product_txt (橘色標題 #D46122 + 內文 + WordPress 標籤 + .call-box 雙按鈕) */
.product_txt_col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.wp-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.product_name {
    font-size: 1.78rem;
    font-weight: 800;
    color: var(--brand-orange-alt);
    margin-bottom: 0.85rem;
    line-height: 1.32;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product_name a:hover {
    color: var(--text-main);
}

.entry-excerpt {
    font-size: 1.14rem;
    color: var(--text-sub);
    margin-bottom: 1.15rem;
    line-height: 1.82;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* WordPress 文章標籤（精密雷射準星角框標籤：去除了通用圓角與 // 字元） */
.wp-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.3rem;
}

.wp-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #2B3331;
    background: #EDF0EE;
    border: 1px solid rgba(46, 55, 54, 0.14);
    padding: 6px 15px;
    transition: background-color 0.3s var(--curve-swift), color 0.3s var(--curve-swift), border-color 0.3s var(--curve-swift), transform 0.3s var(--curve-expo);
}

.wp-tag::before,
.wp-tag::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    pointer-events: none;
    transition: border-color 0.3s var(--curve-swift), transform 0.3s var(--curve-expo);
}

.wp-tag::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid #2E3736;
    border-left: 2px solid #2E3736;
}

.wp-tag::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid #D25F1F;
    border-bottom: 2px solid #D25F1F;
}

.wp-tag:hover {
    background: #1F2423;
    color: #FFFFFF;
    border-color: #1F2423;
    transform: translateY(-2px);
}

.wp-tag:hover::before {
    border-color: #E87A3E;
    transform: translate(-1px, -1px);
}

.wp-tag:hover::after {
    border-color: #E87A3E;
    transform: translate(1px, 1px);
}

/* 100% 還原參考模板 .call-box 雙按鈕列 (左深灰 #555555 + 右白底 #FFFFFF) */
.call-box {
    width: 100%;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 12px;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.98rem 1.15rem;
    border-radius: 6px;
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: var(--motion-base);
}

.call-btn.phone01 {
    background: linear-gradient(135deg, #555555 0%, #444444 100%);
    color: #FFFFFF;
}

.call-btn.phone01:hover {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #BD5116 100%);
    transform: translateY(-2px);
}

.call-btn.phone02 {
    background: linear-gradient(135deg, #FFFFFF 0%, #F2F3F2 100%);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.call-btn.phone02:hover {
    background: #333333;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   8. 關於我們介紹區 (上方由 #cases 黑色斜角背景隨捲動上收 + 冷灰微水泥 + 右側三張錯落長圖)
   ========================================================================== */
.about-section {
    background:
        radial-gradient(circle at 80% 30%, rgba(210, 95, 31, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #F2F3F2 0%, #EAECEB 100%);
    margin-top: 0;
    overflow-x: clip;
    padding-top: 10rem;
    padding-bottom: 6.8rem;
}

/* 參考模板 .about-all:before 底部城市建築剪影 */
.about-skyline-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 195px;
    opacity: 0.055;
    z-index: 1;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 3.5rem;
    align-items: center;
    text-align: left;
}

/* 還原 F169405589869.png：大灰字公司名 + 橘色副標題 */
.about-brand-header {
    margin-bottom: 1.6rem;
}

.about-brand-header h2 {
    font-size: clamp(2.2rem, 3.6vw, 2.9rem);
    font-weight: 900;
    color: #6B6B6B;
    letter-spacing: 0.12em;
    line-height: 1.15;
    margin-bottom: 0.45rem;
}

.about-brand-header .about-tagline {
    font-size: clamp(1.18rem, 2vw, 1.48rem);
    font-weight: 700;
    color: var(--brand-orange);
    letter-spacing: 0.06em;
}

.about-lead {
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 1.45rem;
    line-height: 1.85;
}

/* 還原參考模板純文字段落 + 橘色粗體小標 (無外框方塊) */
.about-plain-block {
    margin-bottom: 1.25rem;
}

.about-plain-block b {
    display: block;
    font-size: 1.06rem;
    color: var(--brand-orange);
    margin-bottom: 0.25rem;
}

.about-plain-block p {
    font-size: 0.96rem;
    color: var(--text-sub);
    line-height: 1.78;
}

/* 精簡實績數字列（不破壞乾淨文字感） */
.about-stats-row {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.14);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: center;
}

.stat-num-wrap {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1.12;
}

.stat-label {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* 100% 還原參考模板 F169405589420.png：三張乾淨的高低階梯錯落圓角直圖（無文字遮罩） */
.about-pillars-wrap {
    display: grid;
    grid-template-columns: 1.08fr 0.96fr 0.96fr;
    gap: 18px;
    align-items: start;
}

.about-pillar-card {
    border-radius: 26px;
    overflow: hidden;
    height: 390px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s var(--curve-expo), box-shadow 0.6s var(--curve-expo);
    background: var(--brand-dark);
}

.about-pillar-card:nth-child(1) {
    margin-top: 0;
}

.about-pillar-card:nth-child(2) {
    margin-top: 72px;
}

.about-pillar-card:nth-child(3) {
    margin-top: 144px;
}

.about-pillar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s var(--curve-expo);
}

.about-pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 36px rgba(210, 95, 31, 0.18);
}

.about-pillar-card:hover img {
    transform: scale(1.06);
}

/* ==========================================================================
   9. 服務地區區塊 (100% 還原參考模板 #A2951 .area-all：橘線標題 + 電話方塊鈕 + 右側 unDraw 淡化圖)
   ========================================================================== */
.area-section {
    position: relative;
    margin-top: 0;
    padding: 5.5rem 0;
    background: transparent;
    overflow-x: clip;
    text-align: left;
}

.area-section > .container {
    position: relative;
    z-index: 10;
}

.area-slant-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 50%, rgba(46, 55, 54, 0.05) 0%, transparent 55%),
        linear-gradient(175deg, #E5E7E6 0%, #DCDEE0 100%);
    transform: none;
}

html:not(.js) .cases-slant-inner,
html:not(.js) .area-slant-bg {
    transform: none;
}

.area-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.area-txt {
    padding-left: 8%;
}

.area-txt .edit-title-inline h2 {
    font-size: clamp(2.15rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.4rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.area-txt .edit-title-inline h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    background-color: var(--brand-orange);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.75s var(--curve-expo) 0.18s;
}

.reveal-left.revealed .edit-title-inline h2::after,
.edit-title-inline.revealed h2::after {
    transform: scaleX(1);
}

.area-simple-headline {
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 900;
    color: var(--brand-orange);
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.area-simple-desc {
    font-size: 1.2rem;
    color: var(--text-sub);
    line-height: 1.9;
    font-weight: 600;
    margin-bottom: 0;
}

.area-undraw-visual {
    display: flex;
    justify-content: center;
    opacity: 0.95;
}

.area-undraw-visual svg {
    width: 100%;
    max-width: 245px;
    height: auto;
}

/* ==========================================================================
   10. 共用頁尾 (100% 還原參考模板 #2e3736 背景 + #E5E5E5 版權條 + LINE QRCode)
   ========================================================================== */
.site-footer {
    background: linear-gradient(155deg, #2e3736 0%, #242c2b 100%);
    color: #FFFFFF;
    text-align: left;
    position: relative;
    z-index: 7;
}

.footer-main {
    padding: 3.8rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr 0.75fr;
    gap: 2.5rem;
    align-items: center;
}

.footer-brand-col .brand-logo-zh { color: #FFFFFF; }
.footer-brand-col .brand-logo-en { color: var(--brand-orange-light); }

.footer-brand-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-brand-desc {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 340px;
}

.footer-nav-links {
    margin-top: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.footer-nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.footer-nav-links a:hover {
    color: var(--brand-orange-light);
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
}

.footer-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-orange-light);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}

.footer-info-item a:hover {
    color: var(--brand-orange-light);
}

.footer-qr-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-qrcode-box {
    position: relative;
    width: 150px;
    height: 150px;
    background: #FFFFFF;
    padding: 8px;
    border-radius: 14px;
    display: block;
}

.footer-qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-qr-caption {
    margin-top: 0.65rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.82);
}

/* 還原參考模板 .copyR #E5E5E5 底色版權列 */
.footer-bottom {
    background: linear-gradient(180deg, #E5E5E5 0%, #DCDCDC 100%);
    color: #333333;
    padding: 1.25rem 0;
    font-size: 0.86rem;
    text-align: left;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.footer-copy {
    font-weight: 500;
    color: #3A3F3E;
    letter-spacing: 0.03em;
}

.footer-credit-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.86rem;
    color: #4A504F;
    letter-spacing: 0.03em;
    transition: color 0.28s var(--curve-swift);
}

.footer-credit-brand {
    font-weight: 700;
    color: #222928;
    position: relative;
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(34, 41, 40, 0.28);
    transition: color 0.28s var(--curve-swift), border-color 0.28s var(--curve-swift);
}

.footer-credit-link:hover,
.footer-credit-link:hover .footer-credit-brand {
    color: var(--brand-orange);
    border-color: var(--brand-orange);
}

/* ==========================================================================
   12. 右側固定圓形快捷鈕 (還原參考模板 65px 圓形電話/LINE/橘色TOP鈕)
   ========================================================================== */
.float-cta-group {
    position: fixed;
    right: 2%;
    bottom: 24px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.float-btn-item {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    font-size: 1.8rem;
    opacity: 0.86;
    box-shadow: rgba(99, 99, 99, 0.25) 0px 4px 12px 0px;
    transition: var(--motion-base);
}

.float-btn-item.call {
    background-color: #555555;
}

.float-btn-item.line {
    background-color: var(--line-green);
}

.float-btn-item:hover {
    opacity: 1;
    transform: scale(1.06);
}

.float-tooltip {
    position: absolute;
    right: 76px;
    background: #333333;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: var(--motion-base);
}

.float-btn-item:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.to-top-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--brand-orange-top);
    color: #FFFFFF;
    font-size: 1.65rem;
    display: grid;
    place-items: center;
    box-shadow: rgba(99, 99, 99, 0.25) 0px 4px 12px 0px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--motion-base);
}

.to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top-btn:hover {
    background-color: #B54D14;
    transform: translateY(-3px);
}

/* ==========================================================================
   14. Twozzim 風格滾動連動切割機具・景深碎塊與滑鼠視差特效
   ========================================================================== */
.rightDecoBox,
.leftDecoBox,
.decoBox {
    pointer-events: none;
    user-select: none;
}

.rightDecoBox {
    position: absolute;
    right: -1%;
    bottom: 18px;
    width: clamp(240px, 24vw, 430px);
    z-index: 3;
    will-change: transform;
    transform: translate3d(92%, -28%, 0) rotate(-12deg);
}

.saw-rig-assembly {
    position: relative;
    width: 100%;
    aspect-ratio: 669 / 373;
}

.saw-rig-assembly .saw-rig-body {
    position: relative;
    width: 100%;
    z-index: 3;
    filter: drop-shadow(0 18px 28px rgba(20, 24, 23, 0.28));
}

/* 雙層鋸片驅動：外層 rotor 承接捲動加速旋轉，內層 img 以純 GPU 極慢速常態空轉（離屏自動暫停） */
.saw-rig-assembly .saw-blade-rotor {
    position: absolute;
    left: 6.2%;
    top: 11.6%;
    width: 45%;
    aspect-ratio: 1 / 1;
    z-index: 1;
    transform-origin: 50% 50%;
    will-change: transform;
}

.saw-rig-assembly .saw-blade-spin {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    animation: sealSpin 24s cubic-bezier(0.333, 0.333, 0.667, 0.667) infinite;
}

.is-anim-paused {
    animation-play-state: paused !important;
}

.saw-rig-assembly .saw-sparks-fx {
    position: absolute;
    left: -42%;
    top: 64%;
    width: 64%;
    z-index: 4;
    opacity: 0;
    transform-origin: 92% 6%;
}

.saw-rig-assembly .saw-sparks-glow {
    position: absolute;
    left: -44%;
    top: 63%;
    width: 68%;
    z-index: 4;
    opacity: 0;
    mix-blend-mode: screen;
    transform-origin: 92% 6%;
    filter: brightness(1.35) saturate(1.4);
}

.saw-rig-assembly .saw-sparks-canvas {
    position: absolute;
    left: -62%;
    top: 52%;
    width: 92%;
    aspect-ratio: 360 / 240;
    z-index: 5;
    pointer-events: none;
}

/* 橫貫斜切交界的動態切割導線 */
.cut-laser-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    height: 3px;
    background: linear-gradient(90deg, rgba(210, 95, 31, 0) 0%, rgba(210, 95, 31, 0.45) 35%, #FF8A2B 82%, #FFE59E 100%);
    box-shadow: 0 0 12px rgba(210, 95, 31, 0.55);
    transform-origin: right center;
    transform: rotate(-2.8deg) scaleX(0);
    z-index: 2;
    pointer-events: none;
}

/* 左側斜向推進：大口徑鑽孔取芯筒 */
.leftDecoBox {
    position: absolute;
    left: -2.5%;
    top: 68px;
    width: 21vw;
    min-width: 210px;
    max-width: 330px;
    z-index: 3;
    will-change: transform;
    transform: translate3d(-92%, -32%, 0) rotate(-6deg);
}

.leftDecoBox .Img img {
    filter: drop-shadow(0 18px 26px rgba(20, 24, 23, 0.24));
}

/* 多層景深漂浮裝飾碎塊 (位於線條與背景 z-index: 1~2 之上、內容 z-index: 10 之後，避免遮擋任何文字與按鈕) */
.decoBox {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: visible;
}

.decoBox .deco {
    position: absolute;
    will-change: transform;
}

.decoBox .deco .Img img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 20px rgba(20, 24, 23, 0.16));
}

/* 服務項目四周漂浮粒子 */
.services-deco .deco-chunk-1 {
    left: -2.5%;
    top: 10%;
    width: 145px;
    opacity: 1;
}

.services-deco .deco-wire-1 {
    right: -2%;
    top: 3.5%;
    width: 225px;
    opacity: 1;
}

.services-deco .deco-rebar-1 {
    left: -2.2%;
    top: 49%;
    bottom: auto;
    width: 105px;
    opacity: 1;
}

/* 案例區四周漂浮粒子 */
.cases-deco .deco-chunk-2 {
    right: -2%;
    top: 26%;
    width: 155px;
    opacity: 1;
}

.cases-deco .deco-core-1 {
    left: -1.5%;
    bottom: 13%;
    width: 175px;
    opacity: 1;
}

.cases-deco .deco-core-1 .Img {
    transform: rotate(-16deg);
}

.cases-deco .deco-chainsaw-1 {
    right: -2%;
    top: 54%;
    width: 225px;
    opacity: 1;
}

.cases-deco .deco-chainsaw-1 .Img {
    transform: rotate(-10deg);
}

/* 關於我們區：Twozzim 旋轉圓形重工印章 (.logoCircle) + 漂浮鋼筋 */
.about-deco .logoCircle {
    right: 3%;
    top: 76px;
    width: 220px;
    height: 220px;
    display: grid;
    place-items: center;
    opacity: 1;
}

.about-deco .logoCircle .logoText {
    width: 220px;
    height: 220px;
    grid-area: 1 / 1;
    animation: sealSpin 22s cubic-bezier(0.333, 0.333, 0.667, 0.667) infinite;
}

.about-deco .deco-rebar-2 {
    left: -1.5%;
    top: auto;
    bottom: 16px;
    width: 112px;
    opacity: 1;
}

.about-deco .deco-anchor-1 {
    right: -1.5%;
    bottom: 2.5%;
    width: 195px;
    opacity: 1;
}

.about-deco .deco-anchor-1 .Img {
    transform: rotate(-6deg);
}

@keyframes sealSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   15. 滾動觸發動畫
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--curve-expo), transform 0.75s var(--curve-expo);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.75s var(--curve-expo), transform 0.75s var(--curve-expo);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.75s var(--curve-expo), transform 0.75s var(--curve-expo);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   15. RWD 響應式設計 (保持非對稱或單欄，絕無等寬多欄與居中)
   ========================================================================== */
@media only screen and (max-width: 1680px) {
    .services-section {
        padding-bottom: clamp(14.5rem, 17.5vw, 17.5rem);
    }
}

@media only screen and (max-width: 1480px) {
    .services-deco .deco-chunk-1 {
        left: -48px;
        top: 4%;
        width: 115px;
    }
    .services-deco .deco-wire-1 {
        right: -28px;
        top: 2%;
        width: 165px;
    }
    .services-deco .deco-rebar-1 {
        left: -44px;
        width: 88px;
    }
    .cases-deco .deco-chunk-2 {
        right: -46px;
        width: 128px;
    }
    .cases-deco .deco-core-1 {
        left: -44px;
        width: 140px;
    }
    .cases-deco .deco-chainsaw-1 {
        right: -48px;
        width: 175px;
    }
    .about-deco .deco-rebar-2 {
        left: -26px;
        top: auto;
        bottom: 12px;
        width: 92px;
    }
    .about-deco .deco-anchor-1 {
        right: -32px;
        bottom: 2%;
        width: 150px;
    }
}

@media only screen and (max-width: 1180px) {
    .hero-diagonal-panel {
        width: 66%;
        clip-path: polygon(0 0, 100% 0, 76% 100%, 0% 100%);
    }
    .hero-slider {
        left: 46%;
    }
    .hero-text-slides {
        max-width: 50%;
    }
    .hero-main-headline {
        font-size: clamp(2.65rem, 4.4vw, 3.6rem);
    }
    .hero-copy-group {
        max-width: 480px;
    }
}

@media only screen and (max-width: 1120px) {
    .service-item-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid,
    .area-grid {
        grid-template-columns: 1fr;
    }
    .about-brand-header {
        padding-right: 172px;
    }
    .about-deco .logoCircle {
        top: 96px;
        right: 4%;
        width: 148px;
        height: 148px;
        opacity: 1;
    }
    .about-deco .logoCircle .logoText {
        width: 148px;
        height: 148px;
    }
    .area-txt {
        padding-left: 0;
    }
}

@media only screen and (max-width: 960px) {
    .main-nav {
        gap: 0;
    }
    .nav-list {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
    .mobile-drawer-overlay {
        display: block;
    }
    .mobile-drawer {
        display: block;
    }
    .edit-title {
        grid-template-columns: 1fr;
    }
    .hero-slider {
        left: 54%;
    }
    .hero-diagonal-panel {
        width: 82%;
        background:
            radial-gradient(circle at 20% 85%, rgba(210, 95, 31, 0.055) 0%, transparent 45%),
            linear-gradient(112deg, rgba(243, 244, 243, 0.98) 0%, rgba(235, 237, 236, 0.96) 72%, rgba(226, 229, 228, 0.92) 100%);
        clip-path: polygon(0 0, 100% 0, 74% 100%, 0% 100%);
    }
    .hero-text-slides {
        max-width: 60%;
    }
    .hero-eyebrow {
        font-size: clamp(1.18rem, 2.3vw, 1.5rem);
    }
    .hero-main-headline {
        font-size: clamp(2.4rem, 5.2vw, 3.2rem);
    }
    .hero-copy-group {
        max-width: 100%;
    }
    .hero-copy-line {
        font-size: 1rem;
        line-height: 1.75;
    }
    .wp-post-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.45rem;
    }
    .services-deco .deco-rebar-1 {
        display: none;
    }
    .about-deco .deco-rebar-2 {
        left: -20px;
        bottom: 10px;
        width: 78px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --header-height: 74px;
        --header-height-scrolled: 64px;
    }
    .section-block {
        padding: 3.8rem 0;
    }
    .services-section {
        padding-bottom: 6.8rem;
    }
    .cut-laser-line {
        bottom: 4px;
    }
    .cases-section {
        margin-top: -34px;
        margin-bottom: -108px;
        padding: 6.8rem 0 calc(6rem + 80px);
    }
    .cases-slant-bg {
        clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
    }
    .cases-slant-inner {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%);
        background-size: 100% 100%, 100% 100%, 100% 100%, 520px auto;
    }
    .about-section {
        margin-top: 0;
        padding-top: 6.2rem;
        padding-bottom: 4.5rem;
    }
    .area-section {
        margin-top: 0;
        padding: 4.2rem 0 3.8rem;
    }
    .case-brush-img {
        --blade-size: 112px;
    }
    .hero-section {
        height: auto;
        min-height: calc(100svh - var(--header-height));
        max-height: none;
        background: linear-gradient(135deg, #2E3736 0%, #3F4A48 100%);
    }
    .hero-slider {
        position: absolute;
        inset: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hero-slide-bg {
        background-position: center top;
        transform: scale(1.06);
    }
    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(16, 21, 20, 0.34) 0%, rgba(18, 24, 23, 0.54) 45%, rgba(16, 21, 20, 0.68) 100%);
    }
    .hero-diagonal-panel {
        display: none;
    }
    .hero-content-wrapper {
        width: 100%;
        max-width: none;
        flex: 1;
        margin: 0;
        padding: 4.5rem 6% 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        clip-path: none;
    }
    .hero-text-slides {
        max-width: 460px;
    }
    .hero-text-slide {
        text-align: center;
    }
    .hero-eyebrow {
        color: #FFFFFF;
        font-size: clamp(1.2rem, 5vw, 1.52rem);
        margin-bottom: 0.6rem;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
    }
    .hero-main-headline {
        font-size: clamp(2.45rem, 10.6vw, 3.25rem);
        background: linear-gradient(135deg, #FF914D 0%, #F06D22 55%, #FFB377 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.48));
        margin-bottom: 1.25rem;
    }
    .hero-copy-group {
        margin: 0 auto;
        max-width: 360px;
    }
    .hero-copy-line {
        color: rgba(244, 246, 245, 0.94);
        font-size: 1.04rem;
        line-height: 1.8;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
    }
    .hero-copy-line + .hero-copy-line {
        margin-top: 0.6rem;
    }
    .slide-bottom-call {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .slide-call-btn {
        padding: 1.15rem 1.5rem;
        gap: 15px;
    }
    .slide-call-number {
        font-size: 1.36rem;
    }
    .slide-call-btn:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .service-item-list,
    .call-box {
        grid-template-columns: 1fr;
    }
    .cases-archive-bar {
        margin-top: 2.5rem;
        gap: 0;
        justify-content: center;
    }
    .cases-archive-rule {
        display: none;
    }
    .btn-cases-archive {
        width: 100%;
    }
    .btn-cases-inner {
        width: 100%;
        justify-content: space-between;
    }
    .btn-cases-label {
        flex: 1;
        justify-content: center;
        padding: 0.92rem 1.2rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .about-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .stat-num-wrap {
        font-size: clamp(1.5rem, 6vw, 1.95rem);
    }
    .stat-label {
        font-size: 0.82rem;
    }
    .about-pillar-card {
        height: 250px;
    }
    .about-pillar-card:nth-child(2) { margin-top: 28px; }
    .about-pillar-card:nth-child(3) { margin-top: 56px; }
    .wp-post-row {
        padding: 1.1rem 1.05rem 1.3rem;
        border-radius: 22px;
        gap: 1.25rem;
    }
    .wp-post-thumbnail {
        border-radius: 20px;
    }
    .case-thumb-switcher {
        gap: 5px;
        padding: 0;
        justify-content: center;
    }
    .case-thumb-track {
        gap: 5px;
    }
    .case-thumb-arrow {
        width: 26px;
        height: 36px;
    }
    .case-mini-thumb {
        width: clamp(44px, 13.5vw, 54px);
        height: clamp(32px, 9.5vw, 38px);
    }
    .float-btn-item,
    .to-top-btn {
        width: 54px;
        height: 54px;
    }
    .rightDecoBox {
        width: 190px;
        min-width: 190px;
        bottom: 6px;
        right: -18px;
    }
    .leftDecoBox {
        width: 150px;
        min-width: 150px;
        top: 14px;
        left: -24px;
    }
    /* 手機版保留左右工程小圖案：全域 .decoBox z-index: 2 位於背景後方、內容 (.container z-index: 4) 下方，並避開無底色文字區 */
    .services-deco .deco-wire-1 {
        right: -12px;
        top: 10px;
        width: 100px;
    }
    .services-deco .deco-chunk-1 {
        left: auto;
        right: 84px;
        top: 18px;
        width: 58px;
    }
    .services-deco .deco-rebar-1 {
        display: none;
    }
    .cases-deco .deco-chunk-2 {
        right: -12px;
        top: 58px;
        width: 80px;
    }
    .cases-deco .deco-chainsaw-1 {
        right: -22px;
        top: 48%;
        width: 112px;
    }
    .cases-deco .deco-core-1 {
        left: -14px;
        bottom: 235px;
        width: 88px;
    }
    .about-brand-header {
        padding-right: 112px;
    }
    .about-deco .logoCircle {
        width: 100px;
        height: 100px;
        top: 22px;
        right: 3%;
        opacity: 1;
    }
    .about-deco .logoCircle .logoText {
        width: 100px;
        height: 100px;
    }
    .brand-logo-img {
        height: 36px;
    }
    #header.scrolled .brand-logo-img {
        height: 32px;
    }
    .area-undraw-visual svg {
        max-width: 190px;
    }
    .about-deco .deco-rebar-2 {
        left: -18px;
        top: auto;
        bottom: 12px;
        width: 74px;
    }
    .about-deco .deco-anchor-1 {
        right: -14px;
        bottom: 18px;
        width: 104px;
    }
    .wp-category-badge {
        top: 14px;
        left: 16px;
        font-size: 0.86rem;
        padding: 6px 18px 6px 12px;
    }
    .product_name {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .cases-slant-bg,
    .cases-slant-inner,
    .area-slant-bg {
        transform: none !important;
    }
}
