/* ==========================================================================
   MAXXFANS - Main Stylesheet
   1:1 flat design reference of kalefans.net (no border-radius, no shadows)
   Primary color: #00508C (logo blue)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --theme-color: #00508C;
  /* primary — logo blue */
  --theme-color2: #0073BD;
  /* lighter blue */
  --theme-color3: #003A66;
  /* darker blue */
  --accent-orange: #E78926;
  /* secondary accent (matches kalefans orange) */
  --title-color: #101010;
  --body-color: #444444;
  --smoke-color: #F7F7F7;
  --light-gray: #EFEFEF;
  --white-color: #ffffff;
  --yellow-color: #FFCC33;
  --success-color: #28a745;
  --error-color: #dc3545;
  --border-color: #DFDFDF;
  --title-font: "Jost-Regular";
  --body-font: "Jost-Regular";
  --icon-font: "Font Awesome 5 Free";
  --main-container: 1290px;
  --container-gutters: 30px;
  --section-space: 100px;
  --section-space-mobile: 70px;
  --section-title-space: 60px;
  --radius: 0px;
  /* flat — no rounded corners */
}

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Jost-Regular';
  src: url('../fonts/Jost-Regular.ttf');
}

@font-face {
  font-family: 'Jost-Bold';
  src: url('../fonts/Jost-Bold.ttf');
}

@font-face {
  font-family: 'Jost-Medium';
  src: url('../fonts/Jost-Medium.ttf');
}

@font-face {
  font-family: 'Teko-Medium';
  src: url('../fonts/Teko-Medium.ttf');
}

@font-face {
  font-family: 'Teko-Light';
  src: url('../fonts/Teko-Light.ttf');
}

@font-face {
  font-family: 'Teko-SemiBold';
  src: url('../fonts/Teko-SemiBold.ttf');
}

/* ---------- Reset / Base ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: auto !important;
}

body {
  font-family: 'Jost-Regular', Arial;
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 26px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  background: #fff;
}

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

a {
  text-decoration: none;
  color: var(--theme-color);
  transition: all ease 0.3s;
}

a:hover {
  color: var(--theme-color2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

p {
  margin: 0 0 1em;
}

.bold {
  font-family: 'Jost-Bold';
}

.medium {
  font-family: 'Teko-Medium';
}

.semiBold {
  font-family: 'Teko-SemiBold';
}

[id] {
  scroll-margin-top: 90px;
}

.container {
  max-width: var(--main-container);
  margin: 0 auto;
  padding: 0 var(--container-gutters);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  background: var(--theme-color);
  color: #fff;
  padding: 8px 14px;
  z-index: 99999;
}

/* ---------- Section spacing / titles ---------- */
.section {
  padding: var(--section-space) 0;
}

.section-alt {
  background: var(--smoke-color);
}

.section-gray {
  background: var(--light-gray);
}

.section-dark {
  background: #0c0d13;
  color: #fff;
}

.title-area {
  margin-bottom: var(--section-title-space);
  text-align: center;
}

.title-area.left {
  text-align: left;
}

.sec-subtitle {
  display: block;
  color: var(--theme-color);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  font-family: var(--title-font);
}

.sec-title {
  font-size: 48px;
  margin: 0 0 0.25em 0;
  font-family: 'Teko-Medium';
  color: var(--title-color);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 400;
}

.section-dark .sec-title {
  color: #fff;
}

.section-dark .sec-subtitle {
  color: var(--accent-orange);
}

.sec-subtitle2 {
  font-size: 20px;
  margin: 0 0 0 0;
  display: block;
  color: var(--body-color);
  text-transform: none;
}

/* ---------- Buttons (flat, rectangular) ---------- */
.vs-btn {
  vertical-align: middle;
  display: inline-block;
  text-align: center;
  font-family: var(--title-font);
  background-color: var(--theme-color);
  color: var(--white-color);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 16px 32px;
  border-radius: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--theme-color);
  transition: all ease 0.3s;
  letter-spacing: 0.03em;
}

.vs-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color3);
  transform: translateX(-101%);
  z-index: -1;
  transition: all ease 0.3s;
}

.vs-btn i {
  display: inline-block;
  vertical-align: middle;
  transition: all ease 0.3s;
  margin-left: 8px;
}

.vs-btn:hover {
  color: var(--white-color);
}

.vs-btn:hover:before {
  transform: translateX(0);
}

.vs-btn.style2 {
  background-color: transparent;
  color: var(--theme-color);
  border-color: var(--theme-color);
}

.vs-btn.style2:before {
  background-color: var(--theme-color);
}

.vs-btn.style2:hover {
  color: #fff;
}

.vs-btn.style3 {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  text-transform: uppercase;
  font-family: var(--title-font);
}

.vs-btn.style3:before {
  background-color: var(--theme-color);
}

.vs-btn.style3:hover {
  color: #fff;
  border-color: var(--theme-color);
}

.vs-btn.style4 {
  background-color: transparent;
  border: 1px solid var(--title-color);
  color: var(--title-color);
  padding: 16px 32px;
}

.vs-btn.style4:hover {
  color: #fff;
}

.vs-btn.style6 {
  padding: 16px 32px;
  border: 2px solid var(--theme-color);
  background-color: var(--theme-color);
  color: #fff;
}

/* ==========================================================================
   Header — black bar, flat
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo .logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  align-self: stretch;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-self: stretch;
  align-items: stretch;
}

.nav-menu>li {
  position: relative;
  margin-left: 32px;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-menu>li:first-child {
  margin-left: 0;
}

.nav-menu>li>a {
  display: block;
  position: relative;
  color: #fff;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: all ease 0.3s;
}

.nav-menu>li>a:hover {
  color: var(--theme-color);
}

.nav-menu>li.current-menu-item>a,
.nav-menu>li.current_page_item>a {
  color: var(--theme-color);
}

/* dropdown indicator icon (menu-icon) */
.nav-menu>li.menu-item-has-children>a .menu-icon {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--theme-color);
}

.nav-menu>li.menu-item-has-children:hover>a .menu-icon {
  opacity: 1;
  visibility: visible;
}

/* GET A QUOTE button (orange outline) */
.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px 2px;
  font-size: 16px;
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
  font-weight: 700;
  background: transparent;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--theme-color);
}

/* Header right cluster: search + language + CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

.header-btns {
  display: flex;
  align-items: center;
}

.header-btns button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  line-height: 1;
}

.header-btns button:hover {
  color: var(--accent-orange);
}

/* Flat line icons (inline SVG, shared 24px grid / 1.5px stroke) */
.mx-icon {
  display: block;
  flex: 0 0 auto;
  color: currentColor;
}

/* Search overlay (fullscreen modal) */
.search-box {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.search-box.open {
  opacity: 1;
  visibility: visible;
}

.search-box form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, 90vw);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 16px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box.open form {
  transform: translateY(0);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  font-family: 'Jost-Regular', Arial;
  padding: 8px 0;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-box input:focus {
  outline: none;
}

.search-box button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 0;
  transition: all 0.25s ease;
}

.search-box button:hover {
  background: #fff;
  color: var(--accent-orange);
}

.search-box .search-close {
  position: absolute;
  top: 30px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 10px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.25s ease;
}

.search-box .search-close:hover {
  background: none;
  color: var(--accent-orange);
}

/* Language switcher */
.header-language {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch; /* 撑满 header 高度，下拉才能贴底 */
}

.header-language>a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.header-language>a:hover {
  color: var(--accent-orange);
}

.header-language>a img {
  width: 18px;
  height: 18px;
}

.mx-icon-caret {
  transition: transform 0.3s ease;
}

.header-language:hover .mx-icon-caret {
  transform: rotate(180deg);
}

.header-language .dd {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e3e3e3;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  padding: 6px 0;
}

.header-language:hover .dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-language .dd a {
  display: block;
  color: var(--body-color);
  padding: 8px 20px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.header-language .dd a:hover {
  color: var(--theme-color);
  background: var(--smoke-color);
}

/* ===== Mega menu (Solutions) ===== */
.nav-menu .mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(12px);
  width: 960px;
  background: #fff;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  display: flex;
  padding: 0;
}

.nav-menu li:hover>.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu .mega-list {
  width: 300px;
  background: #111;
  padding: 12px 0;
  flex-shrink: 0;
}

.mega-menu .mega-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ddd;
  padding: 14px 22px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.mega-menu .mega-list a:hover,
.mega-menu .mega-list a.active {
  color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.04);
}

.mega-menu .mega-list a i {
  font-size: 13px;
}

.mega-menu .mega-panel {
  flex: 1;
  display: none;
  padding: 30px 32px;
  align-items: center;
  gap: 24px;
}

.mega-menu .mega-panel.active {
  display: flex;
}

.mega-menu .mega-panel .mega-left {
  flex: 1;
}

.mega-menu .mega-panel .mega-left p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.mega-menu .mega-panel .mega-right {
  width: 220px;
  flex-shrink: 0;
}

.mega-menu .mega-panel .mega-right img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0;
}

/* ===== Simple dropdown (Products) ===== */
.nav-menu ul.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #111;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
  padding: 10px 0;
}

.nav-menu li:hover>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu ul.sub-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu ul.sub-menu a {
  display: block;
  color: #ddd;
  padding: 11px 22px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.nav-menu ul.sub-menu a:hover {
  color: var(--accent-orange);
  padding-left: 28px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  background: #000;
  padding: 20px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li a {
  display: block;
  color: #fff;
  padding: 14px 0;
  font-weight: 400;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: #0c0d13;
  color: #fff;
  min-height: 95vh;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.55) 55%, rgba(10, 11, 14, 0.2) 100%);
}

.hero .container {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 0;
}

.hero-eyebrow {
  color: var(--accent-orange);
  font-family: 'Teko-Medium';
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: slideinleft 0.8s ease both;
}

.hero h1 {
  color: #fff;
  font-family: 'Teko-SemiBold';
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: slideinup 0.9s ease 0.1s both;
}

.hero .hero-slogan {
  font-family: 'Teko-Medium';
  font-size: 28px;
  color: var(--accent-orange);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: slideinup 0.9s ease 0.2s both;
}

.hero p.hero-sub {
  color: #fff;
  font-size: 21px;
  line-height: 30px;
  margin-bottom: 65px;
  max-width: 630px;
  animation: slideinup 0.9s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideinup 0.9s ease 0.4s both;
}

/* Swiper hero navigation (flat) */
.hero .swiper-pagination {
  bottom: 28px;
}

.hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero .swiper-pagination-bullet-active {
  background: var(--theme-color);
}

.hero .swiper-button-prev,
.hero .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: all 0.3s ease;
}

.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover {
  background: var(--accent-orange);
}

.hero .swiper-button-prev:after,
.hero .swiper-button-next:after {
  font-size: 18px;
}

/* ==========================================================================
   Stats / highlights
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  background: #fff;
  border: none;
  padding: 44px 24px;
  text-align: center;
  transition: all ease 0.3s;
  border-left: 1px solid var(--border-color);
}

.stat:first-child {
  border-left: none;
}

.stat .stat-num {
  font-family: 'Teko-SemiBold';
  font-size: 56px;
  line-height: 1;
  color: var(--theme-color);
  margin-bottom: 8px;
}

.stat .stat-label {
  color: var(--body-color);
  font-size: 15px;
  font-weight: 500;
}

/* ==========================================================================
   Products grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-media {
  height: 230px;
  overflow: hidden;
  background: #f2f2f2;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  color: var(--theme-color);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--title-font);
}

.product-body h3 {
  font-size: 24px;
  margin-bottom: 6px;
  font-family: 'Teko-Medium';
  font-weight: 400;
}

.product-tagline {
  color: var(--body-color);
  font-size: 15px;
  margin-bottom: 14px;
}

.product-desc {
  color: #6b7280;
  font-size: 14.5px;
  flex: 1;
}

.product-link {
  margin-top: 18px;
  font-weight: 600;
  color: var(--theme-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Product category index (products landing page)
   ========================================================================== */
.product-categories {
  padding: var(--section-space) 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-color);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-color);
}

.category-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #f2f2f2;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.05);
}

.category-media-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef0f3, #d9dde3);
}

.category-count {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 13, 19, 0.82);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 0;
}

.category-body {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-body h3 {
  font-family: 'Teko-Medium';
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--title-color);
  margin: 0;
}

.category-link {
  flex-shrink: 0;
  color: var(--theme-color);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.category-link i {
  margin-left: 5px;
  transition: transform 0.25s ease;
}

.category-card:hover .category-link i {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-media {
    height: 220px;
  }
}

/* ==========================================================================
   Solutions grid
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #0c0d13;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
}

.solution-card .solution-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.solution-card:hover .solution-img {
  opacity: 0.65;
  transform: scale(1.05);
}

.solution-card .solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.02) 0%, rgba(10, 11, 14, 0.94) 80%);
}

.solution-card .solution-content {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.solution-card h3 {
  color: #fff;
  font-family: 'Teko-Medium';
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.solution-card .solution-tagline {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 12px;
}

.solution-card .solution-link {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 30px 26px;
  transition: all ease 0.3s;
  position: relative;
}

.service-card:hover {
  border-color: var(--theme-color);
}

.service-num {
  font-family: 'Teko-SemiBold';
  font-size: 40px;
  line-height: 1;
  color: var(--theme-color);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  color: #6b7280;
  font-size: 14.5px;
  margin: 0;
}

/* ==========================================================================
   About / Company
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-copy .sec-title {
  font-size: 42px;
}

.about-copy p {
  color: var(--body-color);
  font-size: 16px;
  margin-bottom: 18px;
}

.about-media img {
  border-radius: 0;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.factory-grid .factory-item {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
}

.factory-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.factory-grid .factory-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   CTA band (flat, primary color)
   ========================================================================== */
.cta-band {
  background: var(--theme-color);
  color: #fff;
  text-align: center;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  font-family: 'Teko-SemiBold';
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-band .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .vs-btn {
  background-color: #fff;
  color: var(--theme-color);
  border-color: #fff;
}

.cta-band .vs-btn:before {
  background-color: var(--theme-color3);
}

.cta-band .vs-btn:hover {
  color: #fff;
}

/* ==========================================================================
   Contact / inquiry form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info .sec-title {
  font-size: 38px;
}

.contact-info ul {
  margin: 24px 0;
}

.contact-info li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info .c-icon {
  color: var(--theme-color);
  font-size: 20px;
  width: 26px;
  margin-top: 2px;
}

.contact-info .c-label {
  font-weight: 700;
  color: var(--title-color);
  min-width: 120px;
}

.contact-info .c-value {
  color: var(--body-color);
}

.inquiry-form {
  background: var(--smoke-color);
  border-radius: 0;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--title-color);
  font-family: var(--title-font);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--body-color);
  transition: all ease 0.3s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--theme-color);
}

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

.form-note {
  font-size: 13px;
  color: var(--body-color);
  margin-top: 10px;
}

.form-success,
.form-error {
  padding: 16px 20px;
  border-radius: 0;
  margin-bottom: 20px;
  font-weight: 500;
}

.form-success {
  background: #dcfce7;
  color: #166534;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: #0c0d13;
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  color: #fff;
  font-family: 'Teko-SemiBold';
  font-size: 56px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1;
}

.page-hero .eyebrow {
  color: var(--accent-orange);
  font-family: 'Teko-Medium';
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero p {
  color: #b9bec9;
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
}

/* Solution detail */
.solution-detail {
  padding: var(--section-space) 0;
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.solution-detail h2 {
  font-size: 38px;
  text-transform: uppercase;
  font-family: 'Teko-Medium';
  font-weight: 400;
}

.solution-detail .intro {
  font-size: 16px;
  color: var(--body-color);
  margin-bottom: 16px;
}

.solution-detail img {
  border-radius: 0;
}

.solution-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.solution-points li {
  padding: 14px 0 14px 28px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  color: var(--body-color);
}

.solution-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--theme-color);
  font-weight: 700;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.product-gallery>div {
  border-radius: 0;
  overflow: hidden;
  height: 72px;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Product category archive (filter bar + card grid)
   ========================================================================== */
.page-hero--product {
  padding-bottom: 60px;
}

.product-archive {
  padding-top: 50px;
}

/* Wide container on large screens (max-width 95%) */
.product-archive .container {
  max-width: 95%;
}

.filter-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.show-filters {
  color: var(--theme-color);
  font-size: 18px;
  line-height: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.show-filters i {
  font-size: 16px;
}

.solutions-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.solutions-nav li a {
  display: inline-block;
  color: #4d5153;
  font-size: 18px;
  padding: 8px 20px;
  line-height: 24px;
  transition: all 0.25s ease;
  border-radius: 0;
}

.solutions-nav li a:hover {
  color: var(--accent-orange);
}

.solutions-nav li.active a {
  background: #111;
  color: #fff;
}

/* Product list grid (1:1 reference: 3 cols, 30px gap, 1:1 square image) */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-list-card {
  display: block;
  border: 1px solid #dfdfdf;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-list-card:hover {
  transform: translateY(-6px);
  border: 1px solid #000;
}

.product-list-card .pic {
      display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f7f7;
    height: 400px;
}

.product-list-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-list-card:hover .pic img {
  transform: scale(1.06);
}

.product-list-card .float-gallery-content {
  padding: 40px 30px;
}

.product-list-card .float-gallery-content h4 {
  font-family: 'Teko-Medium';
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  color: #101010;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  min-height: 1.2em;
  /* reserve one line */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-list-card .float-gallery-content p {
  font-size: 18px;
  color: #4d5153;
  line-height: 28px;
  margin: 0;
  font-family: 'Jost-Regular', Arial;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 84px;
  /* 3 lines × 28px = 84px, keeps cards equal height */
}

.no-products {
  color: #4d5153;
  font-size: 18px;
  text-align: center;
  padding: 60px 0;
}

/* ==========================================================================
   Footer — light gray, flat
   ========================================================================== */
.site-footer {
  background: var(--light-gray);
  color: var(--body-color);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand .logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

.footer-slogan {
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--theme-color);
  margin-top: 4px;
}

.footer-contact a {
  color: var(--body-color);
}

.footer-contact a:hover {
  color: var(--theme-color);
}

.footer-col h4 {
  color: var(--title-color);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #555;
  font-size: 14px;
  transition: all ease 0.3s;
}

.footer-col a:hover {
  color: var(--theme-color);
}

.footer-bottom {
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #777;
}

.footer-bottom p {
  margin: 0;
  color: #4d5153;
  font-size: 16px;
}

/* ==========================================================================
   Animations (WOW.js compatible)
   ========================================================================== */
.animated {
  animation-fill-mode: both;
  animation-iteration-count: 1;
  animation-duration: 0.9s;
  animation-delay: 0.05s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideinup {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes slideinleft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideinright {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes fadein-custom {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* 2K 及以上分辨率：container 放宽到 1520px（含 hero 区域的 container）。 */
@media (min-width: 1920px) {
  :root {
    --main-container: 1520px;
  }

  .container {
    max-width: 1520px;
  }
}

@media (max-width: 1199px) {
  .sec-title {
    font-size: 40px;
  }

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

@media (max-width: 991px) {
  .sec-title {
    font-size: 34px;
  }

  .products-grid,
  .solutions-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-grid,
  .contact-grid,
  .solution-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .main-nav .nav-menu {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 540px;
  }

  .hero .swiper-slide {
    min-height: 540px;
  }

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

  .header-right {
    gap: 14px;
  }

  .sol-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .levelup-grid,
  .services-col-grid {
    flex-wrap: wrap;
  }

  .levelup-card,
  .services-col {
    flex: 1 1 40%;
  }
}

@media (max-width: 767px) {
  .sec-title {
    font-size: 30px;
  }

  .products-grid,
  .solutions-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .hero .hero-slogan {
    font-size: 22px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

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

  .filter-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box input {
    font-size: 22px;
  }

  /* Homepage sections */
  .why-grid,
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-media img,
  .spotlight-media img {
    height: 300px;
  }

  .advantage-grid,
  .dedicated-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .levelup-grid,
  .services-col-grid {
    flex-direction: column;
  }

  .acc-stage {
    height: 440px;
    gap: 14px;
  }

  .acc-card-body {
    padding: 0 34px;
    max-width: 100%;
  }

  .acc-title {
    font-size: 38px;
  }

  .sol-cards {
    grid-template-columns: 1fr;
  }

  .kale-title h3 {
    font-size: 30px;
    line-height: 34px;
  }

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

  .partners-right {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px;
  }

  .partners-left {
    padding: 40px 30px;
  }

  .cta-band h2 {
    font-size: 32px;
  }

  .iso-diagram {
    min-height: 260px;
  }

  .iso-label {
    display: none;
  }
}

/* ==========================================================================
   HOMEPAGE SECTIONS (enterprise layout)
   ========================================================================== */
.left-title {
  text-align: left;
}

/* --- 参考站 1:1 板块标题（kale-title） --- */
.kale-title {
  text-align: center;
  margin-bottom: 60px;
}

.kale-title h3 {
  font-family: 'Teko-Medium';
  font-size: 38px;
  font-weight: 400;
  line-height: 42px;
  color: #101010;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.kale-title p {
  font-size: 18px;
  color: #4d5153;
  line-height: 28px;
  margin: 0;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

/* --- Level Up Your Experience (数字卡 3 列) --- */
.levelup {
  padding: var(--section-space) 0;
}

.levelup-grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.levelup-card {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.lv-num {
  font-family: 'Teko-Medium';
  font-size: 50px;
  font-weight: 400;
  line-height: 60px;
  color: #000;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 60px;
}

.lv-num .lv-count {
  font-size: 50px;
  line-height: 60px;
  font-variant-numeric: tabular-nums;
}

.lv-num i {
  font-style: normal;
  font-size: 30px;
  line-height: 60px;
}

.lv-num span {
  font-size: 24px;
  color: #000;
  line-height: 60px;
}

.levelup-card p {
  font-size: 19px;
  color: #000;
  line-height: 28px;
  margin: 15px 0 18px;
  /* 固定描述区高度，保证三卡对齐（最多 3 行） */
  min-height: 84px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.lv-icon {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.lv-icon img {
  width: 68px;
  height: 70px;
  object-fit: contain;
}

/* --- Dedicated to Delivering Services+ (3 列 × 2 服务项) --- */
.dedicated-services {
  padding: var(--section-space) 0;
}

.services-col-grid {
  display: flex;
  gap: 30px;
}

.services-col {
  flex: 1;
}

.services-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-col li {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.sv-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-icon img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.services-col li p {
  font-size: 18px;
  color: #101010;
  line-height: 24px;
  margin: 0;
}

/* --- Product spotlight (EURUS III style) --- */
.product-spotlight {
  padding: var(--section-space) 0;
}

.spot-eyebrow {
  font-family: 'Teko-Medium';
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin: 0 0 10px;
}

.spot-title {
  font-family: 'Teko-Medium';
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
  color: #101010;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.spotlight-copy>p {
  font-size: 17px;
  color: var(--body-color);
  line-height: 28px;
  margin: 0 0 24px;
}

.spot-size {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
}

.spot-size .sv-icon {
  width: auto;
  height: auto;
}

.spot-size .sv-icon img {
  max-width: 48px;
  max-height: 48px;
}

.spot-size p {
  font-size: 16px;
  color: #4d5153;
  line-height: 24px;
  margin: 0;
}

/* --- Product accordion (horizontal fold cards — kalefans ihp-hero-3-story) --- */
.product-accordion {
  padding: var(--section-space) 0;
  background: #f5f6f8;
}
.container-wide {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.acc-stage {
  display: flex;
  gap: 20px;
  height: 620px;
  align-items: stretch;
}

.acc-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #eef0f3;
  transition: flex-grow 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              flex-basis 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}

/* Expanded card takes ~82% of the row; collapsed cards share the rest. */
.acc-card.is-expanded {
  flex-grow: 12;
  flex-basis: 0;
}

.acc-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.acc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.acc-card.is-expanded .acc-card-img {
  transform: scale(1.02);
}

/* Vertical rail label shown only when a card is collapsed. */
.acc-card-rail-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-family: 'Teko-Medium';
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #101010;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.acc-card.is-expanded .acc-card-rail-label {
  opacity: 0;
}

/* Text body — only visible when expanded. */
.acc-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 68px;
  max-width: 560px;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
  pointer-events: none;
}
.acc-card.is-expanded .acc-card-body {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Soft gradient scrim so white text stays readable over any image. */
.acc-card-body::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.78) 42%, rgba(255,255,255,0) 80%);
  z-index: -1;
}

.acc-eyebrow {
  font-family: 'Teko-Medium';
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin: 0 0 10px;
}
.acc-title {
  font-family: 'Teko-Medium';
  font-size: 52px;
  font-weight: 400;
  line-height: 1.0;
  color: #101010;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.acc-desc {
  font-size: 17px;
  line-height: 28px;
  color: #4d5153;
  margin: 0 0 24px;
}
.acc-spec {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
}
.acc-spec-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.acc-spec-text {
  font-size: 15px;
  line-height: 22px;
  color: #101010;
}
.acc-more {
  align-self: flex-start;
  font-family: 'Teko-Medium';
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #101010;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.acc-more i {
  font-size: 0.85em;
  margin-left: 6px;
  transition: transform 0.25s ease;
}
.acc-more:hover {
  color: var(--accent-orange);
}
.acc-more:hover i {
  transform: translateX(4px);
}

/* Expand toggle button (top-right, matches kalefans arrows icon). */
.acc-card-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.acc-card-toggle .acc-toggle-icon {
  font-size: 18px;
  color: #101010;
  transition: transform 0.4s ease;
}
.acc-card.is-expanded .acc-card-toggle .acc-toggle-icon {
  transform: rotate(180deg);
}
.acc-card-toggle:hover {
  background: var(--accent-orange);
}
.acc-card-toggle:hover .acc-toggle-icon {
  color: #fff;
}

/* --- Progress bar / dots / arrows --- */
.acc-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 24px;
}
.acc-count {
  font-family: 'Teko-Medium';
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #4d5153;
}
.acc-count b {
  font-size: 30px;
  color: #101010;
  font-weight: 400;
}
.acc-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.acc-dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  border: 1px solid #101010;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}
.acc-dot.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  width: 34px;
}
.acc-nav {
  display: flex;
  gap: 10px;
}
.acc-prev,
.acc-next {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #101010;
  background: transparent;
  color: #101010;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.25s ease;
}
.acc-prev:hover,
.acc-next:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* --- Solutions (KALE style: 大图 + 4 分类卡) --- */
.solutions-kale {
  padding: var(--section-space) 0;
}

.sol-media {
  position: relative;
  margin-bottom: 40px;
}

.sol-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sol-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.sol-pic {
  position: relative;
  text-align: center;
  padding: 20px 0;
}

.sol-pic img {
  width: 100%;
  height: auto;
}

.sol-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sol-cards li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.sol-cards li a:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

.sol-cards .small-pic {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-cards .small-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sol-cards .text {
  flex: 1;
}

.sol-cards h4 {
  font-family: 'Teko-Medium';
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  color: #4a4f54;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-left: 10px;
}

.sol-cards .xian {
  color: var(--accent-orange);
  font-size: 16px;
  padding-left: 10px;
}

.solutions-kale .more {
  text-align: center;
  margin-top: 10px;
}

/* --- Why section (image left / text right) --- */
.why-section {
  padding: var(--section-space) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-media {
  overflow: hidden;
}

.why-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.why-copy .sec-title {
  font-size: 44px;
  margin-bottom: 22px;
}

.why-copy p {
  color: var(--body-color);
  font-size: 17px;
  margin-bottom: 18px;
}

.why-copy .vs-btn {
  margin-top: 8px;
  font-family: 'Teko-Medium';
  width: fit-content;
  font-size: 20px;
  text-transform: uppercase;
}

/* --- Advantage cards (3-col light gray) --- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 38px 30px 44px;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
}

.advantage-card .adv-num {
  position: absolute;
  top: 24px;
  left: 26px;
  font-family: 'Teko-SemiBold';
  font-size: 22px;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
}

.advantage-card h3 {
  font-family: 'Teko-SemiBold';
  font-size: 48px;
  color: var(--theme-color);
  font-weight: 500;
  margin: 26px 0 10px;
  line-height: 1;
}

.advantage-card p {
  color: var(--body-color);
  font-size: 15.5px;
  margin: 0 0 18px;
}

.advantage-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 18px;
}

/* --- Dedicated to success (icon row) --- */
.dedicated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.dedicated-item {
  padding: 30px 20px;
}

.dedicated-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  font-size: 30px;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
  margin-bottom: 18px;
}

.dedicated-item h4 {
  font-family: 'Teko-Medium';
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.dedicated-item p {
  color: var(--body-color);
  font-size: 15px;
  margin: 0;
}

/* --- Product spotlight (text left / big image right) --- */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.spotlight-copy .sec-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.spotlight-copy p {
  color: var(--body-color);
  font-size: 17px;
  margin-bottom: 24px;
}

.spot-check {
  margin: 0 0 28px;
}

.spot-check li {
  position: relative;
  padding: 8px 0 8px 34px;
  color: var(--body-color);
  font-size: 15.5px;
  border-bottom: 1px dashed var(--border-color);
}

.spot-check li:last-child {
  border-bottom: none;
}

.spot-check li i {
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--accent-orange);
  font-size: 15px;
}

.spot-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.spotlight-media {
  overflow: hidden;
}

.spotlight-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* --- Solutions isometric diagram + chips --- */
.solutions-isometric {
  margin-bottom: 40px;
}

.iso-diagram {
  position: relative;
  background:
    linear-gradient(135deg, #f7f7f7 0%, #efefef 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.iso-building {
  position: relative;
  width: 260px;
  height: 200px;
  background: linear-gradient(160deg, #ffffff 0%, #e9eef3 100%);
  border: 2px solid #d5dce4;
  box-shadow: 40px 40px 0 -6px rgba(0, 80, 140, 0.06), 80px 80px 0 -12px rgba(0, 80, 140, 0.04);
}

.iso-building::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, #dbe2ea 50%, transparent 100%) 0 50% / 100% 2px no-repeat,
    linear-gradient(0deg, transparent 0, #dbe2ea 50%, transparent 100%) 50% 0 / 2px 100% no-repeat;
  opacity: 0.7;
}

.iso-label {
  position: absolute;
  font-family: 'Teko-Medium';
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-color);
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  white-space: nowrap;
}

.iso-label::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 1px;
  background: var(--accent-orange);
}

.iso-l1 {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.iso-l1::after {
  left: 100%;
  top: 50%;
}

.iso-l2 {
  right: -120px;
  top: 20%;
}

.iso-l2::after {
  right: 100%;
  top: 50%;
}

.iso-l3 {
  right: -130px;
  bottom: 16%;
}

.iso-l3::after {
  right: 100%;
  top: 50%;
}

.iso-l4 {
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.iso-l4::after {
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 30px;
}

.iso-l5 {
  left: -130px;
  bottom: 16%;
}

.iso-l5::after {
  left: 100%;
  top: 50%;
}

.iso-l6 {
  left: -120px;
  top: 20%;
}

.iso-l6::after {
  left: 100%;
  top: 50%;
}

.solutions-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--title-color);
  font-family: 'Teko-Medium';
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.chip i {
  color: var(--accent-orange);
  font-size: 15px;
}

.chip:hover {
  border-color: var(--accent-orange);
  color: var(--theme-color);
  transform: translateY(-3px);
}

.center-btn {
  text-align: center;
  margin-top: 8px;
}

/* --- Partners (orange block + logo wall) --- */
.partners-section {
  background: var(--theme-color);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
}

.partners-left {
  /* background: var(--accent-orange); */
  color: #fff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partners-left .sec-title {
  color: #fff;
  font-size: 46px;
  margin-bottom: 16px;
}

.partners-left p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  margin-bottom: 26px;
}

.partners-left .vs-btn {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.partners-left .vs-btn:hover {
  background: #fff;
  color: var(--accent-orange);
}

.partners-right {
  background: #fff;
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-content: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Teko-Medium';
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa0a6;
  height: 56px;
  padding: 0 10px;
}

/* --- Case studies (3-col cards) --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-card:hover {
  border-color: var(--theme-color);
  transform: translateY(-4px);
}

.case-media {
  height: 220px;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.case-card:hover .case-media img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.case-body {
  padding: 24px;
}

.case-cat {
  display: block;
  color: var(--accent-orange);
  font-family: 'Teko-Medium';
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.case-body h3 {
  font-family: 'Teko-Medium';
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--title-color);
}

.case-link {
  color: var(--theme-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-link i {
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.case-card:hover .case-link i {
  transform: translateX(4px);
}

.case-media-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef0f3, #d9dde3);
}

.cases-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--body-color);
  border: 1px dashed var(--border-color);
}

/* --- CTA band (orange) --- */


.cta-band .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .cta-actions .vs-btn.style4{
  background-color: var(--theme-color);
}

.cta-band .vs-btn.style4 {
  border-color: #fff;
  color: #fff;
}

.cta-band .vs-btn.style4:hover {
  background: #fff;
  border-color:var(--theme-color);
}

/* ==========================================================================
   Global motion polish (smooth transitions) & reduced-motion fallback
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-slow: 640ms;
}

/* Smooth hover micro-interactions across key elements. */
a,
button,
.vs-btn,
.header-cta,
.nav-menu a,
.product-card,
.solution-card,
.service-card,
.stat,
.product-list-card {
  transition: color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}

/* Staggered reveal utility (in addition to WOW). */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

/* Page fade-in on load. */
.site-content {
  animation: pagefade var(--dur-slow) var(--ease-out) both;
}

@keyframes pagefade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion preferences. */
@media (prefers-reduced-motion: reduce) {

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .site-content {
    animation: none;
  }

  .hero-eyebrow,
  .hero h1,
  .hero-slogan,
  .hero-sub,
  .hero-actions {
    animation: none !important;
  }
}

/* ==========================================================================
   Mobile responsive fixes (placed last to override base rules)
   ========================================================================== */
@media (max-width: 767px) {
  .sol-cards {
    grid-template-columns: 1fr !important;
  }
  .sol-cards li a {
    flex-wrap: nowrap;
  }
  .partners-grid {
    grid-template-columns: 1fr !important;
  }
  .partners-right {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 24px !important;
  }
  .partners-left {
    padding: 36px 24px !important;
  }
  .spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .spotlight-media img {
    height: 300px !important;
  }
  .advantage-grid,
  .dedicated-grid,
  .cases-grid {
    grid-template-columns: 1fr !important;
  }
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .why-media img {
    height: 300px !important;
  }
  .levelup-grid,
  .services-col-grid {
    flex-direction: column !important;
  }
  .hero .swiper-pagination {
    bottom: 16px !important;
  }
  .hero .swiper-button-prev,
  .hero .swiper-button-next {
    display: none;
  }

  /* Product fold cards → vertical accordion on small screens */
  .acc-stage {
    flex-direction: column !important;
    height: auto !important;
    gap: 14px !important;
  }
  .acc-card {
    height: 300px !important;
    flex: none !important;
  }
  .acc-card.is-expanded {
    height: auto !important;
    min-height: 460px !important;
  }
  .acc-card-body {
    padding: 24px !important;
    max-width: 100% !important;
    justify-content: flex-end !important;
  }
  .acc-card-body::before {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 46%, rgba(255,255,255,0.98) 100%) !important;
  }
  .acc-title {
    font-size: 32px !important;
  }
  .acc-desc {
    font-size: 15px !important;
    line-height: 24px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .acc-card-rail-label {
    font-size: 18px !important;
  }
  .acc-progress {
    flex-wrap: wrap !important;
  }
  .acc-dots {
    order: 3 !important;
    flex-basis: 100% !important;
  }
}
/* ==========================================================================
   PRODUCT DETAIL (1:1 with reference product page)
   ========================================================================== */
.pd {
  padding: 52px 0 96px;
  background: #fff;
}

/* The reference product page uses a wider canvas than the rest of the site. */
.pd .container {
  max-width: 1824px;
  padding: 0 15px;
}

.pd-box {
  display: flex;
  align-items: flex-start;
  gap: 2%;
}

.pd-left {
  flex: 1 1 auto;
  min-width: 0;
}

.pd-right {
  flex: 0 0 32%;
  max-width: 574px;
  position: sticky;
  top: 106px;
}

/* ---------- Gallery ---------- */
.pd-gallery {
  position: relative;
}

.pd-gallery-swiper {
  width: 100%;
  aspect-ratio: 1184 / 590;
  background: #f7f7f7;
  overflow: hidden;
}

.pd-gallery-pic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-gallery-pic img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.pd-gal-prev,
.pd-gal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e1e1e1;
  color: #101010;
  font-size: 15px;
  cursor: pointer;
  z-index: 3;
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pd-gal-prev { left: 20px; }
.pd-gal-next { right: 20px; }

.pd-gal-prev:hover,
.pd-gal-next:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* ---------- Intro ---------- */
.pd-intro {
  padding: 56px 0 40px;
}

.pd-lead-title {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #101010;
  margin: 0 0 18px;
}

.pd-lead p {
  font-size: 18px;
  line-height: 28px;
  color: #4d5153;
  margin: 0 0 16px;
}

.pd-keyfeat-label {
  display: block;
  font-family: 'Jost-Medium', sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: #101010;
  margin: 6px 0 10px;
}

.pd-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-features li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 26px;
  color: #444;
}

.pd-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Alternating detail blocks ---------- */
.pd-blocks {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pd-block {
  display: flex;
  align-items: stretch;
}

.pd-block .pd-pic {
  order: 1;
  flex: 0 0 50%;
  max-width: 50%;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 300px;
}

.pd-block .pd-text {
  order: 2;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 35px 30px;
}

.pd-block.pd-media-right .pd-pic { order: 2; }
.pd-block.pd-media-right .pd-text { order: 1; }

.pd-block .pd-pic img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.pd-tone-gray .pd-text { background: #efefef; }
.pd-tone-orange .pd-text { background: var(--accent-orange); }

.pd-text h4 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 15px;
}

.pd-text p {
  font-size: 18px;
  line-height: 26px;
  color: #4d5153;
  margin: 0 0 18px;
}

.pd-text p:last-child { margin-bottom: 0; }

.pd-text .pd-sub {
  font-family: 'Jost-Medium', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: #000;
  margin: 14px 0 4px;
}

.pd-text .pd-sub:first-child { margin-top: 0; }

.pd-tone-orange .pd-text p { color: #000; }

.pd-text .pd-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.pd-text .pd-list li {
  position: relative;
  padding-left: 20px;
  font-size: 18px;
  line-height: 26px;
  color: #4d5153;
}

.pd-text .pd-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--accent-orange);
}

.pd-tone-orange .pd-text .pd-list li { color: #000; }

/* ---------- Technical table ---------- */
.pd-specs {
  padding-top: 60px;
}

.pd-specs h3,
.pd-similar h3 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #101010;
  margin: 0 0 22px;
}

.pd-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pd-table th {
  text-align: left;
  font-weight: 500;
  color: #101010;
  padding: 12px 10px;
  border-bottom: 1px solid #101010;
  white-space: nowrap;
}

.pd-table td {
  padding: 12px 10px;
  color: #4d5153;
  white-space: nowrap;
}

.pd-pdf {
  margin-top: 30px;
}

.pd-pdf a {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border: 1px solid #222926;
  font-family: 'Teko-Medium', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #101010;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pd-pdf a:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* ---------- Applications mosaic ---------- */
.pd-apps {
  padding-top: 50px;
}

.pd-apps-grid {
  display: grid;
  grid-template-columns: 1.037fr 1.05fr 1fr;
  grid-template-rows: 1.24fr 1fr 1.26fr;
  gap: 8px;
  aspect-ratio: 1184 / 576;
}

.pd-app-main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  position: relative;
  background-color: #e9eaec;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Scrim: keeps the overlay copy readable on any photo. */
.pd-app-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.12) 0%, rgba(8, 12, 18, 0.42) 42%, rgba(8, 12, 18, 0.86) 100%);
  z-index: 1;
}

.pd-apps-grid > .pd-app-cell:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.pd-apps-grid > .pd-app-cell:nth-of-type(3) { grid-column: 3; grid-row: 2; }
.pd-apps-grid > .pd-app-cell:nth-of-type(4) { grid-column: 1; grid-row: 3; }
.pd-apps-grid > .pd-app-cell:nth-of-type(5) { grid-column: 2; grid-row: 3; }

.pd-app-cell {
  background-color: #e9eaec;
  background-size: cover;
  background-position: center;
}

.pd-app-text {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 40px 36px;
  color: #fff;
}

.pd-app-text h4 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}

.pd-app-text p {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 18px;
}

.pd-app-more {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-family: 'Teko-Medium', sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.pd-app-more:hover {
  background: #fff;
  border-color: #fff;
  color: #101010;
}

/* ---------- Similar products ---------- */
.pd-similar {
  padding-top: 60px;
}

.pd-sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pd-sim-card {
  display: block;
  text-decoration: none;
}

.pd-sim-pic {
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-sim-pic img {
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.pd-sim-card:hover .pd-sim-pic img {
  transform: scale(1.04);
}

.pd-sim-body h4 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #101010;
  margin: 16px 0 8px;
}

.pd-sim-body p {
  font-size: 14px;
  line-height: 22px;
  color: #4d5153;
  margin: 0;
}

/* ---------- Right panel ---------- */
.pd-title {
  padding-bottom: 26px;
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 28px;
}

.pd-title h1 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #101010;
  margin: 0 0 15px;
}

.pd-title p {
  font-size: 18px;
  line-height: 28px;
  color: #4d5153;
  margin: 0;
}

.pd-config h4 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #101010;
  margin: 0 0 26px;
}

.pd-config h5 {
  font-family: 'Jost-Medium', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: #101010;
  margin: 0 0 15px;
}

.pd-size {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
}

.pd-size li {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e1e1e1;
  font-size: 16px;
  line-height: 26px;
  color: #4d5153;
  cursor: default;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pd-size li:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.pd-color {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.pd-color li {
  width: 45px;
  height: 45px;
  border-radius: 100%;
  border: 1px solid #e3e3e3;
  transition: box-shadow 0.2s ease;
}

.pd-color li:hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--theme-color);
}

.pd-customize {
  margin-top: 40px;
  border: 1px solid #e1e1e1;
  padding: 40px 35px;
}

.pd-customize h3 {
  font-family: 'Teko-Medium', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin: 0 0 15px;
}

.pd-customize p {
  font-size: 16px;
  line-height: 26px;
  color: #4d5153;
  margin: 0 0 26px;
}

.pd-customize-more {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.pd-customize-more a {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  border: 1px solid #222926;
  font-family: 'Teko-Medium', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #101010;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pd-customize-more a:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .pd-right { flex: 0 0 34%; }
  .pd-lead-title { font-size: 32px; }
  .pd-title h1 { font-size: 32px; }
  .pd-specs h3, .pd-similar h3 { font-size: 32px; }
}

@media (max-width: 991px) {
  .pd { padding: 36px 0 70px; }
  .pd-box {
    flex-direction: column;
    align-items: stretch; /* must stretch: flex-start lets .pd-left shrink-to-fit and the Swiper feedback loop explodes */
    gap: 40px;
  }
  .pd-left {
    width: 100%;
    max-width: 100%;
  }
  .pd-right {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
    position: static;
    order: -1;
  }
  .pd-block { flex-direction: column; }
  .pd-block .pd-pic,
  .pd-block .pd-text {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
  .pd-block .pd-pic { min-height: 260px; }
  .pd-block.pd-media-right .pd-pic { order: 1; }
  .pd-block.pd-media-right .pd-text { order: 2; }
  .pd-sim-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-apps-grid { aspect-ratio: auto; grid-template-rows: 220px 150px 160px; }
}

@media (max-width: 767px) {
  .pd { padding: 24px 0 56px; }
  .pd-lead-title { font-size: 26px; }
  .pd-lead p { font-size: 16px; line-height: 26px; }
  .pd-title h1 { font-size: 28px; }
  .pd-title p { font-size: 16px; line-height: 26px; }
  .pd-specs h3, .pd-similar h3 { font-size: 26px; }
  .pd-text { padding: 26px 22px !important; }
  .pd-text h4 { font-size: 22px; }
  .pd-text p, .pd-text .pd-sub { font-size: 16px; line-height: 25px; }
  .pd-block .pd-pic { min-height: 220px; padding: 18px; }
  .pd-blocks { gap: 20px; }
  .pd-gal-prev, .pd-gal-next { width: 44px; height: 44px; }
  .pd-gal-prev { left: 10px; }
  .pd-gal-next { right: 10px; }
  .pd-sim-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pd-customize { padding: 28px 22px; }
  .pd-customize h3 { font-size: 26px; }
  .pd-customize-more a { height: 46px; font-size: 18px; flex: 1 1 auto; justify-content: center; }
  .pd-table { font-size: 13px; }
  .pd-table th, .pd-table td { padding: 10px 8px; }
  .pd-apps-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 140px 140px;
  }
  .pd-app-main { grid-column: 1 / 3; grid-row: 1; }
  .pd-apps-grid > .pd-app-cell:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .pd-apps-grid > .pd-app-cell:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .pd-apps-grid > .pd-app-cell:nth-of-type(4) { grid-column: 1; grid-row: 3; }
  .pd-apps-grid > .pd-app-cell:nth-of-type(5) { grid-column: 2; grid-row: 3; }
  .pd-app-text { padding: 24px 22px; }
  .pd-app-text h4 { font-size: 24px; }
  .pd-app-text p { font-size: 15px; line-height: 24px; }
}
