/* ========================================
   inner-peace 頁面專屬樣式
   紀謙的自在空間 - 心的自在 / 個案服務總覽
   配色主題：紫金
   
   字體規格繼承自 global-style.css：
   - H1: --text-5xl (3rem = 48px)
   - H2: --text-4xl (2.25rem = 36px)
   - H3: --text-xl ~ --text-2xl (1.25-1.5rem)
   - 內文: --text-base (1rem = 16px)
   - 行高: --leading-relaxed (1.8)
   ======================================== */

/* ========== 頁面專屬配色變數 ========== */
:root {
    /* 紫金主題配色 */
    --purple-dark: #4a1c6b;
    --purple-main: #6b2d9b;
    --purple-light: #9b59b6;
    --purple-soft: #d4a5e8;
    --purple-pale: #f3e5f9;
    
    --gold-dark: #b8860b;
    --gold-main: #d4af37;
    --gold-light: #f4d03f;
    --gold-soft: #fef3c7;
    
    --bg-light: #faf8fc;
    --bg-white: #ffffff;
    --text-dark: #2d1b3d;
    --text-gray: #5c4a6e;
    --text-light: #8b7a9e;
    --border-light: rgba(74, 28, 107, 0.12);
    
    /* 漸層 */
    --gradient-purple: linear-gradient(135deg, #6b2d9b 0%, #9b59b6 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --gradient-hero: linear-gradient(135deg, #4a1c6b 0%, #6b2d9b 50%, #2d1b3d 100%);
    
    /* 頁面專屬陰影 */
    --shadow-purple-sm: 0 1px 3px rgba(74,28,107,0.1);
    --shadow-purple-md: 0 4px 12px rgba(74,28,107,0.15);
    --shadow-purple-lg: 0 10px 30px rgba(74,28,107,0.2);
    --shadow-gold: 0 4px 20px rgba(212,175,55,0.3);
}

/* ========== Body 覆寫 ========== */
body {
    background: var(--bg-light);
    color: var(--text-dark);
}

.hero, .about, section {
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-tight);
    color: var(--purple-dark);
}

/* ========== CONTAINER ========== */
.container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px var(--space-8) var(--space-20);
    position: relative;
    background: var(--gradient-hero);
    color: white;
}

.hero-bg-shape {
    position: absolute;
    border-radius: var(--radius-circle);
    opacity: 0.5;
    pointer-events: none;
}

.hero-bg-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    top: 10%;
    right: -100px;
}

.hero-bg-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155,89,182,0.2) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-3) var(--space-8);
    background: rgba(212,175,55,0.2);
    border: 1px solid var(--gold-main);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--gold-light);
    margin-bottom: var(--space-10);
    letter-spacing: var(--tracking-wide);
}

/* Hero H1：使用 --text-5xl (3rem = 48px) */
.hero h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-8);
    line-height: var(--leading-tight);
    color: white;
}

/* Hero 副標題：使用 --text-xl (1.25rem = 20px) */
.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-normal);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto var(--space-12);
    line-height: var(--leading-loose);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-12);
    background: var(--gradient-gold);
    color: var(--purple-dark);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    transition: all var(--transition-normal) var(--ease-out);
    box-shadow: var(--shadow-gold);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212,175,55,0.5);
}

.scroll-hint {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255,255,255,0.6);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wider);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-main), transparent);
}

/* ========== SECTIONS 通用 ========== */
section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-wider);
    color: var(--gold-main);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

/* Section H2：使用 --text-4xl (2.25rem = 36px) */
.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-5);
    color: var(--purple-dark);
    line-height: var(--leading-tight);
}

/* Section 描述：使用 --text-lg (1.125rem = 18px) */
.section-desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-20);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    border-radius: 200px 200px var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-purple-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold-main);
    border-radius: var(--radius-circle);
    bottom: -20px;
    right: -20px;
    opacity: 0.4;
}

/* About H2：使用 --text-4xl (2.25rem = 36px) */
.about-text h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-8);
    color: var(--purple-dark);
    line-height: var(--leading-tight);
}

/* About 內文：使用 --text-base (1rem = 16px) */
.about-text p {
    margin-bottom: var(--space-5);
    color: var(--text-gray);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

/* 重點區塊：使用 --text-lg (1.125rem = 18px) */
.about-highlight {
    padding: var(--space-6) var(--space-8);
    background: var(--purple-pale);
    border-left: 4px solid var(--gold-main);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: var(--space-8) 0;
    font-style: italic;
    font-weight: var(--font-medium);
    color: var(--purple-dark);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* ========== UNDERSTANDING SECTION ========== */
.understanding {
    background: linear-gradient(180deg, var(--purple-pale) 0%, rgba(243, 229, 249, 0.5) 100%);
    position: relative;
}

.understanding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.understanding-card {
    background: white;
    padding: var(--space-12) var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-purple-md);
    transition: transform var(--transition-normal) var(--ease-out);
}

.understanding-card:hover {
    transform: translateY(-8px);
}

.understanding-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--gradient-purple);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.understanding-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
}

/* Understanding 卡片 H3：使用 --text-xl (1.25rem = 20px) */
.understanding-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--purple-dark);
}

/* Understanding 卡片內文：使用 --text-base (1rem = 16px) */
.understanding-card p {
    font-size: var(--text-base);
    color: var(--text-gray);
    line-height: var(--leading-relaxed);
}

/* ========== ENERGY SECTION ========== */
.energy {
    background: var(--bg-white);
}

.energy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.energy-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-10);
    box-shadow: var(--shadow-purple-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.energy-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-5);
    background: var(--gradient-purple);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-icon svg {
    width: 44px;
    height: 44px;
    stroke: white;
}

/* Energy 卡片 H3：使用 --text-2xl (1.5rem = 24px) */
.energy-card h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    color: var(--purple-dark);
}

/* Energy 副標題：使用 --text-base + semibold */
.energy-subtitle {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--gold-main);
    margin-bottom: var(--space-4);
}

/* Energy 描述：使用 --text-base (1rem = 16px) */
.energy-desc {
    color: var(--text-gray);
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.energy-benefits {
    list-style: none;
    margin-bottom: var(--space-5);
    padding-left: 0;
}

.energy-benefits li {
    padding: var(--space-1) 0;
    color: var(--text-dark);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.energy-quote {
    padding: var(--space-4) var(--space-5);
    background: var(--purple-pale);
    border-radius: var(--radius-lg);
    font-style: italic;
    font-weight: var(--font-medium);
    color: var(--text-gray);
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.energy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--gradient-gold);
    color: var(--purple-dark);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    transition: all var(--transition-normal) var(--ease-out);
    width: 60%;
    margin: 0 auto;
}

.energy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.energy-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.energy-note {
    text-align: center;
    padding: var(--space-12);
    background: linear-gradient(135deg, var(--purple-pale), var(--gold-soft));
    border-radius: var(--radius-xl);
}

.energy-note-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

/* Energy Note 內文：使用 --text-lg (1.125rem = 18px) */
.energy-note p {
    color: var(--text-dark);
    line-height: var(--leading-loose);
    font-size: var(--text-lg);
}

.energy-note strong {
    font-weight: var(--font-bold);
}

/* ========== SERVICES SECTION ========== */
.services {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--purple-pale) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    box-shadow: var(--shadow-purple-sm);
    transition: all var(--transition-normal) var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-purple-lg);
}

.service-featured {
    background: var(--gradient-hero);
    color: white;
    border: none;
}

.service-featured .service-tag,
.service-featured .service-desc,
.service-featured .service-duration {
    color: rgba(255,255,255,0.9);
}

.service-featured .service-duration svg {
    stroke: rgba(255,255,255,0.8);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: var(--space-6);
    background: var(--gradient-gold);
    color: var(--purple-dark);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

/* Service 標籤：使用 --text-xs (0.75rem = 12px) */
.service-tag {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--gold-main);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-3);
}

/* Service 卡片 H3：使用 --text-2xl (1.5rem = 24px) */
.service-card h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--purple-dark);
}

.service-featured h3 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Service 描述：使用 --text-base (1rem = 16px) */
.service-desc {
    font-size: var(--text-base);
    color: var(--text-gray);
    margin-bottom: var(--space-6);
    flex-grow: 1;
    line-height: var(--leading-relaxed);
}

.service-duration {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-light);
    margin-bottom: var(--space-5);
}

.service-price {
    margin-bottom: var(--space-6);
}

/* 價格金額：使用 --text-4xl (2.25rem = 36px) */
.price-amount {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--purple-dark);
}

.service-featured .price-amount {
    color: var(--gold-light);
}

.price-unit {
    font-size: var(--text-base);
    color: var(--text-light);
}

.service-featured .price-unit {
    color: rgba(255,255,255,0.85);
}

.service-btn {
    display: block;
    text-align: center;
    padding: var(--space-4) var(--space-6);
    background: var(--bg-light);
    color: var(--purple-dark);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    transition: all var(--transition-normal) var(--ease-out);
}

.service-btn:hover {
    background: var(--gradient-gold);
    color: var(--purple-dark);
}

.btn-featured {
    background: var(--gradient-gold);
    color: var(--purple-dark);
}

.btn-featured:hover {
    box-shadow: var(--shadow-gold);
}

/* ========== PROCESS SECTION ========== */
.process {
    background: var(--bg-white);
}

.process-timeline {
    max-width: 750px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    gap: var(--space-8);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--border-light);
}

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

.process-number {
    font-size: var(--text-4xl);
    font-weight: var(--font-normal);
    color: var(--purple-soft);
    min-width: 70px;
}

/* Process H3：使用 --text-xl (1.25rem = 20px) */
.process-content h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    color: var(--purple-dark);
}

/* Process 內文：使用 --text-base (1rem = 16px) */
.process-content p {
    color: var(--text-gray);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.process-note {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--purple-pale);
    border-radius: var(--radius-lg);
}

.process-note p {
    color: var(--text-dark);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    background: var(--purple-pale);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-8);
    box-shadow: var(--shadow-purple-md);
}

.testimonial-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    cursor: pointer;
    transition: transform var(--transition-normal) var(--ease-out), box-shadow var(--transition-normal) var(--ease-out);
}

.testimonial-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-purple-lg);
}

.testimonial-image-only {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-image-only .testimonial-image {
    height: auto;
    max-height: 320px;
    flex-grow: 1;
    margin-bottom: var(--space-6);
}

.testimonial-image-only .testimonial-author,
.testimonial-text-only .testimonial-author {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal) var(--ease-out);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-circle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal) var(--ease-out);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lightbox-hint {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.testimonial-quote {
    font-size: 4.5rem;
    font-weight: var(--font-normal);
    color: var(--purple-soft);
    line-height: 0.8;
    margin-bottom: var(--space-1);
}

/* Testimonial 內文：使用 --text-base (1rem = 16px) */
.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: var(--space-6);
    line-height: var(--leading-loose);
    font-size: var(--text-base);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.author-name {
    font-weight: var(--font-semibold);
    color: var(--purple-dark);
    font-size: var(--text-base);
}

.author-note {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* ========== FAQ SECTION ========== */
.faq {
    background: var(--bg-white);
}

.faq .section-tag {
    color: var(--gold-main);
}

.faq .section-title {
    color: var(--purple-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-purple-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) var(--space-8);
    cursor: pointer;
    transition: all var(--transition-normal) var(--ease-out);
}

.faq-question:hover {
    background: var(--purple-pale);
}

/* FAQ 問題：使用 --text-base + semibold */
.faq-question span {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--purple-dark);
}

.faq-question svg {
    stroke: var(--purple-main);
    transition: transform var(--transition-normal) var(--ease-out);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* FAQ 答案：使用 --text-base (1rem = 16px) */
.faq-answer p {
    padding: 0 var(--space-8) var(--space-6);
    color: var(--text-gray);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: linear-gradient(135deg, var(--purple-pale) 0%, var(--gold-soft) 100%);
}

.contact .section-tag {
    color: var(--gold-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: flex-start;
}

/* Contact H2：使用 --text-4xl (2.25rem = 36px) */
.contact-text h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-5);
    color: var(--purple-dark);
    line-height: var(--leading-tight);
}

/* Contact 內文：使用 --text-base (1rem = 16px) */
.contact-text > p {
    color: var(--text-dark);
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.contact-promise {
    margin-top: var(--space-6);
}

.contact-promise p {
    font-weight: var(--font-medium);
    padding: var(--space-2) 0;
    margin-bottom: 0;
    color: var(--purple-dark);
    font-size: var(--text-base);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-purple-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-4) 0;
}

.contact-item:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--purple-pale);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    stroke: var(--purple-main);
}

.contact-icon.line-icon {
    background: #06C755;
}

.contact-icon.line-icon svg {
    fill: white;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* Contact 標籤：使用 --text-sm (0.875rem = 14px) */
.contact-label {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* Contact 資訊：使用 --text-lg (1.125rem = 18px) */
.contact-detail a,
.contact-detail span {
    color: var(--text-dark);
    text-decoration: none;
    font-size: var(--text-lg);
}

.contact-detail a:hover {
    color: var(--purple-main);
}

.contact-qr-wrapper {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
}

.contact-qr {
    text-align: center;
}

.contact-qr img {
    width: auto;
    height: 160px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-purple-md);
    border: 5px solid white;
}

.contact-qr p {
    margin-top: var(--space-4);
    font-size: var(--text-base);
    color: var(--text-gray);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow) var(--ease-out), transform var(--transition-slow) var(--ease-out);
}

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

/* ========== 響應式設計 ========== */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .hero-bg-shape-1 {
        width: 350px;
        height: 350px;
        right: -50px;
    }

    .hero-bg-shape-2 {
        width: 300px;
        height: 300px;
        left: -50px;
    }

    .about-image-decoration {
        right: 0;
        bottom: -10px;
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 992px) {
    section {
        padding: var(--space-20) 0;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image-frame {
        border-radius: 150px 150px var(--radius-xl) var(--radius-xl);
    }

    .understanding-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .energy-grid {
        grid-template-columns: 1fr;
    }

    .contact-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-24) var(--space-5) var(--space-16);
        min-height: auto;
    }

    /* RWD Hero H1 */
    .hero h1 {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .hero-bg-shape-1 {
        width: 250px;
        height: 250px;
        right: -30px;
        top: 5%;
    }

    .hero-bg-shape-2 {
        width: 200px;
        height: 200px;
        left: -30px;
    }

    /* RWD Section H2 */
    .section-title {
        font-size: var(--text-3xl);
    }

    .understanding-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 300px;
    }

    .about-image-decoration {
        display: none;
    }

    .about-text h2 {
        font-size: var(--text-3xl);
    }

    .energy-card {
        padding: var(--space-10) var(--space-8);
    }

    .process-item {
        flex-direction: column;
        gap: var(--space-4);
    }

    .contact-card {
        padding: var(--space-8) var(--space-6);
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-5);
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }
}
