﻿/* 鴻誠汽車服務 — site styles (FB 白 + 青藍 · 稳定版) */
:root {
  --ink: #0c1218;
  --steel: #15202b;
  --panel: #1b2836;
  --amber: #2eb8f5;
  --amber-soft: #7dd8ff;
  --fog: #c8d0da;
  --paper: #e8eef3;
  --line: rgba(200, 208, 218, 0.18);
  --muted: rgba(200, 208, 218, 0.72);
  --danger: #d96a5a;
  --ok: #3d9a6a;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 84px;
  --header-h-scrolled: 64px;
  --wrap: 1400px;
  --font-display: "Outfit", "Noto Sans TC", sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --amber-deep: #1490c8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 开场 Logo */
html.intro-pending,
html.intro-pending body {
  overflow: hidden;
}

.site-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

html.intro-pending .site-intro {
  display: flex;
  pointer-events: auto;
}

.site-intro.is-gone {
  display: none !important;
}

.site-intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(46, 184, 245, 0.18), transparent 62%),
    linear-gradient(160deg, #0a1018 0%, #15202b 48%, #0c1520 100%);
}

.site-intro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem;
  text-align: center;
}

.site-intro-logo {
  width: min(52vw, 220px);
  height: auto;
  max-height: 96px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.82);
  filter: drop-shadow(0 0 0 rgba(46, 184, 245, 0));
}

.site-intro-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(12px);
}

.site-intro.is-play .site-intro-logo {
  animation: introLogoIn 1.35s var(--ease) 0.15s forwards;
}

.site-intro.is-play .site-intro-brand {
  animation: introBrandIn 0.9s var(--ease) 0.95s forwards;
}

.site-intro.is-out {
  animation: introFadeOut 0.7s var(--ease) forwards;
}

.site-intro-skip {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-intro.is-play .site-intro-skip {
  animation: introBrandIn 0.5s var(--ease) 1.2s forwards;
}

.site-intro-skip:hover {
  color: #fff;
  border-color: rgba(46, 184, 245, 0.55);
  background: rgba(46, 184, 245, 0.14);
}

@keyframes introLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.78);
    filter: drop-shadow(0 0 0 rgba(46, 184, 245, 0));
  }
  55% {
    opacity: 1;
    transform: scale(1.06);
    filter: drop-shadow(0 0 28px rgba(46, 184, 245, 0.45));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 16px rgba(46, 184, 245, 0.28));
  }
}

@keyframes introBrandIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro,
  html.intro-pending .site-intro {
    display: none !important;
  }
  html.intro-pending,
  html.intro-pending body {
    overflow: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fog);
  background: #eef4f8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

p {
  margin: 0 0 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.6rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.btn-primary:hover {
  color: #fff;
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  filter: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(46, 184, 245, 0.45);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--amber);
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.ico {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #0c1218;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: #0c1218;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: min(220px, 42vw);
  border-radius: 10px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0.7rem;
  color: var(--fog);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--amber);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-cta .btn {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}

/* Hero — home full-bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 6.5rem 0 7rem;
  background-color: var(--steel);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 10, 16, 0.94) 0%, rgba(6, 10, 16, 0.82) 34%, rgba(6, 10, 16, 0.35) 62%, rgba(6, 10, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.28) 0%, transparent 36%, rgba(6, 10, 16, 0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.hero-copy {
  max-width: min(38rem, 100%);
  animation: heroFadeUp 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7.2vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.08;
  margin: 0 0 0.45rem;
  color: #fff;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

.hero-en {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin: 0 0 1.35rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: rgba(232, 238, 243, 0.9);
  margin: 0 0 1.85rem;
  max-width: 32rem;
  white-space: normal;
  line-height: 1.75;
}

.hero-actions {
  display: none;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 2rem;
  row-gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.86rem, 1.35vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  white-space: nowrap;
  background: none;
  border: none;
  box-shadow: none;
}

.hero-trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(46, 184, 245, 0.22);
  flex-shrink: 0;
  transform-origin: center;
  animation: heroTrustBreath 2.4s ease-in-out infinite;
  will-change: transform, opacity, box-shadow;
}

.hero-trust li:nth-child(2)::before { animation-delay: 0.4s; }
.hero-trust li:nth-child(3)::before { animation-delay: 0.8s; }
.hero-trust li:nth-child(4)::before { animation-delay: 1.2s; }

@keyframes heroTrustBreath {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.65;
    box-shadow: 0 0 0 2px rgba(46, 184, 245, 0.12);
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
    box-shadow: 0 0 10px 4px rgba(46, 184, 245, 0.55);
  }
}

.hero-trust li:not(:last-child)::after {
  content: none;
  display: none;
}

.hero-trust .trust-chip,
.hero-trust .trust-chip-1,
.hero-trust .trust-chip-2,
.hero-trust .trust-chip-3,
.hero-trust .trust-chip-4 {
  all: unset;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.35rem;
}

.hero-scroll:hover {
  color: var(--amber-soft);
}

.hero-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-dot {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--amber-soft);
  animation: heroScrollDot 1.6s var(--ease) infinite;
}

.hero-scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: heroScrollArrow 1.6s var(--ease) infinite;
  opacity: 0.85;
}

@keyframes heroScrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes heroScrollArrow {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.45; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.hero-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(46, 184, 245, 0.45);
  animation: heroPointBreath 2.6s ease-in-out infinite;
  will-change: transform, opacity, box-shadow;
}

.hero-points li:nth-child(2)::before { animation-delay: 0.35s; }
.hero-points li:nth-child(3)::before { animation-delay: 0.7s; }
.hero-points li:nth-child(4)::before { animation-delay: 1.05s; }

@keyframes heroPointBreath {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.72;
    box-shadow: 0 0 0 0 rgba(46, 184, 245, 0.15);
  }
  50% {
    transform: scale(1.28);
    opacity: 1;
    box-shadow: 0 0 8px 2px rgba(46, 184, 245, 0.55);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero (subpages) */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  color: #fff;
  overflow: hidden;
  background-color: var(--steel, #15202b);
  background-image: var(--page-hero-image, none);
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,12,18,0.78) 0%, rgba(8,12,18,0.45) 55%, rgba(8,12,18,0.35) 100%),
    linear-gradient(0deg, rgba(8,12,18,0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.5rem;
  color: #fff;
}

.page-hero .lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-more {
  margin-top: 2rem;
  text-align: center;
}

/* Service grid / cards (interactive lists) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(46, 184, 245, 0.45);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(46, 184, 245, 0.12);
  color: var(--amber);
  margin-bottom: 1rem;
}

.service-icon.lg {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.service-ico {
  width: 24px;
  height: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.service-block-media {
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: #0a1016;
  min-height: 260px;
  display: block;
}

.service-block-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: auto;
}

.service-block-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.6rem 1.85rem;
  min-width: 0;
}

.service-block-body .summary {
  color: var(--amber-soft);
  font-weight: 500;
  margin: 0 0 0.85rem;
}

.service-block-body h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.45rem;
}

.service-block-body .prose {
  margin: 0;
}

.service-block-body .prose p {
  margin: 0 0 0.65rem;
}

.service-block-body .prose p:last-child {
  margin-bottom: 0;
}

.service-block-body > .btn {
  align-self: flex-start;
  margin-top: 1.35rem;
  width: auto;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.gallery-masonry {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gallery-item .gallery-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a1016;
  padding: 0;
}

.gallery-item .gallery-media img,
.gallery-item .gallery-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  background: #0a1016;
}

.gallery-item-video .gallery-media {
  aspect-ratio: 3 / 4;
  background: #000;
}

.gallery-item-video .gallery-media video {
  object-fit: cover;
}

.gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: none;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.gallery-play:hover {
  color: #fff;
  background: rgba(46, 184, 245, 0.9);
  transform: translate(-50%, -50%) scale(1.04);
}

.gallery-play-ico {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.gallery-play-only {
  position: static;
  transform: none;
  margin: 2rem auto;
}

.gallery-play-only:hover {
  transform: scale(1.04);
}

.gallery-missing {
  color: var(--muted);
  padding: 2rem;
  font-size: 0.9rem;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item .gallery-media img,
.gallery-item .gallery-media video {
  height: 100%;
}

.gallery-item figcaption {
  position: static;
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  border-top: 1px solid var(--line);
  flex: 1 1 auto;
  box-sizing: border-box;
}

.gallery-item figcaption strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
}

.gallery-item figcaption span {
  font-size: 0.88rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Home cases album */
.gallery-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 184, 245, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.gallery-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a1016;
  padding: 0;
}

.gallery-card.gallery-item-video .gallery-media {
  background: #000;
}

.gallery-media img,
.gallery-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  background: #0a1016;
}

.gallery-card.gallery-item-video .gallery-media video {
  object-fit: cover;
}

.gallery-card figcaption {
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid var(--line);
  background: var(--panel);
  flex: 1 1 auto;
  box-sizing: border-box;
}

.gallery-card figcaption strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.3;
}

.gallery-card figcaption span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* About */
.about-split,
.about-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.about-page {
  align-items: stretch;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.feature-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

.feature-list.compact li {
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem 0.9rem 1.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  height: 100%;
}

.feature-list li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9rem 0.75rem 1.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--fog);
  font-size: 0.95rem;
  line-height: 1.45;
  min-width: 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.meta-dl {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.meta-dl > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.meta-dl dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-dl dd {
  margin: 0;
  color: var(--paper);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.news-card:hover {
  border-color: rgba(46, 184, 245, 0.4);
  transform: translateY(-3px);
}

.news-card .news-cover {
  display: block;
  overflow: hidden;
  background: #0a1016;
}

.news-card .news-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.news-body time {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.news-body h3,
.news-body h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.news-body h3 a,
.news-body h2 a {
  color: #fff;
}

.news-body h3 a:hover,
.news-body h2 a:hover {
  color: var(--amber-soft);
}

.news-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

/* News list page */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-row {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-row:hover {
  border-color: rgba(46, 184, 245, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.news-row .news-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0a1016;
  align-self: stretch;
  min-height: 200px;
}

.news-row .news-cover img,
.news-row .news-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: auto;
  min-height: 0;
  max-height: none;
}

.news-row .news-body {
  padding: 1.35rem 1.75rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.news-row .news-body h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0;
}

.news-row .news-body p {
  margin: 0.15rem 0 0.5rem;
  max-width: 48rem;
}

.news-row .text-link {
  margin-top: 0.25rem;
  align-self: flex-start;
}

.news-cover {
  display: block;
  overflow: hidden;
}

.news-cover-video {
  position: relative;
}

.news-play {
  position: absolute;
  inset: auto 0.75rem 0.75rem auto;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.article-wrap {
  max-width: 820px;
}

.article time {
  display: block;
  color: var(--muted);
  margin-bottom: 1rem;
}

.article-cover {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-source,
.article-back {
  margin-top: 1.75rem;
}

/* Prose */
.prose p {
  color: var(--fog);
}

.prose p + p {
  margin-top: 0.85rem;
}

/* CTA */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 184, 245, 0.28);
  background:
    linear-gradient(135deg, rgba(46, 184, 245, 0.12), transparent 55%),
    var(--panel);
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-info,
.contact-form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.75rem;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.55rem;
  margin-bottom: 1.1rem;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--fog);
}

.contact-info a {
  color: var(--paper);
}

.contact-info a:hover {
  color: var(--amber-soft);
}

.map-embed {
  margin-top: 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
  background: var(--steel);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--paper);
}

.field label span {
  color: var(--amber);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.55);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(46, 184, 245, 0.65);
  box-shadow: 0 0 0 3px rgba(46, 184, 245, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fog) 50%), linear-gradient(135deg, var(--fog) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.flash {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.flash-ok {
  background: rgba(61, 154, 106, 0.15);
  border: 1px solid rgba(61, 154, 106, 0.4);
  color: #9fd6b8;
}

.flash-err {
  background: rgba(217, 106, 90, 0.12);
  border: 1px solid rgba(217, 106, 90, 0.4);
  color: #f0b0a6;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding-top: 3rem;
  border-top: none;
  position: relative;
  background: #0a1016;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.85fr 0.85fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(220px, 70%);
  margin-bottom: 0.85rem;
  border-radius: 12px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-points {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer h3 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  color: var(--amber);
}

.site-footer p {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--fog);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer a:hover {
  color: var(--amber-soft);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-copy {
  border-top: none;
  padding: 1rem 0 1.35rem;
  position: relative;
  background: transparent;
}

.footer-copy p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact dock — bottom RIGHT fixed */
.contact-dock {
  position: fixed !important;
  right: max(1rem, env(safe-area-inset-right, 0px)) !important;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px)) !important;
  left: auto !important;
  top: auto !important;
  z-index: 200 !important;
  pointer-events: none;
}

.contact-dock-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  pointer-events: auto;
}

.dock-row {
  display: contents;
}

.dock-main,
.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), filter 0.2s ease;
}

.dock-main span,
.dock-btn span:not(.dock-top-ico) {
  display: none;
}

.dock-main .ico,
.dock-btn .ico {
  width: 22px;
  height: 22px;
  color: #fff;
}

.dock-main:hover,
.dock-btn:hover {
  transform: translateY(-2px) scale(1.06);
  color: #fff;
  filter: brightness(1.06);
}

.dock-wa { background: #25d366; }
.dock-phone { background: linear-gradient(145deg, #2eb8f5, #1490c8); }
.dock-fb { background: #1877f2; }
.dock-wechat { background: #07c160; }

.dock-wechat-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-wechat-pop {
  position: absolute;
  right: calc(100% + 0.7rem);
  bottom: 0;
  z-index: 5;
  box-sizing: border-box;
  width: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.7rem 0.55rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.dock-wechat-pop img {
  display: block;
  width: 148px;
  height: 148px;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 8px;
}

.dock-wechat-pop span {
  display: block !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  line-height: 1.2 !important;
  color: #15202b;
  white-space: nowrap;
}

.dock-wechat-wrap:hover .dock-wechat-pop,
.dock-wechat-wrap.is-open .dock-wechat-pop,
.dock-wechat-wrap:focus-within .dock-wechat-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.dock-top {
  background: var(--panel);
  border: 1px solid var(--line);
}

.dock-top-ico {
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--amber-soft);
  border-top: 2px solid var(--amber-soft);
  transform: rotate(45deg);
  margin-top: 4px;
}

/* legacy fab aliases */
.fab-bar { display: none; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-masonry,
  .gallery-home,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    background: #0c1218;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav-panel {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .header-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta .btn {
    width: 100%;
  }

  .about-split,
  .about-page,
  .service-block,
  .contact-grid,
  .cta-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }

  .service-block-media,
  .service-block-media img {
    min-height: 200px;
    max-height: 240px;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .service-block-body {
    padding: 1.35rem 1.25rem 1.45rem;
  }

  .news-row {
    grid-template-columns: 1fr;
  }

  .news-row .news-cover {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
    --header-h-scrolled: 60px;
  }

  .brand strong {
    font-size: 1.15rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    /* 菜单栏 + Banner 占满首屏，下一区块需下滑才可见 */
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding: 3.25rem 0 4.5rem;
    align-items: center;
    box-sizing: border-box;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-sub {
    white-space: normal;
    max-width: 100%;
    margin-bottom: 1.45rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    max-width: 100%;
    row-gap: 0.65rem;
    column-gap: 0;
  }

  .hero-trust li {
    white-space: normal;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
  }

  .hero-brand {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.25rem 0;
  }

  .service-grid,
  .gallery-grid,
  .gallery-masonry,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .meta-dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .dock-btn, .dock-main {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .footer-copy {
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-copy,
  .btn,
  .gallery-item img,
  .site-header,
  .brand img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-scroll-dot,
  .hero-scroll-arrow {
    animation: none !important;
  }

  .hero-points li::before,
  .hero-trust li::before {
    animation: none !important;
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 3px rgba(46, 184, 245, 0.2);
  }

}
/* —— 首页/内页补齐（稳定版） —— */
.soft-aura { display: none; }

.trust-strip {
  display: none;
}

.trust-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.audience-card {
  position: relative;
  padding: 1.55rem 1.4rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 22, 40, 0.12);
}

.audience-card:nth-child(1) {
  background: #dff6ff;
  border-color: rgba(46, 184, 245, 0.28);
}

.audience-card:nth-child(2) {
  background: #e5f8ef;
  border-color: rgba(46, 180, 120, 0.28);
}

.audience-card:nth-child(3) {
  background: #eef2ff;
  border-color: rgba(100, 130, 220, 0.28);
}

.audience-card:nth-child(4) {
  background: #fff4e5;
  border-color: rgba(230, 160, 60, 0.3);
}

.audience-card h3 {
  margin: 0 0 0.45rem;
  color: #0c1a2e;
  position: relative;
  z-index: 1;
}

.audience-card p {
  margin: 0;
  color: #4a6578;
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
  max-width: 92%;
}

.audience-card .deco-icon {
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  width: 72px;
  height: 72px;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

.deco-icon {
  position: absolute;
  right: 0.5rem;
  bottom: 0.35rem;
  width: 64px;
  height: 64px;
  opacity: 0.14;
  pointer-events: none;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-steps > li {
  position: relative;
  padding: 1.35rem 1.2rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.process-steps > li > .step-num,
.process-steps > li > h3,
.process-steps > li > p {
  position: relative;
  z-index: 1;
}

.process-steps > li .deco-icon {
  position: absolute;
  right: -6%;
  top: 52%;
  bottom: auto;
  left: auto;
  width: min(68%, 168px);
  height: auto;
  max-height: none;
  transform: translateY(-50%);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.service-card {
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(46, 184, 245, 0.4);
  transform: translateY(-3px);
}

.service-card-media {
  display: block;
  overflow: hidden;
  background: #0a1016;
}

.service-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.service-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.service-card-body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-icon {
  display: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.why-card {
  padding: 1.4rem 1.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.why-card p { margin: 0; color: var(--muted); }

.section-shell { /* noop alias */ }

.section-more {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-brand { color: #fff; border-color: transparent; }
.btn-brand:hover { color: #fff; filter: brightness(1.06); }
.btn-wa { background: #25d366; }
.btn-wa:hover { background: #1ebe57; color: #fff; }
.btn-fb { background: #1877f2; }
.btn-wechat { background: #07c160; }
.btn-xhs { background: #ff2442; }

.about-layout,
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.about-layout .about-media,
.about-split .about-media {
  height: 100%;
  min-height: 100%;
  display: flex;
}

.about-layout .about-media img,
.about-split .about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  object-fit: cover;
  align-self: stretch;
}

.about-layout .about-copy,
.about-split .about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.about-layout .about-copy .prose,
.about-split .about-copy .prose {
  margin: 0;
  width: 100%;
}

.about-layout .about-copy .prose + .prose,
.about-split .about-copy .prose + .prose {
  margin-top: 0.85rem;
}

.about-layout .about-copy .prose p,
.about-split .about-copy .prose p {
  margin-bottom: 0.65rem;
}

.about-layout .about-copy .prose p:last-child,
.about-split .about-copy .prose p:last-child {
  margin-bottom: 0;
}

.about-layout .about-copy > .btn,
.about-split .about-copy > .btn {
  align-self: flex-start;
  margin-top: 1.75rem;
  width: auto;
  min-width: 9.5rem;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.4rem;
}

.about-layout .feature-list,
.about-split .feature-list {
  margin: 1.15rem 0 0;
}

.about-layout .about-actions,
.about-split .about-actions {
  margin-top: 1.35rem;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.meta-dl {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.contact-panel {
  order: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.contact-panel-title { margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.contact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  min-width: 0;
}
.contact-pair .contact-row {
  min-width: 0;
}
.contact-pair .contact-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  color: inherit;
  text-decoration: none;
}
.contact-row:hover { border-color: var(--line); color: #fff; }
.contact-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(46,184,245,0.12); color: var(--amber-soft); flex-shrink: 0;
}
.contact-ico .ico {
  color: inherit;
}
.contact-row.is-phone .contact-ico {
  color: #2eb8f5;
  background: rgba(46, 184, 245, 0.16);
}
.contact-row.is-wa .contact-ico {
  color: #25d366;
  background: rgba(37, 211, 102, 0.16);
}
.contact-row.is-wechat .contact-ico {
  color: #07c160;
  background: rgba(7, 193, 96, 0.16);
}

.contact-wechat-qr {
  align-items: flex-start;
}

.contact-wechat-qr .contact-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.contact-wechat-qr .contact-text strong {
  font-size: 0.98rem;
  color: #fff;
}

.contact-wechat-qr .contact-text .muted {
  font-size: 0.82rem;
  color: var(--muted);
}

.wechat-qr-img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin-top: 0.35rem;
  border-radius: 10px;
  background: #fff;
  padding: 0.35rem;
}

.footer-wechat-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0;
}

.footer-wechat-qr img {
  width: 128px;
  height: 128px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 0.35rem;
}

.footer-wechat-qr span {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-col-wechat .footer-wechat-qr {
  margin-top: 0.15rem;
}
.contact-row.is-mail .contact-ico {
  color: #ea4335;
  background: rgba(234, 67, 53, 0.16);
}
.contact-row.is-pin .contact-ico {
  color: #ea4335;
  background: rgba(234, 67, 53, 0.14);
}
.contact-row.is-hours .contact-ico {
  color: #f4b942;
  background: rgba(244, 185, 66, 0.14);
}
.contact-row.is-fb .contact-ico {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.16);
}
.contact-row.is-xhs .contact-ico {
  color: #ff2442;
  background: rgba(255, 36, 66, 0.16);
}
.contact-cta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  align-items: stretch;
}
.contact-cta-row .btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  justify-content: center;
  white-space: nowrap;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
.page-contact .contact-cta-row .btn-lg {
  min-height: 48px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.92rem;
}

@media (min-width: 881px) {
  .page-contact .contact-cta-row {
    gap: 0.85rem;
  }
  .page-contact .contact-cta-row .btn-lg {
    min-height: 54px;
    padding: 0.9rem 1.6rem;
    font-size: 1.02rem;
  }
}

@media (max-width: 420px) {
  .page-contact .contact-cta-row .btn-lg {
    font-size: 0.82rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    gap: 0.3rem;
  }
}

.contact-map {
  order: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  height: 100%;
  align-self: stretch;
  position: relative;
  background: var(--panel);
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.social-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-top: 1rem;
  align-items: stretch;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  min-height: 2.4rem;
  border-radius: 999px;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease;
}
.social-chip span {
  white-space: nowrap;
  word-break: keep-all;
}
.social-chip .social-ico,
.social-chip .ico {
  color: #fff;
  flex-shrink: 0;
}
.social-chip:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}
.social-wa {
  background: #25d366;
}
.social-fb {
  background: #1877f2;
}
.social-wechat {
  background: #07c160;
}
.social-xhs {
  background: #ff2442;
}

@media (max-width: 640px) {
  .site-footer .social-links {
    gap: 0.4rem;
    width: 100%;
  }
  .site-footer .social-chip {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
}

.contact-line {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--fog); text-decoration: none;
}
.contact-line:hover { color: var(--amber-soft); }
.contact-line.social-text-wa { color: #6ee7a0; }
.contact-line.social-text-wa:hover { color: #8ff0b5; }
.contact-line.social-text-wechat { color: #5ee0a0; }

.service-fit {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
  gap: 1.35rem 1.75rem;
  align-items: center;
  padding: 1.35rem;
  margin-bottom: 2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-fit-media {
  margin: 0;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1016;
  min-height: 180px;
}
.service-fit-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 260px;
  object-fit: cover;
  display: block;
}
.service-fit-copy {
  min-width: 0;
  padding-right: 0.35rem;
}
.service-fit h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #fff;
}
.service-fit-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.service-fit .deco-icon {
  display: none;
}

.service-block-media.is-deco,
.service-deco {
  display: none;
}
.service-block-body .service-icon {
  display: none;
}

.article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-wrap { max-width: 820px; }
.article-back { margin-top: 1.25rem; }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }

.footer-logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(220px, 70%);
  margin-bottom: 0.85rem;
  border-radius: 12px;
  object-fit: contain;
  object-position: left center;
}
.footer-brand { font-weight: 700; color: #fff; margin: 0 0 0.35rem; }
.footer-points { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }

@media (max-width: 880px) {
  .audience-grid,
  .service-grid,
  .why-grid,
  .process-steps,
  .about-layout,
  .about-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 280px;
    height: 280px;
  }
  .about-layout .about-media img,
  .about-split .about-media img,
  .about-media img {
    min-height: 260px;
    max-height: 360px;
  }
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-list.compact {
    grid-template-columns: 1fr;
  }
  .gallery-home,
  .gallery-grid,
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-fit { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gallery-home,
  .gallery-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
  .feature-list,
  .feature-list.compact {
    grid-template-columns: 1fr;
  }
  .gallery-media {
    min-height: 0;
    padding: 0;
  }
  .gallery-media img,
  .gallery-media video {
    max-height: none;
  }
  .footer-copy { padding-bottom: 2.25rem; }
}

/* Home / content section backgrounds only ? keep original content colors */
.section-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #eef4f8;
}

.section-band > .wrap {
  position: relative;
  z-index: 1;
}

.section-band::before,
.section-band::after {
  content: none;
  display: none;
}

.section-band--light {
  background-color: #eef4f8;
}

.section-band--soft {
  background-color: #e4ebf1;
}

/* Titles sit on light bg ? readability only */
.section-band--light .section-head h2,
.section-band--soft .section-head h2,
.section-band--light .about-copy h2,
.section-band--soft .about-copy h2 {
  color: #0c1a2e;
}

.section-band--light .section-head .lead,
.section-band--soft .section-head .lead,
.section-band--light .about-copy .prose,
.section-band--soft .about-copy .prose,
.section-band--light .about-copy .prose p,
.section-band--soft .about-copy .prose p {
  color: #4a6578;
}

.section-band--light .kicker,
.section-band--soft .kicker {
  color: var(--amber-deep);
}

/* Contact CTA ? keep photo atmosphere */
.section-band--cta {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #0a1016;
}

.section-band--cta::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.section-band--cta::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(6, 12, 20, 0.82) 0%, rgba(6, 12, 20, 0.55) 48%, rgba(6, 18, 30, 0.72) 100%),
    radial-gradient(700px 360px at 80% 50%, rgba(46, 184, 245, 0.18), transparent 60%);
}

.section-band--cta .cta-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:
    linear-gradient(135deg, rgba(46, 184, 245, 0.16), rgba(27, 40, 54, 0.55) 55%),
    rgba(15, 24, 34, 0.55);
  border-color: rgba(46, 184, 245, 0.38);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* Inner pages: light section background only */
.page-sub .section,
.page-cases .section-cases-page,
.page-services .section-services-page,
.page-about .section-about-page,
.page-contact .section-contact {
  background: #eef4f8;
}

.page-cases .gallery-masonry,
.page-cases .gallery-grid {
  align-items: stretch;
}

.page-cases .gallery-item {
  background: var(--panel);
}

.page-cases .gallery-item figcaption {
  background: var(--panel);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}

.pager-btn,
.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0c1a2e;
  background: #fff;
  border: 1px solid rgba(12, 26, 46, 0.12);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

a.pager-btn:hover,
a.pager-num:hover {
  color: #041018;
  border-color: var(--amber);
  background: rgba(46, 184, 245, 0.12);
}

.pager-num.is-current {
  color: #041018;
  background: var(--amber);
  border-color: transparent;
  font-weight: 600;
}

.pager-btn.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.page-sub .section .section-head h2,
.page-about .about-copy h2 {
  color: #0c1a2e;
}

.page-contact .contact-panel-title {
  color: #fff;
}

.page-sub .section .lead,
.page-about .about-copy .prose,
.page-about .about-copy .prose p {
  color: #4a6578;
}

.page-about .section-process.soft {
  background: #e4ebf1;
}

.page-about .section-process .section-head h2 {
  color: #0c1a2e;
}

.page-about .section-process .kicker {
  color: var(--amber-deep);
}

.page-about .feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.page-about .feature-list li {
  background: var(--panel);
  border-color: rgba(200, 208, 218, 0.18);
  color: #e8eef3;
  box-shadow: 0 10px 24px rgba(10, 20, 30, 0.12);
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  padding: 0.65rem 0.55rem 0.65rem 1.55rem;
  white-space: nowrap;
}

.page-about .feature-list li::before {
  left: 0.55rem;
}

@media (max-width: 1100px) {
  .page-about .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.55rem;
  }
  .page-about .feature-list li {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    font-size: 0.88rem;
    padding: 0.7rem 0.55rem 0.7rem 1.5rem;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-about .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.5rem;
  }
  .page-about .feature-list li {
    width: 100%;
    min-height: 2.75rem;
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 0.65rem 0.45rem 0.65rem 1.35rem;
  }
  .page-about .feature-list li::before {
    left: 0.45rem;
    width: 6px;
    height: 6px;
  }
}

.page-about .about-actions .btn-ghost {
  color: #0c1a2e;
  background: #fff;
  border-color: rgba(20, 60, 90, 0.22);
}

.page-about .about-actions .btn-ghost:hover {
  color: #fff;
  background: var(--amber-deep);
  border-color: var(--amber-deep);
}

.page-about .process-steps > li {
  background: var(--panel);
  border-color: rgba(200, 208, 218, 0.18);
  box-shadow: 0 12px 28px rgba(10, 20, 30, 0.1);
}

.page-about .process-steps h3 {
  color: #fff;
}

.page-about .process-steps p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .section-band--cta {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
