/* =========================================================
   JITRON-LINK — Foreign Trade Independent Site
   Design system: Tech Blue + Electric Cyan
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #06122b;
  --navy-800: #0a1c3e;
  --navy-700: #0e2a55;
  --navy-600: #143a73;
  --blue-500: #1e63ff;
  --blue-400: #3b82f6;
  --cyan-400: #22d3ee;
  --cyan-300: #5fe9f7;
  --cyan-glow: rgba(34, 211, 238, 0.45);

  --ink-900: #0b1220;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;

  --paper: #ffffff;
  --paper-2: #f6f9fc;
  --paper-3: #eef3f9;
  --line: #e2e9f2;

  --ok: #16c784;

  /* gradients */
  --grad-hero: radial-gradient(1200px 600px at 78% -10%, rgba(34,211,238,0.22), transparent 60%),
               radial-gradient(900px 500px at 10% 0%, rgba(30,99,255,0.28), transparent 55%),
               linear-gradient(160deg, #06122b 0%, #0a1c3e 48%, #0e2a55 100%);
  --grad-cyan: linear-gradient(120deg, var(--blue-500), var(--cyan-400));
  --grad-soft: linear-gradient(120deg, rgba(30,99,255,0.10), rgba(34,211,238,0.10));

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(8,20,45,0.06);
  --shadow-md: 0 12px 30px rgba(8,20,45,0.10);
  --shadow-lg: 0 28px 60px rgba(8,20,45,0.18);

  --maxw: 1200px;
  --nav-h: 74px;

  --font: "Inter", "Manrope", "Cairo", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Space Grotesk", "Noto Sans SC", var(--font);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--grad-hero);
  color: #eaf2ff;
  position: relative;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #ffffff; }
.section--dark p { color: #c7d6ee; }
.section--paper { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500);
  padding: 6px 14px; border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(30,99,255,0.18);
}
.section--dark .eyebrow { color: var(--cyan-300); background: rgba(34,211,238,0.10); border-color: rgba(34,211,238,0.25); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--ink-500); font-size: 17px; }
.section--dark .section-head p { color: #b9c9e6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-cyan); color: #04122e; box-shadow: 0 10px 26px rgba(34,211,238,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(34,211,238,0.5); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue-500); border: 1.5px solid rgba(30,99,255,0.4); }
.btn-outline:hover { background: rgba(30,99,255,0.08); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(6,18,43,0.55);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(6,18,43,0.92); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: var(--grad-cyan);
  display: grid; place-items: center; color: #04122e; font-weight: 900; font-size: 17px;
  box-shadow: 0 6px 18px rgba(34,211,238,0.4);
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 11px; }
.brand .name { font-family: var(--font-display); font-size: 19px; letter-spacing: .01em; }
.brand .name small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .28em; color: var(--cyan-300); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #d6e2f5; padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; color: #eaf2ff; font-weight: 600; font-size: 14px;
  padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05);
}
.lang-btn:hover { background: rgba(255,255,255,0.12); }
.lang-btn .caret { width: 12px; height: 12px; opacity: .8; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 168px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s ease;
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: start;
  padding: 10px 12px; border-radius: 9px; color: var(--ink-700); font-weight: 600; font-size: 14px;
}
.lang-menu button:hover { background: var(--paper-3); }
.lang-menu button .dot { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--grad-soft); color: var(--blue-500); }
.lang-menu button.active { background: var(--paper-3); color: var(--blue-500); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.hamburger span { display: block; width: 18px; height: 2px; background: #fff; margin: 3px auto; border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(6,18,43,0.98); backdrop-filter: blur(10px);
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .3s ease;
}
[dir="rtl"] .mobile-menu { transform: translateX(-100%); }
.mobile-menu.open { transform: translateX(0); }
[dir="rtl"] .mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: #eaf2ff; font-size: 18px; font-weight: 600; padding: 14px 12px; border-radius: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:hover { background: rgba(255,255,255,0.07); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); background: var(--grad-hero); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 70% 30%, #000, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero-orb.a { width: 360px; height: 360px; background: var(--cyan-400); top: 8%; right: 6%; animation: float 9s ease-in-out infinite; }
.hero-orb.b { width: 300px; height: 300px; background: var(--blue-500); bottom: 4%; left: 4%; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-28px); } }

.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 60px); margin-bottom: 18px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--cyan-300), #9be7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c7d6ee; font-size: 18px; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust .t { color: #9fb4d8; font-size: 13px; }
.hero-trust .t b { display: block; color: #fff; font-size: 22px; font-family: var(--font-display); }

/* hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-xl); padding: 26px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card .chip { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 14px; background: rgba(255,255,255,0.06); margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.08); }
.hero-card .chip .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--grad-cyan); display: grid; place-items: center; color: #04122e; flex: 0 0 auto; }
.hero-card .chip .ic svg { width: 18px; height: 18px; }
.hero-card .chip .tx b { display: block; color: #fff; font-size: 15px; }
.hero-card .chip .tx span { color: #9fb4d8; font-size: 12.5px; }
.hero-pulse { position: absolute; inset: -2px; border-radius: var(--r-xl); border: 1px solid rgba(34,211,238,0.4); animation: pulse 3.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity: .15; transform: scale(1);} 50%{ opacity: .5; transform: scale(1.02);} }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 18px; }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: #fff; line-height: 1; }
.stat .num .u { color: var(--cyan-300); }
.stat .lbl { color: #aebfdc; font-size: 14px; margin-top: 8px; }

/* ---------- pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar {
  position: relative; border-radius: var(--r-lg); padding: 38px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar .pill-bg { position: absolute; inset: 0; opacity: .05; background: var(--grad-cyan); }
.pillar .pill-ic { width: 56px; height: 56px; border-radius: 15px; background: var(--grad-soft); display: grid; place-items: center; color: var(--blue-500); margin-bottom: 20px; }
.pillar .pill-ic svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 24px; }
.pillar p { color: var(--ink-500); }
.pillar ul.feat { margin: 18px 0 22px; display: grid; gap: 10px; }
.pillar ul.feat li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-700); font-size: 15px; }
.pillar ul.feat li svg { width: 18px; height: 18px; color: var(--ok); flex: 0 0 auto; margin-top: 3px; }

/* ---------- feature / why-us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(30,99,255,0.35); }
.feature .f-img { position: relative; width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, #0a1c3e, #143a73); overflow: hidden; }
.feature .f-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature:hover .f-img img { transform: scale(1.06); }
.feature .f-body { padding: 22px 26px 26px; }
.feature .f-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); color: var(--blue-500); display: grid; place-items: center; margin-bottom: 14px; }
.feature .f-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-500); font-size: 15px; margin: 0; }

/* ---------- markets ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.market { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 28px; transition: background .25s, transform .25s; }
.market:hover { background: rgba(255,255,255,0.10); transform: translateY(-4px); }
.market .m-flag { font-size: 30px; margin-bottom: 10px; }
.market h3 { color: #fff; font-size: 19px; }
.market p { color: #b9c9e6; font-size: 14.5px; margin: 0; }

/* ---------- logos / certs strip ---------- */
.cert-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #dbe6f7; font-weight: 700; font-size: 14px;
}
.cert-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-glow); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-500), var(--cyan-400));
  border-radius: var(--r-xl); padding: 54px 48px; text-align: center; color: #04122e;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% 20%, rgba(255,255,255,0.3), transparent 60%); }
.cta-band h2 { color: #04122e; font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { color: #0a2540; font-size: 17px; max-width: 600px; margin: 0 auto 26px; }
.cta-band .btn-dark { background: #04122e; color: #fff; }
.cta-band .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
.cta-band .btn-white { background: #fff; color: #04122e; }

/* ---------- timeline (about) ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue-500), var(--cyan-400)); }
.tl-item { position: relative; padding: 0 0 38px 28px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-500); box-shadow: 0 0 0 4px var(--paper-2); }
.tl-item .yr { font-family: var(--font-display); font-weight: 800; color: var(--blue-500); font-size: 15px; }
.tl-item h3 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-500); margin: 0; }

/* about hero stats row */
.about-hero { background: var(--grad-hero); color: #fff; border-radius: var(--r-xl); padding: 56px; text-align: center; }
.about-hero h1 { color: #fff; font-size: clamp(30px,4.5vw,48px); }
.about-hero p { color: #c7d6ee; max-width: 720px; margin: 0 auto; font-size: 18px; }

/* ---------- products ---------- */
.prod-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.prod-filter { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-500); font-weight: 600; font-size: 14px; transition: all .2s; }
.prod-filter:hover { border-color: rgba(30,99,255,0.4); color: var(--blue-500); }
.prod-filter.active { background: var(--grad-cyan); color: #04122e; border-color: transparent; box-shadow: 0 8px 20px rgba(34,211,238,0.35); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(30,99,255,0.35); }
.prod-thumb { height: 170px; background: var(--grad-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.prod-thumb .glyph { width: 84px; height: 84px; color: var(--blue-500); opacity: .9; }
.prod-thumb .tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.85); color: var(--blue-500); }
[dir="rtl"] .prod-thumb .tag { left: auto; right: 12px; }
.prod-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 18px; margin-bottom: 6px; }
.prod-body p { color: var(--ink-500); font-size: 14px; margin-bottom: 14px; flex: 1; }
.prod-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.prod-meta span { font-size: 12px; padding: 4px 10px; border-radius: 7px; background: var(--paper-3); color: var(--ink-500); font-weight: 600; }
.prod-card .btn { width: 100%; }

/* category block */
.cat-block { margin-bottom: 64px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.cat-head .cat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-cyan); color: #04122e; display: grid; place-items: center; flex: 0 0 auto; }
.cat-head .cat-ic svg { width: 26px; height: 26px; }
.cat-head h2 { font-size: 28px; margin: 0; }
.cat-head p { color: var(--ink-500); margin: 2px 0 0; font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { background: var(--grad-hero); color: #fff; border-radius: var(--r-lg); padding: 40px; }
.contact-info h2 { color: #fff; font-size: 28px; }
.contact-info .ci-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: var(--cyan-300); flex: 0 0 auto; }
.contact-info .ci-ic svg { width: 20px; height: 20px; }
.contact-info .ci-item b { display: block; color: #fff; font-size: 15px; }
.contact-info .ci-item span { color: #b9c9e6; font-size: 14px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--ink-500); margin-bottom: 22px; font-size: 14.5px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink-700); }
.field label .req { color: #ef4444; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  font-family: inherit; font-size: 15px; color: var(--ink-900); background: var(--paper-2); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--ink-400); margin-top: 4px; }
.form-success { display: none; background: rgba(22,199,132,0.12); border: 1px solid rgba(22,199,132,0.4); color: #0c8a5a; padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-weight: 600; }
.form-success.show { display: block; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #aebfdc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 18px; }
.footer .about-txt { font-size: 14.5px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .04em; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #aebfdc; font-size: 14.5px; transition: color .2s; }
.footer ul li a:hover { color: var(--cyan-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #8295b8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.07); display: grid; place-items: center; color: #cdd9ef; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--grad-cyan); color: #04122e; }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.gap-12 { gap: 12px; }
.flow > * + * { margin-top: 14px; }

/* =========================================================
   NEW COMPONENTS (real-content build)
   ========================================================= */
/* ---------- brand logo ---------- */
/* 原图是深蓝透明 PNG，在深蓝导航上会"消失"——
   方案：放大 + CSS filter 反色为亮白 + 轻微光晕，保留原图造型与可识别度 */
.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  padding: 5px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(34,211,238,0.06));
  border: 1px solid rgba(255,255,255,0.14);
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(34,211,238,0.35));
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34,211,238,0.45);
}
.footer .brand-logo {
  height: 67px;
  padding: 7px 12px;
}

/* pillar tag */
.pill-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); background: var(--grad-soft); border: 1px solid rgba(30,99,255,.2); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }

/* facility gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* customer strip */
.cust-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cust-chip { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink-700); font-size: 16px; }

/* lab chips */
.lab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lab-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #dbe6f7; font-weight: 600; font-size: 14px; }
.lab-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-glow); flex: 0 0 auto; }

/* facts */
.facts-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fact-chip { padding: 12px 20px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(30,99,255,.18); color: var(--blue-500); font-weight: 700; font-size: 14px; }

/* split cards (about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.split-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); }

/* product image card */
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; transition: transform .4s ease, opacity .25s ease; }
.prod-thumb img.hide-2 { display: none; }
.prod-card:hover .prod-thumb img:not(.hide-2) { transform: scale(1.04); }
/* On hover: show alternate image (img2) — covers must have sz=100% with object-fit:contain */
.prod-card:hover .prod-thumb img.hide-2 { display: block; }
.prod-card:hover .prod-thumb img:not(.hide-2) { opacity: 0; }
.thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 18px; background: linear-gradient(135deg, #0a1c3e, #143a73); color: #cfe2ff; font-weight: 700; font-size: 15px; }
.pc-code { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--blue-500); margin-bottom: 8px; font-family: var(--font-display); }
.pc-spec { font-size: 12.5px; color: var(--cyan-400); font-weight: 600; margin-bottom: 16px; font-family: var(--font-display); }

/* =========================================================
   PRODUCT PHOTO GALLERY
   ========================================================= */
.section--tint { background: linear-gradient(180deg, #f4f8ff 0%, #eef3fb 100%); }
.gallery-wrap { margin-top: 8px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.gchip {
  border: 1px solid var(--line); background: #fff; color: var(--navy-700);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font-display); transition: all .2s ease;
}
.gchip:hover { border-color: var(--blue-500); color: var(--blue-500); }
.gchip.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: var(--shadow); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-card img { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; transition: transform .4s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card .gcap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: 12.5px; font-weight: 600;
  color: #fff; background: linear-gradient(180deg, transparent, rgba(4,18,46,0.85)); font-family: var(--font-display);
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center;
  background: rgba(4, 12, 28, 0.92); padding: 4vh 4vw; backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox .lb-fig { margin: 0; max-width: 90vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox .lb-img { max-width: 90vw; max-height: 78vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); background: #fff; }
.lightbox .lb-cap { color: #cfe2ff; font-size: 13px; margin-top: 12px; font-family: var(--font-display); letter-spacing: .02em; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 22px; line-height: 1; display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--blue-500); }
.lightbox .lb-close { top: 22px; right: 22px; font-size: 28px; }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .pillar-grid, .contact-grid, .stats { grid-template-columns: 1fr 1fr; }
  .feature-grid, .market-grid, .prod-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid, .lab-grid, .split { grid-template-columns: 1fr 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 680px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: block; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pillar-grid, .feature-grid, .market-grid, .prod-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .gallery-grid, .lab-grid, .split { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .cta-band, .about-hero, .contact-info, .form-card { padding: 32px 22px; }
  .hero-trust { gap: 18px; }
  .hero h1 { font-size: 34px; }
  .section-head { margin-bottom: 38px; }
}

/* =========================================================
   RTL adjustments
   ========================================================= */
[dir="rtl"] body { font-family: "Cairo", "Noto Sans SC", var(--font); }
[dir="rtl"] .nav-links, [dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .hero-grid, [dir="rtl"] .pillar-grid, [dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .field-row { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .prod-meta, [dir="rtl"] .hero-trust { direction: rtl; }
