/* =====================================================
   正曜資本 公益網站 - 完整樣式（升級版）
   粉紅色系溫馨 + 專業感提升
   ===================================================== */

:root {
    /* 粉紅主色 */
    --pink-50:  #fff0f6;
    --pink-100: #ffe0ee;
    --pink-200: #ffc2de;
    --pink-300: #ff9ec9;
    --pink-400: #ff75b3;
    --pink-500: #f5509e;
    --pink-600: #e0357f;
    --pink-700: #c21f65;
    --pink-800: #9e114e;

    /* 深色輔助 */
    --navy:       #1a2f5e;
    --navy-l:     #2c4a8a;

    /* 金色 */
    --gold:       #c9a227;
    --gold-l:     #f0c842;

    /* 中性 */
    --white:      #ffffff;
    --gray-50:    #fafafa;
    --gray-100:   #f4f4f6;
    --gray-200:   #e8e8ec;
    --text-dark:  #1e1e2e;
    --text-mid:   #4a4a6a;
    --text-light: #8888aa;

    /* 陰影 */
    --shadow-sm: 0 2px 12px rgba(229, 53, 127, 0.10);
    --shadow-md: 0 6px 28px rgba(229, 53, 127, 0.15);
    --shadow-lg: 0 16px 56px rgba(229, 53, 127, 0.20);
    --shadow-xl: 0 24px 72px rgba(229, 53, 127, 0.25);

    --radius-s:  8px;
    --radius-m:  16px;
    --radius-l:  24px;
    --radius-xl: 40px;
    --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
    --font: 'Noto Sans TC', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text-dark); background: var(--white); overflow-x: hidden; line-height:1.7; }
a { text-decoration:none; color:inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width:100%; display:block; }
.container { max-width: 1200px; margin:0 auto; padding: 0 24px; }

/* ===== 公告列 ===== */
.announcement-bar {
    background: linear-gradient(90deg, var(--pink-600), var(--pink-500), var(--pink-700), var(--pink-500));
    background-size: 300% 100%;
    animation: grad-move 6s ease infinite;
    color: white;
    text-align: center;
    padding: 9px 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 1001;
    position: relative;
    transition: var(--transition);
}

@keyframes grad-move {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.announcement-inner {
    display: flex; align-items: center; justify-content: center; gap: 12px;
}

.beat { animation: beat 1.5s ease-in-out infinite; }

/* ===== 導覽列 ===== */
.navbar {
    position: fixed;
    top: 36px; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245,80,158,0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    box-shadow: var(--shadow-md);
    border-color: rgba(245,80,158,0.2);
}

.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }

.logo-img {
    height: 56px;
    width: 56px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1.18rem; font-weight: 800; color: var(--navy); letter-spacing: 2px; }
.logo-sub  { font-size: 0.72rem; color: var(--pink-600); letter-spacing: 1px; font-weight: 500; }

.nav-menu { display: flex; align-items: center; gap: 2px; }

.nav-link {
    padding: 7px 14px;
    border-radius: var(--radius-s);
    font-size: 0.85rem; font-weight: 500;
    color: var(--text-mid);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute; bottom: 3px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 18px; height: 2px;
    background: var(--pink-500); border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--pink-600); background: var(--pink-50); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--pink-600); border-radius: 2px; transition: var(--transition); }

/* ===== 通用 Section ===== */
section { padding: 96px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light .section-title { color: white; }
.section-header.light .section-sub { color: rgba(255,255,255,0.75); }

.section-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 18px;
    background: var(--pink-100); color: var(--pink-700);
    border-radius: 30px; font-size: 0.82rem; font-weight: 700;
    margin-bottom: 14px; letter-spacing: 1px;
}
.section-badge.light { background: rgba(255,255,255,0.18); color: white; }

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 900; color: var(--text-dark);
    line-height: 1.25; margin-bottom: 10px;
}

.section-sub { font-size: 0.97rem; color: var(--text-light); max-width: 500px; margin: 0 auto; }

/* 按鈕 */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 28px; border-radius: var(--radius-xl);
    font-size: 0.92rem; font-weight: 700; cursor: pointer;
    transition: var(--transition); border: 2px solid transparent;
    font-family: var(--font); letter-spacing: 0.3px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
    color: white;
    box-shadow: 0 6px 22px rgba(224,53,127,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(224,53,127,0.45);
}
.btn-ghost {
    background: rgba(255,255,255,0.9);
    color: var(--pink-600);
    border-color: rgba(245,80,158,0.4);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: white; transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.btn-full { width: 100%; justify-content: center; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex; flex-direction: column;
    padding-top: 104px;
    overflow: hidden;
}

.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(150deg, #fff0f6 0%, #ffe4f0 35%, #ffd0e8 65%, #fff5f8 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 75% 30%, rgba(245,80,158,0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255,150,200,0.15) 0%, transparent 45%);
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
    padding: 60px 24px 40px;
    flex: 1;
    max-width: 1200px; margin: 0 auto; width: 100%;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 18px;
    background: rgba(245,80,158,0.1);
    border: 1px solid rgba(245,80,158,0.25);
    border-radius: 30px; color: var(--pink-700);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px;
    margin-bottom: 18px;
    animation: fadeInDown 0.7s ease both;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900; line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .line1 {
    display: block; color: var(--text-dark);
    font-size: 1.15em; letter-spacing: 4px;
}

.hero-title .line2 {
    display: block; color: var(--text-mid);
    font-size: 0.68em; font-weight: 500;
    letter-spacing: 1px; margin-top: 6px;
}

.hero-title em {
    font-style: normal; color: var(--pink-600);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink-300), var(--pink-500));
    border-radius: 2px;
}

.hero-desc {
    font-size: 0.97rem; color: var(--text-mid);
    line-height: 1.9; margin-bottom: 30px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-desc strong { color: var(--pink-700); }

.hero-btns {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.3s both;
}

/* 董事長英雄卡 */
.hero-right {
    display: flex; justify-content: center; align-items: center;
    animation: fadeInRight 0.9s ease 0.2s both;
}

.chairman-hero-card {
    position: relative;
    background: white;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 360px;
    border: 1px solid var(--pink-100);
}

.chairman-photo-wrap {
    height: 420px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
}

.chairman-hero-photo {
    width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
    transition: transform 0.6s ease;
}

.chairman-hero-card:hover .chairman-hero-photo {
    transform: scale(1.04);
}

.photo-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--pink-300);
    background: linear-gradient(135deg, var(--pink-50), var(--pink-100));
}

.chairman-hero-info {
    padding: 20px 22px;
    border-top: 1px solid var(--pink-100);
}

.chairman-hero-info h3 {
    font-size: 1.1rem; font-weight: 800; color: var(--navy);
    margin-bottom: 2px; letter-spacing: 1px;
}

.chairman-hero-info p {
    font-size: 0.78rem; color: var(--text-light); margin-bottom: 12px;
}

.hero-quote {
    font-size: 0.83rem; color: var(--text-mid);
    font-style: italic; line-height: 1.65;
    padding: 10px 14px;
    background: var(--pink-50);
    border-radius: var(--radius-s);
    border-left: 3px solid var(--pink-400);
}

.hero-quote i { color: var(--pink-300); font-size: 0.7rem; margin: 0 3px; }

.card-floats {
    position: absolute; top: 14px; right: 14px;
    display: flex; flex-direction: column; gap: 6px;
}

.float-badge {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.72rem; font-weight: 700;
    color: var(--pink-700);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 5px;
    border: 1px solid rgba(255,255,255,0.6);
    animation: float-item 4s ease-in-out infinite;
}

.float-badge.b1 { animation-delay: 0s; }
.float-badge.b2 { animation-delay: 0.8s; }
.float-badge.b3 { animation-delay: 1.6s; }
.float-badge i { color: var(--gold); }

/* 統計列 */
.hero-stats-bar {
    position: relative; z-index: 2;
    background: white;
    box-shadow: 0 -4px 32px rgba(245,80,158,0.1);
    padding: 28px 0;
}

.stats-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0;
}

.stat-box {
    text-align: center; padding: 0 40px;
    display: flex; flex-direction: column; align-items: center;
}

.stat-n {
    font-size: 2.2rem; font-weight: 900;
    color: var(--pink-600); line-height: 1;
    display: inline;
}

.stat-u {
    font-size: 1.2rem; font-weight: 700;
    color: var(--pink-400); display: inline;
}

.stat-l {
    font-size: 0.78rem; color: var(--text-light);
    margin-top: 5px; letter-spacing: 1px;
}

.stat-sep {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, transparent, var(--pink-200), transparent);
}

/* =====================================================
   董事長介紹
   ===================================================== */
.chairman-section {
    background: var(--white);
}

.chairman-layout {
    display: grid; grid-template-columns: 460px 1fr;
    gap: 64px; align-items: start;
}

/* 照片區 */
.chairman-photos {}

.photo-main {
    border-radius: var(--radius-l);
    overflow: hidden; position: relative;
    height: 420px;
    box-shadow: var(--shadow-lg);
    background: var(--pink-50);
}

.photo-main img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 0.6s ease;
}
.photo-main:hover img { transform: scale(1.04); }

.photo-overlay-text {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,47,94,0.75));
    color: white; padding: 24px 20px 16px;
    font-weight: 700; font-size: 0.95rem; letter-spacing: 2px;
}

.photo-thumbs {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 12px; margin-top: 14px;
}

.thumb {
    border-radius: var(--radius-s);
    overflow: hidden; height: 120px; cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--pink-50);
}

.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.thumb:hover, .thumb.active {
    border-color: var(--pink-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 介紹文字 */
.chairman-intro {}

.intro-tag {
    display: inline-block; padding: 5px 14px;
    background: var(--pink-100); color: var(--pink-700);
    border-radius: 20px; font-size: 0.78rem; font-weight: 700;
    margin-bottom: 14px; letter-spacing: 1px;
}

.chairman-intro h3 {
    font-size: 1.6rem; font-weight: 900; color: var(--text-dark);
    margin-bottom: 20px; line-height: 1.3;
}

.intro-highlight {
    display: flex; gap: 14px;
    background: linear-gradient(135deg, var(--pink-50), #fff5f8);
    border-radius: var(--radius-m);
    padding: 20px 22px;
    border-left: 4px solid var(--pink-500);
    margin-bottom: 24px;
}

.intro-highlight i {
    color: var(--pink-300); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px;
}

.intro-highlight p {
    font-size: 0.97rem; color: var(--text-mid);
    line-height: 1.75; font-style: italic;
}

.intro-tags-row {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}

.itag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: white; border: 1px solid var(--pink-200);
    border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.itag:hover { border-color: var(--pink-400); background: var(--pink-50); }
.itag i { color: var(--gold); }

.intro-info-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.info-block {
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-s);
    border: 1px solid var(--gray-200);
}

.info-block label {
    display: block; font-size: 0.72rem;
    color: var(--text-light); letter-spacing: 1px; margin-bottom: 4px;
    font-weight: 600;
}

.info-block span {
    font-size: 0.9rem; font-weight: 600; color: var(--text-dark);
}

/* =====================================================
   行善故事
   ===================================================== */
.story-section {
    background: linear-gradient(180deg, #fff5f8 0%, var(--white) 100%);
    overflow: hidden;
}

.story-bg-deco {
    position: absolute; top: -100px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,80,158,0.07), transparent 65%);
    border-radius: 50%; pointer-events: none;
}

.story-big-card {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 0; background: white;
    border-radius: var(--radius-l); overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--pink-100);
    margin-bottom: 48px;
}

.story-photo-side {
    position: relative; min-height: 520px; overflow: hidden;
    background: var(--pink-50);
}

.story-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}

.story-big-card:hover .story-img { transform: scale(1.04); }

.story-img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
    font-size: 5rem; color: var(--pink-400);
}

.story-img-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white; font-size: 0.82rem;
    padding: 24px 16px 12px; text-align: center;
    letter-spacing: 1px;
}

.story-text-side {
    padding: 48px 44px;
    display: flex; flex-direction: column; justify-content: center;
}

.story-label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px;
    background: var(--pink-100); color: var(--pink-700);
    border-radius: 20px; font-size: 0.78rem; font-weight: 700;
    margin-bottom: 16px; letter-spacing: 1px;
}

.story-text-side h3 {
    font-size: 1.45rem; font-weight: 900; color: var(--text-dark);
    line-height: 1.3; margin-bottom: 24px;
}

.story-body p {
    font-size: 0.93rem; color: var(--text-mid);
    line-height: 1.9; margin-bottom: 14px;
}

.story-body strong { color: var(--pink-700); }

.story-signature {
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid var(--pink-100);
}

.sig-name {
    font-size: 1.3rem; font-weight: 800;
    color: var(--navy); letter-spacing: 3px;
    font-family: '標楷體', 'KaiTi', serif;
}

.sig-title {
    font-size: 0.78rem; color: var(--text-light);
    margin-top: 4px; letter-spacing: 1px;
}

/* 信念卡 */
.beliefs-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.belief-card {
    padding: 32px 26px;
    background: white;
    border-radius: var(--radius-m);
    border: 1px solid var(--pink-100);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.belief-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--pink-300);
}

.belief-icon {
    width: 62px; height: 62px;
    background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
    margin: 0 auto 16px;
    box-shadow: 0 6px 18px rgba(224,53,127,0.3);
    transition: var(--transition);
}

.belief-card:hover .belief-icon { transform: scale(1.12) rotate(6deg); }

.belief-card h4 { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.belief-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.75; }

/* =====================================================
   公益行動
   ===================================================== */
.actions-section { background: var(--gray-50); }

.action-tabs {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-bottom: 40px;
}

.action-tab {
    padding: 9px 22px;
    border-radius: var(--radius-xl);
    background: white; border: 1.5px solid var(--gray-200);
    color: var(--text-mid); font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    font-family: var(--font);
}

.action-tab:hover { border-color: var(--pink-300); color: var(--pink-600); }

.action-tab.active {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
    border-color: transparent; color: white;
    box-shadow: 0 4px 16px rgba(224,53,127,0.3);
}

.actions-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.action-card {
    background: white; border-radius: var(--radius-m);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pink-200);
}

.action-card.hidden { display: none; }

.action-img-wrap {
    height: 210px; position: relative; overflow: hidden;
    background: var(--pink-50);
}

.action-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.action-card:hover .action-img-wrap img { transform: scale(1.06); }

.img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
    font-size: 3rem; color: var(--pink-400);
}

.action-cat-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 20px; font-size: 0.73rem; font-weight: 700;
    color: var(--pink-700);
}

.action-body { padding: 20px 22px; }
.action-body h3 { font-size: 0.98rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.action-body p { font-size: 0.84rem; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }

.action-footer {
    display: flex; gap: 14px; flex-wrap: wrap;
    font-size: 0.78rem; color: var(--text-light);
    border-top: 1px solid var(--gray-100); padding-top: 12px;
}

.action-footer i { color: var(--pink-400); margin-right: 3px; }

/* =====================================================
   榮譽獎項
   ===================================================== */
.awards-section {
    position: relative; overflow: hidden;
}

.awards-bg {
    position: absolute; inset: 0;
    background: linear-gradient(150deg, #b5145a 0%, #e0357f 35%, #f5509e 65%, #d0306e 100%);
    z-index: 0;
}

.awards-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.06) 0%, transparent 40%);
    z-index: 1; pointer-events: none;
}

.awards-section .container { position: relative; z-index: 2; }

/* 傳善獎大展示 */
.award-feature {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 52px; align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-l);
    padding: 40px;
    margin-bottom: 40px;
}

.award-feature-photos {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 10px; height: 340px;
}

.award-photo-main {
    border-radius: var(--radius-m); overflow: hidden;
    background: rgba(255,255,255,0.15);
}

.award-photo-main img {
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}
.award-photo-main:hover img { transform: scale(1.06); }

.award-photo-side {
    display: flex; flex-direction: column; gap: 10px;
}

.award-photo-side img {
    width: 100%; flex: 1;
    object-fit: cover; border-radius: var(--radius-s);
    transition: transform 0.5s ease;
    background: rgba(255,255,255,0.15);
}
.award-photo-side img:hover { transform: scale(1.04); }

.award-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    font-size: 3rem; color: rgba(255,255,255,0.4);
    border-radius: var(--radius-m);
}

.award-feature-info {}
.award-icon-big {
    font-size: 2.4rem; color: var(--gold-l);
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 8px rgba(240,200,66,0.4));
}
.award-series {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
    color: rgba(255,255,255,0.7); margin-bottom: 8px;
    text-transform: uppercase;
}
.award-feature-info h3 {
    font-size: 1.5rem; font-weight: 900; color: white;
    margin-bottom: 14px; line-height: 1.3;
}
.award-feature-info p {
    font-size: 0.9rem; color: rgba(255,255,255,0.82);
    line-height: 1.75; margin-bottom: 20px;
}
.award-detail-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.award-detail-tags span {
    padding: 5px 13px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px; color: white;
    font-size: 0.77rem; font-weight: 600; letter-spacing: 0.5px;
}

/* 獎項網格 */
.awards-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.award-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-m); overflow: hidden;
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.award-card-img {
    height: 160px; overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.award-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.award-card:hover .award-card-img img { transform: scale(1.08); }

.award-card-body { padding: 18px 16px; }

.award-badge-icon {
    font-size: 1.4rem; color: var(--gold-l); margin-bottom: 8px;
}

.award-card-body h4 {
    font-size: 0.9rem; font-weight: 800; color: white;
    margin-bottom: 8px; line-height: 1.35;
}

.award-card-body p {
    font-size: 0.8rem; color: rgba(255,255,255,0.72);
    line-height: 1.65; margin-bottom: 12px;
}

.award-year {
    display: inline-block; padding: 3px 10px;
    background: rgba(240,200,66,0.25);
    border: 1px solid rgba(240,200,66,0.4);
    border-radius: 12px; color: var(--gold-l);
    font-size: 0.72rem; font-weight: 700;
}

/* =====================================================
   相片集
   ===================================================== */
.gallery-section { background: var(--gray-50); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius-s);
    overflow: hidden; position: relative;
    cursor: pointer; background: var(--pink-100);
}

.gallery-item.gi-large {
    grid-column: span 2;
}

.gallery-item.gi-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-hover {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(194,31,101,0.75) 0%, rgba(245,80,158,0.3) 50%, transparent 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding: 16px;
    opacity: 0; transition: var(--transition);
    color: white; text-align: center;
}

.gallery-item:hover .gallery-hover { opacity: 1; }

.gallery-hover i { font-size: 1.5rem; margin-bottom: 6px; }
.gallery-hover span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: rgba(255,255,255,0.15);
    border: none; color: white; font-size: 1.3rem;
    width: 44px; height: 44px; border-radius: 50%;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

#lightboxImg {
    max-width: 88vw; max-height: 85vh;
    border-radius: var(--radius-m);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-caption {
    position: absolute; bottom: 24px;
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem; letter-spacing: 1px;
    background: rgba(0,0,0,0.4);
    padding: 8px 20px; border-radius: 20px;
}

/* =====================================================
   聯絡
   ===================================================== */
.contact-section { background: linear-gradient(180deg, var(--pink-50) 0%, var(--white) 100%); }

.contact-layout {
    display: grid; grid-template-columns: 400px 1fr;
    gap: 48px; align-items: start;
}

.company-card {
    background: white;
    border-radius: var(--radius-l);
    padding: 36px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--pink-100);
}

.company-logo {
    height: 68px;
    width: 68px;
    object-fit: contain;
    margin-bottom: 16px;
}

.company-card h3 {
    font-size: 1.08rem; font-weight: 800; color: var(--navy);
    margin-bottom: 4px;
}

.company-tagline {
    font-size: 0.78rem; color: var(--pink-600);
    font-weight: 600; letter-spacing: 2px; margin-bottom: 22px;
}

.info-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }

.info-row {
    display: flex; align-items: flex-start; gap: 12px;
}

.info-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--pink-50); border-radius: var(--radius-s);
    display: flex; align-items: center; justify-content: center;
    color: var(--pink-600); font-size: 0.88rem;
}

.info-row > div { display: flex; flex-direction: column; }
.info-row label { font-size: 0.7rem; color: var(--text-light); letter-spacing: 1px; margin-bottom: 2px; font-weight: 600; }
.info-row span { font-size: 0.88rem; color: var(--text-dark); font-weight: 500; line-height: 1.45; }

.awards-mini-row {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding-top: 18px; border-top: 1px solid var(--pink-100);
}

.awards-mini-row span {
    padding: 4px 10px;
    background: var(--pink-50);
    border: 1px solid var(--pink-200);
    border-radius: 14px; font-size: 0.72rem; font-weight: 700;
    color: var(--pink-700);
    display: flex; align-items: center; gap: 4px;
}
.awards-mini-row i { color: var(--gold); }

/* 表單 */
.contact-form-card {
    background: white; border-radius: var(--radius-l);
    padding: 36px 36px; box-shadow: var(--shadow-md);
    border: 1px solid var(--pink-100);
}

.contact-form-card h3 {
    font-size: 1.08rem; font-weight: 800; color: var(--text-dark);
    margin-bottom: 24px; display: flex; align-items: center; gap: 9px;
}
.contact-form-card h3 i { color: var(--pink-500); }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }

.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.form-group label span { color: var(--pink-500); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 15px; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-s);
    font-family: var(--font); font-size: 0.9rem; color: var(--text-dark);
    background: var(--gray-50); transition: var(--transition);
    outline: none; resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pink-400);
    background: white;
    box-shadow: 0 0 0 3px rgba(245,80,158,0.1);
}

/* =====================================================
   Footer
   ===================================================== */
.footer { background: linear-gradient(150deg, #0f1e40, #1a2f5e); color: white; }

.footer-main { padding: 64px 0 44px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 56px; }

.footer-logo-wrap {
    width: 72px; height: 72px;
    background: white;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 2px solid rgba(240,200,66,0.8);
    padding: 4px;
}
.footer-logo { height: 64px; width: 64px; object-fit: contain; display: block; }

.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 18px; }

.footer-awards { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-awards span {
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px; font-size: 0.72rem; color: rgba(255,255,255,0.7);
}

.footer-nav h4, .footer-info h4 {
    font-size: 0.95rem; font-weight: 700; color: white;
    margin-bottom: 18px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(245,80,158,0.4);
}

.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-nav a:hover { color: var(--pink-300); padding-left: 4px; }

.footer-info p { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 9px; display: flex; align-items: flex-start; gap: 9px; }
.footer-info i { color: var(--pink-400); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom i { color: var(--pink-400); animation: beat 1.5s infinite; }

/* ===== 返回頂部 / Toast ===== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
    border: none; border-radius: 50%; color: white; font-size: 1rem;
    cursor: pointer; box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0; transform: translateY(20px); z-index: 998;
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.1); }

.toast-msg {
    position: fixed; bottom: 86px; right: 28px;
    background: linear-gradient(135deg, var(--pink-600), var(--pink-700));
    color: white; padding: 13px 22px; border-radius: var(--radius-m);
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 9px;
    font-size: 0.88rem; font-weight: 500; z-index: 999;
    transform: translateX(200%); transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.toast-msg.show { transform: translateX(0); }
.toast-msg i { color: #a8f0c6; }

/* ===== 動畫 ===== */
@keyframes beat {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes float-item {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeInDown {
    from { opacity:0; transform: translateY(-18px); }
    to   { opacity:1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity:0; transform: translateY(28px); }
    to   { opacity:1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity:0; transform: translateX(36px); }
    to   { opacity:1; transform: translateX(0); }
}

/* ===== 響應式 ===== */
@media (max-width: 1100px) {
    .chairman-layout { grid-template-columns: 1fr; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .story-big-card { grid-template-columns: 1fr; }
    .story-photo-side { min-height: 280px; }
    .award-feature { grid-template-columns: 1fr; }
    .award-feature-photos { height: 260px; }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .actions-grid { grid-template-columns: repeat(2, 1fr); }
    .beliefs-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.gi-large { grid-column: span 1; }
    .gallery-item.gi-tall { grid-row: span 1; }
    .photo-thumbs { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }

    .nav-menu {
        display: none; position: fixed; inset: 0;
        background: rgba(255,255,255,0.97);
        flex-direction: column; justify-content: center;
        align-items: center; gap: 6px; z-index: 998;
    }
    .nav-menu.open { display: flex; }
    .nav-link { font-size: 1.15rem; padding: 11px 24px; }
    .nav-toggle { display: flex; z-index: 999; }

    .stats-row { flex-wrap: wrap; gap: 12px; }
    .stat-box { min-width: 120px; }
    .stat-sep { display: none; }

    .actions-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

    /* Hero 區塊：內容容器取消左右 padding，讓圖片可以真正滿版 */
    .hero-content { padding: 30px 0 24px; gap: 0; }
    .hero-left { padding: 0 24px; }
    .hero-right { width: 100%; padding: 0; margin-top: 24px; }
    .chairman-hero-card { width: 100%; max-width: 100%; border-radius: 0; box-shadow: none; }
    .chairman-photo-wrap { height: 380px; border-radius: 0; }
    .chairman-hero-photo { object-position: center 15%; }
    /* 董事長介紹照片滿版 */
    .chairman-layout { grid-template-columns: 1fr; }
    .photo-main { height: 360px; border-radius: 0; margin-left: -24px; margin-right: -24px; }
    .photo-thumbs { grid-template-columns: repeat(2, 1fr); }
    .thumb { height: 110px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .awards-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-title .line1 { font-size: 2rem; }
    .intro-info-grid { grid-template-columns: 1fr; }
    .chairman-photo-wrap { height: 280px; }
    .photo-main { height: 280px; }
    .thumb { height: 90px; }
}
