/* =====================================================
   W&G 杭州晏瑞科技官网 — Page 1 首页
   依据设计图逐项测量还原（设计面板 525×967 → 1440×2652）
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fff;
  color: #23426b;
  -webkit-font-smoothing: antialiased;
}

.page { width: 1440px; margin: 0 auto; }

img { display: block; }

button { font-family: inherit; cursor: pointer; }

/* 顶部导航已抽离为全站统一组件：css/nav.css（在 index.html 中于本文件之后引入） */

/* ---------- 01 主视觉 ---------- */
.hero { position: relative; height: 565px; }
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 1440px; height: 606px;
  z-index: 1;
}
.hero-title {
  position: absolute;
  z-index: 2;
  left: 107px;
  top: 118px;
  font-size: 78px;
  line-height: 101px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 0 2px 12px rgba(60, 30, 0, .18);
}
.hero-sub {
  position: absolute;
  z-index: 2;
  left: 109px;
  top: 343px;
  font-size: 30px;
  line-height: 52px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 1px 8px rgba(60, 30, 0, .22);
}
.hero-down {
  position: absolute;
  z-index: 3;
  left: 671px;
  top: 490px;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.hero-down:hover { background: rgba(255, 255, 255, .3); }

/* ---------- 02 我们是谁 ---------- */
.who { position: relative; height: 428px; background: #fefefe; }
.who-city {
  position: absolute;
  right: 0; top: 0;
  height: 444px;
  width: auto;
  z-index: 1;
}
.who-title {
  position: absolute;
  z-index: 2;
  left: 101px;
  top: 36px;
  font-size: 48px;
  font-weight: 700;
  color: #1e3f6e;
  letter-spacing: 2px;
}
.who-text {
  position: absolute;
  z-index: 2;
  left: 101px;
  top: 122px;
  font-size: 31px;
  line-height: 49px;
  font-weight: 400;
  color: #4d545e;
  letter-spacing: 1px;
}
.who-btn {
  position: absolute;
  z-index: 2;
  left: 101px;
  top: 345px;
  width: 203px;
  height: 71px;
  border: 1px solid #33507a;
  border-radius: 37px;
  background: #fff;
  color: #23426b;
  font-size: 23px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .25s;
}
.who-btn:hover { background: #23426b; color: #fff; }
.who-btn .arr { margin-left: 8px; }

/* ---------- 03 企业视频 ---------- */
.video { position: relative; height: 428px; }
.video-img {
  position: absolute;
  top: 0; left: 0;
  width: 1440px; height: 428px;
  z-index: 2;
}
.play {
  position: absolute;
  z-index: 3;
  left: 647px;
  top: 134px;
  width: 104px; height: 104px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .25s;
}
.play:hover { background: rgba(255, 255, 255, .35); transform: scale(1.05); }
.play .tri {
  width: 0; height: 0;
  margin-left: 8px;
  border-left: 30px solid #fff;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
}
.video-cap {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 278px;
  width: 1440px;
  text-align: center;
  color: #fff;
}
.video-t { font-size: 42px; font-weight: 700; letter-spacing: 3px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.video-s { font-size: 27px; margin-top: 8px; letter-spacing: 2px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.video-script {
  position: absolute;
  z-index: 3;
  left: 858px;
  top: 306px;
  font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
  font-size: 54px;
  font-style: italic;
  color: #fff;
  transform: rotate(-5deg);
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}

/* ---------- 04 三个品牌 ---------- */
.brands { position: relative; height: 743px; background: #fafbfc; }
.brands-title {
  position: absolute;
  left: 77px;
  top: 6px;
  font-size: 48px;
  font-weight: 700;
  color: #23426b;
  letter-spacing: 2px;
}
.brands-title .gap { display: inline-block; width: 56px; }
.brands-sub {
  position: absolute;
  left: 77px;
  top: 74px;
  font-size: 28px;
  color: #81858e;
  letter-spacing: 1px;
  z-index: 2;
}
.cards { position: absolute; left: 0; top: 115px; width: 1440px; height: 628px; z-index: 1; }
.card {
  position: absolute;
  top: 0;
  width: 441px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(30, 50, 80, .07);
}
.card1 { left: 30px; }
.card2 { left: 493px; }
.card3 { left: 956px; }
.card-photo { width: 441px; height: 321px; object-fit: cover; }
.card-body {
  height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card1 .card-body { background: #f8f4f5; }
.card2 .card-body { background: #eff6fe; }
.card3 .card-body { background: #fef5f9; }
.card-icon { height: 47px; width: auto; margin-top: 0; }
.card-name {
  margin-top: 8px;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
}
.c-petro { color: #1a2536; }
.c-sizu  { color: #2668a8; }
.c-mizu  { color: #d16a8e; }
.card-name-sub { font-size: 24px; color: #d16a8e; margin-top: 0; line-height: 1.2; }
.card-tag {
  margin-top: 12px;
  font-size: 29px;
  line-height: 46px;
  color: #5d6270;
  letter-spacing: 1px;
}
.card3 .card-name { font-size: 42px; margin-top: 6px; }
.card3 .card-tag { margin-top: 2px; }
.card3 .card-btn { margin-top: 10px; }
.card-btn {
  margin-top: 14px;
  height: 68px;
  min-width: 292px;
  padding: 0 30px;
  border-radius: 34px;
  font-size: 28px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, transform .2s;
}
.card-btn:hover { opacity: .85; }
.card-btn:active { transform: scale(.97); }
.card-btn .arr { margin-left: 6px; font-size: 22px; }
.btn-line { background: transparent; border: 1.5px solid #33507a; color: #23426b; }
.btn-blue { background: #0e7ec8; border: none; color: #fff; }
.btn-pink { background: #be5d7e; border: none; color: #fff; }

/* ---------- 05 价值收束 ---------- */
.sunset { position: relative; }
.sunset-img { width: 1440px; height: 362px; }
.sunset-script {
  position: absolute;
  left: 786px;
  top: 50px;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Kaiti", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 64px;
  color: #4a2d15;
  white-space: nowrap;
  transform: rotate(-3deg);
  transform-origin: left top;
}
.sunset-script .l1 { letter-spacing: 30px; }
.sunset-script .line2 { letter-spacing: 6px; margin-left: 150px; }

/* ---------- 工信部备案展示条（合规要求，非设计稿内容） ---------- */
.beian-bar {
  height: 46px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beian-bar a, .foot-beian {
  font-size: 13px;
  color: #9aa3ad;
  text-decoration: none;
  letter-spacing: .5px;
}
