/* ===== 老谢开锁 laoxieks.cn 全局样式 ===== */
:root {
  --navy: #16294b;
  --navy-2: #1e3561;
  --navy-3: #27406e;
  --gold: #c9a063;
  --gold-2: #dbb87e;
  --gold-light: #f6eddd;
  --ink: #2b2f36;
  --gray: #6b7280;
  --line: #e8e6e1;
  --bg: #f7f6f3;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(22, 41, 75, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* ===== 顶部信息条 ===== */
.topbar { background: var(--navy); color: #cfd8e8; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: var(--gold-2); font-weight: 600; }
.topbar .tb-tel::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dbb87e'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.4 11.4 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.57 1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ===== 导航 ===== */
.nav { background: var(--white); box-shadow: 0 2px 12px rgba(22,41,75,.06); position: sticky; top: 0; z-index: 100; }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--navy); }
.logo .logo-icon { width: 38px; height: 38px; flex: none; }
.logo em { color: var(--gold); font-style: normal; }
.logo small { display: block; font-size: 11px; color: var(--gray); font-weight: 400; letter-spacing: 2px; margin-top: -4px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { color: #3d4451; font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--gold), #b08643); color: #fff; padding: 9px 18px; border-radius: 40px; font-weight: 700; font-size: 15px; box-shadow: 0 4px 14px rgba(201,160,99,.35); transition: transform .2s; }
.nav-tel:hover { transform: translateY(-2px); }
.nav-tel .ph { width: 16px; height: 16px; fill: #fff; }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* ===== Hero ===== */
.hero { position: relative; background: linear-gradient(120deg, #0f1d3a 0%, var(--navy) 55%, #25406f 100%); color: #fff; overflow: hidden; }
.hero .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 66px; padding-bottom: 66px; }
.hero-txt { flex: 1.1; z-index: 2; }
.hero-tag { display: inline-block; background: rgba(201,160,99,.18); border: 1px solid rgba(201,160,99,.55); color: var(--gold-2); font-size: 13px; letter-spacing: 3px; padding: 5px 14px; border-radius: 30px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.3; font-weight: 800; margin-bottom: 14px; }
.hero h1 em { color: var(--gold-2); font-style: normal; }
.hero p.sub { font-size: 16px; color: #b9c5da; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-call { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #e3bd7c, var(--gold)); color: #3a2a10; font-size: 19px; font-weight: 800; padding: 14px 30px; border-radius: 46px; box-shadow: 0 8px 26px rgba(201,160,99,.45); transition: transform .2s; }
.btn-call:hover { transform: translateY(-3px); }
.btn-call .ph { width: 20px; height: 20px; fill: #3a2a10; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; padding: 13px 26px; border-radius: 46px; font-size: 15px; font-weight: 600; transition: all .2s; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.hero-nums { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-nums .n { text-align: left; }
.hero-nums b { display: block; font-size: 26px; color: var(--gold-2); font-weight: 800; }
.hero-nums span { font-size: 12.5px; color: #9fb0cd; }
.hero-img { flex: .9; z-index: 2; }
.hero-img img { border-radius: 16px; box-shadow: 0 22px 55px rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.14); height: 460px; width: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(201,160,99,.22), transparent 70%); }

/* ===== 信任条 ===== */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; gap: 13px; align-items: center; }
.trust-item .ic { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.trust-item .ic svg { width: 26px; height: 26px; }
.trust-item b { display: block; font-size: 15.5px; color: var(--navy); }
.trust-item span { font-size: 12.5px; color: var(--gray); }

/* ===== 通用 section ===== */
.section { padding: 62px 0; }
.section.alt { background: var(--white); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .en { font-size: 12px; letter-spacing: 5px; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 32px); color: var(--navy); margin: 8px 0 10px; font-weight: 800; }
.sec-head p { color: var(--gray); font-size: 15px; max-width: 640px; margin: 0 auto; }

/* ===== 服务项目 ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 22px; text-align: center; transition: all .25s; display: block; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-2); }
.service-card .ic { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), #fdf8ee); display: flex; align-items: center; justify-content: center; }
.service-card .ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--gray); line-height: 1.65; }
.service-card .more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--gold); font-weight: 600; }
.service-card .more::after { content: " →"; }

/* ===== 预约 CTA ===== */
.cta { background: linear-gradient(120deg, var(--navy) 0%, #1d3968 100%); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -100px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,160,99,.2), transparent 70%); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta h2 em { color: var(--gold-2); font-style: normal; }
.cta p { color: #b9c5da; font-size: 14.5px; margin-top: 8px; }
.cta-nums { display: flex; align-items: center; gap: 18px; }
.cta .btn-call { font-size: 21px; padding: 16px 34px; }

/* ===== 关于我们 ===== */
.about-wrap { display: flex; gap: 44px; align-items: center; }
.about-img { flex: 1; }
.about-img img { border-radius: 16px; box-shadow: var(--shadow); height: 420px; width: 100%; object-fit: cover; object-position: center 40%; }
.about-txt { flex: 1.15; }
.about-txt .en { font-size: 12px; letter-spacing: 5px; color: var(--gold); font-weight: 700; }
.about-txt h2 { font-size: clamp(23px, 3.2vw, 30px); color: var(--navy); margin: 8px 0 16px; font-weight: 800; }
.about-txt p { color: #4b5563; font-size: 15px; margin-bottom: 12px; }
.about-points { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about-points .pt { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-light); border-radius: 10px; padding: 12px 14px; }
.about-points .pt svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.about-points .pt b { font-size: 14.5px; color: var(--navy); display: block; }
.about-points .pt span { font-size: 12.5px; color: var(--gray); }

/* ===== 服务流程 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px 22px; text-align: center; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #e3bd7c, var(--gold)); color: #3a2a10; font-weight: 800; font-size: 13px; padding: 4px 14px; border-radius: 20px; }
.step .ic { width: 54px; height: 54px; margin: 6px auto 12px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.step .ic svg { width: 26px; height: 26px; }
.step b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.step span { font-size: 13px; color: var(--gray); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.faq-q::after { content: "+"; font-size: 22px; color: var(--gold); font-weight: 400; transition: transform .25s; flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; color: #4b5563; font-size: 14.5px; }

/* ===== 资讯 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .cover { height: 150px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); display: flex; align-items: center; justify-content: center; }
.news-card .cover svg { width: 44px; height: 44px; opacity: .9; }
.news-card .body { padding: 18px 20px 20px; }
.news-card time { font-size: 12px; color: var(--gray); }
.news-card h3 { font-size: 15.5px; color: var(--navy); margin: 6px 0 8px; line-height: 1.55; }
.news-card p { font-size: 13px; color: var(--gray); line-height: 1.65; }
.news-card .more { color: var(--gold); font-size: 13px; font-weight: 600; margin-top: 8px; display: inline-block; }

/* ===== 页脚 ===== */
.footer { background: #0e1830; color: #9db0cf; padding: 52px 0 0; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer .f-brand { font-size: 20px; color: #fff; font-weight: 800; }
.footer .f-brand em { color: var(--gold-2); font-style: normal; }
.footer p, .footer li { font-size: 13.5px; line-height: 2; }
.footer a:hover { color: var(--gold-2); }
.footer .f-tel { font-size: 22px; color: var(--gold-2); font-weight: 800; letter-spacing: 1px; }
.footer .f-tel .ph { width: 18px; height: 18px; fill: var(--gold-2); vertical-align: -3px; margin-right: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 16px 0; text-align: center; font-size: 12.5px; color: #6d81a5; }
.footer-bottom a { color: #8aa0c4; }

/* ===== 内页通用 ===== */
.page-hero { background: linear-gradient(120deg, #0f1d3a, var(--navy) 60%, #25406f); color: #fff; padding: 52px 0 46px; }
.page-hero h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; }
.page-hero h1 em { color: var(--gold-2); font-style: normal; }
.page-hero .crumb { font-size: 13px; color: #9fb0cd; margin-top: 10px; }
.page-hero .crumb a { color: var(--gold-2); }
.page-body { padding: 44px 0 56px; }
.article { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 38px; box-shadow: var(--shadow); }
.article h2 { font-size: 21px; color: var(--navy); margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--gold); font-weight: 800; }
.article h3 { font-size: 17px; color: var(--navy); margin: 20px 0 10px; font-weight: 700; }
.article p { color: #4b5563; font-size: 15px; margin-bottom: 12px; }
.article .lead { font-size: 15.5px; color: #374151; background: var(--gold-light); border-radius: 10px; padding: 14px 18px; margin-bottom: 8px; }
.article ul.tick li { position: relative; padding-left: 26px; margin-bottom: 8px; color: #4b5563; font-size: 15px; }
.article ul.tick li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a063'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.art-cta { margin-top: 34px; background: linear-gradient(120deg, var(--navy), #1d3968); color: #fff; border-radius: var(--radius); padding: 26px 28px; text-align: center; }
.art-cta p { color: #b9c5da; font-size: 14.5px; margin: 8px 0 16px; }
.art-cta .btn-call { font-size: 18px; }
.relate { margin-top: 34px; }
.relate h3 { font-size: 17px; color: var(--navy); margin-bottom: 14px; }
.relate .tags { display: flex; flex-wrap: wrap; gap: 10px; }
.relate .tags a { background: var(--white); border: 1px solid var(--line); color: #4b5563; font-size: 13.5px; padding: 7px 16px; border-radius: 30px; transition: all .2s; }
.relate .tags a:hover { border-color: var(--gold); color: var(--gold); }

/* ===== 服务网点 ===== */
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px; display: block; position: relative; transition: all .25s; overflow: hidden; }
.branch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-2); }
.branch-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #e3bd7c, var(--gold)); }
.branch-card .b-area { display: inline-block; background: var(--gold-light); color: #8a6a2f; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 20px; letter-spacing: 1px; }
.branch-card .b-name { display: block; font-size: 17px; color: var(--navy); margin: 10px 0 8px; }
.branch-card .b-addr { font-size: 13.5px; color: var(--gray); line-height: 1.7; min-height: 46px; }
.branch-card .b-more { display: block; margin-top: 10px; font-size: 13.5px; color: var(--gold); font-weight: 600; }
.branch-card .b-more::after { content: " →"; }

/* ===== 移动端 ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { position: fixed; top: 62px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 8px 18px 18px; box-shadow: 0 14px 30px rgba(22,41,75,.14); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: flex; }
  .nav-tel { padding: 7px 13px; font-size: 13.5px; }
  .topbar .tb-loc { display: none; }
  .hero .container { flex-direction: column; padding-top: 42px; padding-bottom: 48px; }
  .hero-img { width: 100%; }
  .hero-nums { gap: 20px; }
  .trust .container { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .about-wrap { flex-direction: column; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .cta .container { flex-direction: column; text-align: center; justify-content: center; }
  .services-grid { gap: 14px; }
  .news-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer .container { grid-template-columns: 1fr; gap: 24px; }
  .article { padding: 24px 20px; }
  .section { padding: 46px 0; }
  .hero-img img, .about-img img { height: auto; object-fit: contain; object-position: center; }
}
