:root {
  --ink: #18202a;
  --muted: #5d6875;
  --line: #d9e0e7;
  --paper: #f7f9fb;
  --white: #ffffff;
  --brand: #b52026;
  --brand-dark: #7e1118;
  --blue: #174f8f;
  --blue-dark: #12375f;
  --green: #1f7a62;
  --amber: #c77810;
  --shadow: 0 18px 45px rgba(15, 33, 55, 0.12);
  --wrap: min(1120px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(24, 32, 42, 0.08);
  backdrop-filter: blur(12px);
}

.utility-bar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.utility-grid {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.utility-grid a {
  color: #ffd39f;
  font-weight: 700;
}

.main-header {
  background: var(--white);
}

.header-grid {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
}

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

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

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  color: #273241;
  padding: 10px 13px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--blue);
  background: #eef4fb;
  outline: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(650px, 72vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(90deg, rgba(12, 27, 43, 0.68), rgba(12, 27, 43, 0.22)),
    url("./assets/original/office-01-1-210G2113Z01Z.jpg");
  background-position: center 38%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(115deg, rgba(18, 55, 95, 0.76) 0%, rgba(18, 55, 95, 0.36) 52%, rgba(181, 32, 38, 0.08) 100%),
    radial-gradient(circle at 88% 12%, rgba(255, 188, 88, 0.16), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 70px 0 82px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-weight: 800;
}

.hero .eyebrow {
  color: #ffd39f;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.16;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 740px;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-dark);
  outline: none;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.quick-facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.fact-grid div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.fact-grid div:last-child {
  border-right: 1px solid var(--line);
}

.fact-grid strong {
  color: var(--blue);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.fact-grid span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section h3 {
  margin: 0;
  font-size: 20px;
}

.section p {
  color: var(--muted);
}

.split-layout,
.credentials-grid,
.evidence-grid,
.comparison-grid,
.contact-grid,
.responsive-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 54px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 12px;
}

.intro-copy p {
  margin: 0;
  font-size: 17px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.module-grid article,
.certificate-grid article,
.project-module-grid article,
.laws-list article,
.job-card,
.apply-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.module-grid article {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.module-grid strong,
.project-module-grid strong,
.job-card strong,
.apply-card strong {
  color: var(--ink);
  font-size: 18px;
}

.module-grid span,
.project-module-grid span,
.job-card span,
.apply-card span {
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 680px;
}

.service-band,
.lab-section,
.responsive-section {
  background: var(--paper);
}

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

.service-card,
.profile-card,
.equipment-grid article,
.capability-panel,
.contact-form,
.site-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 222px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
}

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

.service-card p,
.equipment-grid p {
  margin: 0;
}

.service-card a {
  align-self: end;
  color: var(--blue);
  font-weight: 900;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.industry-grid a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #273241;
  font-weight: 800;
  text-align: center;
}

.industry-grid a:nth-child(3n) {
  border-color: rgba(31, 122, 98, 0.35);
}

.industry-grid a:nth-child(4n) {
  border-color: rgba(199, 120, 16, 0.35);
}

.profile-section,
.credentials-section,
.projects-section,
.comparison-section,
.laws-section {
  background: var(--white);
}

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

.profile-card {
  padding: 26px;
  box-shadow: var(--shadow);
}

.profile-card.accent {
  border-color: rgba(31, 122, 98, 0.35);
}

.profile-label {
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 900;
}

.profile-card dl,
.credential-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.profile-card dl div,
.credential-list div {
  display: grid;
  grid-template-columns: minmax(105px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 800;
}

.credential-copy p {
  margin-top: 18px;
}

.capability-panel {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.capability-panel ul,
.upgrade-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.capability-panel li,
.upgrade-list li {
  position: relative;
  padding-left: 20px;
  color: #334252;
}

.capability-panel li::before,
.upgrade-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.certificate-grid article {
  min-height: 190px;
  padding: 22px;
}

.certificate-grid span,
.laws-list span {
  display: block;
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 8px;
}

.certificate-grid strong,
.laws-list strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
}

.certificate-grid p,
.laws-list p {
  margin: 10px 0 0;
}

.scope-grid {
  margin-top: 40px;
}

.evidence-section {
  background: #eef4f1;
}

.evidence-list {
  display: grid;
  gap: 12px;
}

.evidence-list a {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 122, 98, 0.22);
  border-radius: 8px;
  background: var(--white);
}

.evidence-list strong {
  color: var(--green);
}

.evidence-list span {
  color: var(--muted);
}

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

.equipment-grid article {
  min-height: 148px;
  padding: 22px;
}

.project-overview {
  padding-bottom: 34px;
  background: var(--paper);
}

.project-nav-section {
  padding-top: 0;
  background: var(--paper);
}

.project-metrics,
.project-category-grid,
.equipment-summary-grid,
.health-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-metrics article,
.project-category-grid article,
.equipment-summary-grid article,
.health-service-grid article {
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-metrics span {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.project-metrics strong,
.project-category-grid strong,
.equipment-summary-grid strong,
.health-service-grid strong {
  color: var(--ink);
  font-size: 18px;
}

.project-metrics p,
.project-category-grid span,
.equipment-summary-grid span,
.health-service-grid span {
  margin: 0;
  color: var(--muted);
}

.project-section-head {
  max-width: 860px;
}

.project-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 143, 0.18);
  border-radius: 8px;
  background: rgba(23, 79, 143, 0.16);
}

.project-flow li {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: var(--white);
}

.project-flow span {
  color: var(--brand);
  font-weight: 900;
}

.project-flow strong {
  color: var(--blue);
  font-size: 18px;
}

.project-flow em {
  color: var(--muted);
  font-style: normal;
}

.project-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.project-category-grid article,
.equipment-summary-grid article,
.health-service-grid article {
  min-height: 124px;
}

.project-toolbar {
  display: grid;
  grid-template-columns: 180px 160px minmax(220px, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.project-module-grid article {
  min-height: 144px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
}

.project-subhead {
  margin-bottom: 14px;
}

.project-subhead h3 {
  color: var(--blue);
}

.project-toolbar label,
.contact-form label {
  display: grid;
  gap: 7px;
  color: #334252;
  font-weight: 800;
}

.project-toolbar span,
.contact-form span {
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d2dd;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 79, 143, 0.14);
}

.project-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.project-result-meta {
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.project-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-date {
  color: var(--muted);
  font-weight: 800;
}

.project-title {
  display: grid;
  gap: 3px;
}

.project-title strong {
  font-size: 18px;
}

.project-title span {
  color: var(--muted);
}

.project-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 34px;
  color: var(--blue);
  border: 1px solid rgba(23, 79, 143, 0.25);
  border-radius: 999px;
  font-weight: 900;
}

.equipment-summary-grid,
.health-service-grid {
  margin-bottom: 24px;
}

.project-cta-section {
  background: linear-gradient(135deg, #f8fbff, #eef4f1);
}

.project-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.project-cta p,
.project-cta h2 {
  margin: 0;
}

.project-cta .section-kicker {
  margin-bottom: 10px;
}

.process-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #215f73 54%, #27433c);
}

.process-section .section-kicker,
.process-section p {
  color: #ffd39f;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.process-list li {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.process-list strong {
  font-size: 20px;
}

.process-list span {
  color: rgba(255, 255, 255, 0.84);
}

.laws-section {
  background: #f8faf7;
}

.laws-grid,
.careers-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 54px;
  align-items: start;
}

.laws-list,
.job-list {
  display: grid;
  gap: 14px;
}

.laws-list article {
  min-height: 142px;
  padding: 22px;
}

.careers-section {
  background: var(--paper);
}

.job-card,
.apply-card {
  padding: 22px;
}

.job-card {
  display: grid;
  gap: 10px;
}

.job-card div,
.apply-card {
  display: grid;
  gap: 4px;
}

.job-card p {
  margin: 0;
}

.apply-card {
  border-color: rgba(199, 120, 16, 0.35);
  background: #fff9ef;
}

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

.device-grid div {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.device-grid strong {
  color: var(--blue);
  font-size: 18px;
}

.device-grid span {
  color: var(--muted);
}

.site-preview {
  margin: 0;
  overflow: hidden;
}

.site-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.site-preview figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: var(--paper);
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-methods p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-methods strong {
  color: var(--ink);
}

.contact-methods a {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.88);
  background: #111924;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.footer-main nav a,
.footer-main strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-grid {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffd39f;
  font-weight: 800;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 55, 95, 0.86), rgba(31, 122, 98, 0.54)),
    url("./assets/original/office-01-1-210G2113Z01Z.jpg") center 42% / cover;
}

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

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.14;
}

.subnav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.subnav-grid a {
  display: grid;
  place-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
}

.content-panel + .content-panel {
  margin-top: 18px;
}

.content-panel h3 {
  margin-bottom: 12px;
}

.content-panel p {
  margin: 0 0 12px;
}

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

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf2f6;
}

.gallery-item figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

.certificate-gallery .gallery-item img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 10px;
}

.archive-list {
  display: grid;
  gap: 10px;
}

.archive-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.archive-link strong {
  color: var(--ink);
}

.archive-link span {
  color: var(--muted);
  font-size: 14px;
}

.archive-group {
  margin-top: 18px;
}

.archive-year {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  color: var(--accent, var(--ink));
  font-size: 16px;
}

.archive-group .archive-link {
  margin-bottom: 8px;
}

.archive-toolbar {
  margin-top: 16px;
}

.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

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

.data-table th {
  color: var(--blue);
  background: #eef4fb;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button-light {
  color: var(--blue);
  border-color: rgba(23, 79, 143, 0.22);
  background: var(--white);
}

@media (max-width: 980px) {
  :root {
    --wrap: min(100% - 36px, 760px);
  }

  .header-grid {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: start;
    flex-wrap: wrap;
    padding: 0 0 16px;
  }

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

  .hero {
    min-height: 590px;
  }

  .fact-grid,
  .service-grid,
  .industry-grid,
  .profile-grid,
  .process-list,
  .device-grid,
  .module-grid,
  .certificate-grid,
  .project-metrics,
  .project-flow,
  .equipment-summary-grid,
  .health-service-grid,
  .project-module-grid,
  .subnav-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .credentials-grid,
  .evidence-grid,
  .comparison-grid,
  .contact-grid,
  .responsive-grid,
  .laws-grid,
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .project-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-label {
    grid-column: 1 / -1;
  }
}

@media (min-width: 540px) and (max-width: 760px) {
  .service-grid,
  .equipment-grid,
  .device-grid,
  .module-grid,
  .certificate-grid,
  .project-metrics,
  .equipment-summary-grid,
  .health-service-grid,
  .project-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-item {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .project-type {
    justify-self: start;
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  :root {
    --wrap: min(100% - 28px, 430px);
  }

  .utility-grid {
    min-height: 42px;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 7px 0;
  }

  .header-grid {
    min-height: 70px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

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

  .brand small {
    font-size: 12px;
  }

  .site-nav a {
    width: 100%;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 58px 0 64px;
  }

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

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

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .fact-grid,
  .service-grid,
  .industry-grid,
  .profile-grid,
  .equipment-grid,
  .module-grid,
  .certificate-grid,
  .project-metrics,
  .project-category-grid,
  .project-flow,
  .equipment-summary-grid,
  .health-service-grid,
  .project-module-grid,
  .subnav-grid,
  .gallery-grid,
  .project-toolbar,
  .process-list,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid div,
  .fact-grid div:last-child {
    border-right: 1px solid var(--line);
    min-height: 92px;
  }

  .section {
    padding: 58px 0;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-type {
    justify-self: start;
  }

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

  .project-cta .button {
    width: 100%;
  }

  .profile-card dl div,
  .credential-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .footer-main nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  :root {
    --wrap: min(100% - 22px, 338px);
  }

  .brand small,
  .utility-grid span {
    display: none;
  }

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

  .button,
  input,
  select,
  textarea {
    border-radius: 7px;
  }

  .service-card,
  .profile-card,
    .module-grid article,
    .certificate-grid article,
    .project-module-grid article,
    .project-metrics article,
    .project-category-grid article,
    .project-flow li,
    .equipment-summary-grid article,
    .health-service-grid article,
    .capability-panel,
    .equipment-grid article,
    .project-item,
  .job-card,
  .apply-card,
  .laws-list article,
  .content-panel,
  .device-grid div {
    padding: 18px;
  }

  .archive-link {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (min-width: 621px) and (max-width: 760px) and (orientation: portrait) {
  :root {
    --wrap: min(100% - 36px, 640px);
  }

  .hero {
    min-height: 600px;
  }

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

  .fact-grid div {
    padding: 18px 14px;
  }
}
