:root {
  --ink: #192334;
  --muted: #657185;
  --line: #dbe1ea;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --blue: #164c8f;
  --red: #b7272d;
  --gold: #c8912a;
  --green: #1f7a63;
  --shadow: 0 16px 45px rgba(18, 36, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #101a29;
  color: #d9e2ef;
  font-size: 13px;
}

.topbar__inner,
.header__inner,
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar__inner {
  min-height: 36px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.hotline {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header__inner {
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 6px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 28px 14px;
  color: #243047;
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  height: min(650px, calc(100vh - 120px));
  min-height: 500px;
  overflow: hidden;
  background: #111d2d;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 20, 36, 0.86), rgba(9, 20, 36, 0.36) 55%, rgba(9, 20, 36, 0.1)),
    linear-gradient(0deg, rgba(9, 20, 36, 0.45), transparent 45%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.hero__content p {
  margin: 0 0 14px;
  color: #ffe0a3;
  font-size: 18px;
}

.hero__content h1 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.primary-btn,
.message-form button,
.job-list button,
.search-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  cursor: pointer;
}

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 36px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

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

.notice {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.notice__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 54px;
}

.notice strong {
  color: var(--red);
  white-space: nowrap;
}

.ticker {
  overflow: hidden;
  color: var(--muted);
}

.ticker span {
  display: inline-block;
  animation: ticker 18s linear infinite;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(80%);
  }
  to {
    transform: translateX(-100%);
  }
}

.section {
  padding: 86px 0;
}

.section--muted {
  background: var(--soft);
}

.section-title {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-title--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-title span,
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title h2,
.about__text h2,
.contact h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.25;
}

.section-title p,
.about__text p,
.contact p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

.service-card,
.case-card,
.job-list article,
.side-panel,
.message-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(18, 36, 64, 0.07);
}

.service-card {
  overflow: hidden;
}

.service-card img,
.case-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.service-card div,
.case-card {
  padding: 22px;
}

.service-card h3,
.case-card h3,
.job-list h3,
.side-panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.service-card p,
.case-card p,
.job-list p,
.side-panel p {
  margin: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.about__media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about__media img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stats div {
  padding: 18px;
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--blue);
  font-size: 28px;
}

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.case-tabs button {
  min-height: 38px;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.case-tabs button.is-active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

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

.case-card {
  overflow: hidden;
  padding: 0;
}

.case-card.is-hidden {
  display: none;
}

.case-card h3,
.case-card p {
  padding-right: 22px;
  padding-left: 22px;
}

.case-card h3 {
  padding-top: 20px;
}

.case-card p {
  padding-bottom: 22px;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-date {
  display: grid;
  place-items: center;
  min-height: 74px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.news-date strong,
.news-date span {
  display: block;
  text-align: center;
}

.news-date strong {
  font-size: 26px;
  line-height: 1;
}

.news-date span {
  margin-top: 5px;
  font-size: 12px;
}

.news-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.news-item p {
  margin: 0;
  color: var(--muted);
}

.side-panel {
  padding: 24px;
}

.side-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 8px;
}

.search-row input,
.message-form input,
.message-form select,
.message-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.search-row input,
.message-form input,
.message-form select {
  height: 44px;
  padding: 0 12px;
}

.side-panel p {
  margin-top: 12px;
  font-size: 14px;
}

.jobs {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 36px;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.job-list article {
  padding: 24px;
}

.job-list button {
  margin-top: 18px;
  background: var(--green);
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 26, 47, 0.94), rgba(22, 76, 143, 0.84)),
    url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 46px;
  align-items: start;
}

.contact p,
.contact-list {
  color: #dce6f5;
}

.contact-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.contact-list li {
  margin: 9px 0;
}

.map-box {
  display: grid;
  min-height: 160px;
  place-items: center;
  color: #172238;
  font-size: 26px;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(225, 232, 241, 0.8)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(22, 76, 143, 0.12) 18px, rgba(22, 76, 143, 0.12) 20px);
  border-radius: 8px;
}

.message-form {
  display: grid;
  gap: 15px;
  padding: 28px;
  color: var(--ink);
}

.message-form label {
  display: grid;
  gap: 7px;
  color: #344057;
}

.message-form textarea {
  min-height: 128px;
  padding: 10px 12px;
  resize: vertical;
}

.message-form button {
  background: var(--red);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
}

.footer {
  padding: 24px 0;
  color: #cbd4e1;
  background: #101a29;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fff;
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 84px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-bottom: 0;
  }

  .service-grid,
  .case-grid,
  .job-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about,
  .news-layout,
  .jobs,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small,
  .topbar__links .hotline {
    display: none;
  }

  .hero {
    height: 540px;
    min-height: 540px;
  }

  .hero__content h1 {
    font-size: 34px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .case-grid,
  .job-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-date {
    width: 88px;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
