/* CS Auto — Corporate Showcase
   Palette from homepage style: dark + orange accent */

:root {
  --bg: #0b0b0b;
  --bg-elevated: #141414;
  --bg-soft: #1a1a1a;
  --bg-card: #ffffff;
  --bg-muted: #222222;
  --orange: #f05a22;
  --orange-hover: #ff6d38;
  --orange-dim: rgba(240, 90, 34, 0.15);
  --text: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #9a9a9a;
  --text-soft: #c8c8c8;
  --border: #2c2c2c;
  --border-light: #e8e8e8;
  --success: #2ecc71;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --radius-sm: 4px;
  --header-h: 78px;
  --container: 1200px;
  --font: "Montserrat", "Segoe UI", sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn-dark:hover {
  background: #222;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.section-title {
  font-size: clamp(23px, 3vw, 33px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.link-more {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-more:hover {
  color: var(--orange-hover);
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: none;
}

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

.nav > li {
  position: relative;
}

.nav > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav > li > a:hover,
.nav > li > a.active {
  color: #fff;
}

.nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
}

.nav .chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #151515;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-soft);
}

.dropdown a:hover {
  color: var(--orange);
  background: var(--orange-dim);
}

.dropdown-mega {
  min-width: 280px;
  padding: 8px 0 12px;
}

.dropdown-all {
  font-weight: 700;
  color: #fff !important;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.dropdown-group {
  padding: 4px 0;
}

.dropdown-parent {
  font-weight: 700;
  color: #fff !important;
}

.dropdown-children a {
  padding-left: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.dropdown-children a:hover {
  color: var(--orange);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.tool-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  padding: 8px 10px;
}

.lang-btn:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition: var(--transition);
  flex-shrink: 0;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 24px) 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.35) 100%),
    url("../images/demo/demo_bg.jpg") center/cover no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  align-self: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-right: auto;
  text-align: left;
}

.hero-title {
  font-size: clamp(27px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-sub {
  color: var(--text-soft);
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 1.45;
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin-bottom: 20px;
}

.hero-quick a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: auto;
  text-align: left;
  line-height: 1.25;
}

.hero-quick .label {
  display: block;
}

.hero-quick .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  background: transparent;
  flex-shrink: 0;
  transition: all var(--transition);
}

.hero-quick a:hover .icon-circle {
  border-color: var(--orange);
  background: var(--orange-dim);
  transform: none;
  color: var(--orange);
}

.hero-quick a:hover {
  color: #fff;
}

.hero-quick svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

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

.hero-actions .btn {
  padding: 12px 22px;
}

/* ========== Category Cards ========== */
.categories {
  margin-top: -48px;
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
}

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

.cat-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 200px auto;
  transition: transform var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
}

.cat-card .thumb {
  overflow: hidden;
}

.cat-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover .thumb img {
  transform: scale(1.06);
}

.cat-card .body {
  padding: 22px 22px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cat-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.cat-card:hover .arrow-btn {
  background: var(--orange-hover);
  transform: translateX(3px);
}

/* ========== Featured Products ========== */
.section {
  padding: 70px 0;
}

.section-dark {
  background: var(--bg);
}

.section-soft {
  background: var(--bg-elevated);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card .thumb {
  aspect-ratio: 1;
  background: #f3f3f3;
  overflow: hidden;
}

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

.product-card .body {
  padding: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.product-card .sku {
  font-size: 12px;
  color: #888;
}

.product-card .go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}

/* ========== Why Choose ========== */
.section-title .accent {
  color: var(--orange);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-item {
  text-align: left;
  padding: 8px 28px;
  position: relative;
}

.why-item:first-child {
  padding-left: 0;
}

.why-item:last-child {
  padding-right: 0;
}

.why-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--orange);
  background: none;
  border-radius: 0;
  display: block;
  font-size: 0;
}

.why-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.why-item h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ========== About Home ========== */
.about-section {
  background: #f5f5f5;
  color: #1a1a1a;
}

.about-home {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.about-copy .about-heading {
  font-size: clamp(29px, 3.2vw, 41px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #111;
}

.about-copy .about-heading .brand {
  color: #e11d2e;
  font-style: italic;
  font-weight: 800;
}

.about-copy p {
  color: #555;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
}

.about-copy .btn-ghost {
  margin-top: 10px;
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
}

.about-copy .btn-ghost:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.about-visual {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 12px;
  height: 300px;
  max-height: 300px;
  min-height: 0;
  overflow: hidden;
}

.about-visual .main-shot {
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

.about-visual .main-shot img,
.about-visual .side-shots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.side-shots {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.side-shots figure {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.side-shots figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

/* ========== CTA Inquiry Bar ========== */
.cta-bar {
  background: linear-gradient(90deg, #151515, #1d1d1d 50%, #181818);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
}

.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 23px;
}

.cta-copy h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cta-copy p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ========== Page Banner ========== */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../images/demo/demo_bg.jpg") center/cover no-repeat;
}

.page-banner h1 {
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

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

.breadcrumb .sep {
  opacity: 0.5;
}

/* ========== Inner Layout (N89-like) ========== */
.inner-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 50px 0 70px;
  align-items: start;
}

.sidebar .widget {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 15px;
}

.cat-list a:hover,
.cat-list a.active {
  color: var(--orange);
}

.cat-list .cat-group {
  border-bottom: 1px solid var(--border);
}

.cat-list .cat-group > .cat-parent {
  border-bottom: none;
  font-weight: 700;
}

.cat-list .cat-children {
  display: none;
  padding: 0 0 8px 12px;
}

.cat-list .cat-group.is-open .cat-children,
.cat-list .cat-group:hover .cat-children {
  display: block;
}

.cat-list .cat-children a {
  padding: 8px 0;
  border-bottom: none;
  font-size: 13px;
  color: var(--text-muted);
}

.cat-list .cat-children a:hover,
.cat-list .cat-children a.active {
  color: var(--orange);
}

.side-product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.side-product:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.side-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #fff;
}

.side-product h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.35;
}

.side-product p {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-widget .row {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.contact-widget .label {
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-widget a,
.contact-widget span {
  color: var(--text-soft);
  font-size: 15px;
  word-break: break-word;
}

.contact-widget a:hover {
  color: var(--orange);
}

.main-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.main-panel > h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.panel-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-tabs a {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.filter-tabs a:hover,
.filter-tabs a.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.filter-tabs-sub {
  margin-top: -12px;
  margin-bottom: 24px;
}

.filter-tabs-sub a {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius-sm);
  font-size: 13px;
  padding: 6px 12px;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-list-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-list-card .thumb {
  aspect-ratio: 4/3;
  background: #f3f3f3;
  overflow: hidden;
  display: block;
}

.product-list-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.product-list-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.product-list-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.35;
}

.product-list-card h3 a {
  color: var(--text-dark);
  display: inline;
}

.product-list-card h3 a:hover {
  color: var(--orange);
}

.product-list-card .sku {
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
}

.product-list-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
  flex: 1;
}

.product-list-card .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 12px;
}

.product-list-card .detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}

.product-list-card .detail-link:hover {
  color: var(--orange-hover);
}

.product-list-card .detail-link .go {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}

.product-list-card .detail-link:hover .go {
  background: var(--orange-hover);
}

.product-list-card .actions .btn-sm {
  padding: 8px 12px;
  font-size: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.pagination li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination a {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.pagination a.active,
.pagination li.active a,
.pagination a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ========== Product Detail ========== */
.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.gallery-main {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

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

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fff;
  aspect-ratio: 1;
}

.gallery-thumbs button.active,
.gallery-thumbs button:hover {
  border-color: var(--orange);
}

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

.detail-info h1 {
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tags span {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
}

.detail-info > p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 15px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 15px;
}

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

.spec-table th {
  width: 38%;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-weight: 600;
}

.detail-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.detail-actions .btn {
  padding: 11px 16px;
  font-size: 13px;
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

.btn-whatsapp svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .detail-actions {
    flex-wrap: wrap;
  }

  .detail-actions .btn {
    flex: 1 1 calc(50% - 10px);
  }
}

.content-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.content-block h2,
.content-block h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 10px;
}

.content-block ul {
  padding-left: 18px;
}

.content-block ul li {
  list-style: disc;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 14px 16px;
  background: var(--bg-soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.faq-list details p {
  margin-top: 10px;
  margin-bottom: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* ========== About / OEM / Why pages ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 29px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.history {
  margin-top: 28px;
  border-left: 2px solid var(--orange);
  padding-left: 20px;
}

.history-item {
  margin-bottom: 20px;
  position: relative;
}

.history-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.history-item h4 {
  color: var(--orange);
  font-size: 17px;
  margin-bottom: 6px;
}

.cert-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.cert-card,
.case-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cert-card img,
.case-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #fff;
}

.cert-card h4,
.case-card h4 {
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
}

.case-card p {
  padding: 0 14px 14px;
  color: var(--text-muted);
  font-size: 13px;
}

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

.advantage-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.advantage-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 27px;
}

.advantage-card h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.partner-row img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
}

.contact-info-cards {
  display: grid;
  gap: 14px;
}

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.info-card h4 {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.info-card a,
.info-card p {
  color: var(--text-soft);
  font-size: 15px;
}

.info-card a:hover {
  color: var(--orange);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.team-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ========== Forms ========== */
.inquiry-section {
  padding: 50px 0 70px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.inquiry-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.inquiry-box h2 {
  font-size: 23px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  text-align: center;
}

.inquiry-box .hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

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

.form-group {
  display: grid;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-group label .req {
  color: var(--orange);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.form-msg {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  color: var(--success);
  display: none;
}

.form-msg.show {
  display: block;
}

.form-error {
  color: #ff6b6b;
}

/* ========== Footer ========== */
.site-footer {
  background: #090909;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand .logo img {
  height: 52px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 280px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.socials a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
  color: #666;
  font-size: 13px;
}

/* ========== Floating Contact ========== */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.float-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

.float-btn.whatsapp svg {
  width: 26px;
  height: 26px;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.float-btn.inquiry {
  background: var(--orange);
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.email {
  background: #3b82f6;
}

.float-btn.top {
  background: #333;
  opacity: 0;
  pointer-events: none;
}

.float-btn.top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ========== Search Modal ========== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
}

.search-modal.open {
  display: flex;
}

.search-modal form {
  width: min(92vw, 640px);
  display: flex;
  gap: 10px;
}

.search-modal input {
  flex: 1;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #151515;
  color: #fff;
  font-size: 17px;
}

.search-modal .close-search {
  width: 52px;
  border: 1px solid var(--border);
  background: #151515;
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ========== Lead / Catalog Modal ========== */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal.open {
  display: flex;
}

.lead-modal[hidden] {
  display: none !important;
}

.lead-modal-panel {
  position: relative;
  width: min(92vw, 440px);
  background: linear-gradient(165deg, #1a1a1a 0%, #121212 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  animation: lead-in 0.35s ease;
}

@keyframes lead-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lead-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.lead-modal-close:hover {
  color: #fff;
  border-color: var(--orange);
}

.lead-modal-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border-radius: var(--radius-sm);
}

.lead-modal-panel h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead-modal-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.lead-modal-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-modal-panel input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0f0f0f;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
}

.lead-modal-panel input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
}

.lead-modal-panel .btn {
  width: 100%;
  justify-content: center;
}

.lead-modal-panel .form-msg {
  margin-top: 0;
  text-align: left;
  font-size: 13px;
}

/* ========== Mobile Nav ========== */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(8, 8, 8, 0.98);
  z-index: 999;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 15px;
}

.mobile-nav .sub a {
  padding-left: 18px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.mobile-nav .sub-l2 a {
  padding-left: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

body.nav-open {
  overflow: hidden;
}

/* ========== Reveal Animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .why-item {
    padding: 8px 20px;
  }

  .why-item:nth-child(2n)::after {
    display: none;
  }

  .why-item:nth-child(2n-1) {
    padding-left: 0;
  }

  .why-item:nth-child(2n) {
    padding-right: 0;
  }

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

@media (max-width: 960px) {
  .nav,
  .lang-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .cat-grid,
  .about-home,
  .detail-top,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .inner-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .inner-layout .main-panel {
    order: 1;
  }

  .inner-layout .sidebar {
    order: 2;
  }

  .about-visual {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .about-visual .main-shot {
    height: 220px;
    min-height: 220px;
  }

  .side-shots {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    height: 120px;
  }

  .side-shots figure {
    min-height: 120px;
    height: 120px;
  }

  .products-list,
  .related-grid,
  .cert-grid,
  .case-grid,
  .advantage-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .sidebar .widget {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .sidebar .widget:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-quick {
    gap: 14px 18px;
  }

  .hero-quick a {
    width: auto;
    font-size: 11px;
  }

  .hero-quick .icon-circle {
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: clamp(25px, 7vw, 33px);
  }

  .categories {
    margin-top: -28px;
    padding-bottom: 40px;
  }

  .cat-grid,
  .why-grid,
  .related-grid,
  .cert-grid,
  .case-grid,
  .advantage-grid,
  .team-grid,
  .footer-grid,
  .form-grid,
  .stats-grid,
  .partner-row,
  .sidebar,
  .side-shots {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .products-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-list-card .body {
    padding: 10px;
    gap: 4px;
  }

  .product-list-card h3 {
    font-size: 13px;
  }

  .product-list-card .sku {
    font-size: 11px;
  }

  .product-list-card p {
    display: none;
  }

  .product-list-card .actions {
    margin-top: 8px;
    gap: 4px;
  }

  .product-list-card .detail-link {
    font-size: 0;
    gap: 0;
  }

  .product-list-card .detail-link .go {
    width: 24px;
    height: 24px;
  }

  .product-list-card .actions .btn-sm {
    padding: 7px 8px;
    font-size: 11px;
    flex: 1;
  }

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

  .product-card .body {
    padding: 10px;
  }

  .product-card h3 {
    font-size: 13px;
  }

  .product-card .sku {
    font-size: 11px;
  }

  .product-card .go {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .side-shots figure {
    min-height: 140px;
    height: 140px;
  }

  .about-visual .main-shot {
    height: 200px;
    min-height: 200px;
  }

  .why-item {
    padding: 16px 0 !important;
  }

  .why-item::after {
    display: none !important;
  }

  .cat-card {
    grid-template-rows: 180px auto;
  }

  .cta-copy {
    align-items: flex-start;
  }

  .cta-inner,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-panel,
  .inquiry-box {
    padding: 18px;
  }

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

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .product-card .body,
  .cat-card .body {
    padding: 14px;
  }
}
