/* ===========================================================
   Edwin Stainless Steel Tableware — B2B Website
   Palette: charcoal steel, warm brass accent, off-white paper
   =========================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --color-charcoal: #121214;
  --color-steel: #1A1A1D;
  --color-graphite: #2B2B2E;
  --color-slate: #4A4A4F;
  --color-muted: #6F7378;
  --color-silver: #A6AAB0;
  --color-cloud: #E5E5E8;
  --color-paper: #F8F8F7;
  --color-white: #FFFFFF;
  --color-brass: #C5A058;
  --color-brass-light: #D4B679;
  --color-brass-dark: #9E7F3C;
  --color-success: #2A7B3F;
  --color-error: #B54242;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 2px 4px rgba(18, 18, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 18, 20, 0.08);
  --shadow-lg: 0 18px 48px rgba(18, 18, 20, 0.12);

  --header-height: 72px;
  --container: 1240px;
  --container-narrow: 980px;

  --transition: 200ms ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-steel);
  background: var(--color-paper);
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

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

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

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

.text-muted {
  color: var(--color-muted);
}

.text-brass {
  color: var(--color-brass);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-slate);
}

.section-dark .lead,
.section-dark .text-muted {
  color: var(--color-silver);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-light {
  background: var(--color-cloud);
  color: var(--color-steel);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.badge-brass {
  background: rgba(197, 160, 88, 0.12);
  color: var(--color-brass-dark);
}

/* Typography */
.heading-xxl {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.overline {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brass);
}

.section-dark .overline {
  color: var(--color-brass-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-brass);
  color: var(--color-charcoal);
}

.btn-primary:hover {
  background: var(--color-brass-light);
  box-shadow: 0 8px 20px rgba(197, 160, 88, 0.25);
}

.btn-dark {
  background: var(--color-steel);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-graphite);
}

.btn-outline {
  border: 1px solid var(--color-cloud);
  color: var(--color-steel);
}

.btn-outline:hover {
  border-color: var(--color-steel);
  background: var(--color-steel);
  color: var(--color-white);
}

.section-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.section-dark .btn-outline:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-charcoal);
}

/* Hero buttons need higher contrast against dark background image */
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-charcoal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero .btn-primary {
  box-shadow: 0 4px 16px rgba(197, 160, 88, 0.4);
}

.hero .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(197, 160, 88, 0.55);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 18, 20, 0.06);
  height: var(--header-height);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-brass);
  font-weight: 700;
  font-size: 0.875rem;
}

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

.nav-link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-slate);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-charcoal);
  background: rgba(18, 18, 20, 0.04);
}

/* Language switch */
.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(197, 160, 88, 0.55);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  background: rgba(197, 160, 88, 0.10);
  transition: var(--transition);
}

.lang-link::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--color-brass) 0 50%, var(--color-cloud) 50% 100%);
}

.lang-link:hover {
  border-color: var(--color-brass);
  background: rgba(197, 160, 88, 0.22);
  color: var(--color-charcoal);
}

.mobile-nav .lang-link {
  border-radius: var(--radius-md);
  padding: 12px 0;
  border-left: none;
  border-right: none;
  border-top: none;
  justify-content: flex-start;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta .btn {
  padding: 12px 22px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-steel);
  color: var(--color-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 250ms ease;
  z-index: 99;
}

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

.mobile-nav .nav-link {
  font-size: 1.125rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-cloud);
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-charcoal);
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(18, 18, 20, 0.88) 0%, rgba(18, 18, 20, 0.55) 55%, rgba(18, 18, 20, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 140px;
}

.hero .overline {
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 560px;
}

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

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.hero-meta-label {
  font-size: 0.8125rem;
  color: var(--color-silver);
  margin-top: 2px;
}

/* Section intro */
.section-intro {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-intro-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro .overline {
  margin-bottom: 12px;
}

.section-intro h2 {
  margin-bottom: 18px;
}

/* Value props grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card-count modifiers so rows always fill evenly */
.value-grid.value-grid-3 { grid-template-columns: repeat(3, 1fr); }
.value-grid.value-grid-6 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .value-grid.value-grid-3,
  .value-grid.value-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .value-grid.value-grid-3,
  .value-grid.value-grid-6 { grid-template-columns: 1fr; }
}

.value-card {
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 88, 0.1);
  color: var(--color-brass-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-graphite);
}

.category-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(18, 18, 20, 0.92) 0%, rgba(18, 18, 20, 0.25) 60%, transparent 100%);
}

.category-grid > *:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
  min-height: 260px;
}

.category-grid > *:last-child:nth-child(3n+1) .category-card-image img {
  object-position: center 30%;
}

.category-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin-bottom: 18px;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brass-light);
}

.category-card-link:hover {
  gap: 10px;
}

/* Two-column feature */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row-reverse .feature-image {
  order: 2;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--color-graphite);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  max-height: 520px;
}

.feature-image-note {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 18, 20, 0.7);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.feature-content .overline {
  margin-bottom: 14px;
}

.feature-content h2 {
  margin-bottom: 20px;
}

.feature-content p {
  margin-bottom: 16px;
  color: var(--color-slate);
}

.feature-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-slate);
}

.feature-list-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(42, 123, 63, 0.1);
  color: var(--color-success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-silver);
  margin-top: 10px;
}

/* Logo strip */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.55;
}

.logo-strip span {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

/* Product catalog */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
  margin-right: 4px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate);
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-white);
}

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

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-graphite);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 18, 20, 0.55) 0%, transparent 60%);
  pointer-events: none;
}

.product-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

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

.product-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brass-dark);
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--color-charcoal);
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.product-card-meta span {
  font-size: 0.8125rem;
  color: var(--color-muted);
  background: var(--color-paper);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Mixed-order MOQ highlight (small-batch positioning) */
.product-card-meta .product-card-mixed {
  color: var(--color-brass-dark);
  background: rgba(197, 160, 88, 0.14);
  font-weight: 600;
}

/* Low MOQ badge on product imagery */
.badge-lowmoq {
  background: var(--color-brass, #c5a058);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

/* FAQ blocks (small-batch page) */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}

.faq-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  color: var(--color-charcoal);
}

.faq-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.section-dark .faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .faq-item h3 { color: var(--color-white); }
.section-dark .faq-item p { color: rgba(255, 255, 255, 0.72); }

/* Tier cards (order size bands) */
.tier-note {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brass-dark);
}

.product-card-desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-cloud);
}

.product-card-moq {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
}

.product-card-moq small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card-link:hover {
  color: var(--color-brass-dark);
}

/* Product detail */
.product-detail {
  padding-top: 56px;
  padding-bottom: 96px;
}

.product-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.product-detail-back:hover {
  color: var(--color-charcoal);
}

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

.product-detail-media {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-graphite);
}

.product-detail-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--color-graphite);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.product-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--color-brass);
}

.product-detail-info .overline {
  margin-bottom: 10px;
}

.product-detail-info h1 {
  margin-bottom: 18px;
}

.product-detail-info .lead {
  margin-bottom: 24px;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.product-detail-specs {
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-detail-specs h3 {
  padding: 18px 20px;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-cloud);
  font-size: 1rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table tr:not(:last-child) {
  border-bottom: 1px solid var(--color-cloud);
}

.spec-table td {
  padding: 14px 20px;
  vertical-align: top;
}

.spec-table td:first-child {
  width: 38%;
  color: var(--color-muted);
  font-weight: 500;
}

.spec-table td:last-child {
  color: var(--color-steel);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* Service / capability cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.service-card-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brass);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Process timeline */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brass);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-white);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-silver);
  line-height: 1.55;
}

/* CTA section */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-steel);
  color: var(--color-white);
}

.cta-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 88, 0.12) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-content {
  max-width: 640px;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--color-silver);
  margin-bottom: 28px;
  max-width: 560px;
}

/* Contact / form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-charcoal);
}

.contact-block p,
.contact-block a {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-block a:hover {
  color: var(--color-brass-dark);
}

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
  margin-bottom: 8px;
}

.form-group label span {
  color: var(--color-error);
}

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-steel);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(197, 160, 88, 0.12);
}

.form-control.error,
.form-select.error,
textarea.form-control.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(181, 66, 66, 0.1);
}

.form-control::placeholder {
  color: var(--color-silver);
}

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

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

.form-hint {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 8px;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(42, 123, 63, 0.08);
  color: var(--color-success);
  border: 1px solid rgba(42, 123, 63, 0.2);
}

/* mailto fallback link inside the success message */
.form-message.success a {
  color: var(--color-success);
  text-decoration: underline;
  font-weight: 600;
}

.form-message.error {
  display: block;
  background: rgba(181, 66, 66, 0.08);
  color: var(--color-error);
  border: 1px solid rgba(181, 66, 66, 0.2);
}

/* About page */
.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--color-cloud);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-brass);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 1px var(--color-cloud);
}

.timeline-year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brass-dark);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* Certification grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-grid.cert-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.cert-grid.cert-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.brand-note {
  margin: 28px auto 0;
  max-width: 720px;
  padding: 14px 18px;
  border-left: 3px solid var(--color-brass);
  background: var(--color-cloud);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-slate);
  font-size: 0.875rem;
  line-height: 1.6;
}

.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.cert-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: var(--radius-md);
  background: var(--color-paper);
  display: grid;
  place-items: center;
  color: var(--color-brass-dark);
  font-weight: 700;
  font-size: 0.75rem;
}

.cert-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* WhatsApp floating entry (injected by main.js) */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.wa-fab:hover,
.wa-fab:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 560px) {
  .wa-fab {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }

  .wa-fab-label {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-silver);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 0.9375rem;
  color: var(--color-silver);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .value-grid,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-row,
  .contact-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-row-reverse .feature-image {
    order: 0;
  }

  .product-detail-media {
    position: static;
  }

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

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

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

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

@media (max-width: 768px) {
  .main-nav,
  .header-cta .btn,
  .header-cta > .lang-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0 100px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .value-grid,
  .product-grid,
  .service-grid,
  .category-grid,
  .stats-bar,
  .cert-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-image img {
    min-height: 280px;
  }

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

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

  .catalog-toolbar {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

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

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

/* ---------- Cookie consent (shown before ad pixels load) ---------- */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--color-charcoal);
  border-top: 1px solid rgba(197, 160, 88, 0.25);
  padding: 14px 0;
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-consent p {
  margin: 0;
  max-width: 640px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
}

.cookie-consent .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.cookie-consent-link {
  margin-left: 4px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-link:hover {
  color: var(--color-brass-light);
}

/* Lift the WhatsApp button clear of the banner while it is on screen */
body.has-consent-banner .wa-fab {
  bottom: 104px;
}

@media (max-width: 720px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  body.has-consent-banner .wa-fab {
    bottom: 168px;
  }
}

/* ---------- Landing page (ad traffic) ---------- */
.lp-hero {
  padding: 64px 0 40px;
  background: var(--color-paper);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.lp-hero-copy .overline {
  display: block;
  margin-bottom: 14px;
}

.lp-hero-copy h1 {
  margin: 0 0 16px;
}

.lp-checks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.lp-checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-slate);
}

.lp-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--color-brass);
  border-bottom: 2px solid var(--color-brass);
  transform: rotate(-45deg);
}

.lp-form-title {
  margin: 0 0 18px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

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

.lp-shot img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  background: #F5F4F1;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lp-shot span {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 960px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .lp-shot-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- WhatsApp action button ---------- */
.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

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

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}

/* ============================================================
   Arabic / RTL (ar/ 目录)
   仅在 <html dir="rtl"> 时生效，不影响中英文页面
   ============================================================ */
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] button {
  font-family: "Segoe UI", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma,
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

[dir="rtl"] body {
  text-align: right;
}

/* 数字与拉丁词在阿拉伯语行内保持可读 */
[dir="rtl"] .heading-xxl,
[dir="rtl"] .heading-xl,
[dir="rtl"] .heading-lg,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .lead {
  line-height: 1.65;
  letter-spacing: 0;
}

/* 导航与页脚链接：方向性内边距改为逻辑属性 */
[dir="rtl"] .nav-link,
[dir="rtl"] .footer-col li,
[dir="rtl"] .feature-list li,
[dir="rtl"] .breadcrumb {
  padding-left: 0;
  padding-right: 0;
}

[dir="rtl"] .footer-col ul,
[dir="rtl"] .feature-list,
[dir="rtl"] .value-card ul {
  padding-left: 0;
  padding-right: 18px;
}

[dir="rtl"] .tier-note,
[dir="rtl"] .badge {
  margin-left: 0;
  margin-right: 4px;
}

/* 箭头类图标在 RTL 下翻转 */
[dir="rtl"] .category-card-link svg,
[dir="rtl"] .link-arrow svg {
  transform: scaleX(-1);
}

/* 悬浮 WhatsApp 按钮移到左下，避开 RTL 阅读动线 */
[dir="rtl"] .wa-fab {
  right: auto;
  left: 22px;
}

@media (max-width: 760px) {
  [dir="rtl"] .wa-fab {
    right: auto;
    left: 16px;
  }
}

/* 移动端抽屉从左侧推入 */
[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-nav.open {
  transform: translateX(0);
}

/* 表格与规格表对齐 */
[dir="rtl"] .spec-table td,
[dir="rtl"] .spec-table th {
  text-align: right;
}

[dir="rtl"] .spec-table td:last-child {
  text-align: left;
}

/* 表单标签与提示 */
[dir="rtl"] .form-group label,
[dir="rtl"] .form-hint,
[dir="rtl"] .form-message {
  text-align: right;
}

[dir="rtl"] .form-control,
[dir="rtl"] .form-select {
  direction: rtl;
}

[dir="rtl"] .form-control[type="email"],
[dir="rtl"] .form-control[type="tel"] {
  direction: ltr;
  text-align: right;
}

/* 价格/数量等数字块保持从左到右 */
[dir="rtl"] .stat-value,
[dir="rtl"] .hero-meta-value {
  direction: ltr;
  unicode-bidi: isolate;
}
