/* =========
   Base
   ========= */
:root{
  --blue:#2430ff;
  --blue-2:#2a35ff;
  --ink:#111;
  --muted:#3a3a3a;
  --bg:#ffffff;
  --max:1200px;
  --radius:16px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
}

img{max-width:100%; display:block;}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

/* =========
   Header
   ========= */
.site-header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(1.2) blur(6px);
  border-bottom:1px solid rgba(0,0,0,.06);
  z-index:10;
}

.header-inner{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:280px;
}

.brand-logo{
  height:46px;
  width:auto;
  border-radius:8px;
}

.brand-en{
  font-weight:800;
  line-height:1.05;
  letter-spacing:.2px;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:26px;
  flex:1;
}

.nav-link{
  text-decoration:none;
  color:#111;
  font-weight:600;
  font-size:16px;
  white-space:nowrap;
  opacity:.9;
}
.nav-link:hover{opacity:1;}
.nav-link.is-active{opacity:1;}

/* Actions */
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
}

.btn-ghost{
  color:#111;
  background:#fff;
  border-color:#111;
}

.btn-primary-dark{
  color:#fff;
  background:#111;
}

.btn-primary{
  color:#fff;
  background:var(--blue);
  border-color:rgba(0,0,0,.2);
  box-shadow: 0 10px 24px rgba(36,48,255,.25);
}

.btn:hover{transform: translateY(-1px);}
.btn:active{transform: translateY(0);}

/* =========
   Hero
   ========= */
.hero{
  padding:56px 0 24px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:start;
}

.hero-title{
  margin:0 0 14px;
  font-weight:900;
  letter-spacing:.5px;
  font-size: clamp(40px, 5vw, 64px);
}

.hero-underline{
  width:min(520px, 100%);
  height:6px;
  background:var(--blue);
  border-radius:999px;
  margin:12px 0 18px;
}

.hero-subtitle{
  margin:0 0 18px;
  color:#111;
  font-size: clamp(18px, 2vw, 22px);
  line-height:1.6;
}

.hero-cta{
  display:flex;
  align-items:center;
  gap:18px;
  margin:18px 0 18px;
}

.link{
  color:#111;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:6px;
}

.hero-badge{
  margin-top:22px;
  width:min(360px, 100%);
}

/* Hero right */
.hero-right{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:10px;
}

.photo-card{
  width:min(520px, 100%);
  background:transparent;
  border-radius:22px;
  padding:0;
  position:relative;
  overflow:hidden;
}

.hero-photo{
  width:100%;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.55));
}

/* yellow sparkle */
.spark{
  position:absolute;
  left:18px;
  top:50%;
  transform: translate(-60%, -50%);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.2));
}

/* blue right accent */
.accent-blue{
  position:absolute;
  right:-70px;
  top:-18px;
  width:240px;
  height:520px;
  background:var(--blue-2);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 92%);
  border-radius:26px;
  opacity:1;
}

/* =========
   Gallery
   ========= */
.gallery{
  padding:32px 0 56px;
}

.section-title{
  margin:0 0 12px;
  font-size:42px;
  font-weight:900;
}

.section-mark{
  width:54px;
  height:4px;
  background:rgba(63, 56, 151, .9);
  border-radius:999px;
  margin: 6px auto 26px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}

.card{
  margin:0;
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  background:#fff;
}
.card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

/* =========
   Footer
   ========= */
.site-footer{
  background:var(--blue);
  color:#fff;
  padding:42px 0;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
}

.footer-left{
  display:flex;
  gap:54px;
  flex-wrap:wrap;
}

.footer-group{
  min-width:240px;
}

.footer-title{
  font-weight:800;
  opacity:.95;
  margin-bottom:10px;
}

.footer-line{
  width:26px;
  height:3px;
  background:rgba(255,255,255,.9);
  border-radius:999px;
  margin-bottom:14px;
}

.footer-text{
  opacity:.92;
  line-height:1.7;
  font-size:14px;
}

.footer-right{
  text-align:right;
  margin-left:auto;
  padding-top:4px;
}

.footer-big{
  font-size: clamp(26px, 3vw, 40px);
  font-weight:900;
  letter-spacing:.4px;
}

.footer-small{
  margin-top:6px;
  opacity:.9;
  font-weight:700;
}

/* =========
   Responsive
   ========= */
@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr;}
  .hero-right{justify-content:flex-start;}
  .spark{left:40px; transform: translate(-50%, -50%);}
  .grid{grid-template-columns: repeat(2, 1fr);}
  .footer-right{text-align:left; margin-left:0;}
}

@media (max-width: 560px){
  .container{width:min(var(--max), calc(100% - 28px));}
  .brand{min-width:0;}
  .brand-logo{height:42px;}
  .nav{display:none;}
  .grid{grid-template-columns: 1fr;}
  .card img{height:200px;}
  .header-actions .btn{padding:10px 14px;}
}
