:root {
  --green-900: #075d2e;
  --green-800: #087d38;
  --green-700: #079447;
  --green-600: #0cac40;
  --green-100: #e9f7ee;
  --green-50: #f4fbf6;
  --ink: #17211c;
  --ink-soft: #4f5e56;
  --line: #dce5df;
  --paper: #ffffff;
  --wash: #f5f7f5;
  --orange: #e58a13;
  --orange-soft: #fff4e3;
  --danger: #b42318;
  --shadow: 0 12px 32px rgba(19, 44, 30, 0.1);
  --content: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--green-900);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  background: rgba(7, 93, 46, 0.97);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}

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

.brand__mark {
  width: 34px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.brand__text strong {
  overflow: hidden;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand__text span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  text-transform: uppercase;
}

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

.site-nav a {
  min-height: 40px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: #ffc66d;
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  background: transparent;
}

.icon-button img {
  width: 20px;
  height: 20px;
}

.site-header .icon-button img,
.hero .button--ghost img,
.cta-band .button--ghost img {
  filter: brightness(0) invert(1);
}

.menu-button {
  display: none;
}

.button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: white;
  background: var(--green-700);
  font-weight: 700;
}

.button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.button:hover {
  background: var(--green-800);
}

.button--light {
  color: var(--green-900);
  background: white;
}

.button--light:hover {
  background: var(--green-50);
}

.button--light img,
.button--secondary img {
  filter: none;
}

.button--secondary {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.button--secondary:hover {
  border-color: var(--green-700);
  color: var(--green-800);
  background: var(--green-50);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(0, 0, 0, 0.12);
}

.hero {
  min-height: 560px;
  color: white;
  background-color: #18422d;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 30, 18, 0.985) 0%, rgba(4, 30, 18, 0.98) 56%, rgba(4, 34, 19, 0.68) 69%, rgba(4, 30, 18, 0.08) 88%);
}

.hero__inner {
  width: var(--content);
  min-height: 560px;
  margin: 0 auto;
  padding: 48px 0 42px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #a9e5bd;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.12;
  font-weight: 750;
}

.hero__lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero__stats {
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 28px;
}

.hero__stats div {
  display: grid;
  gap: 2px;
}

.hero__stats dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.hero__stats dd {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
}

.section {
  padding: 82px 0;
}

.hero + .section {
  padding-top: 36px;
}

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

.section--green {
  background: var(--green-50);
}

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

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading__copy {
  max-width: 670px;
}

.section-heading h2,
.split-intro h2,
.contact-copy h2,
.report-panel h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.section-heading p:last-child,
.split-intro p,
.contact-copy > p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-800);
  font-weight: 700;
  white-space: nowrap;
}

.text-link img {
  width: 17px;
  height: 17px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: white;
}

.field-item {
  min-height: 168px;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.field-item:last-child {
  border-right: 0;
}

.field-item:hover {
  color: white;
  background: var(--green-800);
}

.field-item__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.field-item:hover .field-item__icon {
  filter: brightness(0) invert(1);
}

.field-item strong {
  font-size: 18px;
}

.field-item span {
  color: var(--ink-soft);
  font-size: 12px;
}

.field-item:hover span {
  color: rgba(255, 255, 255, 0.72);
}

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

.service-card {
  min-height: 208px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  background: white;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: #8ac8a3;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card__category {
  color: var(--orange);
  font-size: 12px;
  font-weight: 750;
}

.service-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card .text-link {
  margin-top: auto;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.split-intro__image {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: var(--green-100);
}

.split-intro__image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

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

.principles div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.principles img {
  width: 19px;
  height: 19px;
  filter: invert(41%) sepia(93%) saturate(687%) hue-rotate(93deg) brightness(84%);
}

.cta-band {
  padding: 58px 0;
  color: white;
  background: var(--green-900);
}

.cta-band__inner {
  width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  margin: 0;
  font-size: 30px;
}

.cta-band p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  padding: 70px 0;
  color: white;
  background: var(--green-900);
}

.page-hero__inner {
  width: var(--content);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.services-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 100px;
}

.filter-panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.filter-list {
  display: grid;
  gap: 3px;
}

.filter-button {
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-left: 3px solid transparent;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--green-700);
  color: var(--green-900);
  background: var(--green-50);
}

.filter-button span:last-child {
  color: #809087;
  font-size: 12px;
}

.services-toolbar {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.services-toolbar h2 {
  margin: 0;
  font-size: 22px;
}

.services-toolbar p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.search-field {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
}

.search-field:focus-within {
  border-color: var(--green-700);
  outline: 2px solid rgba(12, 172, 64, 0.13);
}

.search-field img {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.search-field input {
  min-width: 230px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.load-more {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.empty-state {
  padding: 56px 24px;
  border: 1px dashed #bccbc1;
  text-align: center;
  background: var(--wash);
}

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

.empty-state p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.breadcrumbs {
  width: var(--content);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumbs img {
  width: 14px;
  height: 14px;
  opacity: 0.45;
}

.breadcrumbs a:hover {
  color: var(--green-800);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 52px;
  align-items: start;
}

.detail-article h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.25;
}

.detail-article__meta {
  margin: 14px 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.detail-content {
  color: #39453e;
  font-size: 16px;
  line-height: 2;
}

.detail-content h2,
.detail-content h3,
.detail-content div:first-child:not(:has(img)) {
  color: var(--ink);
}

.detail-content p {
  margin: 14px 0;
}

.detail-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border: 1px solid var(--line);
}

.detail-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}

.detail-content td,
.detail-content th {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.detail-aside {
  position: sticky;
  top: 106px;
}

.detail-aside__block {
  padding: 24px;
  border-top: 3px solid var(--green-700);
  background: var(--wash);
}

.detail-aside__block h2 {
  margin: 0;
  font-size: 20px;
}

.detail-aside__block p {
  margin: 10px 0 20px;
  color: var(--ink-soft);
}

.related-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.related-list h2 {
  margin: 22px 0 12px;
  font-size: 16px;
}

.related-list a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.related-list a:hover {
  color: var(--green-800);
}

.related-list img {
  width: 15px;
  height: 15px;
}

.about-standards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.standard-item {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.standard-item img {
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  filter: invert(35%) sepia(59%) saturate(758%) hue-rotate(96deg) brightness(89%);
}

.standard-item h3 {
  margin: 0;
  font-size: 18px;
}

.standard-item p {
  margin: 9px 0 0;
  color: var(--ink-soft);
}

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

.equipment-button {
  padding: 0;
  border: 0;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ece9;
}

.equipment-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.equipment-button:hover img {
  transform: scale(1.035);
}

.report-layout,
.contact-layout {
  width: var(--content);
  margin: 0 auto;
  padding: 82px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.report-copy {
  padding-top: 22px;
}

.report-copy h1 {
  margin: 0;
  font-size: 40px;
}

.report-copy > p {
  color: var(--ink-soft);
}

.report-points {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.report-points div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-points img {
  width: 18px;
  height: 18px;
  filter: invert(41%) sepia(93%) saturate(687%) hue-rotate(93deg) brightness(84%);
}

.report-panel,
.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: var(--shadow);
}

.report-panel h2,
.contact-form h2 {
  margin: 0 0 22px;
  font-size: 24px;
}

.form-stack {
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field > span {
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd6cf;
  border-radius: 4px;
  outline: 0;
  color: var(--ink);
  background: white;
}

.form-field textarea {
  min-height: 126px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green-700);
  outline: 2px solid rgba(12, 172, 64, 0.13);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--green-800);
}

.report-result {
  margin-top: 24px;
  padding: 22px;
  border-left: 3px solid var(--green-700);
  background: var(--green-50);
}

.report-result h3 {
  margin: 0 0 12px;
}

.report-result dl {
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 12px;
}

.report-result dt {
  color: var(--ink-soft);
}

.report-result dd {
  margin: 0;
  font-weight: 650;
}

.report-result__empty {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.report-files {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.report-files__head {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.report-files__head strong {
  font-size: 15px;
}

.report-files__head span {
  color: var(--ink-soft);
  font-size: 12px;
}

.report-files__workspace {
  min-height: 438px;
  display: grid;
  grid-template-columns: minmax(155px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--line);
  background: white;
}

.report-file-list {
  max-height: 520px;
  padding: 8px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 5px;
  overflow: auto;
}

.report-file-item {
  width: 100%;
  min-height: 78px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: grid;
  align-content: center;
  gap: 2px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  background: transparent;
}

.report-file-item:hover {
  border-color: #c8d8cd;
  background: var(--wash);
}

.report-file-item.is-active {
  border-color: #9acdb0;
  background: var(--green-100);
}

.report-file-item__type {
  color: var(--green-800);
  font-size: 11px;
  font-weight: 750;
}

.report-file-item strong,
.report-file-item small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.report-file-item strong {
  font-size: 13px;
  line-height: 1.45;
}

.report-file-item small {
  color: var(--ink-soft);
  font-size: 11px;
}

.report-preview {
  min-width: 0;
  min-height: 0;
  padding: 14px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  background: #fbfcfb;
}

.report-preview__head {
  min-width: 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.report-preview__head > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.report-preview__head strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.report-preview__head span {
  color: var(--ink-soft);
  font-size: 11px;
}

.report-preview__download {
  flex: 0 0 auto;
  font-size: 12px;
}

.report-preview__download img {
  width: 14px;
  height: 14px;
}

.report-preview__frame {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  background: white;
}

.report-preview__image-wrap {
  min-height: 380px;
  padding: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #edf1ee;
}

.report-preview__image {
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: contain;
}

.report-preview__fallback {
  min-height: 290px;
  padding: 28px;
  border: 1px dashed #b8c8bd;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: white;
}

.report-preview__filetype {
  color: var(--green-800);
  font-size: 12px;
  font-weight: 750;
}

.report-preview__fallback h4 {
  max-width: 100%;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.45;
}

.report-preview__fallback p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.report-preview__fallback .report-preview__download {
  margin-top: 18px;
}

.contact-copy__list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.contact-copy__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
}

.contact-copy__item > img {
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--green-100);
}

.contact-copy__item strong,
.contact-copy__item span {
  display: block;
}

.contact-copy__item span {
  margin-top: 2px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 54px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #13241b;
}

.site-footer__inner {
  width: var(--content);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(2, minmax(140px, 0.7fr));
  gap: 48px;
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: 20px;
}

.footer-brand p {
  max-width: 520px;
  margin: 12px 0 0;
}

.footer-nav h2 {
  margin: 0 0 13px;
  color: white;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(8, 17, 12, 0.72);
  backdrop-filter: blur(4px);
}

.search-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(720px, calc(100vh - 40px));
  padding: 30px;
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.search-dialog__head {
  margin-bottom: 24px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.search-dialog__head h2 {
  margin: 0;
  font-size: 26px;
}

.search-dialog .icon-button,
.image-dialog .icon-button {
  border-color: var(--line);
}

.search-field--large {
  min-height: 52px;
}

.search-field--large input {
  width: 100%;
  font-size: 16px;
}

.global-search-results {
  margin-top: 18px;
  display: grid;
}

.global-search-results a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.global-search-results a:hover {
  color: var(--green-800);
}

.global-search-results a span {
  display: grid;
}

.global-search-results small {
  color: var(--ink-soft);
}

.global-search-results img {
  width: 17px;
  height: 17px;
}

.image-dialog {
  width: min(1000px, calc(100% - 30px));
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.image-dialog__close {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  color: white;
  background: rgba(0, 0, 0, 0.62);
}

.image-dialog__close img {
  filter: brightness(0) invert(1);
}

.image-dialog > img {
  width: 100%;
  max-height: calc(100vh - 50px);
  object-fit: contain;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--ink-soft);
}

.loading-mark {
  width: 34px;
  height: 34px;
  border: 3px solid var(--green-100);
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1020px) {
  .site-header__inner {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
    align-items: stretch;
    background: white;
    box-shadow: 0 18px 36px rgba(12, 35, 22, 0.12);
  }

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

  .site-nav a {
    color: var(--ink);
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--green-800);
  }

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

  .field-item:nth-child(3) {
    border-right: 0;
  }

  .field-item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

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

@media (max-width: 760px) {
  :root {
    --content: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 68px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-nav {
    top: 68px;
  }

  .brand__mark {
    width: 28px;
    height: 38px;
  }

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

  .brand__text span {
    display: none;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero {
    background-position: 62% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(4, 30, 18, 0.98), rgba(4, 30, 18, 0.84));
  }

  .hero__inner {
    padding: 58px 0 48px;
    align-items: end;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: 42px;
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero__stats {
    margin-top: 36px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero__stats dd {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 25px;
    align-items: start;
    flex-direction: column;
  }

  .section-heading h2,
  .split-intro h2,
  .contact-copy h2 {
    font-size: 28px;
  }

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

  .field-item {
    min-height: 145px;
    padding: 20px;
    border-top: 1px solid var(--line);
  }

  .field-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .field-item:nth-child(even) {
    border-right: 0;
  }

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

  .service-card {
    min-height: 190px;
  }

  .split-intro,
  .report-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .split-intro__image,
  .split-intro__image img {
    min-height: 320px;
  }

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

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

  .page-hero h1,
  .report-copy h1 {
    font-size: 34px;
  }

  .services-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .detail-aside {
    position: static;
  }

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

  .services-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field input {
    min-width: 0;
    width: 100%;
  }

  .detail-article h1 {
    font-size: 30px;
  }

  .about-standards {
    grid-template-columns: 1fr;
  }

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

  .report-layout,
  .contact-layout {
    padding: 56px 0;
  }

  .report-panel,
  .contact-form {
    padding: 24px;
  }

  .report-files__workspace {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .report-file-list {
    max-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-preview__frame,
  .report-preview__image-wrap {
    min-height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand__text strong {
    max-width: 180px;
  }

  .header-actions {
    gap: 5px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .principles,
  .filter-list {
    grid-template-columns: 1fr;
  }

  .equipment-grid {
    gap: 8px;
  }

  .search-dialog {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
