/* =========================================================
   山西三目科技有限公司 — 企业官网
   简约 / 蓝色主色 / 中英双语
   ========================================================= */

:root{
  --brand:      #1673CE;
  --brand-dark: #0F5AA6;
  --brand-soft: #EAF3FC;
  --brand-line: #CFE3F7;
  --ink:        #0C1F33;
  --ink-2:      #1B3550;
  --muted:      #5C7186;
  --muted-2:    #7D8FA1;
  --line:       #E6ECF3;
  --bg:         #FFFFFF;
  --soft:       #F6F9FD;
  --navy:       #08203A;

  --wrap: 1160px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(12,31,51,.05), 0 6px 18px -12px rgba(12,31,51,.14);
  --shadow-md: 0 2px 6px rgba(12,31,51,.05), 0 24px 48px -28px rgba(12,31,51,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:84px;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0; line-height:1.25; letter-spacing:-.01em; font-weight:600; }
p{ margin:0; }
ul,ol,dl,dd{ margin:0; padding:0; list-style:none; }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 28px;
}

.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--brand); color:#fff;
  padding:10px 18px; border-radius:0 0 var(--r-sm) 0; z-index:200;
}
.skip-link:focus{ left:0; }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:13px 24px;
  border-radius:10px;
  font-size:15px; font-weight:500;
  line-height:1.2;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .22s var(--ease), color .22s var(--ease),
             border-color .22s var(--ease), transform .22s var(--ease),
             box-shadow .22s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:17px; height:17px; flex:none; }

.btn--primary{
  background:var(--brand); color:#fff;
  box-shadow:0 6px 18px -10px rgba(22,115,206,.9);
}
.btn--primary:hover{ background:var(--brand-dark); transform:translateY(-1px); }

.btn--ghost{
  background:transparent; color:var(--ink-2);
  border-color:var(--line);
}
.btn--ghost:hover{ border-color:var(--brand-line); color:var(--brand); background:var(--brand-soft); }

.btn--white{ background:#fff; color:var(--brand-dark); }
.btn--white:hover{ transform:translateY(-1px); box-shadow:0 14px 30px -16px rgba(0,0,0,.45); }

.btn--sm{ padding:10px 18px; font-size:14px; }

:focus-visible{ outline:2px solid var(--brand); outline-offset:3px; border-radius:4px; }

/* ---------------- Nav ---------------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-stuck{ border-bottom-color:var(--line); background:rgba(255,255,255,.94); }

.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; height:76px;
}
.nav__brand img{ height:36px; width:auto; }

.nav__links{
  display:flex; align-items:center; gap:30px;
  margin-left:auto;
  font-size:15px; color:var(--ink-2);
}
.nav__links a{
  position:relative; padding:6px 0;
  transition:color .2s var(--ease);
}
.nav__links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1.5px;
  background:var(--brand); transform:scaleX(0); transform-origin:left;
  transition:transform .26s var(--ease);
}
.nav__links a:hover{ color:var(--brand); }
.nav__links a:hover::after{ transform:scaleX(1); }

.nav__actions{ display:flex; align-items:center; gap:12px; }

.lang{
  display:inline-flex; align-items:center;
  padding:3px; gap:2px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:999px;
  cursor:pointer;
  font-family:inherit;
}
.lang__opt{
  display:grid; place-items:center;
  min-width:32px; height:26px; padding:0 8px;
  font-size:12.5px; font-weight:500; letter-spacing:.02em;
  color:var(--muted);
  border-radius:999px;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.lang__opt.is-on{ background:#fff; color:var(--brand); box-shadow:var(--shadow-sm); }

.burger{
  display:none;
  width:42px; height:42px;
  border:1px solid var(--line); border-radius:10px;
  background:#fff; cursor:pointer;
  padding:0; place-items:center;
}
.burger span{
  display:block; width:17px; height:1.6px; background:var(--ink);
  border-radius:2px; transition:transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span + span{ margin-top:4.5px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.1px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.1px) rotate(-45deg); }

/* ---------------- Type helpers ---------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12.5px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
  margin-bottom:20px;
}
.eyebrow::before{
  content:""; width:24px; height:1.5px; background:currentColor; opacity:.55;
}
.eyebrow--light{ color:#8FC2F0; }

.section{ padding:104px 0; }
.section--soft{ background:var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.section__head{ max-width:720px; margin-bottom:60px; }
.section__head h2{
  font-size:clamp(26px,3.4vw,38px);
  letter-spacing:-.02em;
  line-height:1.28;
}
.section__lede{
  margin-top:18px;
  color:var(--muted);
  font-size:16.5px;
  line-height:1.8;
  max-width:62ch;
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  padding:78px 0 96px;
  overflow:hidden;
  background:
    radial-gradient(900px 480px at 86% -8%, #E9F3FD 0%, rgba(233,243,253,0) 62%),
    radial-gradient(620px 380px at 4% 108%, #F1F7FE 0%, rgba(241,247,254,0) 60%),
    var(--bg);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(22,115,206,.10) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(620px 420px at 78% 30%, #000 0%, transparent 72%);
          mask-image:radial-gradient(620px 420px at 78% 30%, #000 0%, transparent 72%);
  pointer-events:none;
}

.hero__inner{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:56px; align-items:center;
}

.hero h1{
  font-size:clamp(32px,4.6vw,54px);
  line-height:1.2;
  letter-spacing:-.028em;
  font-weight:600;
  margin-bottom:26px;
}
.hero h1 span{ display:inline; }

html[lang="en"] .hero h1{
  font-size:clamp(30px,3.9vw,46px);
  letter-spacing:-.03em;
}

.hero__lede{
  color:var(--muted);
  font-size:16.5px;
  line-height:1.92;
  max-width:52ch;
}

.hero__cta{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:34px;
}

.hero__facts{
  display:flex; flex-wrap:wrap;
  gap:0;
  margin-top:46px;
  border-top:1px solid var(--line);
  padding-top:24px;
}
.hero__facts li{
  display:flex; flex-direction:column; gap:2px;
  padding-right:34px; margin-right:34px;
  border-right:1px solid var(--line);
}
.hero__facts li:last-child{ border-right:0; padding-right:0; margin-right:0; }
.hero__facts strong{
  font-size:15px; font-weight:600; color:var(--ink); letter-spacing:.01em;
}
.hero__facts span{ font-size:13px; color:var(--muted-2); }

/* Hero visual: three stacked panels = 三 */
.hero__visual{ position:relative; }
.stack{
  position:relative;
  width:100%;
  max-width:390px;
  margin-left:auto;
  aspect-ratio:1 / 1;
}
.stack__card{
  position:absolute;
  border-radius:18px;
  border:1px solid var(--brand-line);
  background:#fff;
  box-shadow:var(--shadow-md);
}
.stack__card--3{
  inset:0 0 46px 58px;
  background:linear-gradient(160deg,#F4F9FF,#EAF3FC);
  border-color:#DFEBF8;
  box-shadow:none;
  transform:rotate(3.2deg);
}
.stack__card--2{
  inset:26px 22px 22px 30px;
  background:#fff;
  transform:rotate(-1.6deg);
  box-shadow:0 2px 4px rgba(12,31,51,.04), 0 26px 44px -30px rgba(12,31,51,.35);
}
.stack__card--1{
  inset:56px 52px 0 0;
  padding:20px;
  display:flex; flex-direction:column; gap:14px;
  background:#fff;
  overflow:hidden;
}
.stack__card--1::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(234,243,252,0) 42%, rgba(234,243,252,.55) 100%);
  pointer-events:none;
}
.stack__bar{
  height:9px; width:42%;
  border-radius:99px;
  background:var(--brand);
  opacity:.9;
}
.stack__lines{ display:flex; flex-direction:column; gap:7px; }
.stack__lines i{
  display:block; height:6px; border-radius:99px; background:#E3ECF6;
}
.stack__lines i:nth-child(1){ width:92%; }
.stack__lines i:nth-child(2){ width:74%; }
.stack__lines i:nth-child(3){ width:58%; }

.stack__grid{
  margin-top:auto;
  display:grid; grid-template-columns:1fr 1fr; gap:9px;
}
.stack__grid span{
  display:block; height:44px; border-radius:10px;
  background:#F4F8FD; border:1px solid #E9F0F9;
}
.stack__grid span:nth-child(2){ background:var(--brand-soft); border-color:var(--brand-line); }
.stack__chip{
  position:absolute; right:16px; bottom:16px;
  width:34px; height:34px; border-radius:9px;
  background:var(--brand);
  box-shadow:0 8px 18px -10px rgba(22,115,206,.9);
}
.stack__chip::before,
.stack__chip::after{
  content:""; position:absolute; background:#fff; border-radius:2px;
}
.stack__chip::before{ left:10px; right:10px; top:14px; height:2px; }
.stack__chip::after{ left:10px; right:10px; top:19px; height:2px; opacity:.6; }

/* ---------------- Cards / services ---------------- */
.cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
}
.card{
  background:#fff;
  padding:38px 34px 40px;
  transition:background .25s var(--ease), transform .25s var(--ease);
}
.card:hover{ background:#FCFDFF; }
.card__icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:11px;
  background:var(--brand-soft);
  color:var(--brand);
  margin-bottom:22px;
  transition:background .25s var(--ease), color .25s var(--ease);
}
.card__icon svg{ width:22px; height:22px; }
.card:hover .card__icon{ background:var(--brand); color:#fff; }
.card h3{ font-size:18.5px; margin-bottom:10px; letter-spacing:-.005em; }
.card p{ color:var(--muted); font-size:14.8px; line-height:1.8; }

/* ---------------- Process ---------------- */
.steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line);
}
.step{
  position:relative;
  padding:32px 26px 0 0;
}
.step::before{
  content:"";
  position:absolute; top:-1px; left:0;
  width:0; height:1.5px;
  background:var(--brand);
  transition:width .5s var(--ease);
}
.step:hover::before{ width:100%; }
.step__no{
  display:block;
  font-size:12.5px; font-weight:600; letter-spacing:.12em;
  color:var(--brand);
  margin-bottom:16px;
  font-variant-numeric:tabular-nums;
}
.step h3{ font-size:16.5px; margin-bottom:9px; }
.step p{ color:var(--muted); font-size:14px; line-height:1.78; }

/* ---------------- Engagement (ink) ---------------- */
.section--ink{
  background:var(--navy);
  color:#fff;
  border:0;
  position:relative;
  overflow:hidden;
}
.section--ink::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(700px 420px at 82% 0%, rgba(22,115,206,.30), transparent 66%),
    radial-gradient(600px 400px at 0% 100%, rgba(22,115,206,.16), transparent 62%);
  pointer-events:none;
}
.section--ink .wrap{ position:relative; }
.section--ink h2{ color:#fff; }
.section--ink .section__lede{ color:rgba(255,255,255,.66); }
.section__head--left{ margin-bottom:54px; }

.model{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:34px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:40px;
}
.model__item h3{
  font-size:17px; color:#fff; margin-bottom:12px;
  display:flex; align-items:center; gap:10px;
}
.model__item h3::before{
  content:"";
  width:6px; height:6px; border-radius:2px;
  background:#5EA6E8;
  flex:none;
}
.model__item p{
  color:rgba(255,255,255,.6);
  font-size:14.3px; line-height:1.8;
}

/* ---------------- About ---------------- */
.about{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:72px;
  align-items:start;
}
.about__copy h2{
  font-size:clamp(26px,3.2vw,36px);
  margin-bottom:24px;
  letter-spacing:-.02em;
}
.about__copy p{
  color:var(--muted);
  font-size:16px;
  line-height:1.95;
  margin-bottom:16px;
  max-width:60ch;
}
.about__copy p:last-child{ margin-bottom:0; }

.about__card{
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:8px 34px;
  position:sticky; top:104px;
}
.info{ display:block; }
.info > div{
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.info > div:last-child{ border-bottom:0; }
.info dt{
  font-size:12px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--brand);
  margin-bottom:7px;
}
.info dd{
  font-size:15.2px; color:var(--ink-2); line-height:1.7;
}
.info dd a{ border-bottom:1px solid var(--brand-line); transition:color .2s var(--ease), border-color .2s var(--ease); }
.info dd a:hover{ color:var(--brand); border-color:var(--brand); }

/* ---------------- Contact ---------------- */
.section--contact{ padding:0 0 104px; }
.contact{
  background:#1673CE;
  border-radius:24px;
  padding:66px 64px;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.contact::after{
  content:"";
  position:absolute;
  right:-90px; top:-90px;
  width:340px; height:340px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 0 0 60px rgba(255,255,255,.05), 0 0 0 120px rgba(255,255,255,.035);
  pointer-events:none;
}
.contact h2{
  font-size:clamp(26px,3.4vw,38px);
  color:#fff;
  letter-spacing:-.02em;
  margin-bottom:14px;
}
.contact__lede{
  color:rgba(255,255,255,.85);
  font-size:16px; line-height:1.8;
  max-width:54ch;
}
.contact__actions{
  display:flex; align-items:center; flex-wrap:wrap;
  gap:22px;
  margin-top:32px;
}
.contact__addr{
  font-size:14.5px;
  color:rgba(255,255,255,.78);
}

/* ---------------- Footer ---------------- */
.footer{
  background:var(--navy);
  color:rgba(255,255,255,.72);
  padding:58px 0 26px;
  font-size:14.5px;
}
.footer__inner{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.1fr);
  gap:48px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer__brand img{ height:30px; width:auto; margin-bottom:18px; }
.footer__brand p{
  font-size:13.8px; line-height:1.8;
  color:rgba(255,255,255,.55);
  max-width:34ch;
}
.footer__nav{ display:flex; flex-direction:column; gap:11px; }
.footer__nav a{
  font-size:14.5px; color:rgba(255,255,255,.72);
  transition:color .2s var(--ease);
  width:fit-content;
}
.footer__nav a:hover{ color:#fff; }
.footer__contact{
  display:flex; flex-direction:column; gap:11px;
  font-style:normal;
  font-size:13.8px; line-height:1.75;
  color:rgba(255,255,255,.6);
}
.footer__contact a{ color:#fff; font-size:16px; font-weight:500; letter-spacing:.02em; }

.footer__legal{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  padding-top:22px;
  font-size:13px;
  color:rgba(255,255,255,.45);
}
.footer__beian a:hover{ color:#fff; }

/* ---------------- Reveal animation ---------------- */
.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in{ opacity:1; transform:none; }

/* ---------------- Responsive ---------------- */
@media (max-width:1024px){
  .hero__inner{ grid-template-columns:1fr; gap:48px; }
  .hero__visual{ order:2; }
  .stack{ max-width:330px; margin:0 auto; }
  .cards{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .steps{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:34px; }
  .step{ padding-right:32px; }
  .model{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:34px; }
  .about{ grid-template-columns:1fr; gap:44px; }
  .about__card{ position:static; }
}

@media (max-width:860px){
  .nav__links{
    position:fixed;
    left:0; right:0; top:76px;
    flex-direction:column; align-items:flex-start;
    gap:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:8px 28px 20px;
    box-shadow:0 20px 30px -24px rgba(12,31,51,.3);
    transform:translateY(-12px);
    opacity:0; visibility:hidden;
    transition:opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav__links.is-open{ opacity:1; visibility:visible; transform:none; }
  .nav__links a{
    width:100%; padding:14px 0;
    border-bottom:1px solid var(--line);
    font-size:16px;
  }
  .nav__links a:last-child{ border-bottom:0; }
  .nav__cta{ display:none; }
  .burger{ display:grid; }

  .section{ padding:76px 0; }
  .section--contact{ padding-bottom:76px; }
  .contact{ padding:44px 30px; border-radius:18px; }
  .contact__actions{ gap:16px; }
  .footer__inner{ grid-template-columns:1fr; gap:32px; }
  .footer__legal{ justify-content:flex-start; }
}

@media (max-width:860px){
  .br-lg{ display:none; }
}

@media (max-width:600px){
  .wrap{ padding:0 20px; }
  .hero{ padding:52px 0 68px; }
  .hero__facts li{ padding-right:22px; margin-right:22px; }
  .cards{ grid-template-columns:1fr; }
  .card{ padding:30px 26px 32px; }
  .steps{ grid-template-columns:1fr; }
  .step{ padding:26px 0 0; }
  .model{ grid-template-columns:1fr; }
  .about__card{ padding:4px 22px; }
  .contact h2{ font-size:25px; }
  .footer{ padding-top:44px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
