/* Homepage hero redesign: premium glassmorphism */
body[data-page="home"] .hero{
  position:relative;
  overflow:hidden;
  background:#e9e3d8;
}
body[data-page="home"] .hero-grid{
  position:relative;
  display:block;
  width:100%;
  max-width:none;
  min-height:780px;
  padding:72px max(5vw,42px) 58px;
  overflow:hidden;
}
body[data-page="home"] .hero-visual{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  overflow:hidden;
}
body[data-page="home"] .hero-visual:before{
  display:block;
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(242,238,230,.86) 0%,rgba(242,238,230,.62) 30%,rgba(242,238,230,.18) 53%,rgba(242,238,230,0) 72%),
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(19,31,24,.06));
}
body[data-page="home"] .hero-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter:saturate(.86) contrast(1.02) brightness(1.02);
  transform:scale(1.015);
}
body[data-page="home"] .hero-copy{
  position:relative;
  z-index:3;
  width:min(585px,48vw);
  margin:0;
  padding:52px 54px 42px;
  border:1px solid rgba(255,255,255,.66);
  border-radius:34px;
  background:linear-gradient(135deg,rgba(255,255,255,.58),rgba(247,244,237,.34));
  -webkit-backdrop-filter:blur(22px) saturate(125%);
  backdrop-filter:blur(22px) saturate(125%);
  box-shadow:0 28px 80px rgba(46,55,47,.14),inset 0 1px 0 rgba(255,255,255,.65);
}
body[data-page="home"] .hero-copy:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(145deg,rgba(255,255,255,.35),rgba(255,255,255,0) 38%);
}
body[data-page="home"] .hero .eyebrow{
  position:relative;
  z-index:1;
  color:#5e675f;
  font-size:9px;
  letter-spacing:.34em;
  margin-bottom:18px;
}
body[data-page="home"] .hero h1{
  position:relative;
  z-index:1;
  color:#102219;
  font-size:clamp(64px,6.1vw,94px);
  line-height:.88;
  letter-spacing:-.055em;
  max-width:510px;
  margin-bottom:22px;
  text-shadow:0 1px 0 rgba(255,255,255,.25);
}
body[data-page="home"] .hero h1 span{
  margin-top:18px;
  font-size:.34em;
  letter-spacing:.035em;
}
body[data-page="home"] .hero .subhead{
  position:relative;
  z-index:1;
  margin:0 0 12px;
  color:#15231b;
  font-size:22px;
  line-height:1.25;
}
body[data-page="home"] .hero .lead{
  position:relative;
  z-index:1;
  max-width:470px;
  color:#4a554e;
  font-size:13px;
  line-height:1.85;
}
body[data-page="home"] .hero-actions{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  width:min(100%,420px);
  margin:30px 0 30px;
}
body[data-page="home"] .hero-actions .btn,
body[data-page="home"] .hero-actions .btn-primary,
body[data-page="home"] .hero-actions .btn-outline{
  width:100%;
  min-width:0;
  height:62px;
  padding:0 26px;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.74)!important;
  background:linear-gradient(135deg,rgba(132,169,108,.52),rgba(203,219,190,.34))!important;
  color:#102018!important;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68),0 10px 30px rgba(56,86,62,.12)!important;
  -webkit-backdrop-filter:blur(16px) saturate(135%);
  backdrop-filter:blur(16px) saturate(135%);
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease!important;
}
body[data-page="home"] .hero-actions .btn-outline{
  background:linear-gradient(135deg,rgba(255,255,255,.58),rgba(250,247,239,.26))!important;
}
body[data-page="home"] .hero-actions .btn:hover{
  transform:translateY(-2px)!important;
  background:linear-gradient(135deg,rgba(139,181,110,.68),rgba(217,228,205,.48))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 16px 34px rgba(52,82,59,.17)!important;
}
body[data-page="home"] .hero-actions .btn-outline:after{
  margin-left:auto;
  border:0;
}
body[data-page="home"] .stats{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  max-width:none;
  margin-top:6px;
  padding:18px 0 0;
  border-top:1px solid rgba(28,49,36,.16);
}
body[data-page="home"] .stat{
  min-width:0;
  padding:0 14px;
  border-right:1px solid rgba(28,49,36,.13);
}
body[data-page="home"] .stat:first-child{padding-left:0}
body[data-page="home"] .stat:last-child{border-right:0;padding-right:0}
body[data-page="home"] .stat strong{
  font-size:15px;
  font-weight:600;
  color:#12251a;
}
body[data-page="home"] .stat span{
  margin-top:4px;
  color:#68716b;
  font-size:7px;
  line-height:1.35;
  letter-spacing:.09em;
}
@media(max-width:1000px){
  body[data-page="home"] .hero-grid{min-height:720px;padding:58px 32px 50px}
  body[data-page="home"] .hero-copy{width:min(570px,58vw);padding:46px 44px 38px}
  body[data-page="home"] .hero h1{font-size:68px}
}
@media(max-width:760px){
  body[data-page="home"] .hero-grid{
    min-height:0;
    padding:0 0 30px;
    overflow:visible;
  }
}

/* Clarity pass */
body[data-page="home"] .hero-visual{width:72%;left:auto;right:0;background:#eee8dd}
body[data-page="home"] .hero-visual:before{background:linear-gradient(90deg,rgba(242,238,230,.34) 0%,rgba(242,238,230,.12) 18%,rgba(242,238,230,0) 42%)}
body[data-page="home"] .hero-visual img{object-position:86% center;filter:none;transform:none}
body[data-page="home"] .hero-copy{background:linear-gradient(135deg,rgba(255,255,255,.48),rgba(247,244,237,.26));-webkit-backdrop-filter:blur(12px) saturate(118%);backdrop-filter:blur(12px) saturate(118%)}

/* HD hero image replacement */
body[data-page="home"] .hero-visual{
  background-image:url('guquan-hero-hd.webp');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
body[data-page="home"] .hero-visual img{display:none!important}
@media(max-width:1000px){body[data-page="home"] .hero-visual{width:70%;background-position:60% center}}
@media(max-width:760px){
  body[data-page="home"] .hero-visual{width:100%;height:430px;background-position:62% center}
  body[data-page="home"] .hero-visual:before{background:linear-gradient(180deg,rgba(255,255,255,0) 55%,rgba(239,235,226,.56) 100%)}
}