/* ============================================
   Wings Plastic - PVC Extrusion Specialist
   Design System
   ============================================ */

:root {
  /* Colors */
  --primary: #1a5276;
  --primary-dark: #134358;
  --primary-light: #2980b9;
  --accent: #e67e22;
  --accent-dark: #d35400;
  --accent-light: #f39c12;
  --green: #27ae60;
  --green-light: #e8f8f0;
  --red: #e74c3c;
  --amber: #f39c12;
  --blue-light: #ebf5fb;

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-dark: #1a2530;
  --bg-dark-soft: #243240;
  --text: #2c3e50;
  --text-soft: #5d6d7e;
  --text-muted: #95a5a6;
  --text-light: #bdc3c7;
  --border: #e0e0e0;
  --border-dark: #d5d8dc;

  /* Typography */
  --font-sans: -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Fira Code", "Consolas", monospace;

  /* Spacing */
  --container: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: 120px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--text-soft); line-height: 1.8; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-dark {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* Section spacing */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title p {
  color: var(--text-soft);
  margin-top: 16px;
  font-size: 1.1rem;
}

/* ===================== Header ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition);
}
.header-top {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 13px;
  height: 38px;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header-top a { color: var(--text-light); }
.header-top a:hover { color: var(--accent); }
.header-top-info { display: flex; gap: 24px; align-items: center; }
.header-top-info span,
.header-top-info a { display: flex; align-items: center; gap: 6px; }
.header-main {
  height: 82px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 220px;
  width: 220px;
  height: 51px;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.logo:hover { color: var(--primary); }
.logo img {
  display: block;
  width: 220px;
  height: 51px;
  object-fit: contain;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text small { font-size: 11px; color: var(--text-muted); font-weight: 400; display: block; }

/* Navigation */
.nav { display: flex; align-items: center; flex: 0 0 auto; gap: 4px; white-space: nowrap; }
.nav-item { position: relative; flex: 0 0 auto; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-link:hover { color: var(--primary); background: var(--blue-light); }
.nav-link .caret { font-size: 10px; transition: transform 0.18s ease; transform-origin: center; }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  will-change: opacity;
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-item:hover { background: var(--blue-light); color: var(--primary); }
.dropdown-item small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: #fff;
  overflow: hidden;
  padding: 48px 0;
}
.hero > .container {
  width: 100%;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(41,128,185,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(230,126,34,0.1) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-pattern-photo {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image: none;
}
.hero-pattern-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 29, 0.58), rgba(4, 20, 29, 0.26) 42%, transparent 72%);
}
[dir="rtl"] .hero-pattern-photo::after {
  background: linear-gradient(270deg, rgba(4, 20, 29, 0.7), rgba(4, 20, 29, 0.4) 42%, transparent 80%);
}
.hero-pattern-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
@media (min-width: 1920px) {
  .hero-pattern-photo::after {
    background: linear-gradient(90deg, rgba(4, 20, 29, 0.1), rgba(4, 20, 29, 0.15) 18%, rgba(4, 20, 29, 0.45) 25%, rgba(4, 20, 29, 0.26) 44%, transparent 72%);
  }
  [dir="rtl"] .hero-pattern-photo::after {
    background: linear-gradient(270deg, rgba(4, 20, 29, 0.7), rgba(4, 20, 29, 0.4) 42%, transparent 80%);
  }
}
.hero-pattern-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 60% center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-size: clamp(1.2rem, 2.1vw, 2rem); font-weight: 800; color: var(--accent-light); line-height: 1.3; overflow-wrap: anywhere; }
.hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ===================== Pillar Cards ===================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.pillar-card-img {
  height: 200px;
  background: #ffffff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pillar-card-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='none'/%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff20'/%3E%3C/svg%3E");
}
.pillar-card-img .icon {
  font-size: 56px;
  position: relative;
  z-index: 1;
}
.pillar-card-img[style*="background-image"] .icon,
.product-card-img[style*="background-image"] .icon {
  display: none;
}
.pillar-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pillar-card-body h3 {
  margin-bottom: 8px;
  color: var(--primary);
}
.pillar-card-body p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 16px;
  flex: 1;
}
.pillar-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.pillar-tag {
  background: var(--bg-soft);
  color: var(--text-soft);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.pillar-card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.pillar-card-link::after,
.product-card-body h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pillar-card:focus-within,
.product-card:focus-within {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}
.pillar-card:hover .pillar-card-link { gap: 12px; }

/* ===================== Product Cards ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.product-grid--balance-last-four > .product-card:nth-last-child(-n + 4) {
  grid-column: span 3;
}
.product-grid--center-last-two > .product-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}
.product-grid--center-last-two > .product-card:last-child {
  grid-column: 4 / span 2;
}
.product-grid--center-last-one > .product-card:last-child {
  grid-column: 3 / span 2;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.product-card-img {
  height: 220px;
  background: #ffffff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-img .icon {
  font-size: 48px;
  color: var(--primary-light);
  opacity: 0.7;
}
.product-card-output-sample {
  position: absolute;
  left: 3%;
  bottom: 2%;
  width: min(38%, 150px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.product-card-badge.t2 { background: var(--amber); }
.product-card-badge.t3 { background: var(--red); }
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.product-card-body h3 a { color: var(--text); }
.product-card-body h3 a:hover { color: var(--primary); }
.product-card-kw {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.product-card-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex: 1;
}
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.product-card-footer .kd {
  font-size: 13px;
  font-weight: 600;
}
.kd-low { color: var(--green); }
.kd-mid { color: var(--amber); }
.kd-high { color: var(--red); }
.product-card-footer .link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

/* ===================== Page Hero ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(41,128,185,0.15) 0%, transparent 50%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 700px; }

/* ===================== Product Detail ===================== */
.product-detail {
  padding: 60px 0;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}
.product-detail-main {
  min-width: 0;
}
.product-detail-sidebar {
  position: sticky;
  top: 100px;
}
.product-hero-img {
  height: 400px;
  background: #ffffff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
}
.product-primary-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.product-output-sample {
  position: absolute;
  left: 2%;
  bottom: 1%;
  width: min(38%, 300px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.product-hero-img .icon { font-size: 100px; color: var(--primary-light); opacity: 0.5; }
.product-detail h1 { margin-bottom: 12px; }
.product-detail .keyword-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-family: var(--font-mono);
  margin-bottom: 24px;
}
.product-section {
  margin-bottom: 40px;
}
.product-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.product-section h2 span { color: var(--accent); }

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
  width: 200px;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--blue-light); }

/* Feature List */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-light);
}
.feature-item .feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.feature-item h3 { margin-bottom: 4px; font-size: 15px; }
.feature-item p { font-size: 13px; color: var(--text-soft); margin: 0; }

/* Application tags */
.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-tag {
  background: var(--green-light);
  color: var(--green);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Inquiry Card (Sidebar) */
.inquiry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.inquiry-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 24px;
  text-align: center;
}
.inquiry-card-header h3 { color: #fff; margin-bottom: 4px; }
.inquiry-card-header p { font-size: 14px; color: rgba(255,255,255,0.8); margin: 0; }
.inquiry-card-body { padding: 24px; }
.inquiry-form .form-group { margin-bottom: 14px; }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.inquiry-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
}
.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}
.inquiry-form textarea { resize: vertical; min-height: 80px; }
.inquiry-form .btn { width: 100%; }

/* Related Products */
.related-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.related-product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all var(--transition);
}
.related-product-card:hover {
  border-color: var(--primary-light);
  background: var(--blue-light);
  transform: translateY(-2px);
}
.related-product-card .icon { font-size: 32px; margin-bottom: 8px; }
.related-product-img {
  height: 120px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  margin-bottom: 10px;
  background-color: #ffffff;
}
.related-product-card h3 { font-size: 14px; margin-bottom: 4px; }
.related-product-card p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* Related Articles */
.related-articles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 330px);
  grid-template-rows: 1fr;
  justify-content: safe center;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--bg-soft);
  padding: 8px 4px 18px;
}
.related-articles::-webkit-scrollbar { height: 8px; }
.related-articles::-webkit-scrollbar-track { background: var(--bg-soft); border-radius: 999px; }
.related-articles::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 999px; }
.related-articles::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.related-articles .article-card {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  background: #fff;
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}
.article-card .article-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.article-card h3 { font-size: 16px; margin-bottom: 8px; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: 13px; color: var(--text-soft); margin: 0; }

/* ===================== Blog ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.blog-card-img {
  height: 210px;
  background: var(--primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(9, 29, 43, 0.28));
  pointer-events: none;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.blog-card-img .icon { font-size: 40px; color: rgba(255,255,255,0.6); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  display: inline-block;
  background: var(--accent-light);
  color: #fff;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  align-self: flex-start;
}
.blog-card h3 { font-size: 19px; line-height: 1.38; margin-bottom: 10px; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; flex: 1; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Blog cluster filter */
.cluster-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.cluster-filter button {
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-soft);
}
.cluster-filter button:hover,
.cluster-filter button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===================== Article Detail ===================== */
.article-detail {
  max-width: none;
  padding: 48px 0 80px;
}
.article-detail > .container { max-width: 920px; }
.article-detail h1 {
  max-width: 860px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article-hero {
  margin: 0 0 42px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--primary-dark);
  box-shadow: 0 18px 45px rgba(16, 39, 55, 0.18);
}
.article-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-detail h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.28;
  margin-top: 46px;
  margin-bottom: 16px;
  padding-top: 8px;
}
.article-detail h3 {
  font-size: 1.3rem;
  margin-top: 28px;
  margin-bottom: 12px;
}
.article-detail p { margin-bottom: 19px; font-size: 17px; color: var(--text); line-height: 1.82; }
.article-detail ul, .article-detail ol {
  margin: 0 0 18px 20px;
  list-style: disc;
}
.article-detail ol { list-style: decimal; }
.article-detail li { margin-bottom: 9px; line-height: 1.72; }
.article-detail .spec-table {
  display: table;
  margin: 24px 0 30px;
  font-size: 15px;
}
.article-detail blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 16px 24px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-soft);
}
.article-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  text-align: center;
}
.article-cta h3 { color: #fff; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }

/* ===================== About / Contact ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img .icon { font-size: 80px; color: rgba(255,255,255,0.4); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  text-align: center;
  padding: 28px 20px;
}
.value-card .icon {
  width: 64px;
  height: 64px;
  background: var(--blue-light);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-item h3 { margin-bottom: 4px; }
.contact-info-item p { color: var(--text-soft); font-size: 14px; margin: 0; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}

/* ===================== CTA Section ===================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; margin-bottom: 16px; font-size: 2.2rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 32px; }

/* ===================== Footer ===================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo img { width: 220px; max-width: 100%; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.footer-col h4,
.footer-col h2 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===================== Pillar Hub ===================== */
.pillar-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: #fff;
  padding: 56px 0 52px;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08);
}
.pillar-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 28, 40, 0.98) 0%, rgba(12, 40, 54, 0.92) 48%, rgba(14, 72, 84, 0.34) 100%);
}
.pillar-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pillar-hero .container { position: relative; z-index: 1; }
.pillar-hero h1 {
  color: #fff;
  max-width: 900px;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.15;
  text-wrap: balance;
}
.pillar-hero .lead {
  max-width: 900px;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.28);
}
.pillar-hero .breadcrumb { color: rgba(255, 255, 255, 0.72); }
.pillar-hero .breadcrumb a { color: #fff; }
.pillar-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.pillar-stat {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 29, 39, 0.48);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(2, 13, 20, 0.18);
  backdrop-filter: blur(8px);
}
.pillar-stat-num {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--accent-light);
  white-space: nowrap;
}
.pillar-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===================== Process Steps ===================== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}
.process-step:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.process-step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.process-step-body { flex: 1; }
.process-step-body h3 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.process-step-body p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.7; }

/* ===================== Advantage Grid ===================== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.advantage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.advantage-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}
.advantage-card:hover::before { transform: scaleX(1); }
.advantage-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.advantage-card h3 { font-size: 16px; margin-bottom: 8px; }
.advantage-card p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.7; }

/* ===================== Quality Control ===================== */
.quality-control {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.quality-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 14px;
}
.quality-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}
.quality-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--green, #27ae60);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ===================== FAQ ===================== */
.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-soft); }
.faq-item.open .faq-question { background: var(--bg-soft); }
.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ===================== Animations ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid > .product-card { grid-column: span 3; }
  .product-grid--odd > .product-card:nth-child(-n + 3) { grid-column: span 2; }
  .product-grid--odd > .product-card:nth-child(n + 4) { grid-column: span 3; }
}

@media (max-width: 768px) {
  body { padding-top: 70px; }
  body.nav-open { overflow: hidden; }
  .header-top { display: none; }
  .header-main { height: 70px; }
  .logo { flex-basis: 180px; width: 180px; height: 42px; }
  .logo img { width: 180px; height: 42px; }
  .related-articles { grid-auto-columns: min(84vw, 330px); }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 28px;
    gap: 0;
    white-space: normal;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-xl);
    visibility: hidden;
    pointer-events: none;
  }
  .nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-item { width: 100%; }
  .nav-link { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    min-width: auto;
    display: none;
  }
  .nav-item.expanded .dropdown { display: block; }
  .nav-item.expanded .caret { transform: rotate(180deg); }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.1rem; }
  .hero { min-height: auto; padding: 48px 0; }
  .hero-pattern-photo { opacity: 0.3; }
  .pillar-hero {
    padding: 44px 0;
    background-position: center, 70% center;
  }
  .pillar-hero h1 { font-size: 1.85rem; }
  .pillar-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pillar-stat { min-height: 102px; padding: 14px 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .hero-stat-num { font-size: 1.55rem; }

  .section { padding: 50px 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 22px; }
  .blog-card-img { height: auto; aspect-ratio: 16 / 9; }
  .article-detail { padding: 34px 0 60px; }
  .article-detail h1 { font-size: 2rem; }
  .article-meta { gap: 8px 14px; margin-bottom: 20px; }
  .article-hero { margin-bottom: 32px; border-radius: 12px; }
  .article-detail p { font-size: 16px; line-height: 1.78; }
  .article-detail .spec-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .product-grid { grid-template-columns: 1fr; }
  .product-grid > .product-card,
  .product-grid--odd > .product-card:nth-child(-n + 3),
  .product-grid--odd > .product-card:nth-child(n + 4),
  .product-grid--balance-last-four > .product-card:nth-last-child(-n + 4),
  .product-grid--center-last-two > .product-card:nth-last-child(2),
  .product-grid--center-last-two > .product-card:last-child,
  .product-grid--center-last-one > .product-card:last-child { grid-column: 1; }
  .feature-list { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .quality-list { grid-template-columns: 1fr; }
  .process-step { flex-direction: column; gap: 12px; }
  .container, .container-wide { padding: 0 16px; }
}
