:root {
  color-scheme: light;
  --ink: #14171a;
  --muted: #5d6670;
  --line: #d9dee4;
  --paper: #f6f7f8;
  --white: #ffffff;
  --red: #c9202f;
  --red-dark: #9b1420;
  --steel: #27313c;
  --blue: #1b5f89;
  --green: #2e7d61;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-elevated {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--red);
}

.header-cta,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-btn {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(201, 32, 47, 0.28);
}

.ghost-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-btn.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 13, 0.88), rgba(6, 9, 13, 0.52) 54%, rgba(6, 9, 13, 0.12)),
    linear-gradient(0deg, rgba(8, 11, 16, 0.86), rgba(8, 11, 16, 0.1) 45%);
}

.hero-content {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ff5a66;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin: 72px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(10, 13, 18, 0.36);
}

.hero-metrics dt {
  margin-bottom: 6px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--steel);
  color: var(--white);
}

.trust-strip span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.intro-grid,
.service-grid,
.timeline,
.case-layout,
.contact {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-panel,
.timeline article,
.case-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-panel {
  min-height: 260px;
  padding: 28px;
}

.panel-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.feature-panel h3,
.service-card h3,
.timeline h3,
.case-feature h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-panel p,
.service-card p,
.timeline p,
.case-feature p,
.case-list p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.services {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1160px) / 2));
  background: var(--white);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: grid;
  grid-template-rows: 240px 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

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

.service-card div {
  padding: 24px;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  position: relative;
  min-height: 230px;
  padding: 26px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.case-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
}

.case-feature {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--steel);
  color: var(--white);
}

.case-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.case-feature div {
  align-self: end;
  padding: 34px;
}

.case-feature p {
  color: rgba(255, 255, 255, 0.76);
}

.case-list {
  display: grid;
  gap: 18px;
}

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

.case-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.contact {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  margin-bottom: 80px;
  padding: clamp(34px, 5vw, 52px);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(201, 32, 47, 0.1), rgba(46, 125, 97, 0.12)),
    var(--white);
  box-shadow: var(--shadow);
}

.contact-single {
  grid-template-columns: 1fr;
}

.contact h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
}

.contact-copy p {
  max-width: 760px;
  font-size: 17px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: #101417;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  color: var(--white);
}

@media (max-width: 960px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    min-width: auto;
  }

  .brand small,
  .nav-links {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-metrics,
  .trust-strip,
  .intro-grid,
  .service-grid,
  .timeline,
  .section-heading,
  .case-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    min-height: 52px;
  }

  .case-feature {
    grid-template-columns: 1fr;
  }

  .case-feature img {
    min-height: 260px;
    max-height: 360px;
  }

  .contact {
    padding: 26px;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

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

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

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

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 42px;
  }

  .hero-metrics div,
  .feature-panel,
  .timeline article,
  .case-list article {
    padding: 20px;
  }

  .service-card {
    grid-template-rows: 210px 1fr;
  }
}
