/* 龙尚诚建设 Longshangcheng Construction - 官网样式 */
:root {
  --navy: #0e2a47;
  --navy-2: #143a5f;
  --accent: #e8761e;
  --accent-2: #f5a623;
  --bg: #f7f9fb;
  --card: #ffffff;
  --text: #1f2d3a;
  --muted: #5a6b7c;
  --line: #e3e9ef;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--accent) 130%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px;
}
.brand-name { font-weight: 700; font-size: 18px; color: var(--navy); }
.brand-name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .5px; }

.main-nav { display: flex; gap: 2px; flex-wrap: nowrap; align-items: center; }
.main-nav a {
  padding: 8px 10px; border-radius: 8px; font-size: 14.5px; color: var(--text);
  white-space: nowrap;
}
.main-nav a:hover { background: #eef3f8; color: var(--navy); }

.lang-switch {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: 14px; background: #fff; color: var(--navy); font-weight: 600;
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(115deg, rgba(14,42,71,.94) 0%, rgba(20,58,95,.88) 55%, rgba(14,42,71,.55) 100%),
    repeating-linear-gradient(45deg, #10233a 0 2px, transparent 2px 26px);
  color: #fff; padding: 110px 0 90px;
}
.hero-kicker {
  display: inline-block; border: 1px solid rgba(255,255,255,.35);
  padding: 6px 16px; border-radius: 999px; font-size: 14px; letter-spacing: 2px;
  margin-bottom: 24px; color: #ffd9b3;
}
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: 2px; }
.hero .hero-en { font-size: 20px; font-weight: 400; color: #bcd0e2; margin-top: 10px; letter-spacing: 1px; }
.hero p.lede { max-width: 760px; margin-top: 22px; font-size: 17px; color: #dfe9f3; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d4670f; }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-stats {
  margin-top: 54px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px; max-width: 980px;
}
.stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 18px 20px;
}
.stat b { font-size: 28px; display: block; color: #ffc98a; }
.stat span { font-size: 13.5px; color: #d5e2ee; }

/* ===== Sections ===== */
section { padding: 76px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 42px; max-width: 860px; }
.section-head .eyebrow {
  color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
}
.section-head h2 { font-size: 32px; color: var(--navy); margin-top: 8px; line-height: 1.35; }
.section-head .sub-en { color: var(--muted); font-size: 15px; margin-top: 4px; }
.section-head p.desc { margin-top: 14px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 28px rgba(14,42,71,.10); transform: translateY(-2px); }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .tag {
  display: inline-block; background: #fdeee0; color: #b35710; font-size: 12.5px;
  border-radius: 6px; padding: 3px 10px; margin-bottom: 10px; font-weight: 600;
}
.card ul { margin: 10px 0 0 18px; color: var(--muted); font-size: 14.5px; }
.card ul li { margin: 4px 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.quote-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius); padding: 30px;
}
.quote-block p { color: #dce7f2; font-size: 15px; margin-top: 8px; }
.quote-block h3 { color: #ffc98a; font-size: 18px; }

/* people */
.person { border-top: 4px solid var(--accent); }
.person .role { color: var(--accent); font-weight: 700; font-size: 14px; }
.person h3 { margin: 4px 0 10px; }

/* patents table */
.patent-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 12px; }
.patent-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px;
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14.5px;
}
.patent-list li .pno { color: var(--muted); font-size: 13px; white-space: nowrap; font-family: Consolas, monospace; }
.patent-badge {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 5px; margin-right: 8px;
  background: #e8f1fb; color: var(--navy); font-weight: 600;
}
.patent-badge.invention { background: #fdeee0; color: #b35710; }

/* 资质建筑面积指标法规依据 */
.reg-note { margin-top: 28px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.reg-note h3.reg-head { margin: 0 0 8px; color: var(--navy); font-size: 18px; font-weight: 600; }
.reg-note .reg-src { font-size: 13px; color: var(--muted); line-height: 1.75; }
.reg-note .reg-src a { color: var(--navy); text-decoration: underline; }
.reg-list { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.reg-list li { border-left: 3px solid var(--navy); background: #f8fafc; padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.75; }
.reg-list li b { color: var(--navy); }
.reg-old { color: #8a6d3b; }
.reg-new { color: #1a7f37; font-weight: 600; }
.reg-hi { display: inline-block; font-size: 11.5px; background: #e8f1fb; color: var(--navy); padding: 1px 8px; border-radius: 5px; margin-left: 6px; font-weight: 600; }

/* waterproof highlight */
.highlight-band {
  background: linear-gradient(120deg, var(--navy) 0%, #123a5e 100%);
  color: #fff; border-radius: var(--radius); padding: 34px; margin-top: 26px;
}
.highlight-band h3 { color: #ffc98a; font-size: 20px; }
.highlight-band p { color: #d8e4f0; margin-top: 8px; font-size: 15px; }
.big-num { font-size: 44px; font-weight: 800; color: #ffc98a; line-height: 1.1; }

/* process steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; margin-bottom: 20px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.step h4 { color: var(--navy); font-size: 16.5px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* project cards */
.project { border-left: 4px solid var(--navy); }
.project .client { font-size: 12.5px; color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.project h3 { margin: 6px 0; }
.project .metrics { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.project .metrics span {
  background: #eef3f8; color: var(--navy); font-size: 12.5px; padding: 4px 10px; border-radius: 6px;
}
.honor { margin-top: 10px; font-size: 13px; color: #b35710; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 16px; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { text-align: left; }
.contact-card b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--accent); }

/* footer */
.site-footer { background: var(--navy); color: #b9cbdc; padding: 40px 0 30px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer a { color: #dce8f4; }
.site-footer a:hover { color: #ffc98a; }
.footer-slogan { color: #ffc98a; font-weight: 700; letter-spacing: 2px; }
.site-footer .beian { margin-top: 8px; font-size: 12.5px; }
.site-footer .beian a { color: #9fb6cc; text-decoration: none; }
.site-footer .beian a:hover { color: #ffc98a; }

/* 规格卡 / 材料体系 / 案例清单 */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px; margin-top: 20px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.spec b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.spec span { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.mini-head { margin: 40px 0 6px; color: var(--navy); font-size: 21px; }
.mini-sub { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.case-list { list-style: none; margin-top: 12px; }
.case-list li { padding: 7px 0 7px 20px; position: relative; color: var(--muted); font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.case-list li:last-child { border-bottom: none; }
.case-list li::before { content: "▪"; position: absolute; left: 0; top: 7px; color: var(--accent); }
.band-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }

/* 项目案例照片墙 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.photo-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; }
.photo-grid img { width: 100%; height: 150px; object-fit: cover; display: block; transition: transform .3s ease; }
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(10,25,50,.78)); text-align: center; }

/* 客户推荐信 */
.ref-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.ref-date { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.quote { border-left: 3px solid var(--accent); padding: 8px 14px; margin: 12px 0 10px; color: var(--navy); background: #f4f8fc; border-radius: 0 8px 8px 0; font-size: 14.5px; line-height: 1.7; }
.pdf-link { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--navy); text-decoration: none; border: 1px solid var(--line); padding: 7px 16px; border-radius: 8px; transition: all .2s; }
.pdf-link:hover { border-color: var(--accent); color: var(--accent); }

/* 企业文化宣言 */
.culture-values { margin-top: 14px; padding: 12px 18px; border-left: 3px solid var(--accent); background: #f4f8fc; border-radius: 0 8px 8px 0; color: var(--navy); font-size: 15px; line-height: 1.8; letter-spacing: .2px; }

@media (max-width: 760px) {
  .hero h1 { font-size: 32px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .main-nav { order: 3; width: 100%; }
}
