:root {
  --ink: #0c1a1f;
  --ink-soft: #3d5259;
  --muted: #6b7f86;
  --paper: #f4f7f6;
  --paper-deep: #e8efed;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --sky: #0369a1;
  --line: rgba(12, 26, 31, 0.1);
  --shadow: 0 20px 50px rgba(12, 26, 31, 0.08);
  --font-display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(244, 247, 246, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 246, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, var(--teal-bright), var(--sky));
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 7rem 1.5rem 4.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(3, 105, 161, 0.16), transparent 50%),
    linear-gradient(165deg, #edf4f2 0%, #dce8e6 42%, #c5d8d9 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.draw-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.4s var(--ease) forwards;
}

.draw-line.delay-1 { animation-delay: 0.25s; }
.draw-line.delay-2 { animation-delay: 0.5s; }

.pulse-node {
  opacity: 0;
  animation: pulse-in 0.8s var(--ease) forwards, glow 2.8s ease-in-out infinite;
  animation-delay: 1.2s, 2s;
}

.pulse-node.delay-1 { animation-delay: 1.35s, 2.2s; }
.pulse-node.delay-2 { animation-delay: 1.5s, 2.4s; }
.pulse-node.delay-3 { animation-delay: 1.65s, 2.6s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse-in {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #f7fbfa;
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-ghost {
  border: 1px solid rgba(12, 26, 31, 0.2);
  background: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.section {
  padding: 5.5rem 1.5rem;
}

.section-inner {
  max-width: 68rem;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

.section-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.about {
  background: #fff;
}

.facts {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.facts dt {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.facts dd {
  font-weight: 600;
  font-size: 1rem;
  word-break: break-all;
}

.services {
  background:
    linear-gradient(180deg, var(--paper-deep), var(--paper));
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  gap: 0.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.service-list li:hover {
  padding-left: 0.5rem;
}

.service-list h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.service-list p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.contact-block h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.4;
}

a.contact-value:hover {
  color: var(--teal);
}

.address {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: rgba(247, 251, 250, 0.78);
  padding: 2.75rem 1.5rem 2.25rem;
}

.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer-address {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-address a,
.footer-copy a {
  color: #5eead4;
}

.footer-address a:hover,
.footer-copy a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(247, 251, 250, 0.55);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 720px) {
  .site-header {
    padding: 1.1rem 2.5rem;
  }

  .nav {
    display: flex;
  }

  .hero {
    padding: 8rem 2.5rem 5rem;
    align-items: center;
  }

  .hero-content {
    max-width: 48rem;
  }

  .hero-lead {
    max-width: 40ch;
  }

  .section {
    padding: 6.5rem 2.5rem;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
  }

  .service-list li {
    grid-template-columns: 14rem 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .contact-block-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-brand {
    margin-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw-line,
  .pulse-node,
  .hero-content,
  .btn,
  .service-list li {
    animation: none !important;
    transition: none !important;
  }
  .draw-line { stroke-dashoffset: 0; }
  .pulse-node { opacity: 1; }
  .hero-content { opacity: 1; transform: none; }
}
