/* ── Legacy classes kept for backward-compat ── */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 121, 107, 0.3);
}
.service-icon { transition: transform 0.3s ease; }
.glass-card:hover .service-icon { transform: rotate(5deg) scale(1.1); }

/* ════════════════════════════════════════════════════
   Page background  (matches 評鑑建構辦法)
   ════════════════════════════════════════════════════ */
body {
    font-family: 'Noto Sans TC', sans-serif;
    background:
        radial-gradient(ellipse 900px 780px at -6%  16%,  rgba(0,121,107,0.11) 0%, transparent 62%),
        radial-gradient(ellipse 820px 700px at 108%  7%,  rgba(38,166,154,0.09) 0%, transparent 56%),
        radial-gradient(ellipse 760px 660px at 20%  80%,  rgba(80,201,169,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 840px 720px at 94%  90%,  rgba(0,121,107,0.09) 0%, transparent 58%),
        radial-gradient(ellipse 600px 540px at 54%  46%,  rgba(38,166,154,0.07) 0%, transparent 65%),
        #f7fdfb;
    background-attachment: fixed;
}

/* ════════════════════════════════════════════════════
   Hero Banner
   ════════════════════════════════════════════════════ */
.eag-hero-banner {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 3.5rem;
    min-height: 48vh;
    display: flex;
    align-items: center;
}

.eag-banner-bg {
    position: absolute;
    inset: 0;
    background: url('../../assets/images/corporate-ai/corporate-esg01.jpg') center/cover no-repeat;
    z-index: 0;
}

.eag-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,40,32,0.87) 0%, rgba(0,60,48,0.74) 45%, rgba(0,70,55,0.35) 100%);
    z-index: 1;
}

.eag-banner-container {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 18rem);
    margin-left: 7rem;
    margin-right: auto;
    margin-top: 6rem;
    padding: 0;
}

.eag-banner-left {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

/* ── Left text ── */
.eag-eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(160,240,210,0.9);
    margin-bottom: 1.4rem;
    font-family: 'Noto Sans TC', sans-serif;
}
.eag-eyebrow-tag::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: rgba(160,240,210,0.7);
}

.eag-main-h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.22;
    margin-bottom: 0.4rem;
    letter-spacing: 0.07em;
    text-shadow: 0 4px 28px rgba(0,0,0,0.3);
}

.eag-sub-h2 {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(0.9rem, 1.6vw, 1.2rem);
    font-weight: 300;
    color: rgba(195,255,235,0.85);
    letter-spacing: 0.13em;
    margin-bottom: 1.8rem;
}

.eag-rule {
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, rgba(100,220,180,0.85), transparent);
    margin-bottom: 1.6rem;
}

.eag-desc {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    color: rgba(215,255,242,0.75);
    line-height: 1.95;
    max-width: 380px;
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════════
   核心認定框架 Panel — two-face toggle (like bsp-panel)
   ════════════════════════════════════════════════════ */
.eag-panel {
    position: absolute;
    left: auto;
    right: 15%;
    top: 58%;
    transform: translateY(-50%);
    width: 660px;
    z-index: 3;
    background: rgba(180,190,188,0.27);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 1rem;
    padding: 1.2rem 1.8rem 1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* ── Panel face animations (same pattern as bsp-panel) ── */
@keyframes eagFadeIn {
    from { opacity: 0; transform: scale(0.94) translateY(8px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}
@keyframes eagFadeOut {
    from { opacity: 1; transform: scale(1)   translateY(0); }
    to   { opacity: 0; transform: scale(0.94) translateY(8px); }
}

#eagPanelMain,
#eagPanelIntro {
    animation-duration: 0.32s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
#eagPanelMain.eag-enter,
#eagPanelIntro.eag-enter { animation-name: eagFadeIn; }
#eagPanelMain.eag-exit,
#eagPanelIntro.eag-exit  { animation-name: eagFadeOut; }

/* ── Face 1: 核心認定框架 ── */
.eag-panel-title {
    text-align: center;
    font-family: 'Noto Serif TC', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.eag-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 0.8rem;
}

.eag-panel-item {
    padding: 0.9rem 0.7rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background 0.25s ease;
}
.eag-panel-item:last-child { border-right: none; }
.eag-panel-item:hover { background: rgba(255,255,255,0.05); }

.eag-ordinal {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(120,230,180,0.9);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: 'Noto Sans TC', sans-serif;
}

.eag-hdivider {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(120,230,180,0.55);
    margin: 0 auto 0.65rem;
}

.eag-panel-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.eag-panel-desc {
    font-size: 0.8rem;
    color: rgba(215,255,242,0.82);
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans TC', sans-serif;
}

.eag-panel-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(215,255,242,0.75);
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.7rem;
    margin-top: 0;
}

/* ── Face 2: 指引制定背景 ── */
#eagPanelIntro {
    padding: 0.2rem 0;
    position: relative;
}

#btn-close-eag {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    color: #fff;
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}
#btn-close-eag:hover { background: rgba(255,255,255,0.25); }

.eag-slide-rule {
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, rgba(100,220,180,0.85), transparent);
    margin-bottom: 0.85rem;
}

.eag-slide-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.85rem;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.eag-slide-text {
    font-size: 0.88rem;
    color: rgba(215,255,242,0.88);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.eag-slide-cards {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.eag-slide-card {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(100,220,180,0.18);
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
}
.eag-slide-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(100,220,180,0.7), transparent);
}

.eag-slide-icon {
    font-size: 1.1rem;
    color: rgba(130,240,200,0.85);
}

.eag-slide-card-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0;
}

.eag-slide-card-text {
    font-size: 0.82rem;
    color: rgba(210,255,235,0.78);
    line-height: 1.7;
    margin: 0;
}

/* ════════════════════════════════════════════════════
   指引制定背景 Trigger
   ════════════════════════════════════════════════════ */
#eagTriggerWrap {
    position: absolute;
    right: 6%;
    top: 58%;
    transform: translateY(-50%);
    z-index: 25;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#eagTriggerWrap.eag-trigger-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.88);
}

#eagTrigger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(0,45,35,0.38);
    border: 1px solid rgba(100,220,180,0.28);
    border-radius: 1.25rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(100,220,180,0.08);
    animation: eagFloat 3.6s ease-in-out infinite;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#eagTrigger:hover {
    background: rgba(0,65,50,0.60);
    border-color: rgba(100,220,180,0.52);
    box-shadow: 0 14px 44px rgba(0,0,0,0.3), 0 0 22px rgba(80,200,160,0.18);
    animation-play-state: paused;
}

@keyframes eagFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}

.eag-pulse-ring {
    position: relative;
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eag-pulse-ring::before,
.eag-pulse-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(100,220,180,0.5);
    animation: eagRipple 2.4s ease-out infinite;
}
.eag-pulse-ring::after { animation-delay: 1.2s; }

@keyframes eagRipple {
    0%   { width: 2.4rem; height: 2.4rem; opacity: 0.85; }
    100% { width: 4.8rem; height: 4.8rem; opacity: 0; }
}

.eag-trigger-icon {
    font-size: 1.4rem;
    color: rgba(130,240,200,0.95);
    position: relative;
    z-index: 1;
}

.eag-trigger-text {
    font-family: 'Noto Serif TC', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.22em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.9;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.eag-hint-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#eagTrigger:hover .eag-hint-arrow {
    opacity: 1;
    transform: translateY(0);
}

.eag-trigger-arr {
    font-size: 0.75rem;
    color: rgba(150,240,210,0.75);
}

/* ── Scroll indicator ── */
.eag-scroll-wrap {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    font-family: 'Noto Sans TC', sans-serif;
}

.eag-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: eagScrollAnim 2s ease-in-out infinite;
}

@keyframes eagScrollAnim {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ════════════════════════════════════════════════════
   適用之活動類別 Section
   ════════════════════════════════════════════════════ */
.eag-activity-section {
    padding: 5rem 0;
    position: relative;
    overflow: visible;
}

.eag-section-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.eag-activity-section > .container {
    position: relative;
    z-index: 1;
}

.eag-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    font-family: 'Noto Serif TC', serif;
}

.eag-section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* ── Activity Cards Grid ── */
.eag-activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.eag-act-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.eag-act-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,121,107,0.13);
}

.eag-act-corner {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 1rem 1rem 0 0;
}
.eag-act-card:nth-child(1) .eag-act-corner {
    background: linear-gradient(90deg, #0d9488, #14b8a6 60%, transparent);
}
.eag-act-card:nth-child(2) .eag-act-corner {
    background: linear-gradient(90deg, #065f46, #059669 60%, transparent);
}

.eag-act-header { margin-bottom: 1rem; }

.eag-act-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f2922;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.eag-act-underline {
    height: 3px;
    width: 2.5rem;
    border-radius: 2px;
}
.eag-act-underline.eag-green      { background: #0d9488; }
.eag-act-underline.eag-dark-green { background: #065f46; }

.eag-act-desc {
    font-size: 0.93rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.eag-act-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.eag-act-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.93rem;
    color: #374151;
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.55;
}
.eag-green-item  { color: #134e4a; }
.eag-dgreen-item { color: #1f3a2e; }

.eag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.eag-dot-green  { background: #0d9488; }
.eag-dot-dgreen { background: #065f46; }

.eag-extra-item { display: none; }
.eag-extra-item.eag-item-visible { display: flex; }
.eag-panel-hidden { display: none !important; }

@keyframes eagItemIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.eag-extra-item.eag-item-show {
    animation: eagItemIn 0.4s ease both;
}

.eag-expand-btn {
    margin-top: 1.1rem;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1.5px solid #059669;
    color: #059669;
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    font-family: 'Noto Sans TC', sans-serif;
}
.eag-expand-btn:hover {
    background: #059669;
    color: #fff;
}

/* ════════════════════════════════════════════════════
   本中心提供之服務
   ════════════════════════════════════════════════════ */
.eag-services-section {
    padding: 5rem 0 3rem;
    position: relative;
    overflow: visible;
    background: rgba(255,255,255,0.50) !important;
}

/* SVG 有機線條背景 (同 SEED 四大評鑑構面) */
.eag-svc-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

/* ── 三欄服務卡片 (eco-style, 參考大地方計畫) ── */
.eag-svc-grid {
    display: flex;
    gap: 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 420px;
    padding: 0 2rem 1rem;
    position: relative;
    z-index: 1;
}

.eag-svc-col {
    position: relative;
    flex: 1;
    cursor: default;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: eagSvcFadeUp 0.9s ease-out forwards;
    opacity: 0;
}
.eag-svc-col:nth-child(1) { animation-delay: 0.10s; }
.eag-svc-col:nth-child(2) { animation-delay: 0.22s; }
.eag-svc-col:nth-child(3) { animation-delay: 0.34s; }
@keyframes eagSvcFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.eag-svc-col:hover { transform: scale(1.03); z-index: 2; }

/* 背景圖 */
.eag-svc-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.eag-svc-col:hover .eag-svc-img { transform: scale(1.06); }

.eag-svc-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 4.5rem 1.75rem 2rem;
    z-index: 2;
    background: linear-gradient(to top,
        rgba(0,0,0,0.60) 0%,
        rgba(0,0,0,0.28) 50%,
        transparent 100%);
}

/* 第三張卡片圖色較淺，漸層略加深以增強對比 */
.eag-svc-col:nth-child(3) .eag-svc-content {
    background: linear-gradient(to top,
        rgba(0,0,0,0.50) 0%,
        rgba(0,0,0,0.22) 50%,
        transparent 100%);
}

.eag-svc-num {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #7effd4;
    letter-spacing: 0.08em;
    padding-left: 0.65rem;
    border-left: 3px solid #5ee8bb;
    margin-bottom: 0.6rem;
    font-family: 'Noto Sans TC', sans-serif;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.eag-svc-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif TC', serif;
    text-shadow: 0 2px 6px rgba(0,0,0,0.95), 0 4px 20px rgba(0,0,0,0.75);
}

.eag-svc-sub {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(235,255,248,0.96);
    line-height: 1.7;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    transition: max-height 0.45s ease, opacity 0.45s ease, margin 0.3s ease;
}
.eag-svc-col:hover .eag-svc-sub {
    max-height: 8rem;
    opacity: 1;
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .eag-svc-grid {
        flex-direction: column;
        min-height: auto;
        padding: 0 1rem 1rem;
    }
    .eag-svc-col { min-height: 220px; }
    .eag-svc-col .eag-svc-sub {
        max-height: 8rem;
        opacity: 1;
        margin-bottom: 0.75rem;
    }
}

/* ════════════════════════════════════════════════════
   如何使用本指引 — CTA Banner
   ════════════════════════════════════════════════════ */
.eag-cta-banner {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    min-height: 28vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eag-cta-bg {
    position: absolute;
    inset: 0;
    background: url('../../assets/images/sustainable-finance/BANNER.jpg') center/cover no-repeat;
    z-index: 0;
}

.eag-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,30,22,0.88) 0%, rgba(0,55,42,0.78) 50%, rgba(0,40,32,0.87) 100%);
    z-index: 1;
}

.eag-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
    color: #fff;
}

.eag-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(160,240,210,0.9);
    margin-bottom: 1.5rem;
}
.eag-cta-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(160,240,210,0.7);
}

.eag-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    font-family: 'Noto Serif TC', serif;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.eag-cta-rule {
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, rgba(100,220,180,0.85), transparent);
    margin: 1.4rem auto 1.8rem;
}

.eag-cta-desc {
    font-size: 1rem;
    color: rgba(210,255,240,0.85);
    line-height: 1.9;
    margin-bottom: 2rem;
}

/* ── Banner & CTA 共用行動按鈕 (大地方計畫 同款風格) ── */
.eag-banner-btn-solid {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
    color: #fff;
    text-decoration: none;
}
.eag-banner-btn-solid:hover {
    background: rgba(255,255,255,0.22);
}
.eag-banner-btn-green {
    background: rgba(0,180,130,0.22);
    color: rgba(170,255,225,1);
    border: 1px solid rgba(100,220,180,0.38);
    backdrop-filter: blur(8px);
    text-decoration: none;
}
.eag-banner-btn-green:hover {
    background: rgba(0,180,130,0.36);
}

.eag-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0;
}

.eag-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0.75rem;
    padding: 0.85rem 1.4rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Noto Sans TC', sans-serif;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.eag-cta-link:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(100,220,180,0.45);
}

.eag-cta-link-icon       { font-size: 1.6rem; flex-shrink: 0; }
.eag-cta-link-icon.pdf   { color: #f87171; }
.eag-cta-link-icon.qa    { color: #60a5fa; }

.eag-cta-link-title {
    font-weight: 600;
    font-size: 0.92rem;
    text-align: left;
    margin-bottom: 0.1rem;
}
.eag-cta-link-sub {
    font-size: 0.78rem;
    color: rgba(210,255,240,0.6);
    text-align: left;
}

.eag-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.eag-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #00796b;
    padding: 0.9rem 2.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.eag-cta-btn-primary:hover {
    background: #e6fffa;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.eag-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 0.9rem 2.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.eag-cta-btn-outline:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.7);
}

/* ════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    #eagTriggerWrap { display: none; }
    .eag-panel      { width: 500px; left: auto; right: 2%; top: 55%; transform: translateY(-50%); }
}

@media (max-width: 900px) {
    .eag-panel { display: none; }
}

@media (max-width: 768px) {
    .eag-hero-banner  { padding: 4rem 0 3rem; }
    .eag-banner-container {
        margin-left: 1.5rem;
        max-width: calc(100% - 3rem);
        margin-top: 0;
    }
    .eag-main-h1         { font-size: 2.4rem; }
    .eag-activities-grid { grid-template-columns: 1fr; }
    .eag-cta-banner      { padding: 4rem 0; }
    .eag-cta-links       { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .eag-main-h1          { font-size: 2rem; }
    .eag-cta-btns         { flex-direction: column; align-items: center; }
    .eag-cta-btn-primary,
    .eag-cta-btn-outline  { width: 100%; justify-content: center; }
}

/* 英文標題較長，加寬容器讓按鈕並排、描述文字減少行數 */
:lang(en) .eag-main-h1 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    letter-spacing: 0.02em;
    line-height: 1.35;
}

:lang(en) .eag-desc {
    max-width: 660px;
    font-size: 0.85rem;
}

:lang(en) .eag-cta-inner {
    max-width: 900px;
}
