:root {
  --blue: #0b5fc7;
  --blue-deep: #073250;
  --blue-soft: #eef6ff;
  --orange: #ff7a18;
  --ink: #172231;
  --muted: #5f6f82;
  --line: #e4eaf2;
  --soft: #f5f8fb;
  --dark: #15191f;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.68;
  background: #fff;
}

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

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

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

.topbar {
  background: #f6f8fb;
  color: var(--muted);
  font-size: 13.5px;
}

.topbar .wrap,
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(5, 48, 91, .14);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-size: 23px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
}

.logo-mark::before {
  content: "快";
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

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

.nav a {
  padding: 20px 11px;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, .14);
}

.hero {
  display: flex;
  min-height: 620px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 23, 40, .86), rgba(4, 23, 40, .46)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero h1 {
  max-width: 800px;
  margin: 8px 0 18px;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 900;
}

.hero p {
  max-width: 720px;
  color: #edf5ff;
  font-size: 20px;
  line-height: 1.75;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  padding: 12px 22px;
  color: #fff;
  background: var(--orange);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.btn.secondary {
  color: #fff;
  background: var(--blue);
}

.btn.dark {
  color: #fff;
  background: var(--blue-deep);
}

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

.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

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

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 118px;
  padding: 24px 26px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(255, 122, 24, .2);
}

.feature b {
  color: #fff;
  font-size: 19px;
}

.feature p {
  margin: 0;
}

.feature span {
  font-size: 14px;
  opacity: .92;
}

.section {
  padding: 66px 0;
}

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

.section.dark {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 50, 80, .96), rgba(7, 50, 80, .88)),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 24, .18), transparent 32%);
}

.section.dark p {
  color: #e2edf8;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2,
.split h2,
.newsletter h2,
.contact-grid h2 {
  margin: 6px 0 12px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.2;
  font-weight: 900;
}

.section.dark .section-title h2,
.newsletter h2 {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 38px;
  align-items: center;
}

.split > img,
.newsletter-box > img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(16, 42, 67, .12);
}

.lead {
  color: #425166;
  font-size: 18px;
  font-weight: 700;
}

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

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 42, 67, .06);
}

.card-body {
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.3;
  font-weight: 900;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.thumb {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.stats {
  color: #fff;
  background: #262a2f;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 28px 30px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  font-size: 16px;
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 42px;
  line-height: 1.1;
}

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

.work {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  background: #111;
}

.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: .3s;
}

.work:hover img {
  transform: scale(1.06);
}

.work div {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 18px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}

.work h3 {
  margin: 0 0 3px;
  font-size: 21px;
  font-weight: 900;
}

.work p {
  margin: 0;
  font-size: 14.5px;
}

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

.member {
  border: 1px solid var(--line);
  padding-bottom: 16px;
  text-align: center;
  background: #fff;
}

.member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.member h3 {
  margin: 15px 0 0;
  font-size: 20px;
  font-weight: 900;
}

.member p {
  margin: 4px 0 0;
  color: var(--muted);
}

.newsletter {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 50, 78, .94), rgba(4, 50, 78, .82)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.newsletter-box {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.newsletter p {
  color: #e9f1fa;
  font-size: 17px;
}

.form {
  display: grid;
  gap: 12px;
}

.input,
.textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

.textarea {
  min-height: 132px;
  resize: vertical;
}

.footer {
  padding: 50px 0 24px;
  color: #c8ced6;
  background: #1f2226;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.footer h3 {
  margin-top: 0;
  color: #fff;
  font-size: 19px;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: #c8ced6;
}

.beian-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: 14px;
}

.beian-row a {
  display: inline-block;
  margin: 0;
  color: #c8ced6;
}

.beian-row a:hover {
  color: #fff;
}

.page-hero {
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 23, 40, .84), rgba(4, 23, 40, .48)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=85") center / cover;
}

.page-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 900;
}

.page-hero p {
  max-width: 720px;
  font-size: 18px;
  color: #e9f1fa;
}

.layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
}

.layout.right {
  grid-template-columns: 1fr 270px;
}

.sidebar {
  align-self: start;
  border-radius: 6px;
  padding: 22px;
  background: var(--soft);
}

.sidebar a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  font-weight: 700;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 13px;
  padding: 18px 22px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 190px;
  border-radius: 4px;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
}

.contact-grid .form {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 42, 67, .06);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #eef3f8;
}

.admin-side {
  padding: 28px;
  color: #fff;
  background: #102f4d;
}

.admin-side a {
  display: block;
  border-radius: 4px;
  padding: 13px 10px;
  color: #dce8f4;
}

.admin-side a:hover,
.admin-side a.active {
  background: rgba(255, 255, 255, .13);
}

.admin-main {
  padding: 30px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.admin-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 13px;
  text-align: left;
}

.notice {
  border-left: 4px solid var(--orange);
  margin: 18px 0;
  padding: 14px 18px;
  background: #fff7ed;
}

.error-page {
  padding: 120px 20px;
  text-align: center;
}

.error-page strong {
  color: var(--blue);
  font-size: 118px;
  line-height: 1;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .navbar .wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .logo {
    padding-bottom: 10px;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 3px;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .topbar {
    display: none;
  }

  .wrap {
    width: min(100% - 28px, 720px);
  }

  .hero {
    min-height: 520px;
    align-items: flex-end;
    padding: 54px 0 76px;
    background-position: center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .btn {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 14.5px;
  }

  .feature-strip {
    margin-top: -34px;
  }

  .feature-grid,
  .cards,
  .portfolio-grid,
  .team-grid,
  .footer-grid,
  .gallery,
  .newsletter-box,
  .split,
  .layout,
  .layout.right,
  .contact-grid,
  .admin-shell,
  .admin-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .section-title h2,
  .split h2,
  .newsletter h2,
  .contact-grid h2 {
    font-size: 32px;
  }

  .page-hero {
    padding: 76px 0;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .feature {
    min-height: auto;
    padding: 20px;
  }

  .thumb,
  .gallery img,
  .member img {
    height: 230px;
  }

  .work {
    min-height: 240px;
  }

  .admin-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 22px, 520px);
  }

  .logo {
    font-size: 21px;
  }

  .hero {
    min-height: 500px;
    padding-bottom: 58px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .section-title h2,
  .split h2,
  .newsletter h2,
  .contact-grid h2 {
    font-size: 28px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 22px 18px;
  }

  .stat strong {
    font-size: 34px;
  }

  .contact-grid .form {
    padding: 18px;
  }
}
