﻿﻿/* ===== 全域重置 & 變數 ===== */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Noto Sans TC', 'Inter', sans-serif; color: #1a1a1a; background: #fcfcf9; font-size: 17px; line-height: 1.6; }
        .font-display { font-family: 'Noto Serif TC', serif; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { display: block; max-width: 100%; }
        .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
        @media (max-width: 640px) { .wrap { padding: 0 20px; } }

        :root {
            --green-950: #022c22; --green-900: #064e3b; --green-800: #065f46; --green-700: #047857;
            --green-600: #059669; --green-500: #10b981; --green-400: #34d399; --green-300: #6ee7b7;
            --green-200: #a7f3d0; --green-100: #d1fae5; --green-50: #ecfdf5; --lime-300: #bef264;
            --neutral-900: #171717; --neutral-800: #262626; --neutral-700: #404040; --neutral-600: #525252;
            --neutral-500: #737373; --neutral-400: #a3a3a3; --neutral-300: #d4d4d4; --neutral-200: #e5e5e5;
            --neutral-100: #f5f5f5; --neutral-50: #fafafa; --cream: #f3ede6;
            --accent-green: #b6e7a8; --accent-green-dark: #93cf82; --ink: #3d4a35;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.04); --shadow-md: 0 8px 30px rgba(0,0,0,0.06); --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
            --radius: 24px; --radius-sm: 12px; --white: #ffffff;
            --line: rgba(6, 78, 59, 0.10);
        }

        .kicker {
            display: inline-flex; align-items: center; gap: 10px;
            font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif;
            font-size: 18px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
            color: var(--green-700);
        }
        .kicker::before {
            content: ''; width: 30px; height: 3px; border-radius: 2px;
            background: linear-gradient(90deg, #ff6f59, #ffc248, #29b6a6, #35648f, #b85c9e, #2f6f4f);
            flex-shrink: 0;
        }

        .heading-lg { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 32px; line-height: 1.28; letter-spacing: -0.01em; color: var(--green-900); margin-top: 18px; }
        @media (min-width: 768px) { .heading-lg { font-size: 42px; } }
        .text-body { color: var(--ink); line-height: 1.85; font-size: 17px; }
        .text-body + .text-body { margin-top: 16px; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px;
            border-radius: 9999px; font-weight: 700; font-size: 16px; border: none; cursor: pointer;
            transition: all 0.2s ease; font-family: 'Noto Sans TC', sans-serif;
        }
        .btn-primary { background: var(--accent-green); color: var(--green-950); box-shadow: 0 4px 0 var(--accent-green-dark), 0 8px 20px rgba(6,95,70,0.18); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-green-dark), 0 14px 28px rgba(6,95,70,0.25); background: #c5f0b3; }
        .btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-green-dark), 0 4px 12px rgba(6,95,70,0.2); }
        .btn-block { width: 100%; }

        /* ===== HEADER ===== */
        .site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(229,229,229,0.6); }
        .site-header .wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-top: 12px; padding-bottom: 12px; }
        .brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
        .brand-badge { width: 56px; height: 56px; border-radius: 9999px; background: var(--green-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .brand-badge .mark { display: flex; align-items: center; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
        .brand-badge .leaf-wrap { position: relative; }
        .brand-badge .leaf-wrap i { position: absolute; top: -10px; right: -8px; font-size: 13px; color: var(--lime-300); transform: rotate(12deg); }
        .brand-text { display: flex; flex-direction: column; line-height: 1.25; }
        .brand-text .title { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; color: var(--green-900); }
        .brand-text .sub { font-size: 14px; color: var(--green-600); margin-top: 3px; font-weight: 500; }
        .nav-area { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-left: auto; }
        .site-nav { display: flex; align-items: center; gap: 8px 28px; font-size: 17px; font-weight: 400; color: #6b7280; }
        .site-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
        .site-nav a:hover { color: #065f46; border-bottom-color: var(--accent-green); }
        .site-nav a.active { color: #065f46; border-bottom: 2px solid var(--accent-green); }
        .lang-toggle { display: flex; align-items: center; gap: 2px; background: var(--neutral-100); border-radius: 9999px; padding: 4px; flex-shrink: 0; }
        .lang-btn { border: none; background: transparent; cursor: pointer; font-family: 'Noto Sans TC', sans-serif; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 9999px; color: var(--neutral-500); transition: 0.15s; }
        .lang-btn.active { background: var(--green-700); color: #fff; }
        .nav-burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; border: 1px solid var(--neutral-200); background: #fff; color: var(--green-700); font-size: 18px; cursor: pointer; flex-shrink: 0; }
        @media (max-width: 768px) {
            .brand { flex-shrink: 1; min-width: 0; }
            .brand-text { min-width: 0; }
            .nav-area { width: 100%; justify-content: flex-end; }
            .nav-burger { display: flex; }
            .lang-toggle { flex-shrink: 0; }
            .site-nav { display: none; width: 100%; order: 10; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--neutral-200); }
            .site-nav.open { display: flex; }
            .site-nav a { display: inline-block; width: fit-content; padding: 10px 0; font-size: 18px; border-bottom: 2px solid transparent; }
            .site-nav a.active { border-bottom-color: var(--accent-green); }
        }

        /* ===== 內頁 HERO（僅標題） ===== */
        .page-hero { position: relative; width: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
        .page-hero-content { position: relative; z-index: 10; text-align: center; padding: 0 20px; }
        .page-hero-title {
            position: relative; display: inline-block; padding-bottom: 16px;
            font-family: 'Noto Serif TC', serif; font-weight: 900;
            font-size: 28px; line-height: 1.22; letter-spacing: -0.01em;
            color: #065f46;
            text-shadow: 0 1px 18px rgba(255,255,255,0.92), 0 1px 6px rgba(255,255,255,0.92);
        }
        @media (min-width: 768px) { .page-hero-title { font-size: 38px; } }
        .page-hero-title::after {
            content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
            width: 64px; height: 2px; border-radius: 4px; background: var(--accent-green);
        }
        @media (max-width: 640px) { .page-hero { min-height: 220px; } }

        /* ===== 區塊通用 ===== */
        .section-block { padding: 88px 0; background: #fcfcf9; }
        @media (max-width: 640px) { .section-block { padding: 56px 0; } }

        .text-center { text-align: center; }

        /* ===== 聯絡區塊 ===== */
        .contact-grid { display: grid; gap: 40px; margin-top: 48px; align-items: start; }
        @media (min-width: 860px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 56px; } }

        .contact-info { background: var(--green-700); border-radius: var(--radius); padding: 44px 36px; color: #eef7f0; }
        .contact-info h3 { font-family: 'Noto Serif TC', serif; font-weight: 700; font-size: 22px; color: #ffffff; }
        .contact-info p.lead { margin-top: 12px; font-size: 15px; color: #cfe6d8; line-height: 1.75; }
        .contact-email {
            margin-top: 28px; display: flex; align-items: center; gap: 14px;
            background: rgba(255,255,255,0.08); border: 1px solid rgba(182,231,168,0.35);
            border-radius: var(--radius-sm); padding: 18px 20px;
        }
        .contact-email .icon-circle {
            flex-shrink: 0; width: 44px; height: 44px; border-radius: 9999px;
            background: var(--accent-green); color: var(--green-950);
            display: flex; align-items: center; justify-content: center; font-size: 17px;
        }
        .contact-email a { font-size: 16px; font-weight: 700; color: #ffffff; word-break: break-all; }
        .contact-email a:hover { color: var(--accent-green); }
        .contact-trust { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
        .contact-trust li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: #d9ecdd; line-height: 1.6; }
        .contact-trust li i { color: var(--accent-green); font-size: 15px; margin-top: 3px; flex-shrink: 0; width: 18px; text-align: center; }

        .contact-form-card {
            background: var(--white); border-radius: var(--radius); padding: 44px 40px;
            border: 1px solid var(--line); box-shadow: var(--shadow-md);
        }
        @media (max-width: 640px) { .contact-form-card, .contact-info { padding: 32px 24px; } }
        .form-row { margin-bottom: 22px; }
        .form-row label { display: block; font-size: 15px; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
        .form-row label .req { color: #d64545; margin-left: 3px; }
        .form-row input, .form-row textarea {
            width: 100%; font-family: 'Noto Sans TC', sans-serif; font-size: 16px; color: #1a1a1a;
            background: var(--neutral-50); border: 1px solid var(--neutral-200); border-radius: var(--radius-sm);
            padding: 13px 16px; transition: border-color 0.15s, background 0.15s;
        }
        .form-row input:focus, .form-row textarea:focus {
            outline: none; border-color: var(--green-500); background: #ffffff;
        }
        .form-row textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
        .form-note { margin-top: -6px; margin-bottom: 26px; font-size: 13px; color: var(--neutral-500); }
        .form-status { margin-top: 16px; font-size: 14px; color: var(--green-700); display: none; }
        .form-status.show { display: block; }

        /* ===== FOOTER ===== */
        .site-footer { background: #efece7; position: relative; }
        .footer-grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
        .footer-desc { margin-top: 20px; font-size: 16px; color: #6b7280; line-height: 1.75; max-width: 480px; }
        .footer-heading { font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #111111; }
        .footer-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: #6b7280; }
        .footer-list li { display: flex; align-items: center; gap: 10px; }
        .footer-list a { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; width: fit-content; }
        .footer-list a:hover { color: var(--green-950); border-bottom-color: var(--accent-green); }
        .footer-list .icon { color: var(--green-600); width: 16px; text-align: center; flex-shrink: 0; }
        @media (max-width: 767px) {
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .footer-columns { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 8px; padding-top: 32px; border-top: 1px solid var(--line); }
            .footer-desc { max-width: 100%; }
        }
        .footer-bottom { border-top: 1px solid rgba(167,243,208,0.5); padding: 20px 0; }
        .footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--green-700); max-width: 1200px; margin: 0 auto; padding: 0 32px; }
        @media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }



    /* ========== form-v1- 全域重置與主容器 ========== */
    .form-v1-container * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .form-v1-container {
        max-width: 1100px;
        margin: 2rem auto;
        background: #ffffff;
        border-radius: 28px;
        box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.02);
        font-family: 'Segoe UI', 'Noto Sans TC', Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
        padding: 2rem 2rem 2.5rem;
        transition: all 0.2s;
    }

    @media (max-width: 900px) {
        .form-v1-container {
            padding: 1.5rem 1.5rem 2rem;
            margin: 1rem;
        }
    }
    @media (max-width: 640px) {
        .form-v1-container {
            padding: 1.2rem 1rem 1.8rem;
            margin: 0.8rem;
            border-radius: 24px;
        }
    }

    .form-v1-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem 1.5rem;
        margin-bottom: 1.2rem;
    }

    .form-v1-field-full {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .form-v1-field {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .form-v1-label {
        font-weight: 650;
        font-size: 1rem;
        color: #2c2f36;
        letter-spacing: 0.01em;
        display: inline-flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 4px;
        padding-left: 6px;
        margin-bottom: 2px;
    }

    .form-v1-required {
        color: #e53e3e;
        font-size: 0.9rem;
        font-weight: 700;
        margin-left: 2px;
    }

    .form-v1-note {
        font-size: 0.72rem;
        color: #6c6f78;
        font-weight: normal;
        margin-left: 6px;
    }

    /* ===== 統一輸入欄位邊框顏色（綠色系） ===== */
    .form-v1-input,
    .form-v1-textarea,
    .form-v1-select {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        border: 1.5px solid var(--green-200);
        border-radius: 9px;
        background-color: #fefefe;
        transition: all 0.2s ease;
        font-family: inherit;
        outline: none;
        color: #0f172a;
    }

    .form-v1-input:focus,
    .form-v1-textarea:focus,
    .form-v1-select:focus {
        border-color: var(--green-600);
        box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
        background-color: #ffffff;
    }

    .form-v1-input:hover,
    .form-v1-textarea:hover,
    .form-v1-select:hover {
        border-color: var(--green-400);
    }

    .form-v1-select {
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1rem;
    }

    /* ===== 驗證碼區域（綠色系） ===== */
    .form-v1-code-area {
        background: var(--green-50);
        padding: 0.8rem 1rem;
        border-radius: 14px;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        border: 1px solid var(--green-100);
    }

    .form-v1-code-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .form-v1-code-input {
        flex: 2;
        min-width: 150px;
        border-radius: 9px;
    }

    .form-v1-code-img-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        min-width: 108px;
        border: 1.5px solid var(--green-200);
        border-radius: 9px;
        background: white;
        padding: 0 14px;
        cursor: pointer;
        transition: 0.2s;
    }

    .form-v1-code-img-wrap:hover {
        border-color: var(--green-600);
        background: var(--green-50);
    }

    .form-v1-code-img {
        height: 28px;
        width: auto;
        display: block;
    }

    .form-v1-code-hint {
        font-size: 0.75rem;
        color: var(--green-700);
        padding-left: 2px;
    }

    .form-v1-help-txt {
        font-size: 0.7rem;
        color: #6b7280;
        margin-top: 4px;
        padding-left: 6px;
    }
    
    .form-v1-phone-hint {
        font-size: 0.7rem;
        margin-top: 6px;
        padding-left: 6px;
        color: var(--green-700);
    }

    /* ===== 送出按鈕（綠色系） ===== */
    .form-v1-submit-btn {
        width: 100%;
        background: linear-gradient(100deg, var(--green-700) 0%, var(--green-600) 100%);
        border: none;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: white;
        border-radius: 40px;
        cursor: pointer;
        transition: 0.2s;
        margin-top: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 8px 18px rgba(5, 150, 105, 0.30);
    }

    .form-v1-submit-btn:hover {
        background: linear-gradient(100deg, var(--green-800) 0%, var(--green-700) 100%);
        transform: translateY(-2px);
    }

    .form-v1-submit-btn:active {
        transform: translateY(1px);
    }

    @media (max-width: 800px) {
        .form-v1-grid-2 {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
    }

    @media (max-width: 480px) {
        .form-v1-code-row {
            flex-direction: column;
            align-items: stretch;
        }
        .form-v1-code-img-wrap {
            justify-content: center;
            width: 100%;
        }
        .form-v1-container {
            padding: 1rem 1rem 1.5rem;
        }
        .form-v1-label {
            padding-left: 6px;
            font-size: 0.96rem;
        }
    }

    textarea.form-v1-textarea {
        resize: vertical;
    }

    .form-v1-footer-note {
        margin-top: 1.2rem;
        font-size: 0.75rem;
        color: #6f6c8a;
        text-align: center;
        border-top: 1px dashed var(--green-100);
        padding-top: 1rem;
    }
    .form-v1-footer-note p {
        margin: 0;
    }

    .form-v1-error-border {
        border-color: #e53e3e !important;
        background-color: #fff5f5 !important;
    }
    
    .form-v1-loading {
        opacity: 0.7;
        pointer-events: none;
    }

    /* 覆蓋 contact-form-card 內邊距 */
    .contact-form-card .form-v1-container {
        box-shadow: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }