/* ============================================================
   微創剝牙專科專題（zt_chiya）
   所有選擇器均以 .zt_chiya 開頭，配色使用局部 CSS 變數，
   避免污染全站全局樣式。輪播 banner 沿用 .zt_chiya_banner*。
   ============================================================ */

.zt_chiya {
    --primary-color: #16a34a;      /* 薄荷草綠主色 */
    --primary-dark: #15803d;       /* 森林綠 */
    --primary-light: #4ade80;      /* 明亮嫩綠 */
    --secondary-color: #f97316;    /* 活力橘色 */
    --secondary-hover: #ea580c;
    --accent-color: #fde047;       /* 明亮金黃 */
    --zt-primary: #16a34a;
    --zt-primary-dark: #15803d;
    --zt-primary-light: #4ade80;
    --zt-secondary: #f97316;
    --zt-secondary-hover: #ea580c;
    --zt-accent: #fde047;
    --zt-light-bg: #f2fbf5;
    --zt-border: #bbf7d0;

    width: 100%;
    margin: 0;
    box-sizing: border-box;
    color: #1f2937;
    line-height: 1.6;
    background: var(--zt-light-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.zt_chiya *,
.zt_chiya *::before,
.zt_chiya *::after {
    box-sizing: border-box;
}

/* ---------- 頂部輪播 ---------- */
.zt_chiya_banner {
    width: 100%;
    display: block;
    background: #e9f9ef;
}

.zt_chiya_banner .swiper-slide {
    width: 100%;
}

.zt_chiya_banner_picture,
.zt_chiya_banner_img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Hero ---------- */
.zt_chiya_hero {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    color: #fff;
    padding: 35px 20px;
    text-align: center;
}

.zt_chiya_hero h1 {
    font-size: 23px;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.zt_chiya_banner_list {
    list-style: none;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 18px;
}

.zt_chiya_banner_list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ---------- 通用 Section ---------- */
.zt_chiya_section {
    padding: 30px 20px;
}

.zt_chiya_section--white {
    background: #fff;
}

.zt_chiya_section_title {
    font-size: 20px;
    text-align: center;
    color: var(--zt-primary-dark);
    margin-bottom: 8px;
    font-weight: bold;
}

.zt_chiya_section_desc {
    text-align: center;
    color: var(--zt-primary);
    font-size: 13px;
    margin-bottom: 20px;
}

/* ---------- 科普資訊盒 ---------- */
.zt_chiya_intro_box {
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--zt-border);
    margin-bottom: 15px;
}

/* ---------- 知識網格卡 ---------- */
.zt_chiya_know_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .zt_chiya_know_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.zt_chiya_know_card {
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--zt-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.zt_chiya_know_card h4 {
    font-size: 15px;
    color: var(--zt-primary-dark);
    margin-bottom: 6px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zt_chiya_know_card p {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.6;
}

/* ---------- 風險警示卡 ---------- */
.zt_chiya_risk_box {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-left: 4px solid var(--zt-secondary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.zt_chiya_risk_box h4 {
    font-size: 14px;
    color: var(--zt-secondary-hover);
    font-weight: bold;
    margin-bottom: 4px;
}

.zt_chiya_risk_box p {
    font-size: 12px;
    color: #9a3412;
    line-height: 1.6;
}

/* ---------- 痛點卡 ---------- */
.zt_chiya_pain_box {
    background: #ffffff;
    border-left: 4px solid var(--zt-secondary);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    font-size: 13px;
    color: #374151;
    margin-bottom: 15px;
    line-height: 1.7;
    border-top: 1px solid #f3f4f6;
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

/* ---------- 技術優勢網格 ---------- */
.zt_chiya_tech_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .zt_chiya_tech_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.zt_chiya_tech_card {
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--zt-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.zt_chiya_icon_head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.zt_chiya_icon_box {
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zt_chiya_tech_card h4 {
    font-size: 15px;
    color: var(--zt-primary-dark);
    margin: 0;
    font-weight: bold;
}

.zt_chiya_tech_card p {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.6;
}

/* ---------- 價格矩陣 ---------- */
.zt_chiya_price_card {
    background: #ffffff;
    border: 2px solid var(--zt-primary);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.zt_chiya_price_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--zt-border);
    padding: 10px 0;
}

.zt_chiya_price_row:last-child {
    border-bottom: none;
}

.zt_chiya_price_name {
    font-size: 14px;
    font-weight: bold;
    color: var(--zt-primary-dark);
}

.zt_chiya_price_desc {
    font-size: 11px;
    color: #6b7280;
}

.zt_chiya_price_num {
    font-size: 18px;
    font-weight: bold;
    color: var(--zt-secondary);
    text-align: right;
}

.zt_chiya_all_inclusive_box {
    background: #f0fdf4;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--zt-primary-dark);
    line-height: 1.6;
    border: 1px solid var(--zt-border);
}

.zt_chiya_pay_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.zt_chiya_pay_tag {
    background: #ffffff;
    border: 1px solid #86efac;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #15803d;
    font-weight: bold;
}

/* ---------- 流程 Timeline ---------- */
.zt_chiya_step_container {
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #f3f4f6;
}

.zt_chiya_step_item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.zt_chiya_step_item:last-child {
    margin-bottom: 0;
}

.zt_chiya_step_num {
    width: 28px;
    height: 28px;
    background: var(--zt-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 13px;
}

.zt_chiya_step_text h5 {
    font-size: 14px;
    color: var(--zt-primary-dark);
}

.zt_chiya_step_text p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

/* ---------- 注意事項網格 ---------- */
.zt_chiya_notice_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .zt_chiya_notice_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.zt_chiya_notice_card {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--zt-border);
}

.zt_chiya_notice_card h4 {
    font-size: 14px;
    color: var(--zt-primary-dark);
    margin-bottom: 8px;
    border-bottom: 2px solid var(--zt-primary-light);
    padding-bottom: 4px;
    display: inline-block;
}

.zt_chiya_notice_card ul {
    list-style: none;
    padding: 0;
    font-size: 12px;
    color: #374151;
    line-height: 1.7;
}

.zt_chiya_notice_card li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.zt_chiya_notice_card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--zt-primary);
    font-weight: bold;
}

/* ---------- 分院地址 ---------- */
.zt_chiya_branch_card {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--zt-border);
}

.zt_chiya_branch_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--zt-border);
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.zt_chiya_branch_title {
    font-size: 15px;
    font-weight: bold;
    color: var(--zt-primary-dark);
}

.zt_chiya_branch_tag {
    background: #f0fdf4;
    color: var(--zt-primary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    border: 1px solid var(--zt-border);
}

.zt_chiya_branch_info {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.6;
}

/* ---------- Hero WhatsApp 按鈕（公共方法：data-whatsapp 由 comm.js 綁定） ---------- */
.zt_chiya_wa_btn {
    display: inline-block;
    margin-top: 18px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 13px 34px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.zt_chiya_wa_btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.5);
}
