/* Park Silicon — Editorial / North Metropolis aesthetic (distinct from navy+green template) */
:root {
    --ps-ink: #141816;
    --ps-forest: #0f2e26;
    --ps-sage: #3d6b5a;
    --ps-copper: #c17f3a;
    --ps-copper-light: #e8a862;
    --ps-cream: #f6f3ec;
    --ps-paper: #fafaf8;
    --ps-muted: #5c635e;
    --ps-line: #ddd8cc;
    --ps-white: #ffffff;
    --ps-radius: 6px;
    --ps-radius-lg: 14px;
    --ps-shadow: 0 12px 40px rgba(15, 46, 38, 0.08);
    --ps-font: "PingFang TC", "Hiragino Sans GB", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
    --ps-serif: Georgia, "Noto Serif TC", "Songti TC", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; }
body {
    font-family: var(--ps-font);
    color: var(--ps-ink);
    background: var(--ps-paper);
    line-height: 1.65;
    font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ps-sage); transition: color 0.2s; }
a:hover { color: var(--ps-copper); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; }

/* —— Nav —— */
.ps-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ps-line);
    transition: box-shadow 0.25s;
}
.ps-nav.scrolled { box-shadow: var(--ps-shadow); }
.ps-nav-inner {
    max-width: 1140px; margin: 0 auto; padding: 0.65rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ps-logo {
    text-decoration: none; color: var(--ps-forest);
    font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ps-logo span { color: var(--ps-copper); font-weight: 500; font-size: 0.72rem; display: block; letter-spacing: 0.14em; margin-top: 2px; }
.ps-menu { display: flex; list-style: none; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.ps-menu a {
    text-decoration: none; color: var(--ps-muted); font-size: 0.9rem; font-weight: 500;
    padding: 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center;
}
.ps-menu a:hover, .ps-menu a.active { color: var(--ps-forest); }
.ps-nav-cta {
    background: var(--ps-forest); color: var(--ps-white) !important;
    padding: 0.55rem 1.1rem !important; border-radius: var(--ps-radius);
    font-size: 0.85rem !important; letter-spacing: 0.04em;
}
.ps-nav-cta:hover { background: var(--ps-sage); color: var(--ps-white) !important; }
.ps-hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 10px; min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
}
.ps-hamburger span { width: 22px; height: 2px; background: var(--ps-forest); transition: 0.25s; }

/* —— Hero split —— */
.ps-hero {
    display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh;
    margin-top: 56px; background: var(--ps-cream);
}
.ps-hero-text {
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem 2.5rem 3rem max(1.25rem, calc((100vw - 1140px) / 2 + 1.25rem));
}
.ps-eyebrow {
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ps-copper); font-weight: 600; margin-bottom: 1rem;
}
.ps-hero h1 {
    font-family: var(--ps-serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 400; line-height: 1.12; color: var(--ps-forest); margin-bottom: 0.75rem;
}
.ps-hero-sub { font-size: 1.15rem; color: var(--ps-muted); margin-bottom: 0.35rem; }
.ps-hero-tag { font-size: 1rem; color: var(--ps-sage); margin-bottom: 1.75rem; }
.ps-hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.ps-badge {
    font-size: 0.78rem; padding: 0.35rem 0.75rem; border: 1px solid var(--ps-line);
    border-radius: 999px; background: var(--ps-white); color: var(--ps-forest);
}
.ps-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.ps-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.85rem 1.5rem; border-radius: var(--ps-radius); font-weight: 600;
    font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
    min-height: 48px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ps-btn-primary { background: var(--ps-copper); color: var(--ps-white); box-shadow: 0 4px 16px rgba(193, 127, 58, 0.35); }
.ps-btn-primary:hover { background: var(--ps-copper-light); color: var(--ps-white); transform: translateY(-1px); }
.ps-btn-outline { background: transparent; color: var(--ps-forest); border: 1.5px solid var(--ps-forest); }
.ps-btn-outline:hover { background: var(--ps-forest); color: var(--ps-white); }
.ps-btn-ghost { background: var(--ps-white); color: var(--ps-forest); border: 1px solid var(--ps-line); }
.ps-btn-ghost:hover { border-color: var(--ps-copper); color: var(--ps-copper); }
.ps-hero-visual { position: relative; overflow: hidden; min-height: 320px; }
.ps-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ps-hero-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,46,38,0.15), transparent 55%);
    pointer-events: none;
}
.ps-note { font-size: 0.78rem; color: var(--ps-muted); margin-top: 1rem; }

/* —— Sections —— */
.ps-section { padding: 4.5rem 0; }
.ps-section-cream { background: var(--ps-cream); }
.ps-section-dark { background: var(--ps-forest); color: var(--ps-white); }
.ps-section-title {
    font-family: var(--ps-serif); font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--ps-forest); margin-bottom: 0.35rem; font-weight: 400;
}
.ps-section-dark .ps-section-title { color: var(--ps-white); }
.ps-section-lead { color: var(--ps-muted); max-width: 640px; margin-bottom: 2.5rem; }
.ps-section-dark .ps-section-lead { color: rgba(255,255,255,0.78); }

/* —— Quick cards —— */
.ps-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ps-card {
    background: var(--ps-white); border: 1px solid var(--ps-line); border-radius: var(--ps-radius-lg);
    padding: 1.5rem; text-decoration: none; color: inherit; transition: box-shadow 0.25s, border-color 0.25s;
    display: flex; flex-direction: column; height: 100%;
}
.ps-card:hover { box-shadow: var(--ps-shadow); border-color: var(--ps-copper); color: inherit; }
.ps-card-num { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--ps-copper); margin-bottom: 0.75rem; }
.ps-card h3 { font-size: 1.05rem; color: var(--ps-forest); margin-bottom: 0.5rem; }
.ps-card p { font-size: 0.88rem; color: var(--ps-muted); flex: 1; margin-bottom: 1rem; }
.ps-card-link { font-size: 0.85rem; font-weight: 600; color: var(--ps-copper); }

/* —— Stats strip —— */
.ps-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ps-line); border: 1px solid var(--ps-line); border-radius: var(--ps-radius-lg); overflow: hidden; }
.ps-stat { background: var(--ps-white); padding: 1.25rem; text-align: center; }
.ps-stat strong { display: block; font-size: 1.35rem; color: var(--ps-forest); font-weight: 700; }
.ps-stat span { font-size: 0.8rem; color: var(--ps-muted); }

/* —— Value blocks —— */
.ps-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ps-value {
    padding: 1.75rem; border-left: 3px solid var(--ps-copper);
    background: var(--ps-white); border-radius: 0 var(--ps-radius-lg) var(--ps-radius-lg) 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ps-section-dark .ps-value { background: rgba(255,255,255,0.06); border-left-color: var(--ps-copper-light); }
.ps-value h3 { font-size: 1.1rem; color: var(--ps-forest); margin-bottom: 0.6rem; }
.ps-section-dark .ps-value h3 { color: var(--ps-copper-light); }
.ps-value p { font-size: 0.92rem; color: var(--ps-muted); line-height: 1.7; }
.ps-section-dark .ps-value p { color: rgba(255,255,255,0.82); }

/* —— Table —— */
.ps-table-wrap { overflow-x: auto; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-lg); background: var(--ps-white); }
.ps-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.ps-table th { background: var(--ps-cream); color: var(--ps-forest); font-weight: 600; text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--ps-line); white-space: nowrap; }
.ps-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--ps-line); color: var(--ps-muted); }
.ps-table tr:last-child td { border-bottom: none; }
.ps-table .pending { color: #aaa; font-style: italic; }

/* —— Page header (inner pages) —— */
.ps-page-hero {
    margin-top: 56px; padding: 3rem 0 2.5rem;
    background: linear-gradient(160deg, var(--ps-cream) 0%, var(--ps-paper) 100%);
    border-bottom: 1px solid var(--ps-line);
}
.ps-page-hero h1 { font-family: var(--ps-serif); font-size: clamp(1.85rem, 4vw, 2.6rem); color: var(--ps-forest); margin-bottom: 0.5rem; }
.ps-page-hero .lead { color: var(--ps-muted); max-width: 720px; }
.ps-breadcrumb { font-size: 0.82rem; color: var(--ps-muted); margin-bottom: 1rem; }
.ps-breadcrumb a { text-decoration: none; color: var(--ps-sage); }
.ps-breadcrumb span { margin: 0 0.35rem; opacity: 0.5; }

.ps-intro-box {
    background: var(--ps-white); border: 1px solid var(--ps-line);
    border-left: 4px solid var(--ps-copper); border-radius: var(--ps-radius);
    padding: 1.25rem 1.5rem; margin-bottom: 2rem; color: var(--ps-muted); line-height: 1.75;
}

/* —— Info grid —— */
.ps-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; }
.ps-info-item { display: flex; gap: 0.5rem; font-size: 0.92rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--ps-line); }
.ps-info-item strong { color: var(--ps-forest); min-width: 7.5rem; flex-shrink: 0; }

/* —— Gallery —— */
.ps-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.ps-gallery img { border-radius: var(--ps-radius); border: 1px solid var(--ps-line); aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: pointer; transition: transform 0.2s; }
.ps-gallery img:hover { transform: scale(1.02); }

/* —— FAQ —— */
.ps-faq-item { border: 1px solid var(--ps-line); border-radius: var(--ps-radius); margin-bottom: 0.65rem; background: var(--ps-white); overflow: hidden; }
.ps-faq-q {
    width: 100%; text-align: left; padding: 1rem 1.25rem; background: none; border: none;
    font-size: 0.95rem; font-weight: 600; color: var(--ps-forest); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px;
}
.ps-faq-q::after { content: '+'; font-size: 1.25rem; color: var(--ps-copper); flex-shrink: 0; }
.ps-faq-item.open .ps-faq-q::after { content: '−'; }
.ps-faq-a { display: none; padding: 0 1.25rem 1rem; font-size: 0.92rem; color: var(--ps-muted); line-height: 1.75; }
.ps-faq-item.open .ps-faq-a { display: block; }

/* —— CTA band —— */
.ps-cta-band {
    text-align: center; padding: 3.5rem 1.5rem; background: var(--ps-forest);
    border-radius: var(--ps-radius-lg); color: var(--ps-white); margin: 2rem 0;
}
.ps-cta-band h2 { font-family: var(--ps-serif); font-size: 1.85rem; margin-bottom: 0.75rem; font-weight: 400; }
.ps-cta-band p { opacity: 0.88; margin-bottom: 1.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.ps-cta-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; margin-bottom: 1.75rem; font-size: 0.9rem; }
.ps-cta-benefits li { list-style: none; display: flex; align-items: center; gap: 0.4rem; }
.ps-cta-benefits li::before { content: '●'; color: var(--ps-copper-light); font-size: 0.6rem; }

/* —— Footer —— */
.ps-footer { background: var(--ps-ink); color: rgba(255,255,255,0.75); padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.ps-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; text-align: left; }
.ps-footer-grid strong { color: var(--ps-copper-light); display: block; margin-bottom: 0.25rem; font-size: 0.85rem; }
.ps-footer-grid a { color: rgba(255,255,255,0.85); text-decoration: none; }
.ps-footer-grid a:hover { color: var(--ps-copper-light); }
.ps-footer-copy { text-align: center; font-size: 0.8rem; opacity: 0.65; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; line-height: 1.7; }
.ps-footer-copy a { color: var(--ps-copper-light); text-decoration: none; }

/* —— Float + modals —— */
.ps-float { position: fixed; bottom: 1.5rem; right: 1.25rem; z-index: 999; display: flex; flex-direction: column; gap: 0.6rem; }
.ps-float-btn {
    width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18); transition: transform 0.2s;
}
.ps-float-btn:hover { transform: scale(1.08); }
.ps-float-wechat { background: #07C160; }
.ps-float-wa { background: #25D366; }
.ps-float-wechat img {
    width: 30px;
    height: 30px;
    display: block;
    pointer-events: none;
}
.ps-float-wa svg { width: 26px; height: 26px; fill: white; }

.ps-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(20,24,22,0.65);
    z-index: 10001; align-items: center; justify-content: center; padding: 1rem;
}
.ps-modal-overlay.show { display: flex; }
.ps-modal {
    background: var(--ps-white); border-radius: var(--ps-radius-lg); padding: 2rem;
    max-width: 380px; width: 100%; position: relative; text-align: center;
    max-height: calc(100vh - 2rem); overflow-y: auto; outline: none;
}
.ps-modal-dark { background: var(--ps-forest); color: var(--ps-white); }
.ps-modal h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.ps-modal p { font-size: 0.88rem; color: var(--ps-muted); margin-bottom: 1.25rem; }
.ps-modal-dark p { color: rgba(255,255,255,0.8); }
.ps-modal-close {
    position: absolute; top: 0.65rem; right: 0.85rem; background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--ps-muted); line-height: 1;
    width: 44px; height: 44px; border-radius: var(--ps-radius);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.ps-modal-close:hover { background: rgba(0,0,0,0.06); color: var(--ps-forest); }
.ps-modal-close:focus-visible { outline: 2px solid var(--ps-copper); outline-offset: 2px; }
.ps-modal-dark .ps-modal-close { color: rgba(255,255,255,0.6); }
.ps-modal-dark .ps-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.ps-modal img { width: 220px; height: 220px; object-fit: contain; margin: 0 auto; }
.ps-modal-actions { display: flex; flex-direction: column; gap: 0.65rem; }
.ps-modal-actions .ps-btn { width: 100%; }

.compliance { font-size: 0.78rem; color: var(--ps-muted); margin-top: 1rem; line-height: 1.6; }

.ps-table-note {
    font-size: 0.88rem; color: var(--ps-muted); margin-top: 1rem; line-height: 1.75;
    padding: 1rem 1.15rem; background: var(--ps-cream); border-radius: var(--ps-radius);
    border-left: 3px solid var(--ps-copper);
}
.ps-table .pending-hint { color: var(--ps-muted); font-size: 0.84rem; line-height: 1.45; }
.ps-table .pending-hint small { display: block; color: var(--ps-sage); font-size: 0.78rem; margin-top: 0.15rem; }

.ps-footer-disclaimer { max-width: 42rem; margin: 0.5rem auto; line-height: 1.65; }

[id] { scroll-margin-top: 4.5rem; }

/* —— Timeline —— */
.ps-timeline { border-left: 2px solid var(--ps-line); padding-left: 1.5rem; margin: 1.5rem 0; }
.ps-timeline-item { margin-bottom: 1.25rem; position: relative; }
.ps-timeline-item::before {
    content: ''; position: absolute; left: -1.65rem; top: 0.45rem;
    width: 10px; height: 10px; border-radius: 50%; background: var(--ps-copper);
    border: 2px solid var(--ps-cream);
}
.ps-timeline-item strong { color: var(--ps-forest); display: block; margin-bottom: 0.25rem; }

/* —— Responsive —— */
@media (max-width: 960px) {
    .ps-hero { grid-template-columns: 1fr; min-height: auto; }
    .ps-hero-text { padding: 2.5rem 1.25rem 1.5rem; order: 2; }
    .ps-hero-visual { order: 1; min-height: 52vw; max-height: 420px; }
    .ps-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ps-stats { grid-template-columns: repeat(2, 1fr); }
    .ps-values { grid-template-columns: 1fr; }
    .ps-info-grid { grid-template-columns: 1fr; }
    .ps-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ps-hamburger { display: flex; }
    .ps-menu {
        position: fixed; top: 53px; left: 0; right: 0;
        background: var(--ps-paper); flex-direction: column; padding: 1rem 1.25rem 1.5rem;
        border-bottom: 1px solid var(--ps-line); display: none; align-items: stretch; gap: 0;
        box-shadow: var(--ps-shadow);
    }
    .ps-menu.open { display: flex; }
    .ps-menu li a { padding: 0.75rem 0; border-bottom: 1px solid var(--ps-line); width: 100%; }
    .ps-grid-4 { grid-template-columns: 1fr; }
}
