:root {
  --red: #d0121a;
  --red-dark: #b10e15;
  --cyan: #00a1d8;
  --ink: #1c2330;
  --muted: #5c6675;
  --line: #e6e8ee;
  --bg: #f6f7f9;
  --white: #fff;
  --shadow: 0 12px 32px rgba(28, 35, 48, 0.08);
  --radius: 14px;
  --header-h: 78px;
  --sticky-nav: calc(38px + var(--header-h));
  --sticky-gap: 12px;
  --sticky-top: calc(var(--sticky-nav) + var(--sticky-gap));
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: #f4f6f8;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  min-height: 38px;
  align-items: center;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar a:hover {
  color: var(--red);
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(28, 35, 48, 0.08);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > li {
  list-style: none;
  position: relative;
}

.nav {
  margin: 0;
  padding: 0;
}

.nav > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #2b3340;
}

.nav > li > a:hover,
.nav > li.active > a,
.nav > li:hover > a {
  color: var(--red);
}

.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 196px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #3d4654;
}

.dropdown a:hover {
  background: #f7f8fa;
  color: var(--red);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.header.is-open .menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.is-open .menu-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  height: min(68vh, 620px);
  min-height: 420px;
  overflow: hidden;
  background: #0e1a2b;
}

.slides {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 32, 0.72) 0%, rgba(12, 20, 32, 0.28) 58%, rgba(12, 20, 32, 0.12) 100%);
}

.slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
}

.kicker {
  display: inline-block;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: #d8e8f2;
  margin-bottom: 14px;
}

.slide-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.slide-copy p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-line {
  width: 72px;
  height: 3px;
  background: var(--red);
  margin: 18px 0 0;
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-nav button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-nav button.is-active {
  width: 40px;
  background: var(--white);
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.en {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.section-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.more {
  color: var(--muted);
  font-size: 14px;
}

.more:hover {
  color: var(--red);
}

.services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff1f1;
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

.icon-badge img {
  width: 22px;
  height: 22px;
}

.service-card h3,
.service-title {
  margin: 0 0 10px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.service-card .link {
  margin-top: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about h2 {
  margin: 8px 0 16px;
  font-size: 30px;
}

.about p {
  color: var(--muted);
  margin: 0 0 14px;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.value-row div {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px;
}

.value-row strong {
  display: block;
  color: var(--red);
  font-size: 13px;
  margin-bottom: 4px;
}

.about-panel {
  background: linear-gradient(160deg, #1c2330, #2b3b52);
  color: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  min-height: 320px;
}

.about-panel h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.about-mod {
  margin-bottom: 56px;
}

.about-mod .section-head {
  margin-bottom: 16px;
  border: 0;
}

.split.about-intro {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 36px;
}

.split.about-intro .copy {
  border-top: 1px solid #e6e8ee;
  padding-top: 16px;
  text-align: left;
}

.split.about-intro .section-head,
.split.about-intro .section-head > div {
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.split.about-intro .en,
.split.about-intro h2,
.split.about-intro p {
  text-align: left;
}

.split.about-intro .section-head {
  margin-top: 0;
  margin-bottom: 14px;
}

.split.about-intro .section-head h2 {
  margin-top: 4px;
}

.lead-mark {
  font-size: 1.12em;
  font-weight: 700;
  color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}

.split.is-flip {
  grid-template-columns: 0.9fr 1.1fr;
}

.split.is-flip .visual {
  order: -1;
}

.split .copy p {
  color: var(--muted);
  margin: 0 0 14px;
}

.slogan {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.slogan em {
  font-style: normal;
  font-weight: 800;
  color: var(--red);
}

.visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: #edf0f4;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.cert {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: zoom-in;
  text-align: left;
}

.cert img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  background: #f7f8fa;
  border-radius: 8px;
}

.cert span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}

.culture-banner {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  background: #0e1a2b;
}

.culture-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.culture-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.culture-list div {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px 18px;
}

.culture-list strong {
  display: block;
  color: var(--red);
  margin-bottom: 4px;
  font-size: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.22s ease;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.news-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.news-card .body {
  padding: 18px 18px 20px;
}

.tag {
  font-size: 12px;
  color: var(--cyan);
}

.news-card h3 {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.insight {
  background: var(--bg);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 24px 10px;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  font-size: 20px;
  display: flex;
  justify-content: space-between;
}

.list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px dashed #dfe3ea;
  color: #334054;
  font-size: 15px;
}

.list a:hover {
  color: var(--red);
}

.list li {
  list-style: none;
}

.list {
  margin: 0;
  padding: 0;
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(208, 18, 26, 0.92), rgba(28, 35, 48, 0.88)),
    url("../assets/images/hero-2.jpg") center/cover no-repeat;
  color: var(--white);
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.contact-inner h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.contact-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-light {
  background: var(--white);
  color: var(--red);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.footer {
  background: #1c2330;
  color: #c9d1dc;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer h4 {
  color: var(--white);
  margin: 0 0 16px;
}

.footer a:hover {
  color: #fff;
}

.footer .logo img {
  height: 42px;
  background: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.copy {
  border-top: 1px solid #323b4c;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #8b95a5;
}

.footer .copy a {
  color: #c9d1dc;
}

.footer .copy a:hover {
  color: #fff;
}

.float {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.float-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.float-item {
  height: 48px;
  max-width: 48px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  white-space: nowrap;
  transition: max-width 0.28s ease;
}

.float-item:hover,
.float-item:focus-visible {
  max-width: 280px;
}

.float-item.top:hover,
.float-item.top:focus-visible {
  max-width: 48px;
}

.float-label {
  padding: 0 4px 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.float-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.float-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.float-item.qq .float-icon img,
.float-item.tel .float-icon img,
.float-item.mail .float-icon img {
  filter: brightness(0) invert(1);
}

.float-item.qq {
  background: var(--cyan);
  color: #fff;
}

.float-item.tel {
  background: var(--red);
  color: #fff;
}

.float-item.mail {
  background: var(--ink);
  color: #fff;
}

.btn-solid {
  background: var(--red);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--red-dark);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.page-hero {
  position: relative;
  min-height: 220px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #0e1a2b;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 32, 0.78), rgba(12, 20, 32, 0.35));
}

.page-hero .container {
  position: relative;
  padding: 56px 0 36px;
}

.crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.crumb a:hover {
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: 36px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.pills[data-tabs] {
  position: sticky;
  top: var(--sticky-nav);
  z-index: 3;
  background: var(--white);
  padding: var(--sticky-gap) 0 14px;
  margin: 0 0 18px;
  scroll-margin-top: var(--sticky-nav);
}

.pills a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef1f5;
  font-size: 14px;
}

.pills a.is-active,
.pills a:hover {
  background: var(--red);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.layout.article-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: var(--sticky-top);
}

.sidebar h4 {
  margin: 0;
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
}

.sidebar a {
  display: block;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.sidebar a:hover,
.sidebar a.is-active {
  color: var(--red);
  background: #fff7f7;
}

.article h2,
.prose h2 {
  font-size: 24px;
  margin: 0 0 14px;
  scroll-margin-top: 96px;
}

.prose h3,
.prose .sub-block {
  scroll-margin-top: 96px;
}

.prose h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 18px;
}

.material {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}

.flow-img {
  margin: 14px 0 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.flow-img img {
  width: 100%;
  height: auto;
  display: block;
}

.flow-img figcaption {
  padding: 8px 14px 12px;
  font-size: 13px;
  color: var(--muted);
}

.sub-block {
  margin-top: 40px;
}

.prose ol {
  padding-left: 20px;
  color: var(--muted);
}

.note {
  font-size: 14px;
  color: var(--muted);
}

.sub-block {
  margin-top: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0 8px;
}

.steps div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.steps b {
  display: block;
  color: var(--red);
  margin-bottom: 6px;
}

.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.team-card,
.job-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
}

.team-card {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.team-photo {
  margin: 0;
  border: 0;
  padding: 16px;
  background: #edf0f4;
  cursor: zoom-in;
  display: grid;
  place-items: center;
}

.team-photo img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
}

.team-card .team-copy {
  padding: 24px 28px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.team-bio {
  position: relative;
  max-height: 220px;
  overflow: hidden;
}

.team-bio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 70%);
  pointer-events: none;
}

.team-card.is-open .team-bio {
  max-height: none;
  overflow: visible;
}

.team-card.is-open .team-bio::after {
  display: none;
}

.team-more {
  align-self: flex-start;
  margin-top: 12px;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12, 20, 32, 0.88);
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.is-on {
  display: grid;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.team-card h3,
.job-card h3 {
  margin: 0 0 8px;
}

.form {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.news-row {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.news-row:hover h3 {
  color: var(--red);
}

.news-row h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px;
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
}

.block-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.article-main {
  min-width: 0;
}

.article-title {
  margin: 10px 0 20px;
  font-size: 26px;
  line-height: 1.45;
}

.article-body p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.85;
}

#articleRelated a {
  display: block;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

#articleRelated a:hover {
  color: var(--red);
  background: #fff7f7;
}

@media (max-width: 1080px) {
  :root {
    --header-h: 64px;
    --sticky-nav: var(--header-h);
    --sticky-top: calc(var(--sticky-nav) + var(--sticky-gap));
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 16px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .header.is-open .nav-wrap {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav > li > a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .dropdown a {
    padding: 10px 8px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .float-contacts {
    display: none;
  }

  .logo img {
    height: 36px;
  }

  .section {
    padding: 40px 0;
  }

  .section-head h2,
  .about h2,
  .page-hero h1 {
    font-size: 26px;
  }

  .page-hero {
    min-height: 160px;
  }

  .page-hero .container {
    padding: 36px 0 24px;
  }

  .service-grid,
  .service-grid.cols-2,
  .news-grid,
  .about,
  .split,
  .certs,
  .insight-grid,
  .footer-grid,
  .contact-inner,
  .value-row,
  .layout,
  .layout.article-layout,
  .steps,
  .job-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .split.about-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split.about-intro .visual {
    min-height: 0;
    background: transparent;
  }

  .split.about-intro .visual img {
    height: auto;
    object-fit: contain;
  }

  .culture-list {
    grid-template-columns: 1fr 1fr;
  }

  .culture-banner {
    height: 180px;
  }

  .contact-inner,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    height: 52vh;
    min-height: 320px;
  }

  .slide-copy p {
    font-size: 16px;
  }

  .service-card {
    min-height: 0;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card .team-copy {
    padding: 18px 18px 16px;
  }

  .team-photo img {
    max-height: 360px;
  }

  .sidebar {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar h4 {
    display: none;
  }

  .sidebar a {
    flex: 0 0 auto;
    border-top: 0;
    border-right: 1px solid var(--line);
    white-space: nowrap;
    padding: 12px 16px;
  }

  .pills {
    gap: 6px;
  }

  .pills a {
    padding: 7px 12px;
    font-size: 13px;
  }

  .prose h2 {
    font-size: 20px;
  }

  .article-title {
    font-size: 22px;
  }

  .float {
    right: 12px;
    bottom: 16px;
  }
}

@media (max-width: 640px) {
  .culture-list {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    gap: 12px;
    font-size: 12px;
  }
}
