/* 绿都奥捷官网 · 视觉系统 */
:root {
  --navy: #0b2545;
  --navy-2: #123a63;
  --navy-3: #1c4e7d;
  --ink: #17263a;
  --muted: #66788c;
  --line: #dfe7ef;
  --soft: #f4f7fa;
  --soft-2: #eaf0f6;
  --cyan: #2c7a8c;
  --red: #bd3a32;
  --white: #fff;
  --radius: 6px;
  --container: 1200px;
  --shadow: 0 12px 34px rgba(11, 37, 69, .08);
  --font: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 64px, var(--container)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #eaf2fb; }
.section + .section { border-top: 1px solid var(--line); }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 76px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; height: 64px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.footer-logo { display: block; width: 260px; height: auto; margin-bottom: 18px; }

.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a {
  font-size: 14px; color: #3c4f64; position: relative; padding: 8px 0;
  transition: color .2s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--cyan); transition: width .22s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--navy); }
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.header-cta {
  flex: 0 0 auto; font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 3px;
  background: var(--navy); color: #fff; transition: background .2s ease;
}
.header-cta:hover { background: var(--navy-3); }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 40px;
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy);
  margin: 3px auto; transition: transform .2s ease;
}

/* 通用标题 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3;
  margin: 18px 0 14px; letter-spacing: -.02em; font-weight: 700;
}
.section-head p { color: var(--muted); font-size: 16px; }
.section--navy .section-head p { color: #a9c2dc; }
.section--navy .eyebrow { color: #79c6d8; }
.section-index {
  position: absolute; right: max(32px, calc((100vw - var(--container)) / 2)); top: 92px;
  font-size: 68px; font-weight: 800; color: rgba(11, 37, 69, .045);
  line-height: 1; letter-spacing: -.06em; pointer-events: none;
}
.section--navy .section-index { color: rgba(255, 255, 255, .06); }

/* 首屏 */
.hero {
  background: var(--navy); color: #f0f6fc; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 20%, rgba(44, 122, 140, .22), transparent 70%),
    linear-gradient(115deg, rgba(11, 37, 69, .3), rgba(11, 37, 69, 0));
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
  align-items: center; padding: 84px 0 0; min-height: 620px;
}
.hero-copy { position: relative; z-index: 1; padding-bottom: 56px; }
.hero-kicker {
  font-size: 13px; letter-spacing: .2em; color: #8fd0de; font-weight: 600;
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 30px; height: 1px; background: #8fd0de; }
.hero h1 {
  font-size: clamp(36px, 4.7vw, 62px); line-height: 1.24;
  letter-spacing: -.025em; font-weight: 700; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: #8fd0de; }
.hero-desc { font-size: 17px; line-height: 1.9; color: #b8cde2; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 3px; font-size: 15px; font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: #fff; color: var(--navy); }
.btn--primary:hover { background: #eaf2fb; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .34); color: #eaf2fb; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn svg { width: 16px; height: 16px; }

/* 证据档案版式：完整竖幅实拍 + 两侧信息带 */
.hero-archive { position: relative; z-index: 1; align-self: end; }
.archive-frame {
  display: grid; grid-template-columns: 74px 1fr 74px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-bottom: none; border-radius: 6px 6px 0 0; overflow: hidden;
}
.archive-rail {
  padding: 26px 12px; display: flex; flex-direction: column; justify-content: space-between;
  font-size: 10px; letter-spacing: .14em; color: #86a6c5;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.archive-rail--right { border-right: none; border-left: 1px solid rgba(255, 255, 255, .1); text-align: right; }
.archive-rail span { display: block; line-height: 1.9; }
.archive-photo {
  position: relative; background: #0a1d36;
  aspect-ratio: 3 / 4; max-height: 470px; overflow: hidden;
}
.archive-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.archive-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, .06), rgba(11, 37, 69, .32));
}
.archive-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 18px; font-size: 11px; letter-spacing: .12em; color: #dbe9f6;
  background: linear-gradient(180deg, transparent, rgba(9, 27, 50, .85));
}
.hero-strip {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}
.hero-strip > div { padding: 24px 26px 28px; border-right: 1px solid rgba(255, 255, 255, .1); }
.hero-strip > div:last-child { border-right: none; }
.hero-strip strong { display: block; font-size: 12px; letter-spacing: .16em; color: #8fd0de; margin-bottom: 8px; font-weight: 600; }
.hero-strip span { font-size: 14px; color: #c7d9ea; }

/* 公司介绍 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: #4a5d72; margin-bottom: 18px; font-size: 16px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-figure { position: relative; }
.about-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-figure figcaption {
  position: absolute; left: -20px; bottom: -20px;
  background: var(--navy); color: #fff; padding: 18px 22px; max-width: 260px;
  font-size: 13px; line-height: 1.7; border-radius: 3px;
}
.creed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: 44px; border: 1px solid var(--line); }
.creed-grid > div { background: #fff; padding: 24px; }
.creed-grid strong { display: block; font-size: 13px; letter-spacing: .12em; color: var(--cyan); margin-bottom: 8px; }
.creed-grid span { font-size: 15px; color: #43566b; }

/* 服务流程 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border-top: 2px solid var(--navy); }
.process li { padding: 24px 18px 0 0; position: relative; }
.process li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  background: #fff; border: 2px solid var(--navy); border-radius: 50%;
}
.process b { display: block; font-size: 12px; letter-spacing: .14em; color: var(--cyan); margin-bottom: 10px; }
.process strong { display: block; font-size: 17px; margin-bottom: 8px; }
.process span { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 服务卡片 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d8e6; }
.card-media { aspect-ratio: 16 / 9; background: var(--soft-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card-num { font-size: 12px; letter-spacing: .16em; color: var(--cyan); font-weight: 700; margin-bottom: 12px; }
.card-body h3 { font-size: 19px; margin-bottom: 12px; line-height: 1.45; }
.card-body p { font-size: 14px; color: var(--muted); line-height: 1.85; white-space: pre-line; flex: 1; }
.card-tag {
  align-self: flex-start; margin-top: 18px; padding: 4px 10px;
  font-size: 11px; letter-spacing: .08em; color: var(--navy-2);
  background: var(--soft-2); border-radius: 2px;
}

/* 公司优势 */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.advantage {
  background: var(--navy); padding: 34px 30px 38px; position: relative;
  transition: background .25s ease;
}
.advantage:hover { background: var(--navy-2); }
.advantage .num {
  font-size: 13px; letter-spacing: .16em; color: #79c6d8; font-weight: 700;
  display: block; margin-bottom: 22px;
}
.advantage h3 { font-size: 20px; margin-bottom: 14px; color: #fff; }
.advantage p { font-size: 14px; color: #aac2da; line-height: 1.9; white-space: pre-line; }
.advantage-rule {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px; color: #7fa5c6; letter-spacing: .04em;
}
.compliance-line {
  margin-top: 44px; padding: 20px 24px; border-left: 3px solid #79c6d8;
  background: rgba(255, 255, 255, .05); font-size: 14px; color: #c7d9ea; line-height: 1.9;
}

/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: #12263d; color: #fff;
}
.case > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case:hover > img { transform: scale(1.05); }
.case::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 27, 50, .05) 30%, rgba(9, 27, 50, .92));
}
.case-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 24px; }
.case-type { font-size: 11px; letter-spacing: .16em; color: #8fd0de; margin-bottom: 10px; }
.case-body h3 { font-size: 19px; margin-bottom: 8px; }
.case-body p { font-size: 13px; color: #c3d6e8; line-height: 1.75; white-space: pre-line; }
.placeholder-note {
  margin-top: 26px; padding: 16px 20px; background: var(--soft);
  border: 1px dashed #c6d4e2; border-radius: 4px;
  font-size: 13px; color: var(--muted); line-height: 1.8;
}

/* 资质与认证：证书影像完整呈现，object-fit: contain 保证不裁切 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  display: flex; flex-direction: column; text-align: left; width: 100%;
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: inherit; cursor: zoom-in; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d8e6; }
.cert-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cert-card__media {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: 14px; background: #eef2f6;
  border-bottom: 1px solid var(--line);
}
.cert-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cert-card__empty { font-size: 13px; color: var(--muted); }
.cert-card__meta { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px 20px; }
.cert-card__meta b { font-size: 11px; letter-spacing: .16em; color: var(--cyan); font-weight: 700; }
.cert-card__meta strong { font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.cert-card__meta span { font-size: 12px; line-height: 1.65; color: var(--muted); }
.cert-grid .placeholder-note { grid-column: 1 / -1; margin-top: 0; }

.cert-lightbox {
  position: fixed; inset: 0; z-index: 100; padding: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 20, 38, .93);
}
.cert-lightbox[hidden] { display: none; }
.cert-lightbox__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: min(100%, 1000px); }
.cert-lightbox__inner img { max-width: 100%; max-height: 74vh; object-fit: contain; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.cert-lightbox__caption { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; color: #eaf2fb; }
.cert-lightbox__caption b { font-size: 11px; letter-spacing: .16em; color: #8fd0de; }
.cert-lightbox__caption strong { font-size: 16px; font-weight: 500; }
.cert-lightbox__caption span { font-size: 13px; color: #a9c2dc; }
.cert-lightbox__close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.cert-lightbox__close:hover { background: rgba(255, 255, 255, .2); }

/* 新闻 */
.news-layout { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.news-aside { position: sticky; top: 110px; }
.news-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.news-aside p { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 132px 1fr; gap: 28px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.news-item:hover { background: var(--soft); }
.news-date { font-size: 13px; color: var(--cyan); letter-spacing: .08em; padding-top: 4px; }
.news-item h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.5; }
.news-item p { font-size: 14px; color: var(--muted); line-height: 1.8; white-space: pre-line; }
.news-item .tag {
  display: inline-block; margin-bottom: 10px; font-size: 11px; letter-spacing: .1em;
  color: var(--navy-2); background: var(--soft-2); padding: 3px 9px; border-radius: 2px;
}

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-row dt { font-size: 13px; letter-spacing: .1em; color: var(--cyan); font-weight: 700; }
.contact-row dd { margin: 0; font-size: 16px; line-height: 1.8; white-space: pre-line; }
.contact-row dd a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact-row dd a:hover { border-color: var(--cyan); color: var(--cyan); }
.contact-photo { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.contact-photo div {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(9, 27, 50, .88));
  color: #fff; font-size: 14px; line-height: 1.9;
}
.contact-note { margin-top: 26px; font-size: 13px; color: var(--muted); line-height: 1.9; }

/* 页脚 */
.site-footer { background: #081c34; color: #9db4cc; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid p, .footer-grid a { font-size: 13px; line-height: 2; color: #9db4cc; }
.footer-grid a:hover { color: #8fd0de; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #708ba6; }
.footer-bottom a { color: #708ba6; }
.footer-bottom a:hover { color: #8fd0de; }

/* 状态提示 */
.cloud-notice {
  display: none; padding: 12px 20px; text-align: center; font-size: 13px;
  background: #fff6e6; color: #8a5a12; border-bottom: 1px solid #f0d9a8;
}
.cloud-notice.is-visible { display: block; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .section-index { display: none; }
  .hero-grid { gap: 36px; }
  .archive-frame { grid-template-columns: 46px 1fr 46px; }
  .archive-rail { font-size: 9px; padding: 18px 8px; }
  .card-grid, .case-grid, .advantage-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-aside { position: static; }
  .news-aside img { aspect-ratio: 16 / 7; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, var(--container)); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .header-inner { height: 64px; gap: 12px; }
  .brand-logo { height: 52px; }
  .footer-logo { width: 220px; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 16px; display: none; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-nav a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-desc { font-size: 15px; }
  .hero-archive { width: min(100%, 400px); margin-inline: auto; }
  .archive-photo { max-height: 380px; }
  .hero-strip { grid-template-columns: 1fr; margin-top: 36px; }
  .hero-strip > div { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
  .hero-strip > div:last-child { border-bottom: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-figure figcaption { left: 12px; bottom: 12px; font-size: 12px; padding: 12px 16px; }
  .creed-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .card-grid, .case-grid, .advantage-grid { grid-template-columns: 1fr; }
  .case { aspect-ratio: 16 / 10; }
  .cert-grid { gap: 12px; }
  .cert-card__media { padding: 8px; }
  .cert-card__meta { padding: 12px; }
  .cert-card__meta strong { font-size: 13px; }
  .cert-card__meta span { font-size: 11px; }
  .cert-lightbox { padding: 16px; }
  .cert-lightbox__inner img { max-height: 68vh; }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .contact-photo { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
}
