
:root{
  --navy:#0b2545;
  --orange:#f4a259;
  --gray:#6b7280;
  --bg:#ffffff;
  --muted:#f6f7f9;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:#111827;
  background:var(--bg);
  line-height:1.6;
}

.container{max-width:1100px;margin:0 auto;padding:0 20px}

header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.9); backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid #e5e7eb;
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.nav a{color:#111827;text-decoration:none;margin-left:18px;font-weight:500}
.logo{display:flex;align-items:center;gap:10px}
.logo img{height:36px;width:auto}
.brand{font-weight:800; letter-spacing:0.5px; color:var(--navy)}
.brand span{color:var(--orange)}

.hero{
  background:linear-gradient(135deg, #0b2545 0%, #1f2a44 50%, #2e465d 100%);
  color:white;
  padding:80px 0 100px;
}
.hero .grid{display:grid;grid-template-columns:1.2fr 1fr;gap:40px}
.hero h1{font-size:48px;line-height:1.1;margin:0 0 14px}
.hero p{color:#e5e7eb;margin-bottom:26px}
.btn{
  display:inline-block; padding:12px 18px; border-radius:12px;
  background:var(--orange); color:#111827; text-decoration:none;
  font-weight:700; box-shadow:0 6px 14px rgba(0,0,0,0.15);
}
.btn:hover{transform:translateY(-1px); box-shadow:0 10px 18px rgba(0,0,0,0.2)}
.ghost{background:transparent;color:white;border:1.5px solid rgba(255,255,255,.6)}

.section{padding:70px 0}
.section-muted{background:var(--muted)}

h2{font-size:32px;margin:0 0 10px}
.lead{color:#374151; max-width:720px}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:26px}
.card{
  background:white;border:1px solid #e5e7eb;border-radius:16px; padding:20px;
  box-shadow:0 6px 12px rgba(0,0,0,0.04);
}
.card h3{margin:0 0 8px}
.card p{color:#4b5563}

/* Gallery */
/* 项目照片墙样式 */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:16px;
}

/* 每张图片的样式 */
.gallery img{
  width:100%;
  aspect-ratio:4/3;          /* 统一比例，防止高矮不一 */
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  display:block;
}

.gallery img:hover{
  transform:scale(1.02);
  box-shadow:0 8px 18px rgba(0,0,0,0.16);
  transition:transform .25s ease, box-shadow .25s ease;
}



footer{
  background:#0f172a; color:#cbd5e1; padding:50px 0; margin-top:40px
}
footer a{color:#cbd5e1; text-decoration:none}
.small{font-size:14px;color:#64748b}

#toTop{
  position:fixed; right:18px; bottom:18px; border:0; border-radius:999px;
  height:48px; width:48px; background:var(--navy); color:white; cursor:pointer;
  display:none; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(0,0,0,0.25);
}
#toTop:hover{background:#162c4b}

@media (max-width:900px){
  .hero .grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .hero{padding:60px 0 80px}
  .hero h1{font-size:36px}
}

