:root {
    --ink: #16181d;
    --paper: #f4efe6;
    --cream: #fbf8f2;
    --gold: #b0893e;
    --gold-dark: #8d6a2c;
    --steel: #5c6570;
    --line: rgba(22, 24, 29, 0.12);
    --max: 1160px;
    --serif: "Noto Serif TC", "Libre Baskerville", Georgia, serif;
    --sans: "Noto Sans TC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
}
.lead { font-size: 1.08rem; color: var(--steel); max-width: 46rem; }
.center { text-align: center; }
.note { color: var(--steel); font-size: 0.92rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 248, 242, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 72px;
}
.logo img { height: 36px; width: auto; }
.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.site-nav a {
    color: var(--ink);
    font-size: 0.92rem;
    padding: 6px 0;
}
.site-nav a.is-active,
.lang-switch a.is-active,
.side a.is-related { color: var(--gold-dark); font-weight: 700; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.75rem; }
.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 12px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); text-decoration: none; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; text-decoration: none; }

.hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(176, 137, 62, 0.18), transparent 40%),
        linear-gradient(180deg, #1b1e24 0%, #2a3038 100%);
    color: #f7f2e8;
    padding: 72px 0 64px;
}
.hero a { color: #f7f2e8; }
.hero .kicker { color: var(--gold); }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-panel { display: grid; place-items: center; min-height: 280px; }

.stats { background: var(--ink); color: #fff; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 0;
    text-align: center;
}
.stats strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.stats span { font-size: 0.86rem; color: #d7d3cb; }

.band { padding: 64px 0; }
.band-alt { background: var(--paper); }
.section-head { margin-bottom: 28px; max-width: 40rem; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.six { grid-template-columns: repeat(6, 1fr); }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}
.card:hover { border-color: var(--gold); text-decoration: none; }
.watch-card .note { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.part-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 10px; background: #eee; }

.watch-photo {
    aspect-ratio: 1;
    margin: 0 auto 12px;
    width: 100%;
    max-width: 260px;
    background: #f3eee4;
    border-radius: 18px;
    overflow: hidden;
}
.watch-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f3eee4;
}
.watch-photo.large { max-width: 420px; }
.hero-watch {
    display: block;
    width: min(100%, 380px);
    border-radius: 24px;
    overflow: hidden;
    background: #f4efe6;
}
.hero-watch img { width: 100%; height: auto; }
.hero-watch:hover { text-decoration: none; }

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    counter-reset: step;
}
.steps li {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    display: block;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.steps strong { display: block; margin-bottom: 6px; }

.page-block { padding: 48px 0 80px; }
.office-grid, .contact-grid, .detail-grid {
    display: grid;
    gap: 16px;
}
.office-grid { grid-template-columns: repeat(3, 1fr); }
.contact-grid { grid-template-columns: 1.2fr 0.8fr; }
.detail-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.inquiry { position: relative; display: grid; gap: 12px; background: #fff; padding: 24px; border-radius: 16px; border: 1px solid var(--line); }
.inquiry label { display: grid; gap: 6px; font-size: 0.92rem; }
.inquiry input, .inquiry select, .inquiry textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}
.inquiry .hp { position: absolute; left: -9999px; }
.inquiry .captcha input { max-width: 8rem; }
.flash { padding: 12px 14px; border-radius: 10px; }
.flash.is-ok { background: #e8f5e9; }
.flash.is-err { background: #fdecea; }

.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.side {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding-right: 4px;
}
.side-group {
    margin: 0 0 4px;
    border-bottom: 1px solid var(--line);
}
.side-group > summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 22px 10px 0;
    position: relative;
}
.side-group > summary::-webkit-details-marker { display: none; }
.side-group > summary::marker { content: ""; }
.side-group > summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--steel);
    border-bottom: 2px solid var(--steel);
    transform: translateY(-70%) rotate(45deg);
}
.side-group[open] > summary::after {
    transform: translateY(-30%) rotate(-135deg);
}
.side-group ul { list-style: none; padding: 0 0 10px; margin: 0; }
.side-group a { display: block; padding: 4px 0; color: var(--ink); }
.side-group a.is-active { color: var(--gold-dark); font-weight: 700; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}
.product-grid figure {
    position: relative;
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}
.product-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.product-grid figcaption { margin-top: 8px; font-size: 0.88rem; }
.part-note {
    display: block;
    margin-top: 2px;
    color: var(--steel);
    font-size: 0.75rem;
    font-weight: 400;
}
.part-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
    color: #f4efe4;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    font-weight: 700;
    pointer-events: none;
}
.catalog-sub {
    margin: 28px 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
}
.catalog-sub:first-of-type { margin-top: 18px; }
.lume-swap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.lume-swap:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lume-swap .is-night {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}
.lume-swap:hover .is-night,
.lume-swap:focus-visible .is-night,
.lume-swap.is-on .is-night { opacity: 1; }
.lume-hint {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.62);
    color: #f4efe4;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.lume-swap:hover .lume-hint,
.lume-swap:focus-visible .lume-hint,
.lume-swap.is-on .lume-hint { opacity: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    color: var(--ink);
}
.chip:hover { border-color: var(--gold); text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.filters a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--ink);
    background: #fff;
}
.filters a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters a:hover { text-decoration: none; }
.spec { display: grid; gap: 8px; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.spec dt { color: var(--steel); }
.miles { padding-left: 1.1rem; }
.capability { padding: 24px; }

.site-footer {
    background: var(--ink);
    color: #d9d4cc;
    padding: 36px 0 20px;
}
.site-footer a { color: #f0e6d2; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}
.site-footer .picono {
    display: none;
}
.copy { font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }

.faq {
    padding: 48px 0 56px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.page-block .faq,
.catalog .faq {
    padding: 28px 0 8px;
    background: transparent;
    border-top: 1px solid var(--line);
    margin-top: 28px;
}
.page-block .faq .wrap,
.catalog .faq .wrap {
    width: auto;
    margin: 0;
}
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 16px;
    margin: 0 0 10px;
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 14px; color: var(--steel); }
.faq-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

#gotop {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: var(--ink);
    color: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 980px) {
    .header-inner { grid-template-columns: auto auto; }
    .site-nav, .lang-switch { display: none; }
    .site-nav.is-open, .lang-switch.is-open { display: flex; grid-column: 1 / -1; }
    .site-nav.is-open ul { flex-direction: column; align-items: flex-start; }
    .nav-toggle { display: inline-block; justify-self: end; }
    .hero-grid, .card-grid, .card-grid.three, .card-grid.six, .stats-grid, .steps, .office-grid, .contact-grid, .catalog, .footer-grid, .detail-grid {
        grid-template-columns: 1fr;
    }
    .side {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .spec div { grid-template-columns: 1fr; }
}
