/* ===================================
   長亨投資股份有限公司 - 官網樣式
   =================================== */

/* CSS Variables */
:root {
    --gold: #B8963E;
    --gold-light: #D4AF6A;
    --gold-dark: #8B6914;
    --navy: #0D1B2A;
    --navy-mid: #1A2E45;
    --navy-light: #243B55;
    --white: #FFFFFF;
    --gray-100: #F8F7F4;
    --gray-200: #EDE9E0;
    --gray-400: #9A9080;
    --gray-600: #6B6356;
    --text-dark: #1A1208;
    --text-mid: #3D3426;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: transparent;
}
#navbar.scrolled {
    background: rgba(13, 27, 42, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
    padding: 0;
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(184,150,62,0.35));
    transition: var(--transition);
}
.logo-img:hover {
    filter: drop-shadow(0 4px 16px rgba(184,150,62,0.55));
    transform: scale(1.04);
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, #0D1B2A 0%, #1A2E45 40%, #0B1929 70%, #0D1B2A 100%);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(184,150,62,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(184,150,62,0.08) 0%, transparent 60%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 7rem 2rem 0;
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    border: 1px solid rgba(184,150,62,0.6);
    color: var(--gold-light);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    padding: 0.4rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.8rem;
    background: rgba(184,150,62,0.08);
    animation: fadeInDown 0.8s ease forwards;
}
.hero-title {
    font-family: 'Noto Serif TC', serif;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.9s ease 0.2s both;
}
.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #fff 30%, var(--gold-light) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.15em;
    margin-top: 0.3rem;
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.9s ease 0.4s both;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.6s both;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    box-shadow: 0 6px 24px rgba(184,150,62,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(184,150,62,0.55);
}
.btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
    background: rgba(255,255,255,0.05);
}
.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(184,150,62,0.1);
    color: var(--gold-light);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.5rem 3rem;
    margin-top: 4rem;
    backdrop-filter: blur(12px);
    animation: fadeInUp 1s ease 0.8s both;
}
.stat-item {
    text-align: center;
    padding: 0 2.5rem;
    flex: 1;
}
.stat-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.stat-unit {
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 600;
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.4rem;
    letter-spacing: 0.08em;
}
.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}
.scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}
.scroll-down i { font-size: 1rem; }

/* ===== SECTION COMMONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 0.75rem;
    position: relative;
}
.section-tag::before, .section-tag::after {
    content: '';
    display: inline-block;
    width: 24px; height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 0.6rem;
    opacity: 0.6;
}
.section-title {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    letter-spacing: 0.05em;
}
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-subtitle { color: rgba(255,255,255,0.6); }

/* ===== ABOUT / CHAIRMAN INTRO ===== */
.about-chairman {
    padding: 7rem 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}
.about-chairman-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.about-chairman-bg::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,62,0.07), transparent 65%);
}
.about-chairman-bg::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -80px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,27,42,0.05), transparent 65%);
}

/* Layout */
.about-chairman-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Photo */
.about-chairman-photo-wrap {
    position: relative;
    flex-shrink: 0;
}
.about-chairman-photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(13,27,42,0.22), 0 0 0 1px rgba(184,150,62,0.2);
    aspect-ratio: 3/4;
}
.about-chairman-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s ease;
}
.about-chairman-photo-frame:hover .about-chairman-img {
    transform: scale(1.04);
}
.about-chairman-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(13,27,42,0.45) 100%
    );
}
.about-chairman-photo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(184,150,62,0.3);
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}
.about-chairman-deco {
    position: absolute;
    bottom: -16px; right: -16px;
    width: 110px; height: 110px;
    border: 2px solid rgba(184,150,62,0.25);
    border-radius: 16px;
    z-index: 0;
}
.about-chairman-badge {
    position: absolute;
    bottom: 22px; left: -18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    padding: 0.55rem 1.3rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 8px 24px rgba(184,150,62,0.4);
    z-index: 3;
}
.about-chairman-badge i { font-size: 0.85rem; }

/* Content */
.about-chairman-content {}
.about-chairman-heading { margin-bottom: 2rem; }
.about-chairman-en-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--gold-dark);
    margin-bottom: 0.6rem;
}
.about-chairman-en-label::before {
    content: '';
    display: inline-block;
    width: 26px; height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 0.6rem;
    opacity: 0.7;
}
.about-chairman-name {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.about-chairman-name em {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--gold-dark);
    letter-spacing: 0.2em;
    font-style: normal;
    margin-left: 0.5rem;
}
.about-chairman-company {
    font-size: 0.92rem;
    color: var(--gray-600);
    letter-spacing: 0.08em;
    margin-bottom: 1.4rem;
}
.about-chairman-line {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
    border-radius: 3px;
}
.about-chairman-text {
    margin-bottom: 2rem;
}
.about-chairman-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 2;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}
.about-chairman-text p:last-child { margin-bottom: 0; }
.about-chairman-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.about-chairman-tags span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(184,150,62,0.08);
    border: 1px solid rgba(184,150,62,0.3);
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.about-chairman-tags span:hover {
    background: rgba(184,150,62,0.18);
    border-color: var(--gold);
    color: var(--gold-dark);
}
.about-chairman-tags span i { font-size: 0.7rem; color: var(--gold); }

/* ===== SERVICES ===== */
.services {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184,150,62,0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    border-color: rgba(184,150,62,0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
    border-color: rgba(184,150,62,0.35);
    background: rgba(184,150,62,0.06);
}
.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(184,150,62,0.2), rgba(184,150,62,0.05));
    border: 1px solid rgba(184,150,62,0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 1.3rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(184,150,62,0.4);
}
.service-card h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.85rem;
    letter-spacing: 0.05em;
}
.service-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 1.3rem;
}
.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.service-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}
.service-list li i {
    color: var(--gold);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
    padding: 7rem 0;
    background: white;
}
.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}
.philosophy-main {
    display: flex;
    justify-content: center;
}
.philosophy-quote {
    max-width: 800px;
    background: var(--gray-100);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 2.5rem 3rem;
    position: relative;
}
.philosophy-quote .fa-quote-left {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.25;
    position: absolute;
    top: 1.5rem; left: 2rem;
}
.philosophy-quote p {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2rem;
    color: var(--text-mid);
    line-height: 2;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}
.philosophy-quote cite {
    font-size: 0.9rem;
    color: var(--gold-dark);
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.1em;
}
.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pillar {
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: white;
    text-align: center;
}
.pillar:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.pillar-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(184,150,62,0.2);
    line-height: 1;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}
.pillar h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}
.pillar p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== CHAIRMAN SECTION ===== */
.chairman-section {
    padding: 7rem 0 5rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.chairman-bg-deco {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.chairman-bg-deco::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,62,0.07), transparent 65%);
}
.chairman-bg-deco::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,62,0.05), transparent 65%);
}

/* --- Profile Layout --- */
.chairman-profile {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 5rem;
}

/* --- Photo --- */
.chairman-photo-wrap {
    position: relative;
    flex-shrink: 0;
}
.chairman-photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,150,62,0.25);
    aspect-ratio: 3/4;
}
.chairman-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s ease;
}
.chairman-photo-frame:hover .chairman-photo {
    transform: scale(1.04);
}
.chairman-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(13,27,42,0.6) 100%
    );
}
/* 金色裝飾邊框 */
.chairman-photo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(184,150,62,0.35);
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}
/* 右下角裝飾方塊 */
.chairman-photo-deco {
    position: absolute;
    bottom: -18px; right: -18px;
    width: 120px; height: 120px;
    border: 2px solid rgba(184,150,62,0.3);
    border-radius: 16px;
    z-index: 0;
}
/* 董事長 badge */
.chairman-photo-badge {
    position: absolute;
    bottom: 24px; left: -20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 8px 24px rgba(184,150,62,0.45);
    z-index: 3;
}
.chairman-photo-badge i { font-size: 0.9rem; }

/* --- Bio --- */
.chairman-bio {
    position: relative;
    z-index: 1;
}
.chairman-title-block {
    margin-bottom: 2rem;
}
.chairman-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 0.6rem;
    position: relative;
}
.chairman-label::before {
    content: '';
    display: inline-block;
    width: 28px; height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 0.6rem;
    opacity: 0.7;
}
.chairman-name {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.chairman-name-en {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.2em;
    display: inline-block;
    margin-left: 0.5rem;
}
.chairman-company {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}
.chairman-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
    border-radius: 3px;
}
.chairman-text {
    margin-bottom: 2rem;
}
.chairman-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 2;
    margin-bottom: 1.1rem;
    letter-spacing: 0.03em;
}
.chairman-text p:last-child { margin-bottom: 0; }
.chairman-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.chairman-tags span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(184,150,62,0.1);
    border: 1px solid rgba(184,150,62,0.3);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.chairman-tags span:hover {
    background: rgba(184,150,62,0.2);
    border-color: var(--gold);
}
.chairman-tags span i { font-size: 0.7rem; color: var(--gold); }

/* --- Departments --- */
.team-departments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 4rem;
}
.dept-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.dept-card:hover {
    border-color: rgba(184,150,62,0.35);
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.dept-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(184,150,62,0.2), rgba(184,150,62,0.05));
    border: 1px solid rgba(184,150,62,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold-light);
    margin: 0 auto 1rem;
    transition: var(--transition);
}
.dept-card:hover .dept-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(184,150,62,0.4);
    border-color: transparent;
}
.dept-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
    letter-spacing: 0.03em;
}
.dept-card span {
    display: block;
    font-size: 0.7rem;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}
.dept-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

/* ===== CSR MARQUEE ===== */
.csr-marquee-section {
    padding: 6rem 0;
    background: var(--gray-100);
    overflow: hidden;
}
.csr-marquee-header {
    text-align: center;
    margin-bottom: 3rem;
}
.csr-marquee-header .section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 0.75rem;
    position: relative;
}
.csr-marquee-header .section-tag::before,
.csr-marquee-header .section-tag::after {
    content: '';
    display: inline-block;
    width: 24px; height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 0.6rem;
    opacity: 0.6;
}
.csr-marquee-header h2 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}
.csr-marquee-header p {
    font-size: 1rem;
    color: var(--gray-600);
    letter-spacing: 0.04em;
}

/* 跑馬燈軌道 */
.marquee-track-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}
/* 左右漸層遮罩 */
.marquee-track-wrap::before,
.marquee-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}
.marquee-track-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--gray-100) 0%, transparent 100%);
}
.marquee-track-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--gray-100) 0%, transparent 100%);
}
.marquee-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}
.marquee-inner {
    display: flex;
    gap: 1.2rem;
    animation: marqueeLeft 28s linear infinite;
    will-change: transform;
}
.marquee-track:hover .marquee-inner {
    animation-play-state: paused;
}
@keyframes marqueeLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 每張圖片卡片 */
.marquee-item {
    position: relative;
    flex-shrink: 0;
    width: 380px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.marquee-item:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.marquee-item:hover img {
    transform: scale(1.07);
}
.marquee-item-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 100%);
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 1.5rem 1.2rem 0.9rem;
    letter-spacing: 0.08em;
    transform: translateY(4px);
    opacity: 0;
    transition: all 0.3s ease;
}
.marquee-item:hover .marquee-item-label {
    opacity: 1;
    transform: translateY(0);
}
/* 金色邊框 hover */
.marquee-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: border-color 0.3s ease;
    pointer-events: none;
}
.marquee-item:hover::after {
    border-color: rgba(184,150,62,0.6);
}

/* CSR 底部統計 */
.csr-marquee-footer {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}
.csr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.csr-stat > i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.3rem;
}
.csr-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.csr-desc {
    font-size: 0.82rem;
    color: var(--gray-600);
    letter-spacing: 0.06em;
}

/* ===== CONTACT ===== */
.contact {
    padding: 7rem 0;
    background: var(--gray-100);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.contact-card > i {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}
.contact-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--gray-100);
    transition: var(--transition);
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}
.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}
.form-success.show { display: block; }
.form-success i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.form-success h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.form-success p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {}
.footer-main {
    background: var(--navy);
    padding: 5rem 0 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}
.footer-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Logo 有白色背景，使用混合模式讓它融入深色背景 */
    mix-blend-mode: lighten;
    filter: drop-shadow(0 2px 8px rgba(184,150,62,0.3));
    transition: var(--transition);
}
.footer-logo-img:hover {
    filter: drop-shadow(0 4px 14px rgba(184,150,62,0.5));
    transform: scale(1.03);
}
.footer-brand > p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
}
.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(184,150,62,0.2);
}
.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.5rem;
}
.footer-links ul li a,
.footer-services ul li a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}
.footer-contact p i {
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.footer-bottom {
    background: rgba(0,0,0,0.35);
    padding: 1.2rem 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.2rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-chairman-layout { grid-template-columns: 300px 1fr; gap: 3rem; }
    .philosophy-pillars { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .chairman-profile { grid-template-columns: 320px 1fr; gap: 3rem; }
    .team-departments { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .logo-img { height: 46px; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        transition: right 0.35s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    }
    .nav-menu.open { right: 0; }
    .nav-link { font-size: 1rem; padding: 0.75rem 1rem; width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 2rem;
    }
    .stat-divider { width: 60px; height: 1px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .philosophy-pillars { grid-template-columns: 1fr; }
    .about-card-side { grid-template-columns: repeat(3, 1fr); }
    .about-values { grid-template-columns: 1fr; }
    .about-chairman-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-chairman-photo-wrap { max-width: 340px; margin: 0 auto; }
    .about-chairman-badge { left: 10px; }
    .about-chairman-content { text-align: center; }
    .about-chairman-en-label::before { display: none; }
    .about-chairman-tags { justify-content: center; }
    .about-chairman-line { margin: 0 auto; }
    .chairman-profile { grid-template-columns: 1fr; gap: 2.5rem; }
    .chairman-photo-wrap { max-width: 360px; margin: 0 auto; }
    .chairman-photo-badge { left: 10px; }
    .chairman-bio { text-align: center; }
    .chairman-label::before { display: none; }
    .chairman-tags { justify-content: center; }
    .chairman-divider { margin: 0 auto; }
    .team-departments { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content { padding-top: 6rem; }
    .nav-container { padding: 1rem 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    .hero-stats { margin: 2rem 1rem; }
    .about-card-side { grid-template-columns: repeat(3, 1fr); }
    .services { padding: 5rem 0; }
    .about, .philosophy, .chairman-section, .csr-marquee-section, .contact { padding: 4rem 0; }
    .team-departments { grid-template-columns: 1fr 1fr; }
    .marquee-item { width: 280px; height: 200px; }
    .csr-marquee-footer { gap: 2rem; }
    .marquee-track-wrap::before,
    .marquee-track-wrap::after { width: 60px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }
    .title-line { font-size: 2.8rem; }
}
