:root {
  --ink: #202124;
  --muted: #6b7280;
  --line: #e6e8eb;
  --soft: #f5f6f8;
  --blue: #1672c4;
  --blue-deep: #0b4e88;
  --blue-dark: #123f68;
  --yellow: #ffc000;
  --red: #e00012;
  --container: 1320px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

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

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.topbar-inner,
.header-inner {
  width: min(calc(100% - 44px), 1396px);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topbar {
  height: 52px;
  border-bottom: 1px solid #f3f3f3;
  background: #fff;
  font-size: 14px;
  color: #444;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  margin: 0;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar-contact svg {
  width: 20px;
  height: 20px;
  fill: #777;
}

.topbar-contact a {
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}

.topbar-contact .phone-lines a {
  font-size: 16px;
  line-height: 1.15;
}

.phone-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: top;
  line-height: 1.45;
}

.phone-lines a {
  display: block;
}

.footer-contact .phone-lines {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.65;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.header-inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 480px;
  height: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 3.1vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 29px 0;
  color: #2d3035;
  font-size: 16px;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 16px;
  left: 50%;
  height: 2px;
  background: var(--blue);
  transition: left .25s ease, right .25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
  left: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #222;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #dce9f4;
}

.home-hero {
  height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity .75s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide a {
  position: absolute;
  inset: 0;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 62px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #1266ac;
  background: transparent;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  color: #003f76;
}

.hero-prev {
  left: 2.2%;
}

.hero-next {
  right: 2.2%;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 16px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 81, 137, .12);
  cursor: pointer;
  opacity: .72;
}

.hero-dot.is-active {
  background: var(--blue);
  opacity: 1;
}

.inner-hero {
  height: 458px;
}

.breadcrumb-wrap {
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.breadcrumb {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555;
  font-size: 14px;
}

.breadcrumb svg {
  width: 15px;
  height: 15px;
  fill: #767676;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.page-heading {
  padding: 58px 0 48px;
  text-align: center;
}

.page-heading h1 {
  margin: 0;
  color: #545454;
  font-family: Arial, sans-serif;
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.15;
}

.page-heading p {
  margin: 11px 0 0;
  color: #222;
  font-size: 30px;
}

.managed-page-content {
  max-width: 980px;
  margin: -12px auto 54px;
  padding: 30px 38px;
  border-left: 3px solid var(--blue);
  background: #f6f9fc;
}

.managed-page-intro {
  margin: 0 0 20px;
  color: #29465d;
  font-size: 18px;
  line-height: 1.8;
}

.managed-page-body {
  color: #576570;
  font-size: 16px;
  line-height: 1.9;
}

.managed-page-body h2,
.managed-page-body h3 {
  margin: 24px 0 10px;
  color: var(--ink);
}

.managed-page-body h2 {
  font-size: 25px;
}

.managed-page-body h3 {
  font-size: 19px;
}

.managed-page-body p {
  margin: 0 0 14px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
}

.section-heading p {
  margin: 8px 0 0;
  color: #252525;
  font-size: 17px;
}

.section-heading .rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 17px auto 0;
  border: 0;
  background: var(--red);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-width: 112px;
  min-height: 46px;
  padding: 9px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.button-primary,
.button-dark {
  color: #fff;
  background: #263242;
}

.button-primary:hover,
.button-dark:hover {
  background: var(--blue);
}

.button-outline {
  border-color: #d2d5d8;
  background: #fff;
}

.button-outline:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.button-yellow {
  color: #2d2d2d;
  border-color: var(--yellow);
  background: var(--yellow);
}

.button-yellow:hover {
  color: #2d2d2d;
  background: #ffd443;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
}

.text-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Home: about */
.home-about {
  padding: 68px 0 72px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-top: 46px;
}

.about-gallery {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.48;
  border-top: 5px solid var(--yellow);
  background: #171d20;
}

.about-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 44%;
  width: 44%;
  height: 5px;
  background: var(--blue);
  transform: translateY(-5px);
  z-index: 2;
}

.about-gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .65s ease, transform .9s ease;
}

.about-gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.about-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  filter: blur(20px) saturate(.82);
  transform: scale(1.12);
}

.about-slide-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-gallery-dots {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.about-gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: .8;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease, transform .2s ease;
}

.about-gallery-dots button.is-active {
  background: var(--blue);
  opacity: 1;
  transform: scale(1.25);
}

.about-copy {
  color: #303237;
  font-size: 17px;
  line-height: 2.1;
}

.about-copy p {
  margin: 0 0 8px;
}

.about-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.about-actions .button {
  min-width: 150px;
}

/* Home: products */
.products-showcase {
  position: relative;
  overflow: hidden;
  padding: 72px 0 62px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(12, 31, 54, .97), rgba(18, 48, 75, .93)),
    url("../images/product-showcase-texture.jpg") center / cover;
}

.products-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(150deg, transparent 0 32px, rgba(255,255,255,.025) 33px 34px),
    radial-gradient(circle at 50% 40%, rgba(105, 183, 255, .18), transparent 48%);
}

.products-showcase .container {
  position: relative;
  z-index: 1;
}

.products-showcase .section-heading h2 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 38px;
  letter-spacing: .12em;
}

.products-showcase .section-heading p {
  color: #fff;
  line-height: 1.8;
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 35px 0 28px;
}

.product-category-card {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #fff;
  color: #3a3a3a;
  text-align: center;
  cursor: pointer;
}

.product-category-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  transition: transform .45s ease;
}

.product-category-card span {
  display: block;
  padding: 12px 15px 14px;
  border-top: 4px solid #e89b00;
  font-size: 19px;
}

.product-category-card:nth-child(2n) span {
  border-top-color: #e20010;
}

.product-category-card:nth-child(3n) span {
  border-top-color: #1f79bf;
}

.product-category-card:hover img {
  transform: scale(1.04);
}

.showcase-action {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.showcase-action .button {
  min-width: 168px;
  border-color: rgba(255,255,255,.75);
  color: #fff;
  background: transparent;
}

.showcase-action .button:hover {
  border-color: var(--yellow);
  color: #222;
  background: var(--yellow);
}

/* Home: advantages */
.advantages {
  padding: 74px 0 82px;
  background: #fff;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.advantage-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 38px 28px 30px;
  color: #fff;
  text-align: center;
}

.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 75% 18%, rgba(255, 255, 255, .2), transparent 42%);
  pointer-events: none;
}

.advantage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #0f5f73, #0e7490);
}

.advantage-card:nth-child(2)::after {
  background: linear-gradient(145deg, #a3422e, #d76632);
}

.advantage-card:nth-child(3)::after {
  background: linear-gradient(145deg, #3f6212, #65a30d);
}

.advantage-card:nth-child(4)::after {
  background: linear-gradient(145deg, #4c1d95, #6d5bd0);
}

.advantage-card-content {
  position: relative;
  z-index: 2;
}

.advantage-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .88;
}

.advantage-card h3 {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 500;
}

.advantage-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* Home: news */
.home-news {
  position: relative;
  overflow: hidden;
  padding: 68px 0 64px;
  background: #fafafa;
}

.home-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/news-showcase-texture.jpg") center / cover;
  filter: grayscale(1);
  opacity: .055;
}

.home-news .container {
  position: relative;
  z-index: 1;
}

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 20px;
}

.news-preview-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 226px;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: #222;
  background: rgba(255,255,255,.94);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.025);
}

.news-preview-date {
  padding: 25px 9px 18px;
  text-align: center;
}

.news-preview-date strong {
  display: block;
  font-size: 18px;
  font-weight: 400;
}

.news-preview-date span {
  display: block;
  margin-top: 2px;
  font-size: 22px;
}

.news-preview-date img {
  width: 46px;
  height: 36px;
  margin: 28px auto 0;
  object-fit: cover;
}

.news-preview-body {
  padding: 24px 22px 20px 8px;
}

.news-preview-title {
  display: block;
  margin: 0 0 11px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.news-preview-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-preview-card:hover .news-preview-title {
  color: var(--blue);
}

.center-link {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.center-link .button {
  color: #777;
  border-color: #d7d7d7;
  background: #fafafa;
}

/* Page hero and common inner content */
.inner-content {
  padding-bottom: 80px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.tab-button {
  min-width: 280px;
  padding: 11px 24px;
  border: 1px solid #d8dcdf;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.tab-button:hover,
.tab-button.is-active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.tab-panel {
  padding-top: 54px;
}

.tab-panel[hidden] {
  display: none;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 82px;
  align-items: center;
}

.content-split img {
  width: 100%;
  aspect-ratio: 1.54;
  object-fit: cover;
}

.content-split .about-gallery .about-slide-bg {
  aspect-ratio: auto;
  object-fit: cover;
}

.content-split .about-gallery .about-slide-main {
  aspect-ratio: auto;
  object-fit: contain;
}

.content-copy h2,
.content-copy h3 {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 500;
}

.content-copy p {
  margin: 0 0 20px;
  color: #383838;
  font-size: 17px;
  line-height: 2;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.subheading {
  margin: 90px 0 34px;
  text-align: center;
}

.subheading:first-child {
  margin-top: 0;
}

.subheading h2 {
  margin: 0;
  color: #545454;
  font-family: Arial, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
}

.subheading p {
  margin: 8px 0 0;
  font-size: 27px;
}

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

.image-card {
  border: 0;
  padding: 0;
  background: #f5f5f5;
  cursor: default;
}

.image-card img,
.product-card img,
.about-slide-main,
.about-slide-bg,
.hero-slide,
.site-header img,
.site-footer img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.image-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.scenes-gallery .image-card {
  display: block;
  width: 100%;
  margin: 0;
  background: #eef2f3;
}

.scenes-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.scenes-gallery .image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f3;
}

.scenes-gallery .image-card:nth-child(4) img {
  object-position: 50% 62%;
}

.factory-gallery .image-card img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.factory-gallery .image-card:nth-child(8) img {
  object-position: 50% 62%;
}

.gallery-more {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.gallery-more-heading {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 4px 48px;
  align-items: end;
  margin-bottom: 28px;
}

.gallery-more-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

.gallery-more-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.3;
}

.gallery-more-heading > p:last-child {
  margin: 0;
  color: #666b70;
  font-size: 15px;
  line-height: 1.9;
}

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

.gallery-feature-grid .image-card {
  overflow: hidden;
  border: 1px solid #e6e9ec;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 38, 56, .08);
  text-align: left;
}

.gallery-feature-grid .image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-feature-grid .image-card:hover img {
  transform: scale(1.025);
}

.gallery-feature-grid .image-card span {
  display: flex;
  min-height: 92px;
  padding: 17px 20px 19px;
  flex-direction: column;
  gap: 5px;
}

.gallery-feature-grid .image-card strong {
  color: #20262c;
  font-size: 16px;
  font-weight: 600;
}

.gallery-feature-grid .image-card small {
  color: #747a80;
  font-size: 13px;
  line-height: 1.6;
}

.image-card span {
  display: block;
  padding: 12px;
  color: #333;
  font-size: 15px;
}

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

.certificate-card {
  border: 0;
  padding: 0;
  background: #fff;
  cursor: zoom-in;
}

.certificate-card img {
  width: 100%;
  aspect-ratio: .78;
  object-fit: contain;
  border: 1px solid #e4e4e4;
  background: #fff;
}

.certificate-card span {
  display: block;
  padding-top: 10px;
  color: #565656;
}

/* Products page */
.product-toolbar {
  display: flex;
  justify-content: center;
  margin: -20px 0 34px;
}

.product-search {
  width: min(100%, 440px);
  padding: 11px 18px;
  border: 1px solid #d8dadd;
  outline: none;
  background: #fff;
}

.product-search:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22,114,196,.1);
}

.product-search-box {
  position: relative;
  width: min(100%, 420px);
}

.product-search-box label {
  display: block;
}

.product-search-box .product-search {
  width: 100%;
}

.product-count {
  margin: -18px 0 30px;
  color: #8a9096;
  text-align: center;
  font-size: 13px;
}

.product-center-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.product-sidebar {
  position: sticky;
  top: 18px;
  overflow: hidden;
  border: 1px solid #e1e5e8;
  background: #fff;
}

.product-sidebar-title {
  display: grid;
  min-height: 112px;
  padding: 24px 22px;
  align-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(190, 0, 14, .97), rgba(224, 0, 18, .88)),
    url("../images/catalog-main/categories/zzxxl.jpg") center / cover;
}

.product-sidebar-title span {
  margin-bottom: 5px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.product-sidebar-title strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 27px;
  font-weight: 500;
}

.category-list {
  display: grid;
}

.category-list button {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 49px;
  padding: 10px 16px 10px 20px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #eceff1;
  color: #42484f;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  transition: color .2s ease, background .2s ease, padding .2s ease;
}

.category-list button::before {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: translateY(-50%);
}

.category-list button {
  position: relative;
}

.category-list button:hover,
.category-list button.is-active {
  padding-left: 25px;
  color: var(--blue-deep);
  background: #eef5fb;
  font-weight: 600;
}

.category-list button.is-active {
  box-shadow: inset 3px 0 var(--blue);
}

.category-list small {
  display: grid;
  min-width: 24px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  border-radius: 11px;
  color: #899198;
  background: #f0f2f4;
  font-size: 10px;
  font-weight: 500;
}

.category-list button.is-active small {
  color: #fff;
  background: var(--blue);
}

.product-center-content {
  min-width: 0;
}

.product-category-heading {
  display: flex;
  min-height: 88px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.product-category-heading h2 {
  margin: 0 0 4px;
  font-size: 25px;
  font-weight: 500;
}

.product-category-heading div > p:last-child {
  margin: 0;
  color: #838b92;
  font-size: 13px;
}

.product-category-heading > span {
  margin-top: 26px;
  color: #8c949b;
  font-size: 12px;
  white-space: nowrap;
}

.product-center-content .product-toolbar {
  justify-content: flex-start;
  margin: 0 0 26px;
}

.product-center-content .product-search {
  width: 100%;
}

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

.detail-catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #dcdfe2;
  background: #fff;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}

.detail-catalog-card:hover {
  border-color: #9bbdd8;
  box-shadow: 0 15px 35px rgba(19, 53, 79, .1);
  transform: translateY(-2px);
}

.detail-catalog-image {
  display: grid;
  overflow: hidden;
  padding: 0;
  place-items: center;
  background: #fff;
}

.detail-catalog-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
}

.detail-catalog-card:hover img {
  transform: scale(1.025);
}

.detail-catalog-info {
  display: grid;
  margin-top: auto;
}

.detail-catalog-info h3 {
  margin: 0;
  padding: 10px 11px;
  color: #fff;
  background: #149dcc;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.detail-catalog-measure {
  display: grid;
  grid-template-columns: 61px minmax(0, 1fr);
  min-height: 37px;
  align-items: center;
  border-top: 1px solid #fff;
  color: #4f555b;
  background: #e8eaec;
  font-size: 12px;
}

.detail-catalog-measure b {
  align-self: stretch;
  display: grid;
  padding: 0 7px;
  place-items: center;
  color: #62686e;
  background: #dadde0;
  font-size: 11px;
  font-weight: 500;
}

.detail-catalog-measure em {
  padding: 6px 9px;
  overflow-wrap: anywhere;
  font-style: normal;
}

.detail-catalog-action {
  padding: 10px 12px;
  border-top: 1px solid #edf0f2;
  color: var(--blue);
  font-size: 11px;
  text-align: center;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 20px;
}

.catalog-card {
  border: 0;
  padding: 0;
  background: #fff;
  text-align: center;
  cursor: pointer;
}

.catalog-card .catalog-image {
  overflow: hidden;
  background: #fff;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: contain;
  transition: transform .4s ease;
}

.catalog-card:hover img {
  transform: scale(1.035);
}

.catalog-card h2 {
  margin: 16px 0 0;
  color: #1671b8;
  font-size: 18px;
  font-weight: 500;
}

.catalog-card p {
  display: none;
}

.catalog-card-action {
  display: inline-block;
  margin-top: 8px;
  color: #7d858c;
  font-size: 12px;
  transition: color .2s ease, transform .2s ease;
}

.catalog-card:hover .catalog-card-action {
  color: var(--blue);
  transform: translateX(3px);
}

.empty-state {
  padding: 36px;
  color: #888;
  text-align: center;
}

/* News page */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
  color: #444;
}

.news-filter strong {
  margin-right: 8px;
}

.news-filter button {
  padding: 3px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.news-filter button:hover,
.news-filter button.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  min-height: 120px;
  padding: 20px 26px;
  border: 0;
  color: #222;
  background: #f7f7f7;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}

.news-list-card:hover {
  background: #f0f4f8;
}

.news-list-title {
  display: block;
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.news-list-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #8b8b8b;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list-date {
  text-align: right;
}

.news-list-date span {
  display: block;
  color: #999;
  font-size: 15px;
}

.news-list-date strong {
  display: block;
  color: #8f8f8f;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

/* Contact page */
.contact-tabs {
  margin-bottom: 10px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.contact-info-grid > img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.contact-details h2 {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 500;
}

.contact-details > p {
  margin: 0 0 24px;
  color: #4a4a4a;
}

.contact-detail-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0;
  font-size: 17px;
}

.contact-detail-row svg {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  flex: 0 0 auto;
  fill: var(--blue);
}

.contact-detail-row a {
  color: #222;
}

.contact-detail-row a:hover {
  color: var(--blue);
}

.map-card {
  position: relative;
  display: flex;
  min-height: 280px;
  margin-top: 54px;
  padding: 38px;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 49, 79, .93), rgba(8, 49, 79, .3)),
    url("../images/map-base-company-building.jpg") center / cover;
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 37, 62, .88), rgba(4, 37, 62, .08));
  pointer-events: none;
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  padding-top: 28px;
}

.map-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.map-card p {
  margin: 0;
}

.map-card .button {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  color: #202020;
  border-color: var(--yellow);
  background: var(--yellow);
}

body[data-page="products"] .inner-content > .container {
  width: min(calc(100% - 84px), 1380px);
}

body[data-page="about"] .inner-content > .container,
body[data-page="news"] .inner-content > .container {
  width: min(calc(100% - 48px), 1200px);
}

body[data-page="workshop"] .inner-content > .container {
  width: min(calc(100% - 48px), 1280px);
}

/* Footer */
.site-footer {
  color: #fff;
  background: #0871bb;
}

.footer-grid {
  display: grid;
  grid-template-columns: .86fr 1.3fr 160px;
  gap: 58px;
  padding-top: 42px;
  padding-bottom: 36px;
}

.footer-column h2 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .06em;
}

.footer-column h3 {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 400;
}

.footer-column p {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-links nav {
  display: grid;
  gap: 5px;
}

.footer-links a,
.footer-contact a {
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-company {
  margin-bottom: 11px !important;
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 132px;
  height: 132px;
  margin: 0 auto 8px;
  padding: 4px;
  object-fit: contain;
  background: #fff;
}

.footer-qr p {
  font-size: 13px;
}

.copyright {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  color: rgba(255,255,255,.82);
}

.copyright a:hover {
  color: var(--yellow);
}

/* Floating controls */
.back-top {
  position: fixed;
  z-index: 30;
  right: 26px;
  bottom: 122px;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  color: #fff;
  background: #4b4b4b;
  font-size: 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.back-top.is-visible {
  opacity: .88;
  pointer-events: auto;
  transform: none;
}

.back-top:hover {
  background: var(--blue);
}

.contact-widget {
  position: fixed;
  z-index: 35;
  right: 24px;
  bottom: 24px;
}

.contact-trigger {
  display: flex;
  width: 78px;
  min-height: 72px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 52, 94, .18);
}

.contact-trigger svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.contact-trigger span {
  font-size: 12px;
  line-height: 1.25;
}

.contact-panel {
  position: absolute;
  right: 0;
  bottom: 84px;
  display: none;
  width: 300px;
  overflow: hidden;
  border: 1px solid #dfe3e7;
  background: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .16);
}

.contact-panel.is-open {
  display: block;
  animation: panel-in .2s ease;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.contact-panel-head {
  position: relative;
  min-height: 70px;
  padding: 18px 40px 18px 74px;
  color: #fff;
  background: #92979b;
}

.contact-panel-head img {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.contact-panel-head strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
}

.contact-panel-head small {
  display: block;
  margin-top: 2px;
  opacity: .82;
}

.contact-panel-close {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.contact-panel-body {
  padding: 18px;
  color: #777;
  font-size: 13px;
}

.contact-panel-bubble {
  padding: 12px;
  background: #f3f5f7;
  line-height: 1.7;
}

.contact-panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.contact-panel-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
}

.contact-panel-links a:last-child {
  color: #333;
  background: #eef2f5;
}

/* Models and notifications */
.product-modal,
.news-modal,
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  padding: 24px;
  align-items: center;
  justify-content: center;
  background: rgba(4, 18, 31, .72);
}

.product-modal.is-open,
.news-modal.is-open,
.lightbox.is-open {
  display: flex;
  animation: fade-in .2s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
}

.product-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  width: min(100%, 920px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
}

.product-modal-image {
  display: flex;
  min-height: 470px;
  padding: 32px;
  align-items: center;
  justify-content: center;
  background: #f6f7f8;
}

.product-modal-image img {
  max-height: 410px;
  object-fit: contain;
}

.product-modal-body {
  padding: 62px 48px 40px;
}

.product-modal-body h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 500;
}

.product-modal-description {
  color: #666;
}

.product-modal-body ul {
  margin: 20px 0 30px;
  padding: 0;
  color: #555;
  list-style: none;
}

.product-modal-body li {
  position: relative;
  margin: 8px 0;
  padding-left: 20px;
}

.product-modal-body li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--yellow);
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-modal-close,
.news-modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 0;
  background: rgba(255,255,255,.92);
  cursor: pointer;
}

.product-modal-close svg,
.news-modal-close svg {
  width: 100%;
  height: 100%;
  fill: #333;
}

.news-modal-card {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 58px;
  background: #fff;
}

.news-modal-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.5;
}

.news-modal-date {
  margin: 0 0 24px;
  color: #999;
}

.news-modal-content {
  margin-bottom: 30px;
  color: #444;
  line-height: 2;
  white-space: pre-line;
}

.lightbox {
  color: #fff;
  background: rgba(0,0,0,.9);
}

.lightbox img {
  max-width: min(82vw, 950px);
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 2;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 26px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.lightbox-close svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  padding: 16px;
  font-size: 56px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption {
  position: fixed;
  right: 20px;
  bottom: 16px;
  left: 20px;
  margin: 0;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 110px;
  padding: 13px 20px;
  color: #fff;
  background: #23844c;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* Services page */
.service-page {
  padding-bottom: 96px;
}

.factory-summary {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: end;
  margin: -14px 0 42px;
  padding: 30px 34px;
  border-left: 4px solid var(--red);
  background: #f5f7f9;
}

.factory-summary h2 {
  margin: 3px 0 0;
  font-size: 26px;
  font-weight: 500;
}

.factory-summary > p {
  margin: 0;
  color: #60676e;
  line-height: 1.9;
}

.factory-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border: 1px solid var(--line);
}

.factory-facts > div {
  padding: 27px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.factory-facts > div:last-child {
  border-right: 0;
}

.factory-facts strong {
  display: block;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.factory-facts span {
  color: #7b8289;
  font-size: 12px;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  background: var(--soft);
}

.service-intro-copy {
  padding: clamp(40px, 6vw, 78px);
}

.service-intro-copy h2 {
  margin: 8px 0 24px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.35;
}

.service-intro-copy > p:not(.eyebrow) {
  margin: 0;
  color: #565b62;
  font-size: 17px;
  line-height: 2;
}

.service-intro-media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}

.service-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b3559;
}

.service-section {
  margin-top: 92px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 36px 30px;
  background: #fff;
}

.service-number {
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.service-card h3 {
  margin: 22px 0 14px;
  font-size: 23px;
  font-weight: 500;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #646a71;
  font-size: 15px;
  line-height: 1.9;
}

.quality-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 82px;
  padding: 46px 34px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(10, 55, 94, .96), rgba(22, 114, 196, .78)),
    url("../images/836b6d0f-9607-426d-8197-c40af7fa67cc.png") center / cover;
}

.quality-band > div {
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.22);
  text-align: center;
}

.quality-band > div:last-child {
  border-right: 0;
}

.quality-band strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(31px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
}

.quality-band strong small {
  margin-left: 2px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
}

.quality-band span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-grid li {
  position: relative;
  padding: 30px 25px;
  border: 1px solid var(--line);
}

.process-grid li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 47px;
  right: -18px;
  width: 13px;
  height: 13px;
  border-top: 1px solid #aeb5bc;
  border-right: 1px solid #aeb5bc;
  content: "";
  transform: rotate(45deg);
}

.process-grid span {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.process-grid h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 500;
}

.process-grid p {
  margin: 0;
  color: #747a80;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 38px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #fff;
}

.faq-list summary {
  position: relative;
  padding: 20px 52px 20px 22px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--blue);
  content: "+";
  font-size: 23px;
  font-weight: 300;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: #666e75;
  line-height: 1.9;
}

.service-cta,
.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 88px;
  padding: 42px 48px;
  border-left: 4px solid var(--red);
  background: #f4f6f8;
}

.service-cta h2,
.detail-cta h2 {
  margin: 3px 0 8px;
  font-size: 27px;
  font-weight: 500;
}

.service-cta p,
.detail-cta p {
  margin: 0;
  color: #666d74;
}

/* Product and news detail pages */
.detail-hero {
  height: 360px;
}

.detail-loading,
.detail-error {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 70px 24px;
  text-align: center;
}

.detail-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid #dce2e8;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: detail-spin .8s linear infinite;
}

.detail-loading p,
.detail-error p {
  margin: 0;
  color: #7a8188;
}

.detail-error h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
}

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

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.product-detail-media {
  position: relative;
  display: grid;
  min-height: 520px;
  padding: 45px;
  place-items: center;
  background: #f5f7f9;
}

.product-detail-media::before {
  position: absolute;
  top: 22px;
  right: 22px;
  bottom: 22px;
  left: 22px;
  border: 1px solid #e5e9ed;
  content: "";
  pointer-events: none;
}

.product-detail-media img {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
}

.detail-media-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.product-detail-info h1 {
  margin: 7px 0 10px;
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.3;
}

.product-detail-subtitle {
  margin: 0;
  color: var(--blue);
  font-size: 17px;
}

.product-detail-rule {
  width: 54px;
  height: 3px;
  margin: 25px 0;
  background: var(--red);
}

.product-detail-description {
  margin: 0 0 30px;
  color: #555c63;
  font-size: 17px;
  line-height: 2;
}

.product-detail-info h2 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 500;
}

.detail-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-feature-list li {
  position: relative;
  padding-left: 22px;
  color: #3f464d;
}

.detail-feature-list li::before {
  position: absolute;
  top: .73em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--red);
  content: "";
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.detail-service-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-service-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-service-list dt {
  color: #7a8188;
  font-size: 13px;
}

.detail-service-list dd {
  margin: 0;
  color: #424950;
  font-size: 13px;
}

.related-products,
.related-articles {
  margin-top: 100px;
}

.related-product-grid,
.related-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.related-product-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-product-card:hover,
.related-article-card:hover {
  box-shadow: 0 18px 45px rgba(24,42,60,.1);
  transform: translateY(-3px);
}

.related-product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.36;
  object-fit: contain;
}

.related-product-card h3 {
  margin: 18px 0 4px;
  font-size: 18px;
  font-weight: 500;
}

.related-product-card p {
  margin: 0;
  color: #7c838a;
  font-size: 13px;
}

.detail-cta {
  margin-top: 76px;
}

.article-page {
  padding-bottom: 100px;
}

.article-shell {
  width: min(100%, 940px);
  margin: 0 auto;
}

.article-header {
  padding: 18px 0 38px;
  border-bottom: 1px solid var(--line);
}

.article-category {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 5px 11px;
  color: var(--blue);
  background: #eaf3fb;
  font-size: 12px;
}

.article-header h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.42;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #8a9198;
  font-size: 13px;
}

.article-summary {
  margin: 28px 0 0;
  padding: 20px 24px;
  color: #505860;
  background: #f5f7f9;
  font-size: 16px;
  line-height: 1.9;
}

.article-body {
  padding: 45px 0 20px;
}

.article-body p {
  margin: 0 0 25px;
  color: #3f464d;
  font-size: 17px;
  line-height: 2.1;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: .8;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 28px 30px;
  border-top: 3px solid var(--blue-dark);
  background: #f7f8fa;
}

.article-footer > div:first-child {
  display: grid;
  gap: 4px;
}

.article-footer strong {
  font-size: 17px;
  font-weight: 500;
}

.article-footer span {
  color: #777e85;
  font-size: 13px;
}

.article-footer > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.related-article-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-article-card > span {
  color: var(--blue);
  font-size: 12px;
}

.related-article-card h3 {
  margin: 14px 0 11px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.related-article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: #777e85;
  font-size: 13px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-article-card time {
  margin-top: auto;
  color: #9aa1a7;
  font-size: 12px;
}

.news-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 24px;
  }

  .brand img {
    width: 404px;
  }

  .header-inner {
    min-height: 94px;
  }

  .main-nav ul {
    gap: 24px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .home-hero {
    height: 470px;
  }

  .footer-grid {
    grid-template-columns: .78fr 1.25fr 130px;
    gap: 30px;
  }

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

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

  .process-grid li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .topbar-inner,
  .header-inner,
  body[data-page="products"] .inner-content > .container,
  body[data-page="about"] .inner-content > .container,
  body[data-page="news"] .inner-content > .container,
  body[data-page="workshop"] .inner-content > .container {
    width: min(calc(100% - 36px), 1280px);
  }

  .topbar p {
    display: none;
  }

  .topbar-inner {
    justify-content: flex-end;
  }

  .header-inner {
    min-height: 88px;
  }

  .brand img {
    width: 388px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 8px 18px 18px;
    border-top: 1px solid #eee;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
  }

  .main-nav.is-open {
    display: block;
  }

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

  .main-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid #eee;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .home-hero {
    height: 58vw;
    min-height: 330px;
    max-height: 480px;
  }

  .inner-hero {
    height: 48vw;
    min-height: 300px;
    max-height: 430px;
  }

  .hero-arrow {
    width: 32px;
    font-size: 40px;
  }

  .about-intro-grid,
  .content-split,
  .contact-info-grid {
    gap: 36px;
  }

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

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

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

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

  .footer-qr {
    display: none;
  }

  .tab-button {
    min-width: 210px;
  }

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

  .product-catalog {
    gap: 34px 22px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar-inner,
  .header-inner,
  body[data-page="products"] .inner-content > .container,
  body[data-page="about"] .inner-content > .container,
  body[data-page="news"] .inner-content > .container,
  body[data-page="workshop"] .inner-content > .container {
    width: min(calc(100% - 28px), 1280px);
  }

  .topbar {
    height: 52px;
  }

  .topbar-contact {
    width: 100%;
    justify-content: center;
  }

  .topbar-contact > span:not(.phone-lines) {
    display: none;
  }

  .topbar-contact a {
    font-size: 16px;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: min(340px, calc(100vw - 92px));
  }

  .home-hero {
    height: 63vw;
    min-height: 250px;
  }

  .inner-hero {
    height: 54vw;
    min-height: 240px;
  }

  .hero-arrow {
    display: none;
  }

  .breadcrumb {
    min-height: 54px;
  }

  .page-heading {
    padding: 38px 0 32px;
  }

  .page-heading h1 {
    font-size: 32px;
  }

  .page-heading p {
    font-size: 23px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .home-about {
    padding: 48px 0;
  }

  .about-intro-grid,
  .content-split,
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 29px;
  }

  .about-copy,
  .content-copy p {
    font-size: 15px;
    line-height: 1.9;
  }

  .about-actions {
    gap: 10px;
  }

  .about-actions .button {
    min-width: 0;
    flex: 1;
  }

  .products-showcase {
    padding: 52px 0 45px;
  }

  .products-showcase .section-heading h2 {
    font-size: 30px;
  }

  .product-category-grid {
    gap: 12px;
    margin-top: 26px;
  }

  .product-category-card span {
    min-height: 58px;
    padding: 9px 5px;
    font-size: 14px;
  }

  .advantages {
    padding: 50px 0;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .advantage-card {
    min-height: 250px;
  }

  .home-news {
    padding: 48px 0;
  }

  .news-preview-grid {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .news-preview-card {
    min-height: 200px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-button {
    min-width: calc(50% - 5px);
    padding: 9px 8px;
    font-size: 14px;
  }

  .tab-panel {
    padding-top: 34px;
  }

  .subheading {
    margin: 55px 0 24px;
  }

  .subheading h2 {
    font-size: 30px;
  }

  .subheading p {
    font-size: 22px;
  }

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

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

  .catalog-card h2 {
    margin-top: 9px;
    font-size: 15px;
  }

  .catalog-card p {
    display: none;
  }

  .news-list-card {
    grid-template-columns: 1fr 75px;
    padding: 17px;
  }

  .news-list-title {
    font-size: 16px;
  }

  .news-list-date strong {
    font-size: 23px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    padding-top: 34px;
  }

  .copyright {
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
  }

  .contact-widget {
    right: 12px;
    bottom: 12px;
  }

  .contact-trigger {
    width: 64px;
    min-height: 60px;
  }

  .contact-panel {
    bottom: 70px;
    width: min(300px, calc(100vw - 24px));
  }

  .back-top {
    right: 14px;
    bottom: 84px;
    width: 42px;
    height: 42px;
  }

  .product-modal,
  .news-modal,
  .lightbox {
    padding: 12px;
  }

  .product-modal-card {
    display: block;
    max-height: calc(100vh - 24px);
  }

  .product-modal-image {
    min-height: 0;
    height: 45vh;
    padding: 20px;
  }

  .product-modal-image img {
    max-height: 100%;
  }

  .product-modal-body {
    padding: 28px 22px;
  }

  .product-modal-body h2 {
    font-size: 23px;
  }

  .product-modal-actions .button {
    min-width: 0;
    flex: 1;
    padding-inline: 10px;
  }

  .news-modal-card {
    max-height: calc(100vh - 24px);
    padding: 48px 22px 28px;
  }

  .news-modal-card h2 {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .scenes-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-center-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }

  .product-sidebar-title {
    min-height: 82px;
    padding: 17px 20px;
  }

  .category-list {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .category-list button {
    min-width: 205px;
    border-right: 1px solid #eceff1;
    border-bottom: 0;
  }

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

  .factory-summary {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .factory-facts > div:nth-child(2n) {
    border-right: 0;
  }

  .factory-facts > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .service-intro-media {
    min-height: 360px;
  }

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

  .quality-band > div {
    padding: 22px 18px;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .quality-band > div:nth-child(2n) {
    border-right: 0;
  }

  .quality-band > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

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

  .product-detail-media {
    min-height: 430px;
  }

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

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

@media (max-width: 700px) {
  .scenes-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-more {
    margin-top: 44px;
    padding-top: 36px;
  }

  .gallery-more-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .gallery-more-heading .eyebrow {
    margin-bottom: 0;
  }

  .gallery-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-category-heading > span {
    margin-top: 0;
  }

  .category-list button {
    min-width: 180px;
    padding-right: 12px;
    font-size: 12px;
  }

  .detail-product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-catalog-image {
    padding: 0;
  }

  .detail-catalog-image img {
    max-height: none;
  }

  .detail-hero {
    height: 270px;
  }

  .service-intro-copy {
    padding: 34px 24px;
  }

  .factory-summary {
    margin-top: 0;
    padding: 25px 22px;
  }

  .factory-summary h2 {
    font-size: 23px;
  }

  .service-intro-copy h2 {
    font-size: 28px;
  }

  .service-intro-media {
    min-height: 270px;
  }

  .service-section {
    margin-top: 64px;
  }

  .service-grid,
  .process-grid,
  .related-product-grid,
  .related-article-grid {
    grid-template-columns: 1fr;
  }

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

  .quality-band {
    margin-top: 58px;
    padding: 18px 8px;
  }

  .quality-band > div {
    padding: 20px 10px;
  }

  .process-grid li::after {
    display: none;
  }

  .service-cta,
  .detail-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 62px;
    padding: 28px 24px;
  }

  .service-cta h2,
  .detail-cta h2 {
    font-size: 23px;
  }

  .product-detail-layout {
    gap: 36px;
  }

  .product-detail-media {
    min-height: 330px;
    padding: 32px 20px;
  }

  .product-detail-media::before {
    inset: 12px;
  }

  .product-detail-info h1 {
    font-size: 31px;
  }

  .product-detail-actions .button {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
  }

  .detail-service-list > div {
    grid-template-columns: 72px 1fr;
  }

  .related-products,
  .related-articles {
    margin-top: 68px;
  }

  .article-header {
    padding-top: 8px;
  }

  .article-header h1 {
    font-size: 29px;
  }

  .article-summary {
    padding: 17px 18px;
  }

  .article-body {
    padding-top: 32px;
  }

  .article-body p {
    font-size: 16px;
  }

  .article-footer > div:last-child {
    width: 100%;
  }

  .article-footer .button {
    flex: 1;
    min-width: 0;
  }

  .news-modal-actions .button {
    flex: 1;
    min-width: 0;
    padding-inline: 10px;
  }
}

/* Product homepage carousel: preserve the artwork's wide composition. */
.home-hero-products {
  height: min(700px, 36.458vw);
  min-height: 430px;
  background: #eaf5fb;
}

.hero-products .hero-slide {
  background-position: center center;
}

.hero-products .hero-dot {
  background: #0d4875;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .82);
  opacity: .46;
}

.hero-products .hero-dot.is-active {
  background: #1672c4;
  opacity: 1;
}

.hero-products .hero-arrow {
  color: #0b568c;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .8));
}

@media (max-width: 700px) {
  .home-hero-products {
    height: 64vw;
    min-height: 250px;
  }
}

/* Navigation-page carousels must keep the source banner ratio instead of cropping. */
.inner-hero.hero-products {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1920 / 700;
}

@media (max-width: 700px) {
  .map-card-content {
    padding-top: 20px;
    padding-bottom: 62px;
  }

  .map-card .button {
    right: 0;
    bottom: 0;
  }

  .managed-page-content {
    margin-bottom: 38px;
    padding: 22px 18px;
  }

  .managed-page-intro {
    font-size: 16px;
  }

  .managed-page-body h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
