/* BAIYIYOU DESKTOP HEADER V5 / 20261125o1 — larger header typography, no banner overlap */

:root{
  --rd-gold:#d8b26a;
  --rd-gold-soft:#f4dfb6;
  --rd-navy:#081d3c;
}

/* 顶部留白严格等于头部总高：顶栏 38 + 导航 82 = 120，Banner 完整显示不被遮挡 */
body{padding-top:122px!important}
body.rd-home,
.rd-home body{padding-top:122px!important}

.rd-header{
  height:122px!important;
  background:#fff!important;
  box-shadow:0 8px 28px rgba(7,26,53,.10)!important;
}
/* 底部一道金色渐隐线，收口更精致 */
.rd-header::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:linear-gradient(90deg,transparent 0,#d8b26a 22%,#f4dfb6 50%,#d8b26a 78%,transparent 100%);
  opacity:.9;pointer-events:none;z-index:5;
}

/* 顶栏 38px */
.rd-header__bar{
  height:38px!important;line-height:38px!important;font-size:13.5px!important;
  background:linear-gradient(90deg,#041122 0%,#0a2247 55%,#0d2c52 100%)!important;
  border-bottom:1px solid rgba(216,178,106,.22)!important;
}
.rd-header__welcome{letter-spacing:.05em!important;color:rgba(255,255,255,.78)!important}
.rd-header__welcome::before{
  content:"";display:inline-block;width:6px;height:6px;background:var(--rd-gold);
  border-radius:50%;margin-right:10px;vertical-align:middle;box-shadow:0 0 10px rgba(216,178,106,.8);
}
.rd-header__bar-links{gap:20px!important}
.rd-header__bar-links a{color:rgba(255,255,255,.82)!important}
.rd-header__tel{color:var(--rd-gold-soft)!important;font-size:14px!important;font-weight:700!important}

/* 主导航 82px */
.rd-header__main{height:84px!important}
.rd-header__inner{height:84px!important;gap:18px!important}
.rd-logo{height:84px!important;max-width:430px!important}
.rd-logo img{width:420px!important;max-width:420px!important;height:auto!important;max-height:64px!important}

.rd-nav{margin-left:auto!important}
.rd-nav__list{gap:1px!important}
.rd-nav__link{
  height:84px!important;padding:0 12px!important;
  font-size:16px!important;font-weight:700!important;letter-spacing:.02em!important;
  color:#122742!important;
}
.rd-nav__link:hover{color:#a5813a!important}
.rd-nav__link::after{height:3px!important;background:linear-gradient(90deg,var(--rd-gold),var(--rd-gold-soft))!important}
.rd-nav__item:hover>.rd-nav__link::after,
.rd-nav__item:focus-within>.rd-nav__link::after{width:30px!important}

.rd-header__cta{
  height:46px!important;margin-left:14px!important;padding:0 22px!important;
  border:1px solid rgba(216,178,106,.85)!important;border-radius:999px!important;
  background:linear-gradient(135deg,#f7e7c4 0%,#e3c17c 48%,#d8b26a 100%)!important;
  box-shadow:0 8px 22px rgba(216,178,106,.28)!important;
  color:#081d3c!important;font-size:15.5px!important;font-weight:800!important;letter-spacing:.05em!important;
}
.rd-header__cta:hover{
  background:linear-gradient(135deg,#fff3d8,#e8c77f)!important;
  box-shadow:0 12px 28px rgba(216,178,106,.38)!important;
}

/* 响应式收敛 */
@media (max-width:1280px){
  .rd-logo{max-width:300px!important}
  .rd-logo img{width:290px!important;max-width:290px!important;max-height:52px!important}
  .rd-nav__link{padding:0 10px!important;font-size:14.5px!important}
  .rd-header__cta{padding:0 16px!important;font-size:14.5px!important}
}
@media (max-width:1100px){
  .rd-header__cta{display:none!important}
}
@media (max-width:991px){
  body{padding-top:72px!important}
  body.rd-home,.rd-home body{padding-top:72px!important}
  .rd-header{height:72px!important}
  .rd-header__bar{display:none!important}
  .rd-header__main,.rd-header__inner,.rd-logo{height:72px!important}
  .rd-logo{max-width:200px!important}
  .rd-logo img{width:190px!important;max-width:190px!important;max-height:44px!important}
  .rd-nav__link{height:72px!important;padding:0 9px!important;font-size:13px!important}
}
