/* The Creative Human — 全站樣式
   色系沿用原站柔和漸變（粉紅 / 薄荷 / 淡紫），版面改為響應式流式排版 */

:root {
    --color-text: #2f3b3f;
    --color-muted: #5f6f74;
    --color-accent: #e06a7c;
    --color-accent-dark: #c3495c;
    --color-whatsapp: #25d366;
    --color-surface: #ffffff;
    --gradient-hero: linear-gradient(180deg, #fdf7f2 0%, #f8e9ef 45%, #e9f5f1 100%);
    --gradient-showcase: linear-gradient(135deg, #eaf7f0 0%, #f6f1fb 100%);
    --gradient-categories: linear-gradient(180deg, #f4f8ea 0%, #fdf3e7 100%);
    --gradient-features: linear-gradient(115deg, #fdeef2 0%, #eef7fb 48%, #f3ecfb 100%);
    --gradient-contact: linear-gradient(180deg, #ffffff 0%, #f4f0fb 100%);
    --shadow-card: 0 8px 22px rgba(60, 69, 71, 0.08);
    --radius-card: 18px;
    --radius-pill: 999px;
    --max-width: 1160px;
    --space-section: clamp(48px, 7vw, 96px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-surface);
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent-dark);
}

/* ---------- 頁首 ---------- */

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 24px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-header__logo {
    width: 180px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 15px;
}

.site-nav__link {
    color: var(--color-text);
    text-decoration: none;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    border-bottom-color: var(--color-accent);
}

/* ---------- 通用區塊 ---------- */

.section {
    padding: var(--space-section) 24px;
}

.section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section--hero {
    background-image: var(--gradient-hero);
    padding-top: clamp(24px, 4vw, 48px);
}

.section--showcase {
    background-image: var(--gradient-showcase);
}

.section--categories {
    background-image: var(--gradient-categories);
}

.section--features {
    background-image: var(--gradient-features);
}

.section--contact {
    background-image: var(--gradient-contact);
}

.section__heading-image {
    display: block;
    width: clamp(220px, 34vw, 420px);
    margin: 0 auto 28px;
}

.section__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: 0.04em;
    text-align: center;
}

.section__lead {
    max-width: 720px;
    margin: 0 auto 32px;
    color: var(--color-muted);
    text-align: center;
}

/* ---------- 首頁主視覺 ---------- */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
}

.hero__banner {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: var(--radius-card);
}

.hero__figure {
    width: 100%;
    max-width: 520px;
    justify-self: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.hero__wordmark {
    width: clamp(240px, 30vw, 380px);
}

.hero__badge {
    width: clamp(220px, 26vw, 320px);
}

.hero__tagline {
    margin: 0;
    font-size: clamp(17px, 2vw, 20px);
    color: var(--color-muted);
}

.hero__categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 32px);
    margin-top: 20px;
}

.hero__categories img {
    width: 100%;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

/* ---------- 按鈕 ---------- */

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    background-color: var(--color-accent);
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

.button--whatsapp {
    background-color: var(--color-whatsapp);
}

.button--whatsapp:hover {
    background-color: #1da851;
}

.button__icon {
    width: 26px;
}

/* ---------- 產品展示 ---------- */

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
}

.showcase__text {
    margin: 0 0 18px;
    color: var(--color-muted);
    white-space: pre-line;
}

.showcase__images {
    display: grid;
    gap: 16px;
}

/* ---------- 場景分類 ---------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(14px, 2vw, 26px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 8px 16px;
    border-radius: var(--radius-card);
    background-color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card__image {
    height: 170px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.category-card__label {
    font-size: 15px;
    letter-spacing: 0.06em;
}

/* ---------- 製作特色 ---------- */

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(18px, 3vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 20px;
    border-radius: var(--radius-card);
    background-color: rgba(255, 255, 255, 0.78);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.feature-card__stroke {
    width: 54px;
    opacity: 0.75;
}

.feature-card__icon {
    width: 96px;
}

.feature-card__title {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.feature-card__text {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
}

/* ---------- 聯絡我們 ---------- */

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.contact__phone {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ---------- 頁腳 ---------- */

.site-footer {
    padding: 40px 24px 56px;
    background-color: #2f3b3f;
    color: #e8eef0;
    font-size: 15px;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer__title {
    margin: 0 0 6px;
    font-size: 18px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__link {
    color: #e8eef0;
    text-decoration: none;
}

.site-footer__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer__note {
    margin: 24px 0 0;
    color: #a9b6ba;
    font-size: 13px;
}

/* ---------- 內頁 ---------- */

.page-hero {
    padding: clamp(40px, 6vw, 72px) 24px clamp(24px, 4vw, 40px);
    background-image: var(--gradient-hero);
    text-align: center;
}

.page-hero__title {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: 0.05em;
}

.page-hero__lead {
    max-width: 720px;
    margin: 0 auto;
    color: var(--color-muted);
}

.prose {
    max-width: 820px;
    margin: 0 auto;
}

.prose h2 {
    margin: 40px 0 12px;
    font-size: clamp(19px, 2.4vw, 24px);
    letter-spacing: 0.04em;
}

.prose h3 {
    margin: 28px 0 8px;
    font-size: 18px;
}

.prose p,
.prose li {
    color: var(--color-muted);
}

.prose ol,
.prose ul {
    padding-left: 22px;
}

.media-figure {
    margin: 28px 0;
    text-align: center;
}

.media-figure__image {
    width: 100%;
    max-width: 640px;
}

.step-list {
    display: grid;
    gap: clamp(22px, 3vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 4vw, 40px);
    padding: 24px;
    border-radius: var(--radius-card);
    background-color: #ffffff;
    box-shadow: var(--shadow-card);
}

.step-card:nth-child(even) .step-card__media {
    order: -1;
}

.step-card__title {
    margin: 0 0 10px;
    font-size: 20px;
}


/* ---------- 內頁補充元件 ---------- */

.step-card__number {
    width: 64px;
}

.step-card__media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.step-card__media img {
    width: 100%;
    border-radius: 12px;
}

.step-card__text {
    margin: 0;
    color: var(--color-muted);
}

.terms-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-list li {
    padding: 16px 22px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-card);
    color: var(--color-muted);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(16px, 3vw, 28px);
    align-items: center;
    text-align: center;
}

.payment-methods img {
    height: 64px;
    width: auto;
}

.payment-methods figcaption {
    margin-top: 8px;
    font-size: 15px;
    color: var(--color-muted);
}

.section--plain {
    background-color: #ffffff;
}

.price-tag {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--color-accent-dark);
}

/* ---------- 響應式 ---------- */

@media (max-width: 860px) {
    .hero,
    .showcase,
    .contact,
    .step-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .step-card:nth-child(even) .step-card__media {
        order: 0;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
