/* ============================================================
   WHY Parts - Modern B2B Theme
   Primary: Slate deep blue #0F172A
   Accent:  Amber gold #F59E0B
   ============================================================ */

:root {
  --primary: #0F172A;
  --primary-2: #1E293B;
  --primary-3: #334155;
  --accent: #F59E0B;
  --accent-2: #D97706;
  --accent-soft: #FEF3C7;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-muted: #F1F5F9;
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --border: #E2E8F0;
  --border-2: #CBD5E1;
  --success: #10B981;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .12), 0 4px 12px rgba(15, 23, 42, .06);
  --shadow-accent: 0 8px 24px rgba(245, 158, 11, .25);
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1240px;
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
ul { list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
  font-family: var(--font);
}
.btn-primary-1 { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary-1:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(245, 158, 11, .35); }
.btn-primary-2 { background: var(--primary); color: #fff; }
.btn-primary-2:hover { background: var(--primary-2); color: var(--accent); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-2); color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { font-size: 21px; font-weight: 800; letter-spacing: -.3px; color: var(--primary); }
.brand-text .accent { color: var(--accent); }

.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: all .2s ease;
}
.nav-link:hover { color: var(--primary); background: var(--bg-muted); opacity: 1; }
.nav-link.active { color: var(--primary); background: var(--accent-soft); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switcher { position: relative; }
.lang-btn {
  background: #fff;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--primary);
  letter-spacing: 1px;
  transition: all .2s;
}
.lang-btn:hover { border-color: var(--primary); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
  padding: 6px;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: var(--radius);
}
.lang-dropdown a:hover { background: var(--bg-muted); color: var(--primary); opacity: 1; }
.lang-dropdown a.current { background: var(--primary); color: #fff; font-weight: 700; }
.lang-dropdown a.current:hover { background: var(--primary); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.30) 100%),
    url('../img/banner-bg-v2.jpg') center/cover no-repeat var(--primary);
  color: #fff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 540px;
  height: 540px;
  border: 1.5px solid rgba(245, 158, 11, .25);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 320px;
  height: 320px;
  border: 1.5px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}
.hero-deco-2 {
  position: absolute;
  left: -120px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1.5px solid rgba(245, 158, 11, .15);
  border-radius: 50%;
}
.hero-deco-3 {
  position: absolute;
  left: 30%;
  top: 12%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .7;
}
.hero-deco-4 {
  position: absolute;
  left: 14%;
  top: 65%;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: .5;
}
.hero-deco-5 {
  position: absolute;
  right: 28%;
  bottom: 18%;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 700;
  background: rgba(245, 158, 11, .15);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, .35);
  padding: 8px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); }
.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -1px;
  text-shadow: 0 2px 12px rgba(15, 23, 42, .55);
}
.hero h1 .hl { color: var(--accent); }
.hero p {
  font-size: 19px;
  color: #CBD5E1;
  margin-bottom: 38px;
  max-width: 640px;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(15, 23, 42, .55);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stat .num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -.5px;
}
.hero-stat .lbl {
  font-size: 13px;
  color: #94A3B8;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; background: var(--bg-soft); }
.section.white { background: #fff; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 700;
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head p { color: var(--text-2); margin-top: 8px; max-width: 580px; margin-left: auto; margin-right: auto; font-size: 16px; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.cat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 20px 28px;
  text-align: center;
  transition: transform .35s cubic-bezier(.25,.8,.25,1), box-shadow .35s ease, border-color .35s ease;
  box-shadow: 0 4px 12px rgba(16,24,40,.06);
  overflow: hidden;
  text-decoration: none;
}
.cat-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gradient-accent);
  opacity: .85;
  transition: height .35s ease, opacity .35s ease;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(16,24,40,.12);
  border-color: rgba(37,99,235,.35);
  opacity: 1;
}
.cat-card:hover::after { height: 7px; opacity: 1; }
.cat-icon {
  width: 120px; height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef5ff 0%, #f3f0ff 100%);
  border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(37,99,235,.12), inset 0 0 0 1px rgba(37,99,235,.08);
  transition: transform .35s cubic-bezier(.25,.8,.25,1), box-shadow .35s ease;
}
.cat-card:hover .cat-icon {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37,99,235,.18), inset 0 0 0 1px rgba(37,99,235,.12);
}
.cat-icon img { width: 66%; height: 66%; object-fit: contain; display: block; }
.cat-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -.2px;
}
.cat-card .cat-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.cat-card .cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 26px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(37,99,235,.08);
  border-radius: 999px;
}
.cat-card .cat-arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--primary);
  color: #fff;
}

/* ---------- Brand strip ---------- */
.brand-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; padding: 32px 0; }
.brand-strip .container { display: flex; align-items: center; justify-content: center; gap: 16px 32px; padding: 0 24px; flex-wrap: wrap; }
.brand-item { font-size: 18px; font-weight: 800; letter-spacing: 1px; color: var(--text-3); transition: color .2s; white-space: nowrap; }
.brand-item:hover { color: var(--primary); opacity: 1; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.prod-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.prod-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); opacity: 1; }
.prod-card:hover::before { transform: scaleX(1); }
.prod-thumb { aspect-ratio: 4/3; background: var(--bg-muted); overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.prod-featured {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.prod-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; font-weight: 700; }
.prod-body h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; color: var(--primary); }
.prod-price { font-size: 18px; font-weight: 800; margin-bottom: 14px; color: var(--accent-2); }
.prod-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.prod-meta span { display: flex; align-items: center; gap: 4px; }
.prod-meta strong { color: var(--primary); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.why-card { border: 1px solid var(--border); padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: all .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.why-num {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-accent);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-accent);
}
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.why-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ---------- Products page ---------- */
.page-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.60) 0%, rgba(15, 23, 42, 0.28) 100%),
    url('../img/banner-bg-v2.jpg') center/cover no-repeat var(--primary);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 320px;
  height: 320px;
  border: 1.5px solid rgba(245, 158, 11, .2);
  border-radius: 50%;
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(15, 23, 42, .5); }
.page-hero p { color: #CBD5E1; max-width: 660px; font-size: 16px; text-shadow: 0 1px 6px rgba(15, 23, 42, .5); }

.custom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.custom-banner strong { color: var(--accent-2); font-size: 15px; display: block; margin-bottom: 4px; }
.custom-banner span { color: var(--text-2); font-size: 14px; }

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.toolbar select, .toolbar input[type="text"] {
  padding: 10px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 14px;
  background: #fff;
  font-family: var(--font);
  color: var(--text);
  transition: border-color .2s;
}
.toolbar input[type="text"] { flex: 1; min-width: 220px; }
.toolbar select:focus, .toolbar input:focus { outline: none; border-color: var(--accent); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-2);
  background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); opacity: 1; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.result-info { font-size: 13px; color: var(--text-2); margin-bottom: 22px; padding-left: 4px; }
.no-result { text-align: center; padding: 60px 0; color: var(--text-2); }

/* ---------- Product detail ---------- */
.detail-wrap { padding: 64px 0 40px; background: var(--bg-soft); }
.detail-img { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.detail-img img { width: 100%; height: auto; }
.detail-info h1 { font-size: 32px; font-weight: 800; margin-bottom: 14px; line-height: 1.25; color: var(--primary); }
.detail-code {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
}
.detail-price {
  font-size: 32px;
  font-weight: 800;
  padding: 20px 0;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border-top: 2px dashed var(--border);
  border-bottom: 2px dashed var(--border);
  margin-bottom: 22px;
  text-align: center;
}
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table tr:nth-child(even) { background: var(--bg-soft); }
.spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--text-2); width: 38%; font-weight: 600; }
.fitments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fitment-chip { border: 1px solid var(--accent); padding: 6px 14px; font-size: 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.detail-desc { padding: 0 0 64px; background: #fff; }
.detail-desc h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  color: var(--primary);
  position: relative;
}
.detail-desc h2::after { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--gradient-accent); border-radius: 2px; }
.detail-desc p { margin-bottom: 14px; color: var(--text-2); max-width: 860px; }

/* ---------- About ---------- */
.about-block { padding: 64px 0; background: #fff; }
.about-block h2 { font-size: 28px; font-weight: 800; margin-bottom: 18px; color: var(--primary); }
.about-block p { color: var(--text-2); margin-bottom: 14px; }

.mission-box {
  background: var(--gradient-hero);
  color: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.mission-box::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 1.5px solid rgba(245, 158, 11, .3);
  border-radius: 50%;
}
.mission-box h3 { font-size: 22px; margin-bottom: 14px; color: var(--accent); font-weight: 800; }
.mission-box p { color: #CBD5E1; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { padding: 64px 0; background: var(--bg-soft); }
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 22px; color: var(--primary); }
.contact-info .info-row { display: flex; gap: 14px; margin-bottom: 18px; font-size: 15px; }
.contact-info .info-row .label { color: var(--text-2); min-width: 140px; font-weight: 700; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; letter-spacing: .3px; color: var(--primary); }
.form-group .req { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-msg { padding: 14px 18px; margin-bottom: 20px; font-size: 14px; border-radius: var(--radius); }
.form-msg.success { background: #ECFDF5; border: 1px solid #10B981; color: #065F46; font-weight: 600; }
.form-msg.error { background: #FEF2F2; border: 1px solid #EF4444; color: #991B1B; }

.contact-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-info .info-block {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.contact-info .info-block h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--primary); }
.contact-info .info-block p { font-size: 14px; color: var(--text-2); margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: #CBD5E1; position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 72px 0 52px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--accent); border-radius: 2px; }
.footer-col p { font-size: 14px; line-height: 1.7; color: #94A3B8; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a { color: #CBD5E1; font-size: 14px; }
.footer-links a:hover { color: var(--accent); opacity: 1; }
.footer-contact li { font-size: 14px; color: #94A3B8; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact a { color: #CBD5E1; }
.footer-contact a:hover { color: var(--accent); opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #64748B; }

/* ---------- Success page ---------- */
.success-page { text-align: center; padding: 110px 0; background: var(--bg-soft); }
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 38px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-accent);
}
.success-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 14px; color: var(--primary); }
.success-page p { color: var(--text-2); margin-bottom: 32px; font-size: 17px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: #94A3B8; padding: 20px 0; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--accent); opacity: 1; }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb span { color: var(--accent); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0; background: var(--bg-soft); }
.notfound .code { font-size: 96px; font-weight: 800; line-height: 1; background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.notfound h1 { font-size: 26px; margin: 16px 0 10px; color: var(--primary); }
.notfound p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- RTL ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .hero::before { right: auto; left: -180px; }
[dir="rtl"] .hero::after { right: auto; left: -90px; }
[dir="rtl"] .hero-deco-2 { left: auto; right: -120px; }
[dir="rtl"] .hero-deco-3 { left: auto; right: 30%; }
[dir="rtl"] .hero-deco-4 { left: auto; right: 14%; }
[dir="rtl"] .hero-deco-5 { right: auto; left: 28%; }
[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
[dir="rtl"] .mission-box::before { right: auto; left: -60px; }
[dir="rtl"] .split-2 { direction: rtl; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-inner { height: auto; padding: 16px 24px; flex-wrap: wrap; gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .hero h1 { font-size: 38px; }
  .hero { padding: 70px 0; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { padding: 56px 0 36px; }
  .split-2 { grid-template-columns: 1fr !important; gap: 32px !important; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-body { padding: 12px; }
  .prod-body h3 { font-size: 14px; }
}

/* ---------- Language suggestion modal ---------- */
.lang-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  padding: 20px;
}
.lang-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.lang-modal-box p { font-size: 16px; color: var(--text); margin-bottom: 22px; line-height: 1.55; }
.lang-modal-box strong { color: var(--primary); }
.lang-modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lang-modal-actions .btn { min-width: 150px; }

@media (max-width: 520px) {
  .lang-modal-actions { flex-direction: column; }
  .lang-modal-actions .btn { width: 100%; }
}