/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* 螢幕閱讀器 / 搜尋引擎可讀，視覺上隱藏 */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    color: #2b2622;
    background: #faf7f2;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

:root {
    --primary: #a87a4b;
    --primary-dark: #825a31;
    --accent: #d8b890;
    --bg: #faf7f2;
    --bg-alt: #f1ebe1;
    --text: #2b2622;
    --muted: #6b6258;
    --line: #e6ddcf;
    --dark-bg: #1f1a16;
    --dark-surface: #2a2420;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px
}

.container--narrow {
    max-width: 820px
}

h1,
h2,
h3,
h4 {
    font-family: "Noto Serif TC", serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1f1a16
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem)
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem)
}

h3 {
    font-size: 1.25rem
}

.eyebrow {
    display: inline-block;
    font-size: .85rem;
    letter-spacing: .25em;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.eyebrow--light {
    color: var(--accent);
}

.section {
    padding: 96px 0
}

.section--alt {
    background: var(--bg-alt)
}

.section--dark {
    background: var(--dark-bg);
    color: #f3eadd;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #fff;
}

.section__head {
    text-align: center;
    margin-bottom: 56px
}

.section__desc {
    max-width: 600px;
    margin: 14px auto 0;
    color: var(--muted)
}

.section--dark .section__desc {
    color: #c4b8a8;
}

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 242, .92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700
}

.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: "Noto Serif TC", serif;
}

.logo-text {
    font-size: 1.05rem;
    letter-spacing: .05em
}

.nav__links {
    display: flex;
    gap: 24px;
    align-items: center
}

.nav__links a {
    font-size: .9rem;
    color: var(--text);
    transition: color .2s
}

.nav__links a:hover {
    color: var(--primary)
}

.nav__cta {
    background: var(--primary);
    color: #fff !important;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 500;
}

.nav__cta:hover {
    background: var(--primary-dark)
}

.nav__toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(31, 26, 22, .7) 0%, rgba(31, 26, 22, .4) 50%, rgba(31, 26, 22, .2) 100%),
        url('images/e.jpg') center/cover no-repeat;
    filter: saturate(.9);
}

.hero__inner {
    position: relative;
    padding: 120px 24px;
    color: #fff
}

.hero__text {
    max-width: 720px
}

.hero h1 {
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25)
}

.hero__sub {
    font-size: 1.1rem;
    color: #f3eadd;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero__sub strong {
    color: #fff;
    font-weight: 700;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.hero__badges {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #f3eadd;
    font-size: .95rem
}

.hero__badges li {
    padding: 6px 0
}

.hero .eyebrow {
    color: var(--accent)
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: .05em;
    transition: all .25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary);
    color: #fff
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(168, 122, 75, .6)
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .6)
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .12)
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem
}

/* ===== Grids ===== */
.grid {
    display: grid;
    gap: 28px
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr)
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr)
}

/* ===== Pain Cards ===== */
.pain-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 18px;
    border: 1px solid var(--line);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .12)
}

.pain-card__icon {
    font-size: 2.4rem;
    margin-bottom: 14px
}

.pain-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.pain-card p {
    color: var(--muted);
    font-size: .95rem;
}

.pain-bottom {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: #fff;
    border-radius: 18px;
    border: 1px dashed var(--accent);
}

.pain-bottom__text {
    color: var(--muted);
    margin-bottom: 12px;
}

.pain-bottom__text strong {
    color: var(--primary-dark);
}

.pain-bottom__highlight {
    font-size: 1.2rem;
    color: var(--text);
}

.pain-bottom__highlight strong {
    color: var(--primary);
    font-size: 1.4rem;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 8px;
}

.about-tagline {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: .1em;
}

.about-content>p {
    color: #c4b8a8;
    margin-bottom: 28px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f3eadd;
    font-size: .95rem;
}

.about-feature__icon {
    font-size: 1.3rem;
}

.about-feature strong {
    color: #fff;
}

.about-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.benefit-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(168, 122, 75, .2);
    border: 1px solid rgba(168, 122, 75, .4);
    border-radius: 999px;
    color: var(--accent);
    font-size: .9rem;
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual__card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 48px 40px;
    border-radius: 24px;
    text-align: center;
    color: #fff;
    box-shadow: 0 24px 60px -20px rgba(168, 122, 75, .4);
}

.about-visual__number {
    font-family: "Noto Serif TC", serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.about-visual__label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-visual__desc {
    font-size: .9rem;
    color: #f3e3cb;
    line-height: 1.6;
}

/* ===== Technique Cards ===== */
.tech-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 18px;
    border: 1px solid var(--line);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .12);
}

.tech-card__number {
    font-family: "Noto Serif TC", serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1;
}

.tech-card h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.tech-card p {
    color: var(--muted);
    font-size: .95rem;
}

/* ===== Benefit Cards ===== */
.benefit-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 18px;
    border: 1px solid var(--line);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .12);
}

.benefit-card__icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--muted);
    font-size: .95rem;
}

/* ===== Process Timeline ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.process-step {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform .25s ease, box-shadow .25s ease;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .12);
}

.process-step__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: "Noto Serif TC", serif;
}

.process-step__content h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.process-step__content p {
    color: var(--muted);
    font-size: .9rem;
}

.process-results {
    text-align: center;
    background: #fff;
    padding: 32px;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.process-results h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.process-results__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.process-results__list span {
    padding: 8px 16px;
    background: var(--bg);
    border-radius: 999px;
    font-size: .9rem;
    color: var(--text);
}

/* ===== Comparison ===== */
.compare-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.compare-col {
    border-radius: 20px;
    overflow: hidden;
}

.compare-col__head {
    padding: 20px 24px;
    font-family: "Noto Serif TC", serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

.compare-col--ours {
    background: #fff;
    border: 2px solid var(--primary);
}

.compare-col--ours .compare-col__head {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.compare-col--general {
    background: #fff;
    border: 1px solid var(--line);
}

.compare-col--general .compare-col__head {
    background: var(--bg-alt);
    color: var(--text);
}

.compare-col ul {
    padding: 8px 24px 24px;
}

.compare-col li {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.compare-col li:last-child {
    border-bottom: none;
}

.compare-col li strong {
    display: block;
    font-size: .85rem;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: .05em;
}

.compare-col--general li strong {
    color: var(--muted);
}

.compare-col li span {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.6;
}

.compare-col--general li span {
    color: var(--muted);
}

/* ===== Pricing Cards ===== */
.pricing-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px -24px rgba(0, 0, 0, .15);
}

.pricing-card--featured {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-card__badge {
    background: var(--bg-alt);
    padding: 18px 28px;
    font-family: "Noto Serif TC", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
}

.pricing-card--featured .pricing-card__badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.pricing-card__subtitle {
    text-align: center;
    padding: 10px 28px 0;
    color: var(--muted);
    font-size: .95rem;
}

.pricing-card__main {
    padding: 24px 28px;
}

.pricing-card__plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
}

.pricing-card__plan:last-child {
    border-bottom: none;
}

.pricing-card__label {
    font-size: 1rem;
    font-weight: 500;
}

.pricing-card__price {
    text-align: right;
}

.pricing-card__original {
    text-decoration: line-through;
    color: var(--muted);
    font-size: .9rem;
    display: block;
}

.pricing-card__current {
    font-family: "Noto Serif TC", serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.pricing-card__unit {
    font-size: .85rem;
    color: var(--muted);
    margin-right: 4px;
}

.pricing-card__info {
    padding: 0 28px 28px;
}

.pricing-card__info h4 {
    font-size: .95rem;
    color: var(--primary-dark);
    margin-top: 16px;
    margin-bottom: 8px;
}

.pricing-card__info ul {
    list-style: none;
}

.pricing-card__info li {
    padding: 4px 0;
    font-size: .9rem;
    color: var(--muted);
    padding-left: 16px;
    position: relative;
}

.pricing-card__info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.pricing-card__info p {
    font-size: .9rem;
    color: var(--muted);
}

/* Pricing Promo */
.pricing-promo {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pricing-promo__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.pricing-promo__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.pricing-promo__item strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.pricing-promo__item p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}

/* ===== FAQ ===== */
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 14px;
    transition: box-shadow .2s ease;
}

.faq details[open] {
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .15)
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #1f1a16;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform .2s
}

.faq details[open] summary::after {
    content: "−"
}

.faq details p {
    margin-top: 12px;
    color: var(--muted)
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 96px 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 16px
}

.cta p {
    color: #f8eede;
    margin-bottom: 28px
}

.cta .eyebrow--light {
    color: #f3e3cb;
}

.cta__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta .btn--primary {
    background: #fff;
    color: var(--primary-dark)
}

.cta .btn--primary:hover {
    background: #fff8ee
}

.cta .btn--ghost {
    border-color: rgba(255, 255, 255, .7);
    color: #fff
}

.cta__addr {
    font-size: .95rem;
    color: #f3e3cb
}

/* ===== Footer ===== */
.footer {
    background: #1f1a16;
    color: #cdc3b6;
    padding: 60px 0 30px
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px
}

.footer__logo {
    font-family: "Noto Serif TC", serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px
}

.footer h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1rem
}

.footer__copy {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3a322a;
    font-size: .85rem;
    color: #8a7f72;
}

/* ===== Floating CTA ===== */
.float-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    background: #06c755;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 28px -8px rgba(6, 199, 85, .5);
    transition: transform .2s ease;
    animation: float-pulse 2s ease-in-out infinite;
}

.float-cta:hover {
    transform: translateY(-3px);
    animation: none;
}

@keyframes float-pulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ===== Pain Gallery ===== */
.pain-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 36px;
}

.pain-gallery__item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 36px -16px rgba(0, 0, 0, .15);
}

.pain-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.pain-gallery__item:hover img {
    transform: scale(1.03);
}

/* ===== About Visual Image ===== */
.about-visual__img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .4);
    max-width: 420px;
}

.about-visual__img img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

.about-visual__img:hover img {
    transform: scale(1.03);
}

/* ===== Techniques Hero ===== */
.techniques-hero {
    max-width: 540px;
    margin: 0 auto 48px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 48px -18px rgba(0, 0, 0, .15);
}

.techniques-hero img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

.techniques-hero:hover img {
    transform: scale(1.03);
}

/* ===== Benefits Hero ===== */
.benefits-hero {
    max-width: 420px;
    margin: 24px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .12);
}

.benefits-hero img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

.benefits-hero:hover img {
    transform: scale(1.03);
}

/* ===== Comparison Hero ===== */
.comparison-hero {
    max-width: 640px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px -18px rgba(0, 0, 0, .12);
}

.comparison-hero img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

.comparison-hero:hover img {
    transform: scale(1.03);
}

/* ===== FAQ Gallery ===== */
.faq-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.faq-gallery__item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 36px -16px rgba(0, 0, 0, .12);
}

.faq-gallery__item img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

.faq-gallery__item:hover img {
    transform: scale(1.03);
}

/* ===== Responsive ===== */
@media (max-width:1024px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }
}

@media (max-width:860px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 18px;
        gap: 14px;
        border-bottom: 1px solid var(--line);
    }

    .nav__links.is-open {
        display: flex
    }

    .nav__toggle {
        display: block
    }

    .grid--2,
    .grid--3 {
        grid-template-columns: 1fr
    }

    .compare-table {
        grid-template-columns: 1fr;
    }

    .pain-gallery {
        grid-template-columns: 1fr;
    }

    .faq-gallery {
        grid-template-columns: 1fr;
    }

    .pricing-promo {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: left
    }

    .section {
        padding: 72px 0
    }

    .hero {
        min-height: auto
    }

    .hero__inner {
        padding: 90px 24px
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width:520px) {
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .hero__badges {
        gap: 10px;
        font-size: .85rem
    }

    .about-visual__number {
        font-size: 3.5rem;
    }

    .about-visual__card {
        padding: 36px 28px;
    }
}