/* canguanzhuangxiu.com — 餐境设计 DiningScape Design */
:root {
    --ink: #1d1a17;
    --ink-2: #3a342e;
    --muted: #6d645a;
    --paper: #faf7f2;
    --paper-2: #f2ece2;
    --line: #e4d9c8;
    --wood: #8a5a34;
    --gold: #b8893b;
    --gold-light: #e2c58f;
    --red: #a8322a;
    --red-dark: #861f19;
    --white: #ffffff;
    --dark-color: #1d1a17;
    --accent-color: #e2c58f;
    --radius: 6px;
    --shadow: 0 14px 40px rgba(29, 26, 23, .10);
    --transition: all .3s ease;
    --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.85; color: var(--ink-2); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: .02em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 880px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 40px; background: var(--red); color: var(--white); font-weight: 600; border: 2px solid var(--red); line-height: 1.3; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: #9c7230; border-color: #9c7230; }
.btn-light { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- 顶栏与页头 ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--gold-light); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: var(--transition); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; transition: opacity .3s; }
.logo a:hover { opacity: .8; color: var(--ink); }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-zh { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.logo-en { font-size: 11px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 500; font-size: 15px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--red); }
.has-drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.drop { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); }
.drop a { display: block; padding: 8px 12px; color: var(--ink-2); border-radius: 4px; font-size: 15px; }
.drop a:hover { background: var(--paper-2); color: var(--red); }
.drop a.drop-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; color: var(--red); font-weight: 600; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.nav-cta { background: var(--red); color: var(--white) !important; border-radius: 30px; padding: 9px 20px !important; margin-left: 8px; }
.nav-cta:hover { background: var(--red-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: var(--transition); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.92) 0%, rgba(20,16,12,.6) 55%, rgba(20,16,12,.25) 100%); }
.hero .container { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero-inner { max-width: 690px; }
.hero h1 { color: var(--white); }
.hero h1 small { display: block; font-size: .45em; letter-spacing: .3em; color: var(--gold-light); margin-bottom: 12px; font-weight: 500; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: var(--white); color: var(--ink); }
.hero-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-cities a { color: var(--white); border: 1px solid rgba(226,197,143,.55); padding: 6px 16px; border-radius: 30px; font-size: 14px; }
.hero-cities a:hover { background: var(--gold); border-color: var(--gold); }

.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.trust li { padding: 26px 20px; border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.trust span { font-size: 14px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4/5; }
.split-media figcaption, .fig-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 卡片 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink-2); transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink-2); }
.card-img { overflow: hidden; aspect-ratio: 16/10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-en { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card h3 { margin: 4px 0 8px; }
.card p { font-size: 15px; color: var(--muted); flex: 1; }
.more { color: var(--red); font-weight: 600; font-size: 14px; }

/* 统计 / 理由 */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why { background: var(--white); border-top: 3px solid var(--red); padding: 28px; border-radius: var(--radius); }
.section-dark .why { background: rgba(255,255,255,.05); border-top-color: var(--gold); }
.why p { margin: 0; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 24px; border: 1px solid rgba(226,197,143,.3); border-radius: var(--radius); }
.section:not(.section-dark) .step { background: var(--white); border-color: var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 34px; color: var(--gold); display: block; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; }

/* 城市 */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.city { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); min-height: 320px; display: flex; align-items: flex-end; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,12,.9), rgba(20,16,12,.1) 70%); }
.city:hover img { transform: scale(1.05); }
.city div { position: relative; z-index: 1; padding: 26px; }
.city h3 { color: var(--white); margin-bottom: 4px; }
.city p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }
.city:hover { color: var(--white); }

/* 图库 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); }
.gallery-grid figcaption strong { display: block; color: var(--ink); font-family: var(--serif); }
.tag-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag-links a { border: 1px solid var(--line); background: var(--white); color: var(--ink-2); padding: 6px 16px; border-radius: 30px; font-size: 14px; }
.tag-links a:hover { border-color: var(--red); color: var(--red); }

/* ---------- 内页 ---------- */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.page-hero.simple .container { display: block; text-align: center; }
.page-hero.simple .lead { margin: 0 auto; }
.page-hero.simple .breadcrumb { justify-content: center; }
.page-hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }

.facts { background: var(--ink); color: var(--white); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.facts li { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.facts li:last-child { border-right: 0; }
.facts span { display: block; font-size: 12px; letter-spacing: .14em; color: var(--gold-light); }
.facts strong { font-weight: 500; font-size: 15px; }

.article-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 100px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.toc a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.toc a:hover { color: var(--red); }
.toc .btn { margin-top: 16px; color: var(--white); font-size: 14px; padding: 10px 18px; }
.article { min-width: 0; max-width: 820px; }
.article section { margin-bottom: 52px; scroll-margin-top: 100px; }
.article h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.article h3 { margin-top: 26px; }
.article img { border-radius: var(--radius); margin: 10px 0 6px; }
.article figure { margin: 24px 0; }
.article figcaption { font-size: 13px; color: var(--muted); }
.answer-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 20px 24px; border-radius: var(--radius); margin-bottom: 28px; }
.answer-box p:last-child { margin: 0; }
.answer-box strong.label { display: block; font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-bottom: 4px; }
.note { background: #fbf3e4; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 4px; font-size: 15px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.info-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.info-table thead th { background: var(--ink); color: var(--white); font-weight: 500; }
.info-table tbody th { background: var(--paper-2); color: var(--ink); width: 26%; font-weight: 600; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.disclaimer { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq-list summary { cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--red); }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p:last-child { margin: 0; }
.faq-group { margin-bottom: 44px; }

/* 博客 */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-header { max-width: 820px; margin: 0 auto; text-align: center; }
.post-header .breadcrumb { justify-content: center; }
.post-cover { max-width: 980px; margin: -30px auto 0; padding: 0 20px; }
.post-cover img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.post-body { max-width: 780px; margin: 0 auto; font-size: 17px; }
.post-body h2 { margin-top: 40px; }
.post-related { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 30px; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red)); color: var(--white); text-align: center; padding: 76px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .btn-row { justify-content: center; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { width: 100%; cursor: pointer; font-size: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.info-card { background: var(--ink); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.info-card h2 { color: var(--white); font-size: 24px; }
.info-card dl { margin: 0; }
.info-card dl div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-card dt { font-size: 12px; letter-spacing: .16em; color: var(--gold-light); }
.info-card dd { margin: 2px 0 0; }
.info-card a { color: var(--white); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

.notfound { padding: 120px 0; text-align: center; }
.notfound strong { font-family: var(--serif); font-size: 110px; color: var(--gold); line-height: 1; display: block; }

/* ---------- Footer ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 3rem 0 1rem; margin-top: 0; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.2rem; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, 0.8); line-height: 1.8; }
.footer-section p { margin-bottom: .4rem; font-size: 15px; }
.footer-section a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-partner { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }
.mobile-bar { display: none; }

/* ---------- 动效（无 JS 时内容照常显示） ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .main-nav > ul > li > a { padding: 10px 8px; font-size: 14px; }
    .card-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--paper); padding: 90px 22px 30px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.15); z-index: 60; }
    .nav-open .main-nav { transform: none; }
    .nav-open .nav-toggle { position: relative; z-index: 70; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .main-nav > ul { flex-direction: column; align-items: stretch; }
    .main-nav > ul > li > a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
    .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; background: transparent; }
    .has-drop.open .drop { display: block; }
    .nav-cta { margin: 16px 0 0; text-align: center; }
    .split, .page-hero .container, .contact-grid, .article-wrap { grid-template-columns: 1fr; gap: 36px; }
    .toc { position: static; }
    .card-grid, .why-grid, .city-grid, .post-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .trust ul, .facts ul { grid-template-columns: repeat(2, 1fr); }
    .trust li:nth-child(2), .facts li:nth-child(2) { border-right: 0; }
    .trust li { border-bottom: 1px solid var(--line); }
    .section { padding: 64px 0; }
    .topbar .tb-hours { display: none; }
}
@media (max-width: 640px) {
    body { font-size: 15px; padding-bottom: 56px; }
    .container { padding: 0 16px; }
    .card-grid, .card-grid.four, .why-grid, .city-grid, .post-grid, .gallery-grid, .form-row { grid-template-columns: 1fr; }
    .hero .container { padding-top: 70px; padding-bottom: 70px; }
    .topbar .tb-address { display: none; }
    .topbar .container { justify-content: center; }
    .logo-zh { font-size: 19px; }
    .logo-mark { width: 40px; height: 40px; }
    .contact-form, .info-card { padding: 22px; }
    .post-cover { margin-top: 0; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
    .mobile-bar a { padding: 15px 0; text-align: center; color: var(--white); background: var(--ink); font-weight: 600; }
    .mobile-bar a:last-child { background: var(--red); }
}
