/*
 * UTAI local UI refresh
 * Visual layer only: no product facts, model names, specifications, or image paths are changed.
 */
:root {
  --ut-bg: #f4f7fa;
  --ut-surface: #ffffff;
  --ut-ink: #16212f;
  --ut-muted: #607086;
  --ut-line: rgba(25, 52, 77, 0.12);
  --ut-steel: #22364d;
  --ut-teal: #0f8c8c;
  --ut-cyan: #23b7c2;
  --ut-amber: #e3a02f;
  --ut-green: #1c9a72;
  --ut-shadow: 0 18px 45px rgba(17, 35, 54, 0.11);
  --ut-soft-shadow: 0 10px 28px rgba(17, 35, 54, 0.08);
  --ut-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ut-ink);
  background:
    linear-gradient(180deg, rgba(244, 247, 250, 0.96), rgba(244, 247, 250, 0.98)),
    url("industrial-grid.svg");
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: #0d6f97;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #0a5b7d;
  text-decoration: none;
}

img {
  max-width: 100%;
}

img.loading,
img.loaded {
  opacity: 1 !important;
}

#wrapper {
  overflow: hidden;
}

.container {
  max-width: 1180px;
  width: 100%;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.row {
  margin-bottom: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ut-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(25px, 2.6vw, 38px) !important;
  line-height: 1.22 !important;
}

h2 {
  font-size: clamp(22px, 2.3vw, 32px) !important;
  line-height: 1.3 !important;
}

h3 {
  font-size: 20px !important;
  line-height: 1.38 !important;
}

p {
  color: #3f4b59;
}

/* Header and navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(22, 33, 47, 0.08);
  box-shadow: 0 10px 30px rgba(18, 32, 50, 0.08);
  backdrop-filter: blur(14px);
}

header .navbar,
.home-page header .navbar-default,
header .navbar-default {
  position: static !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

header .navbar > .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 14px;
  flex: 0 0 auto;
  width: auto !important;
}

.navbar-header > a {
  display: flex;
  align-items: center;
}

html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 190px;
  height: 60px;
}

html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a img {
  display: none !important;
}

html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a::before {
  content: "";
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  background: url("../img/logo.gif") center / contain no-repeat;
}

html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a::after {
  content: "优钛科技";
  color: #cf9b58;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

html[lang="zh-CN"] header .navbar-header > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 190px;
  height: 60px;
}

html[lang="zh-CN"] header .navbar-header > a img {
  display: none !important;
}

html[lang="zh-CN"] header .navbar-header > a::before {
  content: "";
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  background: url("../img/logo.gif") center / contain no-repeat;
}

html[lang="zh-CN"] header .navbar-header > a::after {
  content: "优钛科技";
  color: #cf9b58;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.navbar-header img {
  width: 190px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.language-switch {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin: 0 !important;
  padding: 4px;
  background: #eef4f7;
  border: 1px solid rgba(18, 32, 50, 0.08);
  border-radius: 999px;
}

.lang-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #526273 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.lang-btn.active,
.lang-btn:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--ut-teal), #147aa0) !important;
}

#navbar-collapse {
  flex: 1 1 auto;
}

header .navbar-collapse ul.navbar-nav {
  float: none !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: 0;
}

header .navbar-nav > li {
  flex: 0 0 auto;
  padding: 0 !important;
}

header .navbar-nav > li > a,
.navbar .nav > li > a {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  margin: 0 !important;
  padding: 8px 13px !important;
  border: 0 !important;
  border-radius: 999px;
  color: #2d3f52 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  white-space: nowrap;
}

header .navbar-nav font {
  font-size: inherit !important;
  white-space: nowrap;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus,
header .nav li.active a {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--ut-steel), #0f8c8c) !important;
  border: 0 !important;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--ut-steel), #0f8c8c) !important;
}

.dropdown-menu {
  min-width: 210px;
  margin-top: 12px !important;
  padding: 8px !important;
  border: 1px solid rgba(22, 33, 47, 0.1) !important;
  border-radius: var(--ut-radius) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--ut-shadow) !important;
}

header .nav li .dropdown-menu li a {
  padding: 10px 12px !important;
  border-radius: 6px;
  color: #304357 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}

.dropdown-menu li a:hover {
  color: #ffffff !important;
  background: var(--ut-teal) !important;
}

.caret {
  margin-left: 6px;
}

.navbar-toggle {
  margin: 0 0 0 auto !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--ut-steel) !important;
}

.navbar-toggle .icon-bar {
  background-color: #ffffff !important;
}

/* Home ordering and hero */
#wrapper.home-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

#wrapper.home-page > header {
  order: 0;
}

#wrapper.home-page > #banner {
  order: 1;
}

#wrapper.home-page > #content {
  order: 2;
}

#wrapper.home-page > .aboutUs {
  order: 3;
}

#wrapper.home-page > #latest-update-priority,
#wrapper.home-page > #tianjin-local-search-coverage,
#wrapper.home-page > #baidu-keyword-focus,
#wrapper.home-page > #news-entry-priority {
  order: 4;
}

#wrapper.home-page > #official-entity-statement,
#wrapper.home-page > #recent-updates,
#wrapper.home-page > section[id*="entity"],
#wrapper.home-page > section[id*="tianjin"] {
  order: 5;
}

#wrapper.home-page > footer {
  order: 99;
}

#banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0e1722 !important;
}

#main-slider,
#main-slider .slides,
#main-slider .slides > li,
.flexslider {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#main-slider .slides > li {
  position: relative;
}

#main-slider img.slider-img,
#banner img {
  display: block;
  width: 100% !important;
  height: clamp(300px, 38vh, 380px) !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

#banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 20, 34, 0.88) 0%, rgba(9, 30, 44, 0.66) 42%, rgba(9, 20, 30, 0.24) 100%),
    radial-gradient(circle at 78% 24%, rgba(35, 183, 194, 0.24), transparent 30%),
    linear-gradient(180deg, transparent 68%, rgba(244, 247, 250, 0.95) 100%);
}

#banner::after {
  content: "UTAI TECHNOLOGY\A Gas Detection / Alarm Control / Industrial Safety";
  white-space: pre-line;
  position: absolute;
  left: max(26px, calc((100vw - 1180px) / 2 + 22px));
  bottom: clamp(34px, 7vh, 58px);
  z-index: 3;
  max-width: min(620px, calc(100vw - 52px));
  color: #ffffff;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 800;
  line-height: 0.95;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
}

html[lang="zh-CN"] #wrapper.home-page > #banner::after {
  content: "工业气体检测报警系统\A气体报警器 · 探测器\A报警控制器 · 安全监测";
  max-width: min(760px, calc(100vw - 52px));
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
}

#banner .flexslider::before {
  content: "";
  position: absolute;
  left: max(26px, calc((100vw - 1180px) / 2 + 22px));
  bottom: clamp(22px, 5vh, 34px);
  z-index: 3;
  width: 88px;
  height: 4px;
  background: linear-gradient(90deg, var(--ut-amber), var(--ut-cyan));
  border-radius: 999px;
}

#banner .flexslider::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2 + 22px));
  bottom: 28px;
  z-index: 3;
  width: min(330px, 30vw);
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--ut-radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(135deg, rgba(15, 140, 140, 0.34), rgba(34, 54, 77, 0.44));
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

#main-slider:before {
  display: none !important;
}

/* Content shell */
#inner-headline {
  min-height: 46px;
  margin: 0 !important;
  padding: 0 !important;
  background:
    linear-gradient(135deg, rgba(20, 36, 55, 0.9), rgba(15, 140, 140, 0.72)),
    url("../img/slides/1.jpg") center/cover no-repeat !important;
}

#inner-headline::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ut-amber), var(--ut-cyan), var(--ut-green));
}

#inner-headline .row,
#inner-headline h1,
#inner-headline h2,
#inner-headline .pageTitle {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#content {
  padding: 30px 0 18px !important;
  background: transparent;
}

body.utai-product-detail #content {
  padding-top: 22px !important;
}

#content > .container.content,
#content > .container {
  background: transparent;
}

#content .col-md-12 > h1:first-child,
#content .col-md-12 > h2:first-child,
.content h1:first-child {
  margin-top: 0 !important;
}

#content .col-md-12 > h1:first-child::after,
.content h1:first-child::after,
.ut-product-info > h1:first-child::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--ut-amber), var(--ut-cyan));
  border-radius: 999px;
}

/* SEO/GEO content blocks retain text, gain modern cards */
#latest-update-priority,
#tianjin-local-search-coverage,
#baidu-keyword-focus,
#news-entry-priority,
#official-entity-statement,
#recent-updates,
#entity-history-link,
#tianjin-toxic-gas-alarm-keyword,
#tianjin-detector-local-keywords,
.geo-faq,
.geo-answer-block {
  margin: 10px auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#latest-update-priority > .container,
#tianjin-local-search-coverage > .container,
#baidu-keyword-focus > .container,
#news-entry-priority > .container,
#official-entity-statement > .container,
#recent-updates > .container,
#entity-history-link,
#tianjin-toxic-gas-alarm-keyword,
#tianjin-detector-local-keywords,
.geo-faq,
.geo-answer-block {
  border: 1px solid var(--ut-line) !important;
  border-left: 4px solid var(--ut-teal) !important;
  border-radius: var(--ut-radius) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--ut-soft-shadow);
}

#latest-update-priority > .container,
#tianjin-local-search-coverage > .container,
#baidu-keyword-focus > .container,
#news-entry-priority > .container,
#official-entity-statement > .container,
#recent-updates > .container {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

#news-entry-priority > .container,
#recent-updates > .container {
  border-left-color: var(--ut-amber) !important;
}

#latest-update-priority h2,
#tianjin-local-search-coverage h2,
#baidu-keyword-focus h2,
#news-entry-priority h2,
#official-entity-statement h2,
#recent-updates h2,
#entity-history-link h2,
#tianjin-toxic-gas-alarm-keyword h2,
#tianjin-detector-local-keywords h2,
.geo-faq h2,
.geo-answer-block h2 {
  margin-top: 0 !important;
  color: var(--ut-steel) !important;
}

#content .col-md-12 > section,
#content .col-md-12 > div[style*="border-left"],
.geo-faq,
.geo-answer-block {
  max-width: none !important;
  margin-top: 12px !important;
  margin-bottom: 14px !important;
  padding: 14px 16px !important;
}

#content .col-md-12 > p,
#content .col-md-12 > section p,
#content .col-md-12 > div[style*="border-left"] p,
.geo-faq p,
.geo-answer-block p {
  line-height: 1.66 !important;
}

body.utai-product-list #content .container.content > .row:first-child .col-md-12 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: stretch;
}

body.utai-product-list #content .container.content > .row:first-child .col-md-12 > h1,
body.utai-product-list #content .container.content > .row:first-child .col-md-12 > p:first-of-type {
  grid-column: 1 / -1;
}

body.utai-product-list #content .container.content > .row:first-child .col-md-12 > h1 {
  margin-bottom: 0 !important;
}

body.utai-product-list #content .container.content > .row:first-child .col-md-12 > p:first-of-type {
  margin-bottom: 6px !important;
}

.margin-bottom-40,
.margin-bottom-50 {
  margin-bottom: 16px !important;
}

hr.margin-bottom-50,
hr.margin-bottom-40 {
  margin: 12px 0 !important;
}

/* Home product highlights */
#wrapper.home-page > #banner + #content {
  padding: 32px 0 28px !important;
}

#wrapper.home-page > #banner + #content::before {
  content: "核心产品展示";
  display: block;
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 0 22px 16px;
  color: var(--ut-ink);
  background: linear-gradient(90deg, var(--ut-amber), var(--ut-cyan)) left 22px bottom / 76px 4px no-repeat;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}

.skill-home-solid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.skill-home-solid::before,
.skill-home-solid::after {
  display: none !important;
}

.skill-home-solid > [class*="col-"] {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.skill-home .box {
  position: relative;
  display: flex !important;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ut-line) !important;
  border-radius: var(--ut-radius);
  background: var(--ut-surface) !important;
  box-shadow: var(--ut-soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.skill-home .box:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 140, 140, 0.4) !important;
  background: var(--ut-surface) !important;
  box-shadow: var(--ut-shadow);
  color: inherit !important;
}

.skill-home .icons {
  display: block !important;
  float: none !important;
  width: 100% !important;
  padding: 12px 12px 4px !important;
  color: inherit !important;
}

.skill-home .icons i,
.skill-home .icons a {
  display: block;
}

.skill-home .icons br {
  display: none !important;
}

.skill-home .icons img {
  width: 100% !important;
  height: 138px !important;
  object-fit: contain !important;
  padding: 8px;
  border-radius: 6px;
  background:
    linear-gradient(145deg, #ffffff, #eef4f7);
  border: 1px solid rgba(22, 33, 47, 0.08);
}

.skill-home .box-area {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 8px 14px 14px;
  text-align: left;
}

.skill-home h3 {
  min-height: 0;
  margin: 0 0 8px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.skill-home .box:hover h3,
.skill-home .box:hover a,
.skill-home .box:hover .icons {
  color: inherit !important;
}

.skill-home p {
  margin-bottom: 6px;
  color: #536273;
  font-size: 14px;
  line-height: 1.55;
}

.skill-home p:last-child {
  margin-top: 4px;
  margin-bottom: 0;
}

.skill-home p:last-child a,
.product-item > p a,
.ut-product-info a,
#content a {
  font-weight: 700;
}

/* Category product cards */
.ut-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
}

.ut-product-grid::before,
.ut-product-grid::after {
  display: none !important;
}

.ut-product-grid > .product-item {
  display: flex !important;
  float: none !important;
  min-height: 0 !important;
  flex-direction: column;
  padding: 0 8px 16px !important;
}

.product-item {
  color: #3e4b59;
}

.product-item > a,
.product-item .product-img-box {
  display: block;
}

.product-item .product-img-box {
  position: relative;
  height: 210px !important;
  margin: 0 0 0 !important;
  overflow: hidden;
  border: 1px solid var(--ut-line) !important;
  border-radius: var(--ut-radius) var(--ut-radius) 0 0 !important;
  background:
    radial-gradient(circle at 24% 16%, rgba(35, 183, 194, 0.12), transparent 32%),
    linear-gradient(145deg, #ffffff, #eef3f6);
}

.product-item .product-img-box .img-responsive,
.product-item > a > img.img-responsive {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 14px;
}

.product-item {
  border-radius: var(--ut-radius);
}

.ut-product-grid > .product-item {
  position: relative;
}

.ut-product-grid > .product-item::before {
  content: "";
  position: absolute;
  inset: 0 8px 16px;
  z-index: -1;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--ut-soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ut-product-grid > .product-item:hover::before {
  transform: translateY(-4px);
  box-shadow: var(--ut-shadow);
}

.ut-product-grid > .product-item > p,
.ut-product-grid > .product-item > h3,
.ut-product-grid > .product-item > h4 {
  margin-left: 16px !important;
  margin-right: 16px !important;
}

.ut-product-grid > .product-item > p:first-of-type {
  min-height: 0;
  margin-top: 12px !important;
  margin-bottom: 7px !important;
  color: var(--ut-ink) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.ut-product-grid > .product-item > p:not(:first-of-type) {
  margin-bottom: 5px !important;
  padding-top: 5px;
  border-top: 1px dashed rgba(22, 33, 47, 0.11);
  color: #5a6878 !important;
  font-size: 13px;
  line-height: 1.55 !important;
}

/* Detail pages */
.ut-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px !important;
}

.ut-detail-layout::before,
.ut-detail-layout::after {
  display: none !important;
}

.ut-detail-layout > [class*="col-"] {
  float: none !important;
  padding: 0 !important;
}

.ut-detail-layout .ut-product-visual {
  flex: 0 0 min(420px, 40%);
  position: sticky;
  top: 96px;
}

.ut-detail-layout .ut-product-info {
  flex: 1 1 auto;
}

.ut-product-visual br,
.ut-product-info br:first-child,
.ut-detail-layout > br {
  display: none;
}

.ut-product-visual img.img-responsive {
  width: 100%;
  height: clamp(420px, 48vh, 520px);
  max-height: 520px;
  padding: 18px;
  object-fit: contain;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background:
    radial-gradient(circle at 20% 12%, rgba(227, 160, 47, 0.14), transparent 28%),
    linear-gradient(145deg, #ffffff, #edf4f7);
  box-shadow: var(--ut-shadow);
}

.ut-product-info {
  padding: 18px !important;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--ut-shadow);
}

.ut-product-info > h1,
.ut-product-info > h2,
.ut-product-info > h3:first-child {
  margin: 0 0 14px !important;
  color: var(--ut-ink) !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ut-product-info > h3:first-child {
  font-size: clamp(25px, 2.6vw, 38px) !important;
  line-height: 1.22 !important;
}

.ut-product-info > .ut-duplicate-heading {
  display: none !important;
}

.ut-product-info > .ut-detail-intro-node {
  max-width: none !important;
}

.ut-product-info > p.ut-detail-intro-node {
  margin: 0 0 12px !important;
  color: #536273 !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
  text-align: left !important;
}

.ut-product-info > div,
.content .col-md-12 > section,
.content .col-md-12 > div[style*="border-left"] {
  border: 1px solid rgba(15, 140, 140, 0.18) !important;
  border-left: 4px solid var(--ut-teal) !important;
  border-radius: var(--ut-radius) !important;
  background: #f8fbfc !important;
  box-shadow: 0 8px 24px rgba(17, 35, 54, 0.05);
}

.ut-spec-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: #ffffff;
}

.ut-spec-panel::before {
  content: "SPECIFICATION";
  grid-column: 1 / -1;
  padding: 8px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ut-steel), #146f83);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ut-spec-line {
  display: grid !important;
  grid-template-columns: minmax(100px, 34%) 1fr;
  gap: 10px;
  margin: 0 !important;
  padding: 8px 12px;
  border-top: 1px solid rgba(22, 33, 47, 0.08);
  color: #314255 !important;
  line-height: 1.55 !important;
}

.ut-spec-line:nth-child(odd) {
  background: #f8fbfc;
}

.ut-spec-key {
  color: #647286;
  font-weight: 800;
}

.ut-spec-value {
  color: #1d2e3f;
  font-weight: 650;
  word-break: break-word;
}

/* About and application content */
.aboutUs {
  padding: 30px 0 !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f7 100%) !important;
}

.aboutUs .row {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.aboutUs .row::before,
.aboutUs .row::after {
  display: none !important;
}

.aboutUs .col-md-6 {
  float: none !important;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  width: auto !important;
  padding: 0 !important;
}

.aboutUs .col-md-6:first-child {
  flex: 0 0 38%;
}

.aboutUs .col-md-6:last-child {
  flex: 1 1 62%;
}

.aboutUs img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--ut-radius);
  box-shadow: var(--ut-shadow);
}

.aboutUs .col-md-6:last-child > div {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ut-soft-shadow);
}

.aboutUs h1 {
  margin: 0 0 10px !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
}

.aboutUs h3 {
  margin: 12px 0 10px !important;
}

.aboutUs p {
  margin-bottom: 7px;
  line-height: 1.62;
}

/* FAQ and text pages */
.geo-faq h3,
#content h3 {
  color: #263a52;
}

main,
.item {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.item,
main > .item {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: #ffffff;
  box-shadow: var(--ut-soft-shadow);
}

table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: #ffffff;
}

th,
td {
  padding: 13px 15px !important;
  border-color: rgba(22, 33, 47, 0.1) !important;
}

th {
  color: #ffffff;
  background: var(--ut-steel);
}

/* Footer and contacts */
footer {
  margin-top: 14px;
  padding: 28px 0 18px !important;
  color: #d8e5ef !important;
  background:
    linear-gradient(135deg, #111c29, #20384f 62%, #0f5c63) !important;
  border-top: 4px solid var(--ut-amber);
}

footer .container {
  display: flex;
  align-items: flex-start;
}

footer .col-md-8 {
  float: none !important;
  width: 100% !important;
  max-width: 980px;
  padding: 0 !important;
}

footer h4,
footer h5,
footer p,
footer address,
footer strong,
footer a {
  color: inherit !important;
}

footer h4.widgetheading {
  display: inline-flex;
  margin: 12px 0 8px !important;
  padding: 7px 12px;
  border-radius: 999px;
  color: #102033 !important;
  background: #e7f2f1;
  font-size: 15px !important;
  font-weight: 800;
}

footer address h4,
footer p h4 {
  margin: 0 0 6px !important;
  color: #f7fbff !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

footer h5 {
  opacity: 0.82;
}

.scrollup {
  right: 20px !important;
  bottom: 20px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--ut-teal) !important;
  box-shadow: var(--ut-soft-shadow);
}

/* Motion should be restrained */
* {
  transition-property: background-color, border-color, color, box-shadow, transform, opacity;
  transition-duration: 160ms;
  transition-timing-function: ease;
}

@media (max-width: 1199px) {
  .skill-home-solid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #banner .flexslider::after {
    display: none;
  }
}

@media (max-width: 991px) {
  header .navbar > .container {
    display: block;
  }

  .navbar-header {
    width: 100%;
    justify-content: space-between !important;
  }

  .navbar-header img {
    width: 168px;
  }

  html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a {
    width: 166px;
    height: 52px;
    gap: 7px;
  }

  html[lang="zh-CN"] header .navbar-header > a {
    width: 166px;
    height: 52px;
    gap: 7px;
  }

  html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a::before {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }

  html[lang="zh-CN"] header .navbar-header > a::before {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }

  html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a::after {
    font-size: 25px;
  }

  html[lang="zh-CN"] header .navbar-header > a::after {
    font-size: 25px;
  }

  .navbar-toggle {
    display: block !important;
  }

  #navbar-collapse {
    width: 100%;
    margin-top: 12px;
    border: 0 !important;
    box-shadow: none !important;
  }

  header .navbar-collapse ul.navbar-nav {
    display: block;
    padding: 12px;
    border: 1px solid var(--ut-line);
    border-radius: var(--ut-radius);
    background: #ffffff;
  }

  header .navbar-nav > li > a {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    border-radius: 6px;
  }

  .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100%;
    margin: 4px 0 8px !important;
    box-shadow: none !important;
  }

  .ut-detail-layout,
  .aboutUs .row {
    display: block;
  }

  .ut-detail-layout .ut-product-visual,
  .ut-detail-layout .ut-product-info {
    width: 100% !important;
    max-width: none;
    margin-bottom: 22px;
  }

  .ut-detail-layout .ut-product-visual {
    position: static;
  }

  .ut-product-visual img.img-responsive {
    height: auto;
    max-height: 340px;
  }

  body.utai-product-list #content .container.content > .row:first-child .col-md-12 {
    display: block;
  }

  body.utai-product-detail #content {
    padding-top: 16px !important;
  }

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

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  header {
    position: sticky;
  }

  header .navbar {
    min-height: 68px !important;
    padding: 7px 0 !important;
  }

  .navbar-header {
    gap: 8px;
  }

  .navbar-header img {
    width: 138px;
  }

  html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a {
    width: 136px;
    height: 44px;
    gap: 6px;
  }

  html[lang="zh-CN"] header .navbar-header > a {
    width: 136px;
    height: 44px;
    gap: 6px;
  }

  html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a::before {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  html[lang="zh-CN"] header .navbar-header > a::before {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  html[lang="zh-CN"] #wrapper.home-page header .navbar-header > a::after {
    font-size: 21px;
  }

  html[lang="zh-CN"] header .navbar-header > a::after {
    font-size: 21px;
  }

  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .lang-btn {
    min-width: 48px;
    height: 28px;
    padding: 0 9px !important;
    font-size: 12px !important;
  }

  #main-slider img.slider-img,
  #banner img {
    height: min(310px, 48vh) !important;
    min-height: 280px;
  }

  #banner::after {
    content: "UTAI TECHNOLOGY\A Gas Detection\A Alarm Control\A Industrial Safety";
    bottom: 38px;
    font-size: clamp(32px, 11vw, 44px);
    line-height: 1.02;
  }

  html[lang="zh-CN"] #wrapper.home-page > #banner::after {
    content: "工业气体检测报警系统\A气体报警器 · 探测器\A报警控制器 · 安全监测";
    font-size: clamp(28px, 8.2vw, 33px);
    line-height: 1.14;
  }

  #banner .flexslider::before {
    bottom: 24px;
  }

  #wrapper.home-page > #banner + #content {
    padding: 26px 0 20px !important;
  }

  #wrapper.home-page > #banner + #content::before {
    padding: 0 16px;
    padding-bottom: 16px;
    background-position: left 16px bottom;
  }

  #inner-headline {
    min-height: 38px;
    padding: 0 !important;
  }

  .skill-home-solid {
    grid-template-columns: 1fr;
  }

  .skill-home .icons img {
    height: 158px !important;
  }

  .ut-product-grid {
    display: block;
  }

  .ut-product-grid > .product-item {
    width: 100% !important;
    padding: 0 0 18px !important;
  }

  .ut-product-grid > .product-item::before {
    inset: 0 0 18px;
  }

  .product-item .product-img-box {
    height: 190px !important;
  }

  .ut-product-info {
    padding: 16px !important;
  }

  body.utai-product-detail #content {
    padding-top: 12px !important;
  }

  .ut-product-visual img.img-responsive {
    max-height: 300px;
  }

  .ut-spec-line {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .aboutUs {
    padding: 24px 0 !important;
  }

  .aboutUs .col-md-6:last-child > div {
    padding: 18px;
  }

  .aboutUs img {
    min-height: 0;
    max-height: none;
  }

  footer {
    padding: 34px 0 24px !important;
  }

  footer address h4,
  footer p h4 {
    font-size: 16px !important;
  }
}
