:root {
  --red: #ef342f;
  --ink: #151719;
  --navy: #102438;
  --steel: #edf3f7;
  --muted: #5e6672;
  --line: #dfe5ec;
  --paper: #f7f9fb;
  --blue: #1f5f8b;
  --green: #28785c;
  --orange: #cf7d2a;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(15, 35, 55, 0.12);
  --shadow-strong: 0 28px 80px rgba(15, 35, 55, 0.16);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

[id] {
  scroll-margin-top: 96px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 90px;
  padding: 12px clamp(24px, 5vw, 76px);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(15, 35, 55, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 35, 55, 0.04);
}

.brand,
.footer-brand {
  display: inline-grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: fit-content;
}

.brand-mark {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  justify-items: start;
  gap: 3px;
  min-width: 0;
  color: var(--ink);
  line-height: 1;
}

.brand-wordmark strong {
  display: block;
  white-space: nowrap;
  font-family: "SimSun", "Microsoft YaHei", "PingFang SC", serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-wordmark em {
  display: block;
  white-space: nowrap;
  font-family: "Times New Roman", serif;
  color: #4f5964;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 36px);
  color: #222831;
  font-size: 15px;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}

.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

.hero.page-section.is-active {
  display: grid;
}

.page-section:not(.hero) {
  min-height: calc(100vh - 90px);
}

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-call:hover,
.btn:hover {
  transform: translateY(-1px);
}

.header-call {
  border: 1px solid var(--red);
  color: var(--red);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 22px rgba(239, 52, 47, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: grid;
  align-items: start;
  padding: clamp(58px, 6vw, 84px) clamp(24px, 5vw, 76px) 58px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.97) 48%, rgba(226, 238, 248, 0.98) 100%),
    repeating-linear-gradient(90deg, rgba(31, 95, 139, 0.045) 0 1px, transparent 1px 96px);
}

.hero-grid {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: clamp(42px, 4.8vw, 72px);
  align-items: center;
}

.hero-copy {
  padding-top: 16px;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 18px;
  background: var(--red);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-position {
  width: fit-content;
  margin-top: 22px;
  margin-bottom: 22px;
  padding: 9px 16px;
  border-left: 4px solid var(--red);
  background: var(--navy);
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 16px 36px rgba(15, 35, 55, 0.12);
}

.hero-lead {
  max-width: 720px;
  color: #37414f;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(239, 52, 47, 0.22);
}

.btn.primary:hover {
  box-shadow: 0 18px 38px rgba(239, 52, 47, 0.28);
}

.btn.secondary {
  border: 1px solid #aeb9c6;
  background: rgba(255, 255, 255, 0.7);
}

.btn.full {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  max-width: 720px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(31, 95, 139, 0.16);
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 46px rgba(13, 37, 58, 0.1);
}

.hero-proof > p {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-proof > p::after {
  content: "实力概览";
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 800;
}

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

.hero-metrics div {
  position: relative;
  min-height: 104px;
  padding: 17px 14px 15px;
  border-right: 1px solid rgba(31, 95, 139, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 252, 0.78));
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin: 6px 0 5px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-metrics span {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.hero-metrics em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.hero-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(31, 95, 139, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-rows: 278px auto 1fr;
}

.hero-site-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 38px 1fr 1fr;
  gap: 10px;
  min-height: 278px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(247, 249, 251, 0.96), rgba(232, 239, 246, 0.92)),
    repeating-linear-gradient(0deg, rgba(31, 95, 139, 0.08) 0 1px, transparent 1px 30px);
}

.hero-site-board figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 95, 139, 0.14);
  border-radius: 6px;
  background: #dce7ef;
}

.hero-site-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-site-board figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  background: rgba(10, 32, 52, 0.84);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.hero-site-board figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 24, 39, 0.42));
  pointer-events: none;
}

.hero-site-board .hero-site-main {
  grid-row: auto;
}

.hero-site-status {
  position: relative;
  z-index: 3;
  order: -1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 38px;
  border: 1px solid rgba(31, 95, 139, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(7, 24, 39, 0.1);
}

.hero-site-status span {
  display: grid;
  place-items: center;
  min-width: 0;
  border-right: 1px solid rgba(31, 95, 139, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.hero-site-status span:last-child {
  border-right: 0;
  color: var(--red);
}

.hero-photo {
  position: relative;
  min-height: 290px;
  background: #e7eef5;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 23, 25, 0.02), rgba(21, 23, 25, 0.42));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: center;
}

.hero-photo span {
  position: absolute;
  z-index: 1;
  left: 26px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.hero-panel-text {
  padding: 26px 30px 18px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.hero-panel-text strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.36;
}

.hero-panel-text p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-panel-text .eyebrow {
  margin-bottom: 10px;
}

.capability-list {
  display: grid;
  align-content: start;
  padding: 0 30px 30px;
}

.capability-list div {
  display: grid;
  grid-template-columns: 42px minmax(130px, 0.82fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  border-top: 1px solid var(--line);
}

.capability-list span {
  color: var(--red);
  font-weight: 900;
}

.capability-list strong {
  font-size: 16px;
}

.capability-list em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.section {
  padding: clamp(64px, 6vw, 88px) clamp(24px, 5vw, 76px);
}

.intro-band {
  padding-top: 58px;
  padding-bottom: 58px;
  background: var(--ink);
  color: var(--white);
}

.intro-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.intro-copy h2 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(30px, 3.1vw, 42px);
}

.intro-copy p:not(.eyebrow) {
  margin: 0;
  color: #dce5ee;
  font-size: 17px;
  line-height: 1.95;
}

.intro-copy p:not(.eyebrow) + p {
  margin-top: 16px;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intro-points div {
  min-height: 154px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.055);
}

.intro-points span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.intro-points strong {
  display: block;
  margin-bottom: 9px;
  color: var(--white);
  font-size: 18px;
}

.intro-points em {
  color: #b8c5d2;
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.left {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.section-heading,
.services-header,
.contact-copy {
  position: relative;
}

.section-heading .eyebrow,
.services-header .eyebrow,
.contact-copy .eyebrow {
  display: inline-flex;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-heading h2::after,
.services-header h2::after,
.contact-copy h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
}

.section-heading:not(.left) h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 880px;
  font-size: 16px;
  line-height: 1.85;
}

.services-header,
.service-grid,
.certificate-grid,
.project-grid,
.qualification-highlights {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.services-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%),
    repeating-linear-gradient(0deg, rgba(31, 95, 139, 0.04) 0 1px, transparent 1px 72px);
}

.services-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: end;
  margin-bottom: 38px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(31, 95, 139, 0.12);
}

.services-header h2 {
  margin-bottom: 0;
}

.services-header p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

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

.service-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(15, 35, 55, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card.featured {
  border-top: 4px solid var(--red);
  background:
    linear-gradient(135deg, rgba(239, 52, 47, 0.05), rgba(31, 95, 139, 0.06)),
    var(--white);
}

.service-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) minmax(240px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.service-card-wide .service-card-head {
  margin-bottom: 0;
  align-items: flex-start;
  flex-direction: column;
}

.service-card-wide > p,
.service-card-wide > strong,
.service-card-wide > ul,
.service-card-wide > .service-tags {
  grid-column: 2 / -1;
}

.service-card-wide h3 {
  grid-column: 2 / 3;
}

.service-card-wide > strong,
.service-card-wide > ul {
  grid-column: 3 / 4;
}

.service-card-wide > .service-tags {
  grid-column: 2 / -1;
  padding-top: 8px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 35, 55, 0.13);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.service-index {
  color: var(--red);
  font-weight: 900;
}

.service-type {
  color: #74808d;
  font-size: 12px;
  font-weight: 800;
}

.service-card h3,
.project-grid h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.28;
}

.service-card p,
.project-grid p {
  color: var(--muted);
  line-height: 1.82;
}

.service-card strong {
  display: block;
  margin-top: 22px;
  color: #273342;
  font-size: 15px;
}

.service-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 16px;
  color: #34404c;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(31, 95, 139, 0.18);
  border-radius: var(--radius);
  background: #f6f9fc;
  color: #365064;
  font-size: 13px;
  font-weight: 700;
}

.strengths-section {
  background:
    linear-gradient(180deg, rgba(16, 36, 56, 0.97), rgba(21, 23, 25, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 80px);
  color: var(--white);
}

.strengths-section .eyebrow,
.strengths-section h2 {
  color: var(--white);
}

.strengths-section .section-heading p:not(.eyebrow) {
  color: #c9d3dd;
}

.strength-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.strength-grid article {
  position: relative;
  min-height: 226px;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18);
}

.strength-grid article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--red);
}

.strength-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border: 1px solid rgba(239, 52, 47, 0.28);
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.strength-grid h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.3;
}

.strength-grid p {
  margin-bottom: 0;
  color: #c9d3dd;
  line-height: 1.75;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 700px);
  justify-content: center;
  gap: clamp(34px, 4vw, 58px);
  align-items: start;
  background:
    linear-gradient(180deg, #f7f9fb, #edf3f7);
}

.process-summary {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.process-summary div {
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 35, 55, 0.07);
}

.process-summary strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 19px;
}

.process-summary span {
  color: var(--muted);
  line-height: 1.6;
}

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

.process-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 20px 22px;
  border-left: 4px solid transparent;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 35, 55, 0.055);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.process-item:hover {
  border-left-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(15, 35, 55, 0.1);
}

.process-item span {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.process-item h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.process-item p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.process-item em {
  display: block;
  color: #365064;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
}

.qualifications {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%),
    repeating-linear-gradient(90deg, rgba(31, 95, 139, 0.04) 0 1px, transparent 1px 86px);
}

.qualification-pages {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.qualification-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qualification-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 32px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e8eff5;
  box-shadow: 0 10px 34px rgba(15, 35, 55, 0.06);
}

.qualification-tabs label {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: calc(var(--radius) - 1px);
  color: #34404c;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

#qualification-page-1:checked ~ .qualification-tabs label[for="qualification-page-1"],
#qualification-page-2:checked ~ .qualification-tabs label[for="qualification-page-2"] {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(239, 52, 47, 0.18);
}

.qualification-panel {
  display: none;
}

#qualification-page-1:checked ~ .qualification-panel-1,
#qualification-page-2:checked ~ .qualification-panel-2 {
  display: block;
}

.qualification-page-head {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.qualification-page-head > span {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.qualification-page-head h3 {
  margin-bottom: 10px;
  font-size: 27px;
  line-height: 1.28;
}

.qualification-page-head p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.qualification-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.qualification-panel-1 .qualification-highlights {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.qualification-highlights div {
  padding: 20px;
  border-top: 4px solid var(--red);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(15, 35, 55, 0.08);
}

.qualification-highlights strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.qualification-highlights span {
  color: var(--muted);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.certificate-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(15, 35, 55, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.certificate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(15, 35, 55, 0.13);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.certificate-card span {
  display: block;
  min-height: 54px;
  padding: 16px;
  font-weight: 800;
}

.projects {
  background:
    linear-gradient(180deg, rgba(16, 36, 56, 0.96), rgba(21, 23, 25, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 72px);
  color: var(--white);
}

.projects .eyebrow,
.projects h2 {
  color: var(--white);
}

.projects .section-heading p:not(.eyebrow) {
  color: #d0d7df;
}

.project-photo-grid {
  width: min(1180px, 100%);
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.project-photo {
  position: relative;
  min-height: 245px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.project-photo.large {
  grid-row: span 2;
}

.project-photo img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
}

.project-photo.large img {
  min-height: 508px;
}

.project-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(21, 23, 25, 0), rgba(21, 23, 25, 0.86));
}

.project-photo strong,
.project-photo span {
  display: block;
}

.project-photo strong {
  margin-bottom: 7px;
  font-size: 21px;
}

.project-photo span {
  color: #dce5ee;
  line-height: 1.6;
}

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

.project-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.project-grid p {
  color: #d0d7df;
}

.craft-grid,
.technical-index-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.craft-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.craft-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.085);
}

.craft-card.featured {
  grid-row: span 2;
}

.craft-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.craft-card.featured img {
  height: 500px;
}

.craft-card div {
  padding: 20px;
}

.craft-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 900;
}

.craft-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.32;
}

.craft-card p {
  color: #d0d7df;
  line-height: 1.7;
}

.craft-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.craft-card li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  color: #dce5ee;
  font-size: 14px;
  line-height: 1.55;
}

.craft-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.technical-index-panel {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 260px repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.technical-index-panel h3 {
  margin-bottom: 0;
  font-size: 23px;
}

.technical-index-panel div {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.technical-index-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 900;
}

.technical-index-panel p {
  margin-bottom: 0;
  color: #d0d7df;
  line-height: 1.7;
}

.achievement-panel {
  width: min(1180px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.achievement-panel h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.achievement-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: #d0d7df;
  line-height: 1.8;
}

.achievement-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.achievement-panel li {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.08);
  color: #eef4fa;
  line-height: 1.5;
}

.achievement-panel li strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 900;
}

.achievement-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.achievement-stats span {
  min-height: 68px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.07);
  color: #dce5ee;
  font-size: 14px;
  line-height: 1.4;
}

.achievement-stats strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.1;
}

.photo-note {
  width: min(1180px, 100%);
  margin: 18px auto 0;
  color: #aeb9c6;
  font-size: 14px;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(360px, 460px);
  justify-content: center;
  gap: clamp(34px, 4vw, 58px);
  align-items: start;
  padding: clamp(68px, 6vw, 92px) clamp(24px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(237, 243, 247, 0.98), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(90deg, rgba(31, 95, 139, 0.05) 0 1px, transparent 1px 76px);
}

.contact-copy,
.contact-box {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.consult-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
  margin-top: 28px;
}

.consult-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(31, 95, 139, 0.16);
  border-left: 3px solid var(--red);
  background: var(--white);
  color: #34404c;
  font-size: 14px;
  font-weight: 800;
}

.contact-box {
  padding: 28px;
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.contact-box dl {
  margin: 0 0 24px;
}

.contact-box div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-box dt {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-box dd {
  margin: 0;
  font-weight: 800;
  line-height: 1.6;
}

.contact-box dd a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.site-footer .brand-mark {
  width: 48px;
  height: 48px;
}

.site-footer .brand-wordmark strong {
  font-size: 17px;
}

.site-footer .brand-wordmark em {
  font-size: 6.8px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .intro-content,
  .split-section,
  .contact-section,
  .services-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 0;
  }

  .service-grid,
  .strength-grid,
  .certificate-grid,
  .qualification-highlights,
  .qualification-panel-1 .qualification-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-wide {
    grid-column: auto;
    display: flex;
  }

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

  .achievement-panel {
    grid-template-columns: 1fr;
  }

  .craft-grid,
  .technical-index-panel {
    grid-template-columns: 1fr 1fr;
  }

  .technical-index-panel h3 {
    grid-column: 1 / -1;
  }

  .craft-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .craft-card.featured img {
    height: 360px;
  }

  .detail-control-grid,
  .construction-checklist,
  .construction-checklist ul {
    grid-template-columns: 1fr;
  }

  .project-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-photo.large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .contact-copy,
  .contact-box {
    justify-self: center;
    max-width: 900px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand,
  .footer-brand {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .brand-mark,
  .site-footer .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark strong,
  .site-footer .brand-wordmark strong {
    font-size: 14px;
  }

  .brand-wordmark em,
  .site-footer .brand-wordmark em {
    font-size: 5px;
    letter-spacing: 0.9px;
  }

  .header-call {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero {
    padding: 44px 16px 34px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-position {
    font-size: 22px;
    line-height: 1.25;
  }

  .hero-actions,
  .hero-proof,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    margin-top: 28px;
  }

  .hero-proof > p {
    padding: 14px 18px;
  }

  .hero-proof > p::after {
    display: inline;
    margin-left: 10px;
  }

  .hero-metrics div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 95, 139, 0.12);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .hero-panel {
    min-height: 0;
    grid-template-rows: 230px auto 1fr;
  }

  .hero-site-board {
    min-height: 230px;
    gap: 8px;
    padding: 10px;
    grid-template-rows: 34px 1fr 1fr;
  }

  .hero-site-status {
    min-height: 34px;
  }

  .hero-site-board figcaption {
    left: 8px;
    bottom: 8px;
    min-height: 26px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 230px;
  }

  .hero-panel-text {
    padding: 22px 22px 14px;
  }

  .capability-list {
    padding: 0 22px 22px;
  }

  .capability-list div {
    grid-template-columns: 34px 1fr;
    gap: 8px 12px;
  }

  .capability-list em {
    grid-column: 2;
  }

  .section {
    padding: 62px 16px;
  }

  .intro-band {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .intro-points {
    grid-template-columns: 1fr;
  }

  .intro-points div {
    min-height: 0;
  }

  .service-grid,
  .strength-grid,
  .certificate-grid,
  .qualification-highlights,
  .qualification-panel-1 .qualification-highlights,
  .qualification-tabs,
  .qualification-page-head {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .service-card-wide {
    display: flex;
    grid-column: auto;
  }

  .service-card-head {
    margin-bottom: 26px;
  }

  .process-item {
    grid-template-columns: 52px 1fr;
    padding: 20px;
  }

  .project-photo-grid {
    grid-template-columns: 1fr;
  }

  .project-photo.large img {
    min-height: 245px;
  }

  .craft-grid,
  .technical-index-panel {
    grid-template-columns: 1fr;
  }

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

  .craft-card img,
  .craft-card.featured img {
    height: 245px;
  }

  .contact-section {
    padding: 62px 16px;
  }

  .contact-box div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

body .page-section {
  display: none;
}

body .page-section.is-active {
  display: block;
}

body .hero.page-section.is-active {
  display: grid;
}

body .split-section.page-section.is-active,
body .contact-section.page-section.is-active {
  display: grid;
}

body:has(.nav a[href="#services"]:hover) .page-section,
body:has(.nav a[href="#strengths"]:hover) .page-section,
body:has(.nav a[href="#process"]:hover) .page-section,
body:has(.nav a[href="#qualifications"]:hover) .page-section,
body:has(.nav a[href="#projects"]:hover) .page-section,
body:has(.nav a[href="#contact"]:hover) .page-section {
  display: none;
}

body:has(.nav a[href="#services"]:hover) [data-page="services"],
body:has(.nav a[href="#strengths"]:hover) [data-page="strengths"],
body:has(.nav a[href="#qualifications"]:hover) [data-page="qualifications"],
body:has(.nav a[href="#projects"]:hover) [data-page="projects"] {
  display: block;
}

body:has(.nav a[href="#process"]:hover) [data-page="process"],
body:has(.nav a[href="#contact"]:hover) [data-page="contact"] {
  display: grid;
}
