/* 陕西唐算建筑科技 · 双品牌单站点
   字号层级：主张 76 / 区块标题 40 / 客户入口 28 / 卡片标题 22 / 定位句 20 / 正文 16 / 说明 13 / 标签 11-12
   区块间距 140px，标题与内容 56px，12 列栅格，内容宽 1280px，两侧留白 80px */

:root {
  --dark: #0F1114;
  --light: #F6F7F8;
  --ink: #2A2E33;
  --gray: #8A9099;
  --gray-light: #B8BEC7;
  --line: #E4E6EA;
  --tang: #1F4E79;
  --qi: #FF6A3D;
  --shadow: 0 10px 30px rgba(15, 17, 20, .07);
  --pad: 80px;
  --gap: 140px;
  --head-gap: 56px;
  --font-cn: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-num: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--light); color: var(--ink);
  font-family: var(--font-cn); font-size: 16px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--qi); outline-offset: 3px; }
::selection { background: var(--tang); color: var(--light); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ========== 区块 1 首屏 ========== */
.hero {
  position: relative;
  height: 100vh; min-height: 620px;
  background: var(--dark); color: #fff;
  overflow: hidden;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media img { object-position: center; }
.hero-media video { display: block; }
.hero-fallback { display: none; }
.hero-veil { position: absolute; inset: 0; background: rgba(15, 17, 20, .4); }
.hero-veil-left { display: none; }
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-copy { position: relative; width: 36%; min-width: 440px; }
.hero-title {
  font-size: 76px; line-height: 1.05; font-weight: 600; color: #fff;
  letter-spacing: -.02em; overflow-wrap: anywhere; word-break: break-all;
}
.hero-sub {
  margin-top: 28px;
  font-size: 18px; line-height: 1.6; color: var(--gray-light);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.hero-actions .btn { min-width: 152px; }
.hero-corner {
  position: absolute; top: 34px; right: var(--pad);
  font-size: 11px; line-height: 1.6; color: var(--gray-light);
  letter-spacing: .06em;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  font-size: 11px; line-height: 1.6; color: var(--gray-light);
  letter-spacing: .12em;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 34px;
  margin: 12px auto 0; background: rgba(184, 190, 199, .5);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; letter-spacing: .02em;
  transition: opacity .2s ease, border-color .2s ease;
}
.btn:hover { opacity: .82; }
.btn--solid { background: #fff; border-color: #fff; color: var(--dark); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--dark { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ========== 通用区块 ========== */
.section { padding: var(--gap) 0; }
.section--tight { padding: calc(var(--gap) * .7) 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: var(--head-gap); }
.block-title { font-size: 40px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.block-link { font-size: 13px; color: var(--gray); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.block-link:hover { color: var(--qi); border-color: var(--qi); }
.block-note { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ========== 区块 2 数字事实条 ========== */
.facts { background: var(--light); padding: 0 0 var(--gap); }
.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 0 0 0 40px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact-value { font-family: var(--font-num); font-size: 56px; line-height: 1.1; color: var(--ink); }
.fact-label { margin-top: 18px; font-size: 13px; line-height: 1.6; color: #4A5057; }
.fact-note { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--gray); }

/* ========== 区块 3 作品精选 ========== */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.work-lead { grid-column: 1 / -1; }
.work-side { grid-column: span 6; }
.work-media { position: relative; overflow: hidden; background: #E9EBEE; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.work-media::after { content: ""; position: absolute; inset: 0; background: rgba(15, 17, 20, 0); transition: background .2s ease; pointer-events: none; }
.work:hover .work-media img { transform: scale(1.02); }
.work:hover .work-media::after { background: rgba(15, 17, 20, .16); }
.work-media--wide { aspect-ratio: 21 / 9; }
.work-media--side { aspect-ratio: 16 / 10; }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 48px; }
.work-name { font-size: 15px; color: var(--ink); }
.work-type { font-size: 12px; color: var(--gray); white-space: nowrap; }

/* ========== 区块 4 业务：按客户类型 ========== */
.audience-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: var(--head-gap); border-top: 1px solid var(--line); }
.audience-tab {
  position: relative; text-align: left; padding: 26px 24px 26px 0;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
}
.audience-tab + .audience-tab { padding-left: 24px; border-left: 1px solid var(--line); }
.audience-tab::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 3px;
  background: transparent; transition: background .2s ease;
}
.audience-tab[aria-selected="true"]::before { background: var(--qi); }
.audience-name { display: block; font-size: 28px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.audience-desc { display: block; margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--gray); }
.audience-tab[aria-selected="true"] .audience-name { color: var(--tang); }
.focus-line { margin-bottom: 26px; font-size: 13px; line-height: 1.8; color: var(--gray); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); }
.card.is-focus { border-color: var(--tang); }
.card.is-focus .card-num { color: var(--qi); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; margin: -28px -28px 0; border-bottom: 1px solid var(--line); background: #E9EBEE; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.card:hover .card-media img { transform: scale(1.02); }
.biz-video { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.biz-video-media { grid-column: 1 / 8; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.biz-video-media img, .biz-video-media video { width: 100%; height: 100%; object-fit: cover; }
.biz-video-note { grid-column: 8 / -1; }
.biz-video-note h3 { font-size: 22px; line-height: 1.45; font-weight: 600; }
.biz-video-note p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--gray); }
.play-cover { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; border: 0; padding: 0; background: transparent; }
.play-cover span { width: 52px; height: 52px; border: 1px solid #fff; display: grid; place-items: center; }
.play-cover span::after { content: ""; width: 0; height: 0; margin-left: 3px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.about-video { margin-top: 22px; position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.about-video img, .about-video video { width: 100%; height: 100%; object-fit: cover; }
.card-num { font-family: var(--font-num); font-size: 12px; line-height: 1.5; color: var(--gray); }
.card-title { margin-top: 18px; font-size: 22px; line-height: 1.45; font-weight: 600; }
.card-desc { margin-top: 12px; font-size: 14px; line-height: 1.85; color: #50565D; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.card-tag { padding: 3px 9px; border: 1px solid var(--line); border-radius: 2px; font-size: 11px; line-height: 1.5; color: var(--gray); }
.card.is-focus .card-tag { border-color: var(--tang); color: var(--tang); }
.card-more { align-self: flex-start; margin-top: 22px; font-size: 12px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.card-more:hover { color: var(--qi); border-color: var(--qi); }

/* ========== 区块 5 双品牌 ========== */
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand { padding: 0 56px 0 0; }
.brand + .brand { padding: 0 0 0 56px; border-left: 1px solid var(--line); }
.brand-mark { width: 32px; height: 3px; background: var(--tang); }
.brand--qi .brand-mark { background: var(--qi); }
.brand-title { margin-top: 24px; font-size: 40px; line-height: 1.2; font-weight: 600; }
.brand-lead { margin-top: 24px; font-size: 20px; line-height: 1.6; }
.brand-list { margin-top: 26px; }
.brand-list li { padding: 10px 0; font-size: 14px; line-height: 1.7; color: #50565D; }
.brand-more { display: inline-block; margin-top: 24px; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.brand-more:hover { color: var(--qi); border-color: var(--qi); }

/* ========== 区块 6 服务流程 ========== */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.flow-step { border-top: 1px solid var(--line); padding-top: 22px; }
.flow-num { font-family: var(--font-num); font-size: 12px; color: var(--tang); }
.flow-step:nth-child(even) .flow-num { color: var(--qi); }
.flow-title { margin-top: 16px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.flow-desc { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #50565D; }
.flow-time { margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--gray); }

/* ========== 区块 7 关于 ========== */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: start; }
.about-photo { grid-column: 1 / 7; }
.about-photo .work-media { aspect-ratio: 3 / 2; }
.about-photo figcaption { margin-top: 48px; }
.about-copy { grid-column: 7 / -1; }
.about-text { font-size: 16px; line-height: 1.9; max-width: 34em; }
.about-text p + p { margin-top: 12px; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.about-fact span { display: block; font-size: 11px; line-height: 1.5; color: var(--gray); }
.about-fact strong { display: block; margin-top: 6px; font-family: var(--font-num); font-size: 15px; font-weight: 400; }
.quote { margin-top: 34px; padding-left: 20px; border-left: 3px solid var(--qi); }
.quote p { font-size: 16px; line-height: 1.8; }
.quote cite { display: block; margin-top: 10px; font-size: 12px; font-style: normal; color: var(--gray); }

/* ========== 区块 8 加入我们 ========== */
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.job { padding: 28px; border: 1px solid var(--line); }
.job-title { font-size: 22px; line-height: 1.45; font-weight: 600; }
.job-desc { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--gray); }
.job-more { display: inline-block; margin-top: 24px; font-size: 12px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.job-more:hover { color: var(--qi); border-color: var(--qi); }

/* ========== 区块 9 转化区 ========== */
.convert { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding: var(--gap) 0; }
.convert-bg, .convert-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.convert-bg { opacity: .4; }
.convert-veil { position: absolute; inset: 0; background: rgba(15, 17, 20, .6); }
.convert-inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: start; }
.convert-copy { grid-column: 1 / 6; }
.convert-title { font-size: 40px; line-height: 1.35; font-weight: 600; }
.convert-form { grid-column: 6 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; line-height: 1.5; color: var(--gray-light); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 9px 12px;
  border: 1px solid rgba(228, 230, 234, .35); border-radius: 2px;
  background: rgba(255, 255, 255, .04); color: #fff;
  font-size: 14px; line-height: 1.6;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(184, 190, 199, .6); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--qi); outline: none; }
.field--file input { font-size: 12px; }
.form-submit { margin-top: 24px; min-width: 220px; }
.form-success { display: none; margin-top: 22px; padding: 18px 20px; border: 1px solid var(--qi); font-size: 14px; line-height: 1.7; }
.form-success.is-visible { display: block; }

/* ========== 区块 10 页脚 ========== */
.foot { background: var(--dark); color: var(--gray); padding: 64px 0 32px; border-top: 1px solid rgba(228, 230, 234, .14); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 12px; line-height: 1.9; }
.foot-col h3 { font-size: 12px; font-weight: 600; color: var(--gray-light); margin-bottom: 10px; }
.foot-col p { font-size: 12px; }
.foot-col a:hover { color: var(--qi); }
.qr { width: 84px; height: 84px; margin-top: 12px; border: 1px solid rgba(228, 230, 234, .35); display: grid; place-items: center; font-size: 11px; text-align: center; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(228, 230, 234, .14); font-size: 12px; }
.media-prompts { margin-top: 26px; font-size: 11px; line-height: 1.8; }
.media-prompts summary { cursor: pointer; color: var(--gray-light); }
.media-prompts ol { margin: 12px 0 0 16px; }
.media-prompts li { margin-bottom: 6px; }
.media-prompts b { color: var(--gray-light); font-weight: 400; }

/* ========== 断点 ========== */
@media (max-width: 1440px) {
  :root { --pad: 80px; --gap: 120px; }
  .hero-title { font-size: 72px; }
}

@media (max-width: 1024px) {
  :root { --pad: 48px; --gap: 104px; --head-gap: 44px; }
  .hero-title { font-size: 64px; }
  .hero-copy { min-width: 0; width: 52%; }
  .fact-value { font-size: 48px; }
  .audience-name { font-size: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .brand-title { font-size: 32px; }
  .about { gap: 32px; }
  .about-photo { grid-column: 1 / 7; }
  .about-copy { grid-column: 7 / -1; }
  .convert-copy { grid-column: 1 / 6; }
  .convert-form { grid-column: 6 / -1; }
}

@media (max-width: 768px) {
  :root { --pad: 24px; --gap: 80px; --head-gap: 36px; }
  .wrap { width: 100vw !important; max-width: 100vw !important; padding: 0 24px !important; }
  .hero-copy { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  .hero-title { max-width: 100% !important; }
  .hero-corner { max-width: calc(100vw - 48px) !important; white-space: normal; text-align: right; }
  .hero { min-height: 640px; }
  .hero-media video { display: none; }
  .hero-fallback { display: block; }
  .hero-veil-left { width: 100%; background: rgba(15, 17, 20, .18); }
  .hero-copy { width: 100%; min-width: 0; }
  .hero-title { font-size: 38px; line-height: 1.12; }
  .hero-corner { max-width: 62%; text-align: right; }
  .hero-sub { margin-top: 28px; font-size: 16px; }
  .hero-actions { margin-top: 40px; }
  .hero-corner { top: 22px; right: var(--pad); font-size: 10px; }
  .hero-scroll { bottom: 22px; }
  .btn { min-height: 48px; padding: 0 20px; font-size: 14px; }

  .block-title, .brand-title, .convert-title { font-size: 30px; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .fact { padding-left: 24px; }
  .fact:nth-child(-n+2) { padding-left: 0; border-left: 0; }
  .fact-value { font-size: 40px; }
  .works { display: block; }
  .work-side { margin-top: 20px; }
  .work-side + .work-side { margin-top: 32px; }
  .work-meta { margin-top: 14px; }

  .audience-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-tab:nth-child(-n+2) { border-top: 0; }
  .audience-tab:nth-child(3) { padding-left: 0; border-left: 0; }
  .audience-name { font-size: 21px; }
  .audience-desc { font-size: 12px; }
  .cards, .jobs { grid-template-columns: 1fr; }
  .biz-video { display: block; }
  .biz-video-note { margin-top: 20px; }
  .brands { grid-template-columns: 1fr; }
  .brand, .brand + .brand { padding: 0; border-left: 0; }
  .brand + .brand { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; row-gap: 24px; }
  .about { display: block; }
  .about-copy { margin-top: 32px; }
  .convert-inner { display: block; }
  .convert-form { margin-top: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 375px) {
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 14px; }
  .audience-name { font-size: 19px; }
  .fact-value { font-size: 34px; }
  .form-submit { width: 100%; }
}

/* ========== 仅保留三种动效：视口淡入上移、卡片悬停上移 2px、导航毛玻璃 ========== */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.card:hover, .job:hover { border-color: var(--qi); transform: translateY(-2px); }
img[data-src] { filter: blur(8px); opacity: .6; }
img.is-loaded { filter: none; opacity: 1; transition: filter .2s ease, opacity .2s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
