/* ============================================================
   TouchSeek B2B PCBA Website - Global Stylesheet
   Theme: Deep Navy Blue + Orange Accent, Clean & Professional
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --navy-900: #0A1A2F;
  --navy-800: #0F2942;
  --navy-700: #16385A;
  --navy-600: #1D4A78;
  --navy-500: #2A5E96;
  --orange-500: #FF6B35;
  --orange-400: #FF8A50;
  --orange-600: #E85A26;
  --bg: #F6F8FB;
  --bg-alt: #EEF2F7;
  --card: #FFFFFF;
  --text: #1B2733;
  --text-muted: #5B6B7C;
  --border: #E2E8F0;
  --success: #10B981;
  --whatsapp: #25D366;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(10, 26, 47, 0.06);
  --shadow-md: 0 6px 24px rgba(10, 26, 47, 0.10);
  --shadow-lg: 0 12px 40px rgba(10, 26, 47, 0.16);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-500); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; color: var(--navy-900); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--orange-500); color: #fff !important; border-color: var(--orange-500); }
.btn-primary:hover { background: var(--orange-600); border-color: var(--orange-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-600) !important; border-color: var(--navy-600); }
.btn-outline:hover { background: var(--navy-600); color: #fff !important; }
.btn-light { background: #fff; color: var(--navy-800) !important; }
.btn-light:hover { background: var(--bg-alt); }
.btn-navy { background: var(--navy-800); color: #fff !important; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff !important; }
.btn-whatsapp:hover { background: #1EBE57; border-color: #1EBE57; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,0.85);
  font-size: 13px; padding: 8px 0;
  position: relative; z-index: 1001;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--orange-400); }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- Language Switcher ---------- */
.lang-switcher { position: relative; }
.lang-btn {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.lang-btn:hover { background: rgba(255,255,255,0.16); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 999;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
  min-width: 170px; overflow: hidden; display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  width: 100%; padding: 10px 16px; border: none; background: none; cursor: pointer;
  font-size: 14px; color: var(--text); text-align: left;
}
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu button.active { color: var(--orange-500); font-weight: 700; }
.lang-menu .lang-code { font-size: 11px; color: var(--text-muted); background: var(--bg-alt); border-radius: 4px; padding: 1px 6px; }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-badge {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--navy-900); letter-spacing: 0.3px; }
.logo-text span { color: var(--orange-500); }
.logo-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--orange-500); }
.nav-links a.active { color: var(--orange-500); font-weight: 700; }
.nav-cta { padding: 9px 20px !important; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
  font-size: 18px; color: var(--navy-900); align-items: center; justify-content: center;
}

/* ---------- Hero Carousel ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.hero-slider { position: relative; height: 640px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,26,47,0.92) 0%, rgba(10,26,47,0.65) 45%, rgba(10,26,47,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 60px 0; }
.hero-kicker {
  display: inline-block; background: var(--orange-500); color: #fff;
  padding: 5px 14px; border-radius: 4px; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-title { font-size: 46px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 18px; }
.hero-title .hl { color: var(--orange-400); }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 42px; flex-wrap: wrap; }
.hero-stat h4 { color: var(--orange-400); font-size: 26px; font-weight: 800; }
.hero-stat p { color: rgba(255,255,255,0.75); font-size: 13px; margin-top: 2px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: none; }
.hero-dot.active { background: var(--orange-500); width: 28px; border-radius: 6px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.hero-arrow:hover { background: var(--orange-500); border-color: var(--orange-500); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy-800); }
.section-navy h2, .section-navy .section-sub { color: #fff; }
.section-navy .section-sub { color: rgba(255,255,255,0.75); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-kicker {
  display: inline-block; color: var(--orange-500); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.section-title .hl { color: var(--orange-500); }
.section-sub { font-size: 16px; color: var(--text-muted); }

/* ---------- Feature Cards (3 advantages) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 34px 28px;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--orange-500);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Product Category Cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--border);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.cat-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,26,47,0.5));
}
.cat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange-500); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
}
.cat-body { padding: 20px; }
.cat-body h3 { font-size: 17px; margin-bottom: 6px; }
.cat-body p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--orange-500) !important; display: inline-flex; align-items: center; gap: 6px; }
.cat-link:hover { gap: 10px; }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-num { font-size: 13px; font-weight: 800; color: var(--orange-500); letter-spacing: 1px; margin-bottom: 8px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); }
.why-icon { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(255,107,53,0.12); color: var(--orange-500); display: flex; align-items: center; justify-content: center; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 14px; right: 24px;
  font-size: 60px; color: rgba(255,107,53,0.2); font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: var(--orange-500); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 14.5px; color: var(--text); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy-600);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.testimonial-name { font-size: 14.5px; font-weight: 700; }
.testimonial-role { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Quote / CTA Band ---------- */
.quote-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 60px 0; position: relative; overflow: hidden;
}
.quote-band::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255,107,53,0.15);
}
.quote-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.quote-band h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.quote-band p { color: rgba(255,255,255,0.8); max-width: 560px; }

/* ---------- Contact / Inquiry Form ---------- */
.form-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.form-label .req { color: var(--orange-500); }
.form-control {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14.5px; font-family: inherit; transition: var(--transition); background: #fff; width: 100%;
}
.form-control:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(42,94,150,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6B7C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-success {
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.35);
  color: #0B7A4B; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; display: none; margin-top: 16px;
}
.form-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.35);
  color: #B91C1C; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; display: none; margin-top: 16px;
}

/* ---------- Product Page ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 70px 0 60px;
}
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.breadcrumb a { color: var(--orange-400); }

.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; align-items: center;
}
.filter-btn {
  padding: 9px 20px; border-radius: 24px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--navy-500); color: var(--navy-600); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.product-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--navy-800); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px;
}
.product-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { font-size: 18px; margin-bottom: 6px; }
.product-cat { font-size: 12px; color: var(--orange-500); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.product-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.spec-list { border-top: 1px dashed var(--border); padding-top: 12px; margin-bottom: 16px; }
.spec-item { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.spec-item .spec-k { color: var(--text-muted); }
.spec-item .spec-v { font-weight: 600; color: var(--navy-900); }
.product-actions { display: flex; gap: 10px; margin-top: auto; }
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: 14px; }

/* ---------- About Page ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--orange-500), var(--navy-600));
  border-radius: 3px;
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -30px; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: #fff; border: 4px solid var(--orange-500);
}
.timeline-year { font-size: 14px; font-weight: 800; color: var(--orange-500); margin-bottom: 4px; }
.timeline-title { font-size: 17px; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.timeline-text { font-size: 14px; color: var(--text-muted); }

.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.factory-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.factory-item img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.4s ease; }
.factory-item:hover img { transform: scale(1.04); }
.factory-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 22px 16px;
  background: linear-gradient(180deg, transparent, rgba(10,26,47,0.85));
  color: #fff; font-size: 14px; font-weight: 600;
}

.qc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: qc; }
.qc-step {
  background: var(--card); border-radius: var(--radius-lg); padding: 26px 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative;
  text-align: center;
}
.qc-step::before {
  counter-increment: qc; content: "0" counter(qc);
  display: block; font-size: 30px; font-weight: 800; color: rgba(255,107,53,0.25);
  margin-bottom: 10px; font-family: Georgia, serif;
}
.qc-step h3 { font-size: 16px; margin-bottom: 8px; }
.qc-step p { font-size: 13px; color: var(--text-muted); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  background: var(--card); border-radius: var(--radius); padding: 24px 18px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.cert-icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: rgba(42,94,150,0.1); color: var(--navy-600); display: flex; align-items: center; justify-content: center; }
.cert-card h4 { font-size: 15px; margin-bottom: 4px; }
.cert-card p { font-size: 12px; color: var(--text-muted); }

.odm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.odm-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-align: center;
}
.odm-card .why-icon { margin: 0 auto 14px; }
.odm-card h3 { font-size: 17px; margin-bottom: 8px; }
.odm-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Contact Page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
.contact-info-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-bottom: 20px;
}
.contact-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-ico {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,107,53,0.12); color: var(--orange-500);
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 14.5px; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--text-muted); }
.contact-item a:hover { color: var(--orange-500); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: 280px; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-fallback {
  position: absolute; inset: 0; background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-muted); font-size: 14px; text-align: center; padding: 20px;
}
.response-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12); color: #0B7A4B; border: 1px solid rgba(16,185,129,0.3);
  padding: 8px 16px; border-radius: 24px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px;
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-alt); }
.admin-header {
  background: var(--navy-900); color: #fff; padding: 14px 0; position: sticky; top: 0; z-index: 900;
}
.admin-header .container { display: flex; justify-content: space-between; align-items: center; }
.admin-title { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.admin-title .logo-badge { width: 34px; height: 34px; font-size: 16px; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-nav button {
  background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.85);
  padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 14px;
}
.admin-nav button:hover { background: rgba(255,255,255,0.16); }
.admin-nav button.active { background: var(--orange-500); color: #fff; }
.admin-main { padding: 30px 0 60px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.admin-toolbar h2 { font-size: 22px; }
.admin-table { width: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.admin-table th {
  background: var(--navy-800); color: #fff; text-align: left;
  padding: 12px 16px; font-size: 13px; font-weight: 600;
}
.admin-table td { padding: 12px 16px; font-size: 14px; border-top: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: #FAFBFC; }
.admin-thumb { width: 56px; height: 40px; border-radius: 4px; background-size: cover; background-position: center; }
.admin-actions { display: flex; gap: 8px; }
.admin-actions button {
  padding: 6px 12px; border-radius: 5px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 13px; transition: var(--transition);
}
.admin-actions .btn-edit:hover { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }
.admin-actions .btn-del:hover { background: #EF4444; color: #fff; border-color: #EF4444; }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10,26,47,0.6); z-index: 1200;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 30px; box-shadow: var(--shadow-lg);
}
.modal h3 { font-size: 20px; margin-bottom: 20px; }
.modal .form-grid { gap: 14px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.admin-stat {
  background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); border-left: 4px solid var(--orange-500);
}
.admin-stat h3 { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.admin-stat .num { font-size: 28px; font-weight: 800; color: var(--navy-900); }
.login-card { max-width: 420px; margin: 80px auto; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.login-card h2 { text-align: center; margin-bottom: 6px; }
.login-card p { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

/* ---------- Cookie Consent ---------- */
.cookie-consent {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 1500;
  background: var(--navy-900); color: #fff; border-radius: var(--radius-lg);
  padding: 22px 26px; box-shadow: var(--shadow-lg);
  display: none; flex-wrap: wrap; align-items: center; gap: 18px;
  max-width: 720px;
}
.cookie-consent.show { display: flex; }
.cookie-consent p { font-size: 13.5px; color: rgba(255,255,255,0.85); flex: 1; min-width: 240px; }
.cookie-consent p a { color: var(--orange-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Live Chat Widget ---------- */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 1400;
}
.chat-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy-800); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
.chat-toggle:hover { background: var(--orange-500); transform: scale(1.06); }
.chat-box {
  position: absolute; bottom: 68px; right: 0; width: 320px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden; display: none;
}
.chat-box.open { display: block; }
.chat-head { background: var(--navy-800); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--orange-500); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.chat-head h4 { color: #fff; font-size: 14.5px; }
.chat-head p { font-size: 11.5px; color: rgba(255,255,255,0.7); }
.chat-body { padding: 16px; max-height: 260px; overflow-y: auto; background: var(--bg); }
.chat-msg { margin-bottom: 10px; max-width: 85%; }
.chat-msg.bot { }
.chat-msg .bubble {
  display: inline-block; padding: 9px 13px; border-radius: 12px;
  font-size: 13.5px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.chat-msg.bot .bubble { border-bottom-left-radius: 3px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--border); }
.chat-quick button {
  font-size: 12px; padding: 6px 12px; border-radius: 16px; border: 1px solid var(--navy-500);
  color: var(--navy-600); background: #fff; cursor: pointer;
}
.chat-quick button:hover { background: var(--navy-600); color: #fff; }
.chat-foot { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-foot input {
  flex: 1; border: 1px solid var(--border); border-radius: 18px; padding: 8px 14px; font-size: 13px; outline: none;
}
.chat-foot button {
  border: none; background: var(--navy-800); color: #fff; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; font-size: 15px;
}

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 1400;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-about p { font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-links a:hover { color: var(--orange-400); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; align-items: flex-start; }
.footer-contact .ico { color: var(--orange-400); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: var(--orange-400); }

/* ---------- Back to Top ---------- */
.back-top {
  position: fixed; bottom: 90px; right: 24px; z-index: 1300;
  width: 44px; height: 44px; border-radius: 10px; border: none;
  background: var(--navy-800); color: #fff; font-size: 18px; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--orange-500); }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 300px; z-index: 1100;
  background: #fff; box-shadow: -8px 0 30px rgba(10,26,47,0.2);
  padding: 70px 28px 30px; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--orange-500); font-weight: 700; }
.mobile-menu .btn { margin-top: 16px; }
.menu-close {
  position: absolute; top: 18px; right: 20px; background: none; border: none;
  font-size: 26px; cursor: pointer; color: var(--navy-900);
}
.menu-overlay {
  display: none; position: fixed; inset: 0; background: rgba(10,26,47,0.5);
  z-index: 1050;
}
.menu-overlay.open { display: block; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; } .mb-4 { margin-bottom: 40px; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; } .flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 20px; } .gap-1 { gap: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .why-grid, .testimonial-grid, .odm-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-steps { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 560px; }
  .hero-title { font-size: 38px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
  .hero-slider { height: 520px; }
  .hero-title { font-size: 32px; }
  .hero-content { padding: 40px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cat-grid, .product-grid { grid-template-columns: 1fr; }
  .feature-grid, .why-grid, .testimonial-grid, .odm-grid { grid-template-columns: 1fr; }
  .qc-steps { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .admin-table { overflow-x: auto; display: block; }
  .admin-table table { min-width: 640px; }
  .quote-band-inner { flex-direction: column; text-align: center; }
  .topbar-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero h1 { font-size: 30px; }
  .section-title { font-size: 27px; }
  .hero-arrow { display: none; }
}

@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 480px; }
  .hero-stats { gap: 20px; }
  .hero-stat h4 { font-size: 22px; }
  .form-card { padding: 26px 20px; }
  .cookie-consent { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .admin-stat-grid { grid-template-columns: 1fr; }
}

/* ===== Trust page ===== */
.trust-steps { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) {
  .trust-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-steps { grid-template-columns: 1fr; }
}

.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.25s ease; }
.faq-item[open] { border-color: var(--orange-500); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-size: 15.5px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--orange-500); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 18px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.75; }
@media (max-width: 768px) {
  .faq-item summary { font-size: 14.5px; padding: 14px 16px; }
  .faq-item .faq-a { padding: 0 16px 16px; }
}
