* {
  box-sizing: border-box;
}

:root {
  --ink: #10151a;
  --muted: #66717c;
  --line: #e1e6eb;
  --surface: #ffffff;
  --soft: #f4f6f8;
  --green: #0d7d6d;
  --green-dark: #0a6156;
  --amber: #c77716;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 32px;
  color: #fff;
  background: rgba(13, 16, 20, 0.88);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: auto;
  height: 80px;
  object-fit: contain;
}

.brand-text {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.site-links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  transform: translateX(-50%);
}

.site-links a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  color: #fff;
  background: var(--green);
}

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

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.login-btn {
  min-height: 38px;
  padding: 0 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 96px;
  color: #fff;
  background-color: #10151a;
  background-image: url("/hero.png");
  background-size: cover;
  background-position: center;
}

.hero.hero-home {
  min-height: 100vh;
  padding: 130px 32px 60px;
  text-align: center;
}

.hero-home .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10vh;
  position: static;
}

.home-logo {
  width: min(360px, 82vw);
  height: auto;
  margin-bottom: 26px;
  object-fit: contain;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.55);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(20px, 3.6vw, 34px);
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
}

.hero-home h1 {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.hero-home .hero-lead {
  position: absolute;
  bottom: 100px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px;
}

.band {
  max-width: none;
  background: var(--soft);
}

.band .section-head,
.band .service-grid,
.band .team-grid,
.band .contact-panel {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.service-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.team-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card h3,
.team-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.service-card p,
.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-count {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.case-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
}

.filter-btn.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.case-toolbar input {
  width: min(300px, 100%);
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.case-category {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.case-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0;
}

.case-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 40px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(13, 125, 109, 0.06), rgba(199, 119, 22, 0.06)),
    var(--soft);
  font-size: 16px;
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-panel p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

footer {
  padding: 30px 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #10151a;
  text-align: center;
  font-size: 13px;
}

footer p {
  margin: 4px 0;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 0;
    padding: 0 12px;
    justify-content: flex-start;
  }

  .site-nav .login-btn {
    order: 2;
    margin-left: auto;
    margin-right: 4px;
  }

  .nav-toggle {
    display: flex;
    order: 1;
    margin-left: 8px;
  }

  .site-links {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 16px;
    background: rgba(13, 16, 20, 0.97);
    z-index: 30;
    transform: none;
  }

  .site-links.open {
    display: flex;
  }

  .site-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  .hero {
    min-height: 66vh;
    padding: 120px 20px 70px;
  }

  .service-grid,
  .team-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 18px;
  }
}

.hero-home {
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  z-index: 1;
}

.hero-inner {
  z-index: 2;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 12, 16, 0.25);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: rgba(8, 12, 16, 0.55);
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: #fff;
}

.hero-actions {
  position: absolute;
  bottom: 50px;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  transform: translateX(-50%);
  z-index: 5;
}

.home-logo {
  position: absolute;
  top: 72%;
  left: 50%;
  width: min(760px, 92vw);
  margin-bottom: 0;
  opacity: 0.75;
  transform: translate(-50%, -50%);
  z-index: 5;
}

@media (max-width: 640px) {
  .brand img {
    height: 63px;
  }

  .hero-home .hero-inner {
    margin-top: 6vh;
  }

  .home-logo {
    width: min(88vw, 640px);
  }

  .hero h1 {
    bottom: 150px;
    font-size: clamp(20px, 5.2vw, 30px);
  }

  .hero-home .hero-lead {
    bottom: 120px;
  }

  .hero-actions {
    bottom: 50px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .hero-arrow-prev {
    left: 12px;
  }

  .hero-arrow-next {
    right: 12px;
  }

  .hero-dots {
    bottom: 30px;
  }
}
