@charset "UTF-8";
:root {
  --primary: #B91D3C;
  --primary-dark: #93132F;
  --primary-soft: #F8E6EA;
  --c-a: #e63232;
  --c-b: #666;
  --c-c: #999;
  --c-d: #ddd;
  --ink: #333;
  --ink-2: #666;
  --muted: #999;
  --line: #e7e5e3;
  --bg: #fff;
  --bg-soft: #faf9f8;
  --radius: 6px;
  --radius-lg: 8px;
  --container:1200px;
  /* 间距刻度 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  /* 字体族 */
  --font: "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  --font-num: "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background-color: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: url(../../bg.jpg);
	background-repeat: no-repeat;
	background-position: center 0px;
	background-attachment: fixed;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.bg {
  background-color: #f0f0f0;
}

.flt-l {
  float: left;
}

.flt-r {
  float: right;
}

.text-l {
  text-align: left;
}

.text-c {
  text-align: center;
}

.text-r {
  text-align: right;
}

.text-b {
  font-weight: bold;
}

.mt5 {
  margin-top: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.ml5 {
  margin-left: 5px;
}

.mt {
  margin-top: 10px;
}

.mr {
  margin-right: 10px;
}

.mb {
  margin-bottom: 10px;
}

.ml {
  margin-left: 10px;
}

.pt5 {
  padding-top: 5px;
}

.pr5 {
  padding-right: 5px;
}

.pb5 {
  padding-bottom: 5px;
}

.pl5 {
  padding-left: 5px;
}

.pt {
  padding-top: 10px;
}

.pr {
  padding-right: 10px;
}

.pb {
  padding-bottom: 10px;
}

.pl {
  padding-left: 10px;
}

.fixtop {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
}

.fixbot {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 99;
}

/* 移动端吸底栏存在时，固定底部元素上移，避免被遮挡 */
@media (max-width: 768px) {
  .fixbot {
    bottom: 64px;
  }
}

.clear {
  clear: both;
}

.click {
  cursor: pointer;
}

.br-off {
  white-space: nowrap;
  overflow: hidden;
}

.layui-container {
  width: 1200px;
}

.bg-a {
  background-color: var(--c-a);
}

.bg-b {
  background-color: var(--c-b);
}

.bg-c {
  background-color: var(--c-c);
}

.bg-d {
  background-color: var(--c-d);
}

.color-a {
  color: var(--c-a);
}

.color-b {
  color: var(--c-b);
}

.color-c {
  color: var(--c-c);
}

.color-d {
  color: var(--c-d);
}
.layui-layer-prompt .layui-layer-btn a {
  border: 1px solid var(--c-b);
  background-color: var(--c-b);
}

.layui-layer-prompt .layui-layer-btn .layui-layer-btn1 {
  background-color: #fff;
  border: 1px solid var(--c-d);
}

.layui-layer-btn .layui-layer-btn0.btn-brand {
  border-color: var(--primary);
  background-color: var(--primary);
}

.layui-layer-photos .layui-layer-content {
  height: 100% !important;
}

.layui-layer-photos .layui-layer-phimg {
  width: 100%;
  height: 100%;
}

.layui-layer-photos .layui-layer-phimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--space-8) 0;
}

.section-head {
  margin-bottom: var(--space-6);
}

.section-head h2 {
  font-size: 26px;
}

.section-head p {
  margin-top: var(--space-2);
  color: var(--ink-2);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 16px;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: 74px;
}

.brand img {
  height: 40px;
  width: auto;
}

.header-tel {
  padding: 9px 16px;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* 首屏 */
.hero {
  padding: var(--space-8) 0 var(--space-7);
}

.hero-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.hero h1 {
  margin-top: var(--space-5);
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 620px;
  margin-top: var(--space-4);
  font-size: 17px;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-ph {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
}

.gallery-ph small {
  font-size: 12px;
  opacity: 0.75;
}

/* 价格表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

.price-table thead th {
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.price-table thead th:first-child {
  padding-right: 16px;
  text-align: right;
}

.price-table tbody th {
  padding: 20px 16px 20px 12px;
  text-align: right;
  font-weight: 600;
  vertical-align: top;
  white-space: nowrap;
  border-top: 1px solid var(--line);
}

.price-table tbody td {
  padding: 20px 12px;
  color: var(--ink-2);
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.price-table tbody td:nth-child(4) {
  white-space: nowrap;
}

.price-table tbody tr:first-child th,
.price-table tbody tr:first-child td {
  border-top: none;
}

.price-table .price {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.table-note {
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--muted);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: center;
}

.contact-tel {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.contact-hint {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: var(--space-4);
}

.contact-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-3);
  font-size: 14px;
  line-height: 1.6;
}

.contact-list .label {
  color: var(--ink-2);
}

.contact-list .value {
  color: var(--ink-2);
}

.map-link {
  margin-left: var(--space-2);
  white-space: nowrap;
  font-size: 13px;
}

.copy-btn {
  margin-left: var(--space-2);
  padding: 2px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 12px;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.copy-btn:disabled {
  cursor: default;
  color: var(--primary);
  border-color: var(--primary);
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 170px;
  height: 170px;
  margin: 0 auto;
  object-fit: contain;
  cursor: zoom-in;
}

.footer-qr p {
  margin-top: var(--space-1);
  font-size: 13px;
  color: var(--ink-2);
}

/* 页脚 */
.site-footer {
  padding: var(--space-6) 0 var(--space-4);

  background-image:linear-gradient(to bottom,#F8F8F8 0%,#ffffff 90%);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--primary);
}

.footer-tech {
  margin-left: auto;
}

/* 移动端吸底栏 */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: var(--space-2);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.mobile-bar-btn {
  flex: 1;
  padding: 11px 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-bar-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mobile-bar-primary:hover {
  color: #fff;
}

@media (max-width: 1240px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 34px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-qr img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-7) 0;
  }

  .hero {
    padding: var(--space-6) 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .header-tel {
    display: none;
  }

  .gallery {
    margin-top: var(--space-6);
  }

  .contact-tel {
    font-size: 26px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-list .label {
    font-size: 13px;
  }

  .footer-tech {
    margin-left: 0;
  }

  body {
    padding-bottom: 64px;
  }

  .mobile-bar {
    display: flex;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .layui-container {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
