/* ============================================================
   Roof Doctor — Aerogel Thermal Insulation Coating
   ============================================================ */
:root{
  --ink:#17233F;
  --ink2:#3B4763;
  --muted:#5F6878;
  --red:#981D20;
  --red-dk:#7E171A;
  --bg:#F3F3F5;
  --bg2:#FAFAFC;
  --line:#E2E3E8;
  --line2:#D5D7DE;
  --white:#fff;
  --max:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%;}
body{
  margin:0; background:var(--white); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Microsoft YaHei","PingFang SC",Arial,sans-serif;
  font-size:17px; line-height:1.72; letter-spacing:0;
  -webkit-font-smoothing:antialiased;
}
img{display:block; max-width:100%; height:auto;}
a{color:inherit; text-decoration:none;}
h1,h2,h3{margin:0; line-height:1.18; letter-spacing:-.01em; font-weight:800;}
p{margin:0;}
.wrap{width:100%; max-width:var(--max); margin:0 auto; padding:0 32px;}

/* ---------- anchors ---------- */
section[id]{scroll-margin-top:78px;}

/* ---------- eyebrow / titles ---------- */
.eyebrow{
  font-size:12.5px; font-weight:800; letter-spacing:.16em; color:var(--red);
  text-transform:uppercase; margin-bottom:14px;
}
.eyebrow.light{color:#E8928F;}
h1{font-size:clamp(34px,3.75vw,56px); letter-spacing:-.028em;}
h1 em{font-style:normal; color:#E8A33D;}
h2{font-size:clamp(28px,3.1vw,44px);}
h3{font-size:21px; font-weight:800;}
.lead{font-size:clamp(16.5px,1.35vw,19.5px); line-height:1.75; color:#D7DCE8;}
.sub{font-size:17.5px; color:var(--muted); margin-top:14px; max-width:660px;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:52px; padding:0 26px; border-radius:4px;
  font-size:15.5px; font-weight:700; letter-spacing:.01em;
  border:1.5px solid transparent; transition:.18s ease; cursor:pointer; white-space:nowrap;
}
.btn svg{width:18px; height:18px; flex:0 0 auto;}
.btn-red{background:var(--red); color:#fff;}
.btn-red:hover{background:var(--red-dk);}
.btn-ghost{border-color:rgba(255,255,255,.34); color:#fff;}
.btn-ghost:hover{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.6);}
.btn-sm{height:42px; padding:0 18px; font-size:14px; background:var(--red); color:#fff;}
.btn-sm:hover{background:var(--red-dk);}

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(23,35,63,0); transition:.25s ease;
}
.nav.solid{background:rgba(255,255,255,.96); backdrop-filter:saturate(180%) blur(12px);
  box-shadow:0 1px 0 var(--line);}
.nav-in{
  max-width:var(--max); margin:0 auto; padding:14px 32px;
  display:flex; align-items:center; gap:36px;
}
.brand{display:flex; align-items:center; gap:11px; color:#fff; transition:.25s;}
.nav.solid .brand{color:var(--ink);}
.brand-mark{
  width:38px; height:38px; border-radius:5px; background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:900; letter-spacing:.02em; flex:0 0 auto;
}
.brand-mark.sm{width:32px; height:32px; font-size:12.5px;}
.brand-tx{display:flex; flex-direction:column; line-height:1.2;}
.brand-tx b{font-size:16.5px; font-weight:800;}
.brand-tx i{font-style:normal; font-size:11px; letter-spacing:.1em; opacity:.7; text-transform:uppercase; margin-top:1px;}
.nav-links{display:flex; gap:28px; margin-left:auto;}
.nav-links a{
  font-size:14.5px; font-weight:600; color:rgba(255,255,255,.86); transition:.16s;
  padding:6px 0; border-bottom:1.5px solid transparent;
}
.nav-links a:hover{color:#fff; border-bottom-color:rgba(255,255,255,.6);}
.nav.solid .nav-links a{color:var(--ink2);}
.nav.solid .nav-links a:hover{color:var(--red); border-bottom-color:var(--red);}
.nav-right{display:flex; align-items:center; gap:14px;}
.lang{
  display:flex; align-items:center; gap:4px; height:36px; padding:0 12px;
  border:1px solid rgba(255,255,255,.3); border-radius:4px; background:none;
  color:#fff; font-size:13px; font-weight:700; font-family:inherit; cursor:pointer; transition:.2s;
}
.lang b{opacity:.4; font-weight:400;}
.lang span:first-child{opacity:.55;}
.lang span:last-child{opacity:.55;}
.lang:hover{border-color:rgba(255,255,255,.6);}
html[data-lang="en"] .lang span:first-child{opacity:1;}
html[data-lang="cn"] .lang span:last-child{opacity:1;}
.nav.solid .lang{border-color:var(--line2); color:var(--ink);}
.nav.solid .lang:hover{border-color:var(--ink2);}

/* ---------- HERO ---------- */
.hero{
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(152,29,32,.30), transparent 62%),
    linear-gradient(160deg,#101A30 0%,#17233F 55%,#1D2B4C 100%);
  color:#fff; padding:130px 0 70px; position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:auto 0 0 0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
}
.hero-in{display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center;}
.hero-tx h1{margin-bottom:22px;}
.hero .lead{max-width:560px; margin-bottom:34px;}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap;}
.hero-note{
  margin-top:26px; font-size:13.5px; color:rgba(255,255,255,.62);
  padding-left:14px; border-left:2px solid var(--red);
}
.hero-pic{display:flex; justify-content:center;}
.hero-card{
  background:var(--bg); border-radius:10px; padding:18px;
  box-shadow:0 30px 70px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.09);
  max-width:380px; width:100%;
}
.hero-card img{width:100%; border-radius:4px;}

/* ---------- METRICS ---------- */
.metrics{background:var(--ink); border-top:1px solid rgba(255,255,255,.09);}
.metrics-in{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding-top:34px; padding-bottom:34px;
}
.m{padding:0 26px; border-left:1px solid rgba(255,255,255,.12); color:#fff;}
.m:first-child{border-left:0; padding-left:0;}
.m b{font-size:clamp(26px,2.6vw,34px); font-weight:800; letter-spacing:-.02em; color:#fff;}
.m i{font-style:normal; font-size:14px; color:rgba(255,255,255,.55); margin-left:6px;}
.m span{display:block; font-size:12.5px; color:rgba(255,255,255,.55); letter-spacing:.04em; margin-top:4px;}

/* ---------- SECTIONS ---------- */
.sec{padding:96px 0;}
.sec-alt{background:var(--bg);}
.sec-head{margin-bottom:52px;}
.sec-head h2{margin-bottom:0;}

/* two column */
.two{display:grid; grid-template-columns:.85fr 1.15fr; gap:72px; align-items:center;}
.col-pic{display:flex; justify-content:center;}
.fig{
  border-radius:8px; background:var(--bg); padding:14px; max-width:400px; width:100%;
}
.col-tx h2{margin-bottom:16px;}
.col-tx p{color:var(--ink2); margin-bottom:18px; font-size:17.5px;}
.facts{
  margin:30px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:0;
  border-top:1px solid var(--line);
}
.facts div{padding:14px 0; border-bottom:1px solid var(--line);}
.facts div:nth-child(odd){padding-right:20px;}
.facts dt{font-size:12px; letter-spacing:.11em; text-transform:uppercase; color:var(--muted); font-weight:700;}
.facts dd{margin:3px 0 0; font-size:15.5px; font-weight:700; color:var(--ink);}

/* mechanism */
.mech-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-bottom:52px;}
.mech{
  background:#fff; border:1px solid var(--line); border-radius:8px; padding:30px 28px 32px;
  position:relative; transition:.2s;
}
.mech:hover{border-color:var(--line2); box-shadow:0 14px 34px -22px rgba(23,35,63,.32);}
.mech-no{
  font-size:13px; font-weight:900; letter-spacing:.14em; color:var(--red);
  padding-bottom:14px; margin-bottom:16px; border-bottom:2px solid var(--red);
  display:inline-block;
}
.mech h3{margin-bottom:12px;}
.mech p{font-size:15.5px; color:var(--ink2); line-height:1.75;}
.mech-figs{display:grid; grid-template-columns:1.25fr .85fr 1fr; gap:26px; align-items:start;}
.mech-figs figure{margin:0;}
.mech-figs img{
  width:100%; border-radius:7px; background:#fff; border:1px solid var(--line);
}
.mech-figs figcaption{
  margin-top:11px; font-size:13px; color:var(--muted); line-height:1.55; padding-left:11px;
  border-left:2px solid var(--line2);
}

/* applications */
.app-block + .app-block{margin-top:64px;}
.app-head{margin-bottom:24px;}
.app-head h3{font-size:26px; margin-bottom:8px;}
.app-head p{color:var(--muted); font-size:16px; max-width:780px;}
.tag{
  display:inline-block; vertical-align:middle; margin-left:8px;
  background:var(--red); color:#fff; font-size:12.5px; font-weight:800;
  padding:3px 9px; border-radius:3px; letter-spacing:.04em;
}
.cards3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.cards3 figure{margin:0; background:var(--bg); border-radius:8px; overflow:hidden;
  display:flex; flex-direction:column;}
.cards3 img{width:100%; height:250px; object-fit:contain; flex:1 1 auto;
  background:var(--bg); transition:transform .4s ease;}
.cards3 figure:hover img{transform:scale(1.03);}
.cards3 figcaption{
  padding:13px 16px; font-size:14.5px; font-weight:700; color:var(--ink);
  background:#fff; border-top:1px solid var(--line);
}

/* table */
.tbl-wrap{background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden;}
.tbl{width:100%; border-collapse:collapse; table-layout:fixed;}
.tbl th{
  background:var(--red); color:#fff; font-size:13px; font-weight:800; letter-spacing:.12em;
  text-transform:uppercase; text-align:left; padding:16px 24px;
}
.tbl th:first-child{width:38%;}
.tbl td{padding:15px 24px; border-bottom:1px solid var(--line); font-size:16px; vertical-align:middle;}
.tbl tbody tr:last-child td{border-bottom:0;}
.tbl tbody tr:nth-child(even){background:var(--bg2);}
.tbl td:first-child{color:var(--ink2); font-weight:600;}
.tbl td b{color:var(--red); font-size:19px; font-weight:800; letter-spacing:-.01em;}
.tbl .note{
  display:block; font-size:12.5px; color:var(--muted); font-weight:500; margin-top:2px;
}
.disclaimer{
  margin-top:18px; font-size:13.5px; color:var(--muted); padding-left:14px;
  border-left:2px solid var(--line2);
}

/* comparison */
.cmp{display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--line); border-radius:8px; overflow:hidden;}
.cmp-col{padding:0 0 28px;}
.cmp-col.old{background:var(--bg2);}
.cmp-col.new{background:#fff; border-left:1px solid var(--line);}
.cmp-hd{padding:22px 26px 18px;}
.cmp-hd span{display:block; font-size:19px; font-weight:800;}
.cmp-hd i{font-style:normal; font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); margin-top:3px; display:block;}
.cmp-col.new .cmp-hd span{color:var(--red);}
.cmp-col img{width:100%; height:210px; object-fit:cover; object-position:center; display:block;}
.cmp-col ul{list-style:none; margin:0; padding:8px 26px 0;}
.cmp-col li{
  padding:12px 0 12px 26px; border-bottom:1px solid var(--line); font-size:15.5px; color:var(--ink2);
  position:relative; line-height:1.6;
}
.cmp-col li:last-child{border-bottom:0;}
.cmp-col li::before{
  content:""; position:absolute; left:0; top:19px; width:11px; height:2px; background:#A8AEBA;
}
.cmp-col.new li{color:var(--ink); font-weight:600;}
.cmp-col.new li::before{background:var(--red);}

/* steps */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.steps article{background:#fff; border:1px solid var(--line); border-radius:8px; padding:30px 28px;}
.step-no{
  width:46px; height:46px; border-radius:50%; background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:19px; font-weight:800;
  margin-bottom:18px;
}
.steps h3{margin-bottom:10px;}
.steps p{font-size:15.5px; color:var(--ink2);}
.cond{
  display:grid; grid-template-columns:repeat(4,1fr); margin-top:34px;
  border:1px solid var(--line); border-radius:8px; background:#fff; overflow:hidden;
}
.cond div{padding:20px 24px; border-left:1px solid var(--line);}
.cond div:first-child{border-left:0;}
.cond b{display:block; font-size:19px; font-weight:800; color:var(--ink);}
.cond span{display:block; font-size:12.5px; color:var(--muted); margin-top:3px; letter-spacing:.02em;}

/* CTA */
.cta{
  background:linear-gradient(150deg,#141F38 0%,#1B2947 60%,#22314F 100%);
  color:#fff; padding:86px 0 90px;
}
.cta-in{display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:center;}
.cta h2{margin-bottom:16px;}
.cta p{color:#C6CDDD; font-size:17px; max-width:520px;}
.cta-actions{display:flex; flex-direction:column; gap:12px;}
.cta-actions .btn{width:100%;}
.dl{display:flex; flex-direction:column; gap:0; margin-top:12px; border-top:1px solid rgba(255,255,255,.14);}
.dl a{
  padding:13px 0; font-size:14.5px; color:#B9C2D4; border-bottom:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:space-between; transition:.16s;
}
.dl a::after{content:"↗"; font-size:14px; opacity:.6;}
.dl a:hover{color:#fff;}

/* 联系方式（直接显示号码与邮箱） */
.ct-direct{display:flex; flex-direction:column; gap:8px; margin-top:2px;}
.ct-direct a{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:12px 16px; border-radius:10px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15);
  font-size:15px; color:#fff; transition:.16s;
}
.ct-direct a:hover{background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.28);}
.ct-direct .cd-k{color:#AEB8CC; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;}
.ct-direct b{font-weight:700; letter-spacing:.01em; white-space:nowrap;}

/* footer */
.foot{background:#0E1728; color:#9BA5BA; padding:36px 0;}
.foot-in{display:flex; align-items:center; gap:28px; flex-wrap:wrap;}
.foot-brand{display:flex; align-items:center; gap:11px;}
.foot-brand b{display:block; color:#fff; font-size:15px;}
.foot-brand span{display:block; font-size:12.5px; color:#8A94A8;}
.foot-note{font-size:12.5px; color:#7D879B; max-width:560px; line-height:1.6; flex:1;}
.foot-yr{font-size:12.5px; color:#7D879B; white-space:nowrap;}
.foot-ct{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-top:24px; padding-top:20px; border-top:1px solid rgba(255,255,255,.1);
  font-size:13px;
}
.foot-ct a{color:#B9C2D4; transition:.16s;}
.foot-ct a:hover{color:#fff;}
.foot-ct .sep{color:#4A5568;}
.foot-ct .foot-yr{margin-left:auto;}

/* ---------- reveal ---------- */
.rv{opacity:0; transform:translateY(16px); transition:opacity .65s ease, transform .65s ease;}
.rv.in{opacity:1; transform:none;}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .hero-in{grid-template-columns:1fr .8fr; gap:40px;}
  .two{grid-template-columns:1fr; gap:44px;}
  .col-pic{order:-1;}
  .fig{max-width:320px;}
  .mech-figs{grid-template-columns:1fr 1fr;}
  .mech-figs figure:last-child{display:none;}
  .cta-in{grid-template-columns:1fr; gap:40px;}
}
@media (max-width:900px){
  .wrap{padding:0 22px;}
  .nav-in{padding:12px 22px; gap:20px;}
  .nav-links{display:none;}
  .nav-right{margin-left:auto;}
  .hero{padding:118px 0 64px;}
  .hero-in{grid-template-columns:1fr; gap:44px;}
  .hero-pic{order:-1;}
  .hero-card{max-width:300px;}
  .sec{padding:68px 0;}
  .sec-head{margin-bottom:38px;}
  .metrics-in{grid-template-columns:1fr 1fr; gap:24px 0; padding-top:26px; padding-bottom:26px;}
  .m:nth-child(3){border-left:0; padding-left:0;}
  .mech-grid,.cards3,.steps{grid-template-columns:1fr;}
  .cmp{grid-template-columns:1fr;}
  .cmp-col.new{border-left:0; border-top:1px solid var(--line);}
  .cond{grid-template-columns:1fr 1fr;}
  .cond div:nth-child(3){border-left:0;}
  .cond div:nth-child(n+3){border-top:1px solid var(--line);}
  .facts{grid-template-columns:1fr;}
  .facts div:nth-child(odd){padding-right:0;}
}
@media (max-width:680px){
  body{font-size:16px;}
  .wrap{padding:0 18px;}
  .nav-in{padding:10px 18px;}
  .brand-tx i{display:none;}
  .nav-right .btn-sm{display:inline-flex; height:36px; padding:0 12px; font-size:12.5px;}
  .hero{padding:104px 0 52px;}
  .hero-cta .btn{width:100%;}
  .mech-figs{grid-template-columns:1fr;}
  .mech-figs figure:last-child{display:block;}
  .tbl th:first-child{width:44%;}
  .tbl th,.tbl td{padding-left:14px; padding-right:14px; font-size:14.5px;}
  .tbl td b{font-size:17px;}
  .cmp-col img{height:170px;}
  .foot-in{gap:14px;}
  .foot-note{flex:1 1 100%;}
}
