
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft JhengHei", "PingFang TC", "Heiti TC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a2a44;
    background: #f6f9fc;
    padding-top: 56px;
}

/* Top Mobile Sticky CTA */
.top-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #c8102e;
    color: #fff;
    z-index: 9999;
    display: flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.top-cta a {
    flex: 1;
    text-align: center;
    color: #fff;
    text-decoration: none;
    padding: 14px 8px;
    font-size: 15px;
    font-weight: bold;
    border-right: 1px solid rgba(255,255,255,0.3);
}
.top-cta a:last-child { border-right: none; }
.top-cta a.wa { background: #25D366; }
.top-cta a.tel { background: #c8102e; }
.top-cta .blink {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffeb3b;
    border-radius: 50%;
    margin-right: 6px;
    animation: blink 1s infinite;
    vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0.3; } }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ============================================
   🎨 HERO BANNER 純圖片區域 (適合正方形 1:1 Banner)
   - 手機：滿版顯示 banner
   - 桌面：限制最大闊度 + 兩邊留白，避免過大
   ============================================ */
.hero-banner {
    width: 100%;
    background: #eaf2fb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}
/* Placeholder 預覽用，放圖時請刪除 */
.hero-banner .placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 700px;
    background: 
        repeating-linear-gradient(
            45deg,
            #e8eef5,
            #e8eef5 20px,
            #dde5f0 20px,
            #dde5f0 40px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a6a82;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    padding: 20px;
}

/* 桌面版：限制 banner 最大顯示尺寸（因為係正方形，唔想佔太多版面） */
@media (min-width: 768px) {
    .hero-banner {
        padding: 30px 16px;
        background: linear-gradient(135deg, #eaf2fb 0%, #d6e4f5 100%);
    }
    .hero-banner img,
    .hero-banner .placeholder {
        max-width: 600px;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 62, 126, 0.15);
    }
}

@media (min-width: 1024px) {
    .hero-banner img,
    .hero-banner .placeholder {
        max-width: 680px;
    }
}

/* 24/7 Banner */
.alert-bar {
    background: #ffd700;
    color: #1a2a44;
    text-align: center;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
}
.alert-bar .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #c8102e;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.2s infinite;
    vertical-align: middle;
}

/* Sections */
section { padding: 40px 0; }
.section-title {
    text-align: center;
    font-size: 24px;
    color: #003e7e;
    margin-bottom: 8px;
    font-weight: bold;
}
.section-subtitle {
    text-align: center;
    color: #5a6a82;
    margin-bottom: 28px;
    font-size: 15px;
}

/* Case Study Box */
.case-box {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,62,126,0.08);
    border-left: 5px solid #c8102e;
    margin-bottom: 20px;
}
.case-box h3 { color: #003e7e; font-size: 19px; margin-bottom: 10px; }
.case-box p { color: #3a4a62; margin-bottom: 8px; font-size: 15px; }
.case-tag {
    display: inline-block;
    background: #e8f3ff;
    color: #003e7e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-right: 6px;
    margin-bottom: 6px;
}
.case-tag.danger {
    background: #ffe0e3;
    color: #c8102e;
}

/* Risk Box */
.risk-box {
    background: #fff5f5;
    border: 2px solid #c8102e;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px 0;
}
.risk-box h4 {
    color: #c8102e;
    font-size: 17px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.risk-box ul {
    margin-left: 20px;
    color: #3a4a62;
}
.risk-box ul li {
    margin-bottom: 6px;
    font-size: 14.5px;
}

/* Symptoms Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(0,62,126,0.08);
    border-top: 4px solid #003e7e;
}
.card .icon {
    width: 48px;
    height: 48px;
    background: #e8f3ff;
    color: #003e7e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}
.card h4 { color: #003e7e; font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: #4a5a72; }

/* Info Section */
.info-section { background: #fff; }
.info-block {
    background: #f6f9fc;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 18px;
    border-left: 4px solid #003e7e;
}
.info-block h3 { color: #003e7e; font-size: 19px; margin-bottom: 12px; }
.info-block p { color: #3a4a62; font-size: 15px; margin-bottom: 10px; }
.info-block ul { margin-left: 20px; color: #3a4a62; font-size: 15px; }
.info-block ul li { margin-bottom: 6px; }
.info-block strong { color: #c8102e; }

/* Comparison Table */
.compare-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,62,126,0.08);
    margin: 20px 0;
    overflow-x: auto;
}
.compare-table table { width: 100%; border-collapse: collapse; min-width: 500px; }
.compare-table th, .compare-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #e8eef5;
    font-size: 14.5px;
}
.compare-table th { background: #003e7e; color: #fff; font-weight: bold; }
.compare-table td:first-child { font-weight: bold; color: #003e7e; background: #f6f9fc; }
.compare-table .yes { color: #25D366; font-weight: bold; }
.compare-table .no { color: #c8102e; font-weight: bold; }

/* Why Us */
.why-us { background: #003e7e; color: #fff; }
.why-us .section-title { color: #ffd700; }
.why-us .section-subtitle { color: #cce0f5; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.why-item {
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
}
.why-item .num { font-size: 32px; font-weight: bold; color: #ffd700; margin-bottom: 8px; }
.why-item h4 { font-size: 16px; margin-bottom: 6px; }
.why-item p { font-size: 14px; opacity: 0.9; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #c8102e 0%, #e63946 100%);
    color: #fff;
    text-align: center;
}
.cta-section h2 { font-size: 26px; margin-bottom: 10px; }
.cta-section p { font-size: 16px; margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 220px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.btn-tel { background: #fff; color: #c8102e; }
.btn-wa { background: #25D366; color: #fff; }
.btn-icon { margin-right: 6px; }

/* FAQ */
.faq-item {
    background: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,62,126,0.06);
    border-left: 4px solid #ffd700;
}
.faq-item h4 { color: #003e7e; font-size: 16px; margin-bottom: 8px; }
.faq-item h4::before { content: "Q. "; color: #c8102e; font-weight: bold; }
.faq-item p { color: #4a5a72; font-size: 15px; }
.faq-item p::before { content: "A. "; color: #25D366; font-weight: bold; }

/* Map */
.map-wrap {
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,62,126,0.08);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; border-radius: 8px; display: block; }
.contact-info {
    margin-top: 16px;
    padding: 14px;
    background: #f0f6ff;
    border-radius: 8px;
}
.contact-info p { margin-bottom: 6px; font-size: 15px; color: #1a2a44; }
.contact-info strong { color: #003e7e; }

/* Footer */
footer {
    background: #1a2a44;
    color: #cce0f5;
    text-align: center;
    padding: 24px 16px;
    font-size: 14px;
}
footer a { color: #ffd700; text-decoration: none; }

/* Floating CTA */
.float-cta {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-cta a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.float-cta .fab-wa { background: #25D366; }
.float-cta .fab-tel { background: #c8102e; animation: pulse 2s infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(200,16,46,0.5); }
    50% { box-shadow: 0 4px 20px rgba(200,16,46,0.9); }
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    body { padding-top: 0; }
    .top-cta { display: none; }
    .section-title { font-size: 30px; }
    .cta-section h2 { font-size: 32px; }
    section { padding: 60px 0; }
}

/* Highlight box */
.highlight-box {
    background: #fff8d6;
    border-left: 5px solid #ffd700;
    padding: 16px 18px;
    border-radius: 8px;
    margin: 16px 0;
}
.highlight-box strong { color: #c8102e; }

/* Prevention emphasis box */
.prevention-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 14px;
    padding: 24px;
    margin: 20px 0;
    text-align: center;
    border: 2px dashed #25D366;
}
.prevention-box h3 { color: #1a6e2e; font-size: 22px; margin-bottom: 10px; }
.prevention-box p { color: #2c4a32; font-size: 15.5px; margin-bottom: 8px; }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.step {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,62,126,0.08);
    position: relative;
}
.step-num {
    width: 36px;
    height: 36px;
    background: #003e7e;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.step h4 { color: #003e7e; font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: #5a6a82; }
