/* 正鸿鑫极简布局与全站唯一工程咨询入口 */
:root {
  --gold-soft: #cfb477;
  --gold-deep: #a9833d;
}

body { padding-bottom: 0; }

nav {
  height: 70px;
  background: rgba(246, 247, 242, .96);
  backdrop-filter: blur(14px);
}

.brand {
  flex-direction: row;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.brand-mark img,
.floating-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(76%) sepia(28%) saturate(723%) hue-rotate(359deg) brightness(89%) contrast(86%);
}

.brand-type { display: flex; flex-direction: column; line-height: 1.15; }
.brand-type b { font-size: 18px; letter-spacing: .1em; }
.brand-type small { color: var(--gold-deep); font: 9px/1.4 Arial, sans-serif; letter-spacing: .13em; }

.links { gap: 24px; }
.links a { color: #3e423b; }
.links a:hover { color: var(--gold-deep); }

.hero {
  min-height: 590px;
  padding-top: 72px;
  padding-bottom: 68px;
  gap: 52px;
}

.hero h1,
.detail-hero h1 { max-width: 760px; }

.hero-actions { align-items: center; margin: 28px 0 36px; }
.hero-textlink { color: #75591f; font-weight: 700; padding: 11px 4px; }

.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { margin-bottom: 34px; }
.product-card { min-height: 390px; }
.process li { min-height: 132px; }
.real-gallery { display: none; }

.calculator-hero { padding-bottom: 20px; }
.calculator-wrap { padding-top: 18px; }
.calculator-card,
.calculator-aside { padding: 30px; }
.estimate-actions { display: none; }

footer {
  grid-template-columns: 1fr;
  padding-top: 38px;
  padding-bottom: 92px;
}

footer .filing { margin-bottom: 0; }

/*
 * 仅借鉴移动应用“悬浮快捷入口”的常见交互形态。
 * 使用正鸿鑫自有标志与品牌色，不使用企业微信官方图标、配色或界面元素。
 */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 222px;
  padding: 11px 13px 11px 11px;
  color: #f9f7f0;
  background: rgba(25, 28, 24, .96);
  border: 1px solid rgba(207, 180, 119, .56);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(15, 18, 14, .24);
  backdrop-filter: blur(12px);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.floating-contact:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
  box-shadow: 0 18px 44px rgba(15, 18, 14, .3);
}

.floating-contact:focus-visible {
  outline: 3px solid rgba(207, 180, 119, .42);
  outline-offset: 3px;
}

.floating-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(207, 180, 119, .52);
  border-radius: 12px;
}

.floating-copy { display: flex; flex: 1; flex-direction: column; line-height: 1.4; }
.floating-copy b { color: #fff; font-size: 16px; }
.floating-copy small { color: #cbc9c2; font-size: 12px; }
.floating-arrow { color: var(--gold-soft); font-size: 19px; }

@media (max-width: 820px) {
  nav { height: 64px; }
  .links { top: 64px; }
  .hero { min-height: auto; padding-top: 48px; gap: 34px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .product-card { min-height: 360px; }
}

@media (max-width: 480px) {
  .brand-mark { width: 32px; height: 32px; }
  .brand-type b { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-textlink { text-align: center; }
  .calculator-card,
  .calculator-aside { padding: 20px; }
  .floating-contact {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-width: 0;
    padding: 9px 11px 9px 9px;
    border-radius: 13px;
  }
  .floating-logo { width: 42px; height: 42px; }
  .floating-copy b { font-size: 15px; }
  .floating-copy small { font-size: 11px; }
  footer { padding-bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact { transition: none; }
}
