/*
Theme Name: HK DRO - 吳欣澤執業會計師債務重組
Theme URI: https://hkdro.com/
Author: HK DRO
Author URI: https://hkdro.com/
Description: 香港專業債務重組服務網站主題，專為吳欣澤執業會計師事務所開發，IVA、DRP、破產諮詢服務。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hkdro
*/

/* ===== 全局重置與基礎樣式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1689B8;
    --primary-dark: #0D6389;
    --primary-light: #38BBD8;
    --accent: #25C2A0;
    --bg-light: #F3F8FA;
    --bg-white: #FFFFFF;
    --text-dark: #18303D;
    --text-medium: #4A6674;
    --text-light: #667983;
    --border: #E2EEF3;
    --shadow: 0 4px 20px rgba(22, 137, 184, 0.08);
    --shadow-hover: 0 12px 40px rgba(22, 137, 184, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Songti TC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 通用組件 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(22, 137, 184, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 137, 184, 0.4);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-phone {
    background: var(--text-dark);
    color: white;
}

.btn-phone:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-title .accent {
    color: var(--primary);
}

/* ===== 頂部信息欄 ===== */
.top-bar {
    background: var(--text-dark);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 30px;
}

.top-bar-info a {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info a:hover {
    color: var(--primary-light);
}

.top-bar-whatsapp {
    background: #25D366;
    color: white !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.top-bar-whatsapp:hover {
    background: #128C7E;
}

/* ===== 導航欄 ===== */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ===== Hero 區域 ===== */
.hero {
    background: linear-gradient(135deg, #1689B8 0%, #0D6389 50%, #38BBD8 100%);
    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: #7FE3F5;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: white;
    color: var(--primary);
}

.hero-buttons .btn-primary:hover {
    background: var(--text-dark);
    color: white;
}

.hero-buttons .btn-whatsapp {
    background: #25D366;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
}

.hero-float-card {
    position: absolute;
    background: white;
    color: var(--text-dark);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    bottom: 30px;
    left: -30px;
}

.hero-float-card.card-2 {
    top: 30px;
    right: -30px;
    animation-delay: 1s;
}

.float-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.float-text .number {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.float-text .label {
    font-size: 13px;
    color: var(--text-light);
}

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

/* ===== 數據統計欄 ===== */
.stats-bar {
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== 會計師簡介 ===== */
.about-section {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    width: 100%;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-content .lead {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.about-features {
    list-style: none;
    margin-bottom: 32px;
}

.about-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
}

.feature-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 2px;
}

/* ===== 服務卡片 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(22,137,184,0.1), rgba(56,187,216,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.service-link:hover {
    gap: 12px;
}

/* ===== 服務流程 ===== */
.process-section {
    background: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 0 0 8px var(--bg-light);
}

.process-step h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== 優勢區域 ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,194,160,0.1), rgba(22,137,184,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.advantage-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== 計算器區域 ===== */
.calculator-section {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0A2633 100%);
    color: white;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.calculator-content p {
    font-size: 17px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.calculator-box {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    color: var(--text-dark);
}

.calc-form-group {
    margin-bottom: 24px;
}

.calc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.calc-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.calc-form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-result {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-top: 24px;
    text-align: center;
}

.calc-result .monthly {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.calc-result .save {
    font-size: 15px;
    opacity: 0.9;
}

.calc-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

/* ===== FAQ 區域 ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== CTA 區域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-white {
    background: white;
    color: var(--primary);
}

.cta-buttons .btn-white:hover {
    background: var(--text-dark);
    color: white;
}

/* ===== 頁腳 ===== */
.footer {
    background: #0F2530;
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact-info li {
    list-style: none;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-contact-info svg {
    min-width: 18px;
    margin-top: 3px;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    padding: 8px 0;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    font-size: 13px;
    text-align: center;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    margin: 0 10px;
}

/* ===== WhatsApp 懸浮按鈕 ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== 通用頁面標頭 ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
}

/* ===== 內容頁通用樣式 ===== */
.content-wrapper {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.main-content {
    background: white;
}

.main-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.main-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 16px;
    color: var(--text-dark);
}

.main-content p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.9;
}

.main-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.main-content ul li {
    padding: 8px 0;
    color: var(--text-medium);
}

/* 側邊欄 */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

/* 表格樣式 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-medium);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--bg-light);
}

/* 案例卡片 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.case-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-light), white);
}

.case-content {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(22,137,184,0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 表單樣式 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(22,137,184,0.1), rgba(56,187,216,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-info-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.contact-form {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 文章列表 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    height: 180px;
    background: var(--bg-light);
}

.article-content {
    padding: 20px;
}

.article-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.article-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.article-card h4 a {
    color: var(--text-dark);
}

.article-card h4 a:hover {
    color: var(--primary);
}

/* ===== 動畫效果 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 響應式設計 ===== */
@media (max-width: 1024px) {
    .services-grid,
    .process-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero .container,
    .about-grid,
    .calculator-grid,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-info {
        gap: 16px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2,
    .about-content h2,
    .calculator-content h2,
    .cta-section h2 {
        font-size: 28px;
    }
    
    .services-grid,
    .process-grid,
    .advantages-grid,
    .stats-grid,
    .cases-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-float-card {
        display: none;
    }
    
    .process-grid::before {
        display: none;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== 網站地圖頁面 ===== */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
}

.sitemap-list li {
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.sitemap-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1689B8;
}

.sitemap-list a {
    color: #18303D;
    text-decoration: none;
    transition: color .2s;
}

.sitemap-list a:hover {
    color: #1689B8;
}

@media (max-width: 640px) {
    .sitemap-list {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   側邊欄「我們的服務」列表
   （頁腳的 .footer-links 是給深色底用的白色連結，
     在白色側邊欄卡片內會看不見，故在此覆蓋）
   ============================================ */
.sidebar-widget .footer-links li {
    padding: 0;
}

.sidebar-widget .footer-links a {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color .2s, padding-left .2s;
}

.sidebar-widget .footer-links li:last-child a {
    border-bottom: none;
}

.sidebar-widget .footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}


/* ============================================
   Contact Form 7 表單整合樣式
   ============================================ */
.contact-form .wpcf7 {
    margin: 0;
}

.contact-form .wpcf7 form {
    margin: 0;
}

.contact-form .wpcf7 p {
    margin: 0 0 20px;
}

.contact-form .wpcf7 label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-form .wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.contact-form .wpcf7 input[type="text"],
.contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 input[type="email"],
.contact-form .wpcf7 input[type="number"],
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s;
}

.contact-form .wpcf7 input[type="text"]:focus,
.contact-form .wpcf7 input[type="tel"]:focus,
.contact-form .wpcf7 input[type="email"]:focus,
.contact-form .wpcf7 input[type="number"]:focus,
.contact-form .wpcf7 select:focus,
.contact-form .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .wpcf7 form input.wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.contact-form .wpcf7 form input.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(22, 137, 184, 0.25);
}

.contact-form .wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-width: 2px;
    font-size: 14px;
}

.contact-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #F0FBF2;
    color: #2B6B32;
}

.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.aborted .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output,
.contact-form .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #DC3232;
    background: #FDF3F3;
    color: #A02C2C;
}

.contact-form .wpcf7 .wpcf7-not-valid-tip {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #DC3232;
}

.contact-form .wpcf7 form .wpcf7-not-valid {
    border-color: #DC3232 !important;
}