/* ============================================================
   泰林装饰官网 - 前台样式
   配色：炭黑 / 暖金 / 米白
   ============================================================ */
:root {
    --ink: #17181c;
    --ink-2: #2a2c33;
    --gold: #c9a063;
    --gold-d: #b8905a;
    --gold-l: #e6cf9f;
    --paper: #f7f4ef;
    --line: #e8e2d8;
    --text: #3d4046;
    --muted: #8a8578;
    --white: #ffffff;
    --shadow: 0 12px 40px rgba(23, 24, 28, .08);
    --radius: 14px;
    --serif: "Songti SC", "STSong", "SimSun", serif;
    --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; color: var(--ink); }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--ink); color: #cfc9bd; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; padding: 7px 0; gap: 12px; flex-wrap: wrap; }
.topbar-tel { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-l); }

/* ---------- 导航 ---------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 46px; width: auto; display: block; }
.logo-light .logo-img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px; font-size: 15px; color: var(--ink-2); border-radius: 8px; font-weight: 500;
}
.nav-links a:hover { color: var(--gold-d); background: var(--paper); }
.nav-links a.active { color: var(--gold-d); font-weight: 700; }
.nav-cta {
    background: var(--gold) !important; color: #fff !important; margin-left: 8px; font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(201, 160, 99, .4);
}
.nav-cta:hover { background: var(--gold-d) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 75% -10%, rgba(201, 160, 99, .25), transparent 60%),
        radial-gradient(800px 400px at 10% 110%, rgba(201, 160, 99, .12), transparent 55%),
        linear-gradient(160deg, #1b1c21 0%, #17181c 55%, #201d18 100%);
    color: #e9e4d8; position: relative; overflow: hidden;
}
.hero::after {
    content: "泰"; position: absolute; right: -40px; bottom: -70px; font-family: var(--serif);
    font-size: 340px; color: rgba(201, 160, 99, .06); pointer-events: none; line-height: 1;
}
.hero-inner { padding: 96px 0 72px; position: relative; z-index: 1; }
.hero-tag {
    display: inline-block; border: 1px solid rgba(201, 160, 99, .45); color: var(--gold-l);
    padding: 6px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 2px; margin-bottom: 26px;
}
.hero h1 {
    color: #fff; font-size: clamp(34px, 5.4vw, 58px); letter-spacing: 4px;
    font-family: var(--serif); font-weight: 700;
}
.hero-desc { max-width: 640px; margin-top: 20px; font-size: 17px; color: #b9b3a5; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(201, 160, 99, .25); border: 1px solid rgba(201, 160, 99, .25);
    border-radius: var(--radius); overflow: hidden; margin-top: 56px;
}
.hero-stats > div { background: rgba(23, 24, 28, .75); padding: 22px 26px; display: flex; align-items: center; gap: 16px; }
.hero-stats strong { font-size: 40px; color: var(--gold-l); font-family: var(--serif); line-height: 1; }
.hero-stats span { font-size: 13px; color: #9a948a; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
    cursor: pointer; border: 1.5px solid transparent; transition: .25s;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 6px 20px rgba(201, 160, 99, .35); }
.btn-primary:hover { background: var(--gold-d); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-l); color: var(--gold-l); }
.btn-line { border-color: var(--gold); color: var(--gold-d); background: transparent; }
.btn-line:hover { background: var(--gold); color: #fff; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.sec-no { font-size: 13px; letter-spacing: 3px; color: var(--gold-d); font-weight: 700; display: block; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: 1px; }
.sec-head h2 span, .h2 span { color: var(--gold-d); }
.sec-more { margin-left: auto; color: var(--gold-d); font-size: 14px; font-weight: 600; }
.sec-more:hover { color: var(--ink); }
.sec-lead { max-width: 760px; color: var(--muted); margin-bottom: 36px; font-size: 15.5px; }
.sec-lead.dark { color: #a29c90; }

/* ---------- 通用页面头 ---------- */
.page-hero {
    background:
        radial-gradient(900px 300px at 85% 0%, rgba(201, 160, 99, .22), transparent 60%),
        linear-gradient(150deg, #1b1c21, #17181c);
    color: #ddd7ca; padding: 64px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-family: var(--serif); letter-spacing: 2px; }
.page-hero-sub { margin-top: 14px; color: #a9a396; max-width: 720px; }
.page-hero.slim { padding: 40px 0; }
.crumb { font-size: 13px; margin-bottom: 14px; color: #8d8779; }
.crumb a:hover { color: var(--gold-l); }

/* ---------- 占位图 ---------- */
.ph {
    width: 100%; height: 100%; min-height: 200px;
    background: linear-gradient(140deg, #23252b 0%, #1b1c21 60%, #26221b 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 18px; text-align: center;
}
.ph-zh {
    font-family: var(--serif); font-size: 34px; color: var(--gold);
    border: 1px solid rgba(201, 160, 99, .5); width: 58px; height: 58px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.ph strong { color: #e9e4d8; font-size: 15px; line-height: 1.4; }
.ph em { font-style: normal; color: #8d8779; font-size: 12px; }
.ph i { font-style: normal; color: #5c5749; font-size: 11px; margin-top: 4px; letter-spacing: 1px; }
.case-pic img, .mat-pic img, .qual-pic img, .detail-cover img, .side-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-text p { margin-bottom: 14px; }
.about-values { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.about-values span {
    background: var(--paper); border: 1px solid var(--line); color: var(--gold-d);
    padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.about-side { display: grid; gap: 16px; }
.about-card, .stat-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.about-card strong { color: var(--ink); font-size: 18px; display: block; }
.about-card em { font-style: normal; color: var(--gold-d); font-weight: 700; margin-bottom: 8px; display: block; }
.about-card p { font-size: 14px; color: var(--muted); }
.stat-card { text-align: center; padding: 28px 16px; }
.stat-card strong { font-size: 34px; color: var(--gold-d); font-family: var(--serif); display: block; }
.stat-card span { font-size: 13px; color: var(--muted); }
.h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.culture-card {
    display: flex; gap: 20px; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px;
}
.culture-card i {
    font-style: normal; font-family: var(--serif); font-size: 30px; color: var(--gold);
    width: 64px; height: 64px; flex: none; border: 1.5px solid var(--gold);
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.culture-card h3 { margin-bottom: 8px; font-size: 19px; }
.culture-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
    content: ""; position: absolute; left: -30px; top: 6px; width: 18px; height: 18px;
    border-radius: 50%; background: var(--white); border: 4px solid var(--gold);
}
.tl-year { font-family: var(--serif); font-size: 24px; color: var(--gold-d); font-weight: 700; }
.tl-body h3 { margin: 4px 0 6px; font-size: 18px; }
.tl-body p { color: var(--muted); max-width: 640px; }

.dark-text { color: #b3ada0; font-size: 15.5px; }
.dark-text p { margin-bottom: 12px; }
.dark-text strong { color: var(--gold-l); }
.dark-text .btn { margin-top: 10px; }
.vision { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; color: var(--text); }

/* ---------- 业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card {
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .25);
    border-radius: var(--radius); padding: 30px 24px; transition: .3s; display: block;
}
.biz-card:hover { border-color: var(--gold); transform: translateY(-6px); background: rgba(201, 160, 99, .08); }
.biz-card i {
    font-style: normal; font-family: var(--serif); color: var(--gold); font-size: 15px;
    border: 1px solid rgba(201, 160, 99, .5); padding: 3px 12px; border-radius: 999px;
}
.biz-card h3 { margin: 18px 0 10px; font-size: 20px; letter-spacing: 1px; }
.biz-card p { color: #9a948a; font-size: 14px; }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: .3s;
    box-shadow: 0 2px 8px rgba(23, 24, 28, .04);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.case-pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.case-info { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.case-cat { font-size: 12.5px; color: var(--gold-d); letter-spacing: 1px; font-weight: 600; }
.case-cat.light { color: var(--gold-l); }
.case-info h3 { font-size: 18px; line-height: 1.45; }
.case-info p { color: var(--muted); font-size: 14px; flex: 1; }
.case-link { color: var(--gold-d); font-size: 13.5px; font-weight: 700; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; grid-column: 1 / -1; }

/* ---------- 筛选 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
    padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
    font-size: 14px; color: var(--text); background: var(--white); transition: .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-d); }
.chip-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-active:hover { color: var(--gold-l); }

/* ---------- 施工标准 ---------- */
.std-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.std-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; transition: .3s; position: relative;
}
.section-dark .std-card, .section-dark .biz-card { background: rgba(255, 255, 255, .04); border-color: rgba(201, 160, 99, .25); }
.std-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.std-card em {
    font-style: normal; font-family: var(--serif); font-size: 30px; color: rgba(201, 160, 99, .55);
    font-weight: 700; display: block; margin-bottom: 12px;
}
.std-card h3 { font-size: 17px; margin-bottom: 10px; }
.std-card p { font-size: 14px; color: var(--muted); }
.section-dark .std-card p { color: #9a948a; }

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }
.flow-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; position: relative; transition: .3s;
}
.flow-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-card i {
    font-style: normal; font-family: var(--serif); font-size: 26px; color: var(--gold);
    display: block; margin-bottom: 10px;
}
.flow-card h3 { font-size: 17px; margin-bottom: 8px; }
.flow-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(201, 160, 99, .3); }
.std-table { width: 100%; border-collapse: collapse; min-width: 640px; background: rgba(255,255,255,.03); }
.std-table th {
    background: rgba(201, 160, 99, .15); color: var(--gold-l); text-align: left;
    padding: 14px 18px; font-size: 14px; letter-spacing: 1px; white-space: nowrap;
}
.std-table td { padding: 13px 18px; border-top: 1px solid rgba(201, 160, 99, .15); color: #c4beb1; font-size: 14.5px; }
.std-table td strong { color: #fff; }
.table-note { color: #9a948a; font-size: 13px; margin-top: 14px; }
.section .table-note { color: var(--muted); }
.section .table-wrap { border-color: var(--line); }
.section .std-table { background: var(--white); }
.section .std-table th { background: var(--paper); color: var(--gold-d); }
.section .std-table td { border-color: var(--line); color: var(--text); }
.section .std-table td strong { color: var(--ink); }

/* ---------- 材料 ---------- */
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mat-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: .3s; display: block;
}
.mat-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.mat-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.mat-card h3 { font-size: 18px; padding: 18px 22px 0; }
.mat-card p { padding: 8px 22px 22px; font-size: 14px; color: var(--muted); }
.promise {
    margin-top: 40px; background: var(--paper); border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 30px;
}
.promise h3 { margin-bottom: 8px; font-size: 18px; }
.promise p { color: var(--text); font-size: 15px; }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partner-chip {
    border: 1px solid rgba(201, 160, 99, .35); color: #d8d2c5; padding: 10px 22px;
    border-radius: 999px; font-size: 14.5px; transition: .25s; background: rgba(255,255,255,.03);
}
.partner-chip:hover { border-color: var(--gold); color: var(--gold-l); transform: translateY(-2px); }
.partner-note { text-align: center; color: #8d8779; font-size: 13px; margin-top: 26px; }
.partner-note a { color: var(--gold-l); }

/* ---------- 资质 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qual-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: .3s;
}
.qual-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.qual-pic { aspect-ratio: 3 / 4; background: var(--ink-2); overflow: hidden; }
.qual-card figcaption { padding: 16px 18px 20px; }
.qual-card h3 { font-size: 16px; }
.qual-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 案例详情 ---------- */
.case-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.detail-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.detail-summary {
    margin-top: 22px; font-size: 17px; color: var(--ink); font-weight: 600;
    border-left: 4px solid var(--gold); padding-left: 16px;
}
.detail-content { margin-top: 18px; color: var(--text); }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.detail-gallery-item { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--ink-2); }
.detail-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.detail-nav a { color: var(--gold-d); font-weight: 600; font-size: 14.5px; }
.detail-nav a:hover { color: var(--ink); }
.detail-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-card .btn { margin-top: 10px; }
.side-muted { font-size: 13.5px; color: var(--muted); }
.side-case {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    border-bottom: 1px dashed var(--line); font-size: 14px;
}
.side-case:last-of-type { border-bottom: none; }
.side-case:hover { color: var(--gold-d); }
.side-thumb { width: 64px; height: 46px; border-radius: 8px; overflow: hidden; flex: none; background: var(--ink-2); }
.side-thumb .ph { min-height: 46px; padding: 4px; }
.side-thumb .ph-zh { width: 26px; height: 26px; font-size: 13px; border-radius: 6px; margin: 0; }
.side-thumb .ph strong, .side-thumb .ph em, .side-thumb .ph i { display: none; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2, .contact-form h2 { font-size: 22px; margin-bottom: 22px; }
.contact-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-item em { font-style: normal; font-size: 12.5px; color: var(--muted); letter-spacing: 2px; display: block; }
.contact-item strong { font-size: 16.5px; color: var(--ink); display: block; margin-top: 4px; }
.contact-item strong a:hover { color: var(--gold-d); }
.contact-item span { font-size: 13.5px; color: var(--muted); display: block; margin-top: 2px; }
.contact-divider { height: 30px; }
.contact-form {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-row label b { color: #d0453c; }
.form-row input, .form-row textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd6c9; border-radius: 10px;
    font-size: 15px; font-family: inherit; background: var(--white); transition: .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 99, .15); }
.form-err { background: #fdecec; color: #c0392b; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.form-ok { background: #e9f7ef; color: #1a7f4b; border-radius: 12px; padding: 28px; font-size: 17px; font-weight: 700; text-align: center; }
.form-ok span { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: #4a7c62; }
.form-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.map-box { background: var(--paper); padding: 40px 0 64px; }
.map-inner {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px; display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.map-inner strong { font-size: 17px; color: var(--ink); }
.map-inner span { color: var(--muted); font-size: 13.5px; }

/* ---------- 量房需求登记 ---------- */
.survey-wrap { display: grid; grid-template-columns: 1.9fr 1fr; gap: 40px; align-items: start; }
.survey-form { display: grid; gap: 26px; }
.fset {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 30px 26px; margin: 0; min-width: 0;
}
.fset-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.fset-head em {
    font-style: normal; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--gold);
    line-height: 1; flex: none; margin-top: 2px;
}
.fset-head h3 { font-size: 19px; letter-spacing: 1px; }
.fset-head span { font-size: 13px; color: var(--muted); }
.survey-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.survey-form label i { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12.5px; }

/* 点选 chips（radio / checkbox 美化） */
.pick-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { position: relative; cursor: pointer; margin: 0; }
.pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.pick span {
    display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
    border: 1.5px solid #ddd6c9; background: var(--white); font-size: 14.5px; color: var(--text);
    transition: .18s; user-select: none; line-height: 1.3;
}
.pick:hover span { border-color: var(--gold); color: var(--gold-d); }
.pick input:checked + span {
    background: rgba(201, 160, 99, .12); border-color: var(--gold); color: var(--gold-d); font-weight: 600;
    box-shadow: 0 2px 10px rgba(201, 160, 99, .18);
}
.pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 侧栏步骤 */
.survey-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.survey-steps { list-style: none; display: grid; gap: 16px; }
.survey-steps li { display: flex; gap: 14px; align-items: flex-start; }
.survey-steps em {
    font-style: normal; width: 30px; height: 30px; flex: none; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.survey-steps strong { display: block; color: var(--ink); font-size: 15px; }
.survey-steps span { font-size: 13px; color: var(--muted); }
.survey-ok { padding: 44px 30px; }
.survey-ok span b { color: #1a7f4b; }
.survey-form input[type="date"] {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd6c9; border-radius: 10px;
    font-size: 15px; font-family: inherit; background: var(--white);
}
.survey-form input[type="date"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 99, .15); }
.survey-form input[type="number"] {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd6c9; border-radius: 10px;
    font-size: 15px; font-family: inherit; background: var(--white);
}
.survey-form input[type="number"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 99, .15); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, #1b1c21, #26221b); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-family: var(--serif); letter-spacing: 2px; }
.cta p { color: #9a948a; margin-top: 10px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-inline {
    margin-top: 48px; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 34px; display: flex; align-items: center;
    gap: 16px; flex-wrap: wrap;
}
.cta-inline p { flex: 1; min-width: 240px; color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9a948a; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer-slogan { color: var(--gold-l); margin: 16px 0 8px; font-size: 15px; }
.footer-desc { font-size: 13.5px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; padding: 4px 0; color: #9a948a; }
.footer-col a:hover { color: var(--gold-l); }
.footer-muted { line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 12.5px; color: #6e6a5f; }
.footer-bottom a { color: #9a948a; }
.footer-bottom a:hover { color: var(--gold-l); }

/* ---------- 悬浮电话 ---------- */
.fab-tel {
    position: fixed; right: 22px; bottom: 26px; width: 56px; height: 56px;
    background: var(--gold); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(201, 160, 99, .45); z-index: 90; transition: .25s;
}
.fab-tel:hover { transform: scale(1.08); background: var(--gold-d); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .biz-grid, .std-grid, .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid, .mat-grid { grid-template-columns: repeat(2, 1fr); }
    .qual-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .case-detail { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    /* 防横向溢出兜底 */
    html, body { overflow-x: clip; }
    [class*="-grid"] > *, .about-text, .contact-info, .contact-form, .tl-body, .sec-head { min-width: 0; }

    /* 顶栏：小屏只保留电话 */
    .topbar-inner { justify-content: center; font-size: 12.5px; }
    .topbar-inner > span:first-child { display: none; }

    /* 导航 */
    .nav-inner { height: 64px; }
    .logo-img { height: 38px; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        max-height: calc(100vh - 64px); overflow-y: auto;
        background: var(--white); flex-direction: column; padding: 12px 4% 16px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow); align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 13px 14px; font-size: 16px; }
    .nav-cta { text-align: center; margin: 8px 0 0; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Hero */
    .hero-inner { padding: 56px 0 48px; }
    .hero h1 { font-size: clamp(30px, 9vw, 40px); letter-spacing: 2px; }
    .hero-desc { font-size: 15.5px; }
    .hero-actions .btn { padding: 12px 22px; font-size: 14.5px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
    .hero-stats > div { padding: 16px 18px; flex-direction: column; align-items: flex-start; gap: 4px; }
    .hero-stats strong { font-size: 30px; }

    /* 区块 */
    .section { padding: 56px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 28px; }
    .sec-head.center { align-items: center; text-align: center; }
    .sec-more { margin-left: 0; margin-top: 4px; }
    .sec-lead { margin-bottom: 26px; font-size: 15px; }
    .page-hero { padding: 44px 0; }
    .page-hero.slim { padding: 32px 0; }
    .page-hero-sub { font-size: 14.5px; }

    /* 网格全单列 */
    .biz-grid, .std-grid, .flow-grid, .case-grid, .mat-grid, .qual-grid, .two-col,
    .detail-gallery, .survey-wrap, .survey-form .form-grid { grid-template-columns: 1fr; }
    .survey-side { position: static; }
    .fset { padding: 22px 18px 20px; }
    .fset-head { gap: 12px; margin-bottom: 18px; }
    .pick span { padding: 9px 15px; font-size: 14px; }

    /* 筛选：横向滑动 */
    .filter-bar {
        flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px;
        margin-left: -4%; margin-right: -4%; padding-left: 4%; padding-right: 4%;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .chip { white-space: nowrap; flex: none; }

    /* 卡片与内容 */
    .culture-card { flex-direction: column; gap: 14px; padding: 22px; }
    .vision, .promise { padding: 22px; }
    .contact-form { padding: 24px 20px; }
    .form-row input, .form-row textarea { font-size: 16px; }
    .cta { padding: 52px 0; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; padding: 13px 10px; }
    .cta-inline { padding: 22px; }
    .cta-inline p { min-width: 0; }
    .map-inner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .table-wrap { -webkit-overflow-scrolling: touch; }
    .detail-nav { flex-direction: column; gap: 10px; }
    .detail-summary { font-size: 16px; }

    /* 页脚 */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
    .footer-bottom { text-align: center; line-height: 2; }
    .fab-tel { right: 16px; bottom: 18px; width: 52px; height: 52px; }
}
