/* ============================================================
   ITI 種植牙專題頁（zt_iti）
   所有選擇器均以 .zt_iti 開頭，配色使用局部 CSS 變數，
   避免污染全站全局樣式。
   ============================================================ */

.zt_iti {
    --zt-primary: #2e7d32;        /* 青草綠主色 */
    --zt-primary-dark: #1b5e20;   /* 深草綠 */
    --zt-primary-light: #4caf50;  /* 亮草綠 */
    --zt-secondary: #ff6f00;      /* 高轉化暖橘色 */
    --zt-secondary-hover: #e65100;
    --zt-accent: #ffd54f;         /* 溫暖金黃 */
    --zt-dark: #113814;
    --zt-light-bg: #f4fbf4;       /* 淡綠清爽背景 */
    --zt-card-bg: #ffffff;

    width: 100%;
    margin: 0;
    box-sizing: border-box;
    color: #2c3e50;
    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_iti *,
.zt_iti *::before,
.zt_iti *::after {
    box-sizing: border-box;
}

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

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

.zt_iti_banner_picture,
.zt_iti_banner_img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Hero ---------- */
.zt_iti_hero {
    background: linear-gradient(135deg, var(--zt-primary-dark) 0%, var(--zt-primary) 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.zt_iti_hero h1 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.4;
}

.zt_iti_subtitle {
    font-size: 16px;
    color: var(--zt-accent);
    font-weight: bold;
    margin-bottom: 20px;
}

.zt_iti_hero_tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.zt_iti_hero_tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    backdrop-filter: blur(5px);
}

/* ---------- 通用 Section ---------- */
.zt_iti_section {
    padding: 35px 20px;
}

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

.zt_iti_section--flat {
    padding-top: 0;
}

.zt_iti_section_title {
    font-size: 22px;
    text-align: center;
    color: var(--zt-primary-dark);
    margin-bottom: 10px;
    font-weight: bold;
}

.zt_iti_section_desc {
    text-align: center;
    color: #558b2f;
    font-size: 14px;
    margin-bottom: 25px;
}

/* ---------- 對比表 ---------- */
.zt_iti_comp_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    font-size: 13px;
}

.zt_iti_comp_table th,
.zt_iti_comp_table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #e8f5e9;
}

.zt_iti_comp_table th {
    background: #33691e;
    color: #fff;
}

.zt_iti_comp_table th.zt_iti_highlight {
    background: var(--zt-primary);
}

.zt_iti_comp_table td.zt_iti_good {
    color: var(--zt-primary-dark);
    font-weight: bold;
    background: #f1f8e9;
}

.zt_iti_comp_table td.zt_iti_bad {
    color: #888;
}

/* ---------- 價格卡 ---------- */
.zt_iti_price_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.zt_iti_price_card {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #c8e6c9;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.zt_iti_price_card.zt_iti_featured {
    border-color: var(--zt-secondary);
    box-shadow: 0 5px 20px rgba(255, 111, 0, 0.2);
}

.zt_iti_badge {
    background: var(--zt-secondary);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 10px;
    font-weight: bold;
}

.zt_iti_badge--primary {
    background: var(--zt-primary);
}

.zt_iti_card_head {
    padding: 20px;
    background: #f1f8e9;
    text-align: center;
    border-bottom: 1px solid #e8f5e9;
}

.zt_iti_card_head h3 {
    font-size: 20px;
    color: var(--zt-primary-dark);
    margin-bottom: 5px;
}

.zt_iti_card_price {
    font-size: 28px;
    color: var(--zt-secondary);
    font-weight: bold;
}

.zt_iti_card_price span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.zt_iti_card_tip {
    display: block;
    margin-top: 6px;
    color: var(--zt-secondary);
    font-weight: bold;
    font-size: 13px;
}

.zt_iti_card_tip--primary {
    color: var(--zt-primary);
}

.zt_iti_card_body {
    padding: 20px;
}

.zt_iti_card_body ul {
    list-style: none;
    font-size: 14px;
}

.zt_iti_card_body li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

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

.zt_iti_card_footer {
    padding: 15px 20px;
    text-align: center;
    background: #fff;
}

.zt_iti_card_btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--zt-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.zt_iti_card_btn:hover {
    background: var(--zt-primary-dark);
}

.zt_iti_card_btn--hot {
    background: var(--zt-secondary);
}

.zt_iti_card_btn--hot:hover {
    background: var(--zt-secondary-hover);
}

/* ---------- 醫生 / 技術優勢 ---------- */
.zt_iti_doctor_card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--zt-primary);
}

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

.zt_iti_doctor_icon_box svg {
    width: 40px;
    height: 40px;
    fill: var(--zt-primary);
}

.zt_iti_doctor_info h4 {
    font-size: 16px;
    color: var(--zt-primary-dark);
    margin-bottom: 4px;
}

.zt_iti_doctor_info p {
    font-size: 13px;
    color: #555;
}

.zt_iti_trust_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.zt_iti_trust_item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: var(--zt-primary-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8f5e9;
}

/* ---------- 品牌背書 & 交通 ---------- */
.zt_iti_guarantee_card {
    background: linear-gradient(135deg, var(--zt-primary-dark) 0%, var(--zt-primary) 100%);
    color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.zt_iti_guarantee_card h3 {
    font-size: 18px;
    color: var(--zt-accent);
    margin-bottom: 10px;
}

.zt_iti_guarantee_card p {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 15px;
    line-height: 1.6;
}

.zt_iti_guarantee_tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zt_iti_guarantee_badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.zt_iti_transport_card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8f5e9;
}

.zt_iti_transport_card h4 {
    font-size: 16px;
    color: var(--zt-primary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zt_iti_transport_card p {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

/* ---------- FAQ ---------- */
.zt_iti_faq_item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--zt-primary-light);
}

.zt_iti_faq_q {
    font-weight: bold;
    color: var(--zt-primary-dark);
    font-size: 14px;
    margin-bottom: 6px;
}

.zt_iti_faq_a {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* ---------- 桌面端佈局優化 ---------- */
@media (min-width: 768px) {
    .zt_iti_price_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
