:root {
  /* logo palette: peach orange / ring / red / green / ink */
  --bg: #1A1818;
  --bg2: #2A221C;
  --card: rgba(42, 34, 28, .78);
  --line: rgba(232, 152, 96, .32);
  --pink: #E89860;
  --pink2: #F5A66B;
  --cyan: #ED905B;
  --accent-red: #DB6361;
  --accent-green: #609A52;
  --text: #1A1818;
  --muted: #5c6b80;
  --ink: #f6f8fb;
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Microsoft JhengHei", "PingFang HK", sans-serif;
  background: #f4f7fb;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1400px, calc(100% - 40px)); margin: 0 auto; }
.header-inner, .footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(26, 24, 24, .12);
}
.header-inner { min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  width: auto; height: 68px; max-width: 96px;
  object-fit: contain; background: transparent;
}
.site-header .brand strong { color: #1A1818; }
.site-header .brand small { color: #5c6b80; }
.brand strong { display: block; font-size: 1.15rem; letter-spacing: .04em; }
.brand small { color: var(--muted); letter-spacing: .12em; }
.nav { display: flex; gap: 36px; font-weight: 700; }
.site-header .nav a { color: #1a2a40; display: inline-flex; align-items: center; gap: 7px; }
.nav-ico { width: 1.05em; height: 1.05em; }
.site-header .nav a.on, .site-header .nav a:hover { color: #ED905B; }
.nav-toggle { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  font-weight: 800; border: 0; cursor: pointer;
}
.ico { width: 1.15em; height: 1.15em; display: block; flex: none; }
.btn-pink { background: linear-gradient(90deg, #ED905B, #E89860); color: #1A1818; box-shadow: 0 8px 24px rgba(232,152,96,.35); }
.btn-cyan { background: transparent; color: var(--pink2); border: 1px solid rgba(232,152,96,.75); }
.site-header .btn-wa { color: #fff; }
.btn-wa { background: #25D366; color: #042117; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.btn-tel { background: #007AFF; color: #fff; box-shadow: 0 8px 24px rgba(0, 122, 255, .35); }
.link-tel, .link-wa { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.link-tel { color: #4da3ff; }
.link-wa { color: #25D366; }
.btn-ghost { background: #fff; color: #1A1818; border: 1px solid rgba(26, 24, 24, .16); }
.hero {
  position: relative; overflow: hidden;
  padding: 54px 0 36px;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% 8%, rgba(232, 152, 96, .22), transparent 60%),
    radial-gradient(700px 380px at 8% 20%, rgba(219, 99, 97, .18), transparent 55%),
    linear-gradient(180deg, #2A221C 0%, #1A1818 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 40px 0 auto;
  height: 420px;
  background-image:
    linear-gradient(rgba(232,152,96,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,152,96,.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-block;
  color: var(--cyan);
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .95;
  letter-spacing: .02em;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--pink);
  text-shadow: 0 0 24px rgba(232,152,96,.4);
}
.hero-sub { color: #d7deef; font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8, 14, 32, .72);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .86rem;
  display: inline-flex; gap: 8px; align-items: center;
}
.pill i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pink); display: inline-block;
  box-shadow: 0 0 10px var(--pink);
}
/* 服务文字层，仅手机端显示 */
.hero-services { display: none; }
.hero-visual { position: relative; }
.hero-visual .shot {
  width: 100%; height: 480px; object-fit: cover; border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}
.route {
  position: absolute; left: -30px; right: 20px; bottom: 28px; height: 90px; pointer-events: none;
}
.float-card {
  position: absolute; left: -18px; bottom: 24px;
  background: rgba(8, 12, 28, .88);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow);
}
.pin {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800;
}
.pin.cyan { background: #1A1818; color: var(--pink2); }
.pin.pink { background: #3a2a18; color: var(--pink2); }
.float-card strong { display: block; }
.float-card span { color: #c5d0dc; font-size: .82rem; }
.section { padding: 28px 0 10px; }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26, 24, 24, .1);
}
.section-head h2 { margin: 0; flex: none; }
.section-head .lead { margin: 0; max-width: 34rem; text-align: right; }
.tone-dark .section-head { border-bottom-color: rgba(255, 255, 255, .14); }
.lead { color: var(--muted); margin-top: 0; }
.cards, .work, .gallery-grid {
  display: grid; gap: 14px;
}
.cards { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.card, .work article, .quote, .form, .panel {
  background: #fff;
  border: 1px solid rgba(26, 24, 24, .1);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(26, 24, 24, .06);
}
.tone-dark {
  background: #1A1818;
  color: var(--ink);
}
.tone-dark .lead { color: #c5d0dc; }
.tone-dark .card {
  background: rgba(42, 34, 28, .78);
  border-color: rgba(232, 152, 96, .32);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.tone-dark .card p { color: #c5d0dc; }
.card { padding: 18px; }
.card .no {
  color: var(--pink); font-weight: 800; letter-spacing: .08em; font-size: .78rem;
}
.card h3 { margin: 8px 0; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; }
.work { grid-template-columns: repeat(3, 1fr); }
.work article { overflow: hidden; }
.work img, .gallery-grid img { width: 100%; height: 240px; object-fit: cover; }
.work div, .gallery-grid figcaption { padding: 14px 14px 16px; }
.work h3 { margin: 0 0 6px; }
.work p, .gallery-grid figcaption { margin: 0; color: var(--muted); line-height: 1.6; }
.date { color: var(--cyan); font-size: .8rem; font-weight: 700; }
.banner {
  margin: 28px auto;
  border-radius: 24px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(110deg, #fff5eb 0%, #fff 46%, #f7f5f2 100%);
  border: 1px solid rgba(232, 152, 96, .35);
  color: #1A1818;
}
.banner .kicker { color: #ED905B; }
.banner .btn-wa { color: #fff; }
.banner .stats { margin: 0; grid-template-columns: 1fr 1fr; }
.hero-grid .stats { grid-template-columns: 1fr 1fr; }
.banner h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.banner h2 span { color: var(--pink); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid rgba(26, 24, 24, .1); background: #fff; }
.gallery-grid figcaption strong { color: #1A1818; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 8px; }
.stats div {
  padding: 16px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(26, 24, 24, .08);
}
.stats strong { display: block; font-size: 1.35rem; color: #1A1818; }
.stats span { color: var(--muted); font-size: .88rem; }
.form { padding: 22px; }
label { display: block; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; padding: 12px 13px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5, 8, 20, .65); color: #fff; font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.ok, .err { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; }
.ok { background: rgba(96, 154, 82, .18); color: #d4f0c8; }
.err { background: rgba(219, 99, 97, .2); color: #ffd0d6; }
.site-footer { margin-top: 40px; padding: 36px 0 28px; border-top: 1px solid rgba(255,255,255,.06); background: #121010; color: var(--ink); }
.site-footer .brand strong { color: #fff; }
.site-footer .brand small, .site-footer p, .site-footer .footer-bottom { color: #c5d0dc; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand { max-width: 420px; }
.footer-brand p { margin: 10px 0 0; }
.footer-services { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; max-width: 640px; }
.footer-services a { color: #fff; font-weight: 700; }
.footer-services a:hover { color: #F5A66B; }
.footer-bottom { margin-top: 22px; font-size: .86rem; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.float-dock {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.float-btn .ico { width: 26px; height: 26px; }
.float-tel { background: #007AFF; }
.float-fb { background: #1877F2; }
.float-wa { background: #25D366; }
.page-banner {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1A1818;
}
.page-banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 24, 24, .9) 0%, rgba(26, 24, 24, .55) 52%, rgba(26, 24, 24, .18) 100%);
}
.page-banner-copy { position: relative; z-index: 1; padding: 0 0 108px; }
.page-banner h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  max-width: 14em;
}
.page-banner .kicker { color: #F5A66B; }
.page-banner .lead { color: #e8eef6; max-width: 40rem; font-size: 1.05rem; }
.page-banner .hero-actions { margin-top: 18px; }
.page-hero { padding: 36px 0 8px; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3rem); }
.way { display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.way .ico { width: 32px; height: 32px; }
.way-tel .ico { color: #4da3ff; }
.way-wa .ico { color: #25D366; }
.way h3 { margin: 0; }
.way p { margin: 0; font-size: 1.25rem; color: #1A1818; font-weight: 800; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: 1fr 1fr; }
.service-card .tag { margin: 0 0 8px; color: #ED905B; font-weight: 800; }
.about-panel,
.quote-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
  margin-top: 8px;
  padding: 32px 36px;
  border-radius: 24px;
  background: linear-gradient(110deg, #fff5eb 0%, #fff 46%, #f7f5f2 100%);
  border: 1px solid rgba(232, 152, 96, .35);
}
.about-panel .kicker, .quote-panel .kicker { color: #ED905B; }
.about-panel .stats, .quote-panel .stats { margin: 0; grid-template-columns: 1fr 1fr; }
.about-shots { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.about-shots figure {
  margin: 0; overflow: hidden; border-radius: 18px;
  background: #fff; border: 1px solid rgba(26, 24, 24, .1);
}
.about-shots img { width: 100%; height: 260px; object-fit: cover; }
.about-shots figcaption { padding: 12px 14px 14px; color: #1A1818; font-weight: 800; }
@media (max-width: 980px) {
  .hero-grid, .cards, .cards.cols-3, .work, .gallery-grid, .banner, .about-panel, .quote-panel, .stats { grid-template-columns: 1fr 1fr; }
  .about-shots { grid-template-columns: 1fr 1fr; }
  .about-shots figure:first-child { grid-column: 1 / -1; }
  .hero-visual .shot { height: 280px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; color: #1A1818; border: 0; }
  .nav-toggle .ico { width: 28px; height: 28px; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(26,24,24,.12); box-shadow: 0 12px 24px rgba(0,0,0,.08); padding: 12px 18px 16px; flex-direction: column; }
  body.nav-open .nav { display: flex; }
  .header-inner .btn { display: none; }
  .hero-grid, .cards, .cards.cols-2, .cards.cols-3, .work, .gallery-grid, .banner, .banner .stats, .about-panel, .quote-panel, .about-shots, .hero-grid .stats, .stats { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .lead { text-align: left; }
  .footer-services { justify-content: flex-start; }
  .site-footer { padding-right: 76px; }
  .about-shots figure:first-child { grid-column: auto; }
  .about-shots img { height: 200px; }
  .about-panel, .quote-panel { padding: 22px 18px; }
  .page-banner { height: 340px; }
  .page-banner-copy { padding-bottom: 72px; }
  .float-card { left: 10px; }

  /* 手机端首屏：顶部完整展示品牌图（按原始比例，不裁切不拉伸），文字在下方深色区 */
  .hero {
    padding-top: calc(42.86vw + 20px);
    background-color: #1A1818;
    background-image: url(/uploads/hero-bg-mobile.webp?v=2), linear-gradient(180deg, #2A221C 0%, #1A1818 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 100% 100%;
    background-position: center top, center top;
  }
  .hero::before, .hero::after { display: none; }
  .hero h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .hero-sub { display: none; }
  .hero-grid { position: relative; z-index: 1; }
  /* 品牌图右侧空白区：五行服务项目，逐行依次淡入 + 小方块指示 */
  .hero-services {
    display: flex; flex-direction: column; justify-content: space-between;
    position: absolute; left: 60%; width: 37%;
    top: 13.6vw; height: 22.2vw;
    font-family: "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
    font-size: 3.05vw; line-height: 1.2; font-weight: 700;
    color: #8A1C10; letter-spacing: .01em; z-index: 2; pointer-events: none;
  }
  .hero-services span {
    display: flex; align-items: center; gap: .5em; white-space: nowrap;
    opacity: 0; transform: translateX(.6em);
    animation: hzSvcIn .52s cubic-bezier(.22,.68,.3,1) forwards,
             hzSvcHi 5.4s ease-in-out infinite;
  }
  .hero-services span::before {
    content: ""; flex: none; width: .32em; height: .32em; border-radius: .06em;
    background: currentColor; opacity: .92;
    animation: hzSvcDot 5.4s ease-in-out infinite;
    animation-delay: calc(.95s + var(--i, 0) * 1.08s);
  }
  .hero-services span:nth-child(1) { --i: 0; animation-delay: .15s, calc(.95s + var(--i, 0) * 1.08s); }
  .hero-services span:nth-child(2) { --i: 1; animation-delay: .33s, calc(.95s + var(--i, 0) * 1.08s); }
  .hero-services span:nth-child(3) { --i: 2; animation-delay: .51s, calc(.95s + var(--i, 0) * 1.08s); }
  .hero-services span:nth-child(4) { --i: 3; animation-delay: .69s, calc(.95s + var(--i, 0) * 1.08s); }
  .hero-services span:nth-child(5) { --i: 4; animation-delay: .87s, calc(.95s + var(--i, 0) * 1.08s); }
  @keyframes hzSvcIn {
    0%   { opacity: 0; transform: translateX(.6em); }
    100% { opacity: 1; transform: translateX(0); }
  }
  @keyframes hzSvcHi {
    0%, 58%, 100% { color: #8A1C10; }
    9%            { color: #D9480F; }
  }
  @keyframes hzSvcDot {
    0%, 58%, 100% { transform: scale(1);    opacity: .58; }
    9%            { transform: scale(1.36); opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-services span { opacity: 1; transform: none; animation: none; }
  .hero-services span::before { animation: none; opacity: .72; }
  }

  /* 手机端：两个按钮、三个标签等分铺满容器（仅首页 hero，不影响内页 page-banner） */
  .hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex-wrap: nowrap; }
  .hero .hero-actions .btn { width: 100%; padding: 0 6px; white-space: nowrap; font-size: clamp(13px, 4.1vw, 16px); }
  .hero .pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hero .pills .pill { justify-content: center; padding: 7px 3px; font-size: clamp(8.4px, 2.66vw, 11.5px); gap: 4px; white-space: nowrap; min-width: 0; }
  .hero .pills .pill i { width: 6px; height: 6px; flex: none; }
}

