/* ============================================================
   RONSEIN — Industrial Blueprint Theme
   Pure static, multi-language (i18n) ready
   ============================================================ */

:root {
  --bg:        #081320;
  --bg-2:      #0b1c2e;
  --panel:     #0e2236;
  --panel-2:   #113050;
  --line:      rgba(120, 165, 205, 0.16);
  --line-strong: rgba(120, 165, 205, 0.35);
  --cyan:      #2fd0e0;
  --cyan-dim:  #1b8fa3;
  --accent:    #ff7a1a;
  --accent-2:  #ffb347;
  --text:      #d8e7f2;
  --muted:     #8ba7c2;
  --muted-2:   #5f7d99;
  --white:     #f3f8fc;
  --radius:    4px;
  --maxw:      1200px;
  --mono:      ui-monospace, "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --sans:      "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

/* screen-reader-only H1 (single core H1 for SEO, visually hidden) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* floating quote / contact CTA — product & contact pages only */
.float-quote {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.35);
  text-decoration: none; font-size: 14px; line-height: 1;
  font-family: var(--sans);
}
.float-quote:hover { background: var(--accent-2); transform: translateY(-2px); }
.float-quote .fq-ico { font-size: 16px; line-height: 1; }
@media (max-width: 600px) {
  .float-quote { right: 12px; bottom: 12px; padding: 13px; }
  .float-quote .fq-txt { display: none; }
}

body {
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(120,165,205,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,165,205,0.05) 1px, transparent 1px),
    radial-gradient(1200px 600px at 85% -10%, rgba(47,208,224,0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(255,122,26,0.08), transparent 55%);
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---------- Technical eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--cyan);
  display: inline-block;
}

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }

.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 14px 0 12px;
  line-height: 1.15;
  text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 19, 32, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name {
  font-weight: 800; font-size: 18px; letter-spacing: 1px; color: var(--white);
}
.brand .brand-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  color: var(--muted-2); text-transform: uppercase; margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; padding: 9px 14px; color: var(--muted);
  border-radius: var(--radius); transition: .2s; position: relative;
}
.nav-links a:hover { color: var(--white); background: rgba(47,208,224,0.08); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--cyan); border-radius: 2px;
}

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); padding: 8px 12px; border-radius: var(--radius);
  font-size: 13px; cursor: pointer; font-family: var(--mono);
  transition: .2s;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--white); }
.lang-btn .chev { transition: transform .2s; font-size: 10px; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); min-width: 190px; padding: 6px;
  display: none; box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 200;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: 0; color: var(--muted);
  padding: 9px 12px; border-radius: var(--radius); cursor: pointer;
  font-size: 14px; text-align: left;
}
.lang-menu button:hover { background: rgba(47,208,224,0.10); color: var(--white); }
.lang-menu button .code {
  font-family: var(--mono); font-size: 11px; color: var(--cyan);
  border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px;
}
.lang-menu button.active { color: var(--white); }
.lang-menu button.active .code { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }

/* Static pages emit plain <a> links (no main.js), so mirror the button rules
   so each language stacks on its own row with the same padding / hover / active. */
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: 0; color: var(--muted);
  padding: 9px 12px; border-radius: var(--radius); cursor: pointer;
  font-size: 14px; text-align: left; text-decoration: none;
  white-space: nowrap;
}
.lang-menu a + a { margin-top: 2px; }
.lang-menu a:hover { background: rgba(47,208,224,0.10); color: var(--white); }
.lang-menu a.active { color: var(--white); background: rgba(47,208,224,0.08); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line);
  color: var(--text); width: 42px; height: 38px; border-radius: var(--radius);
  cursor: pointer; font-size: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(.82) contrast(1.04) brightness(.92);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,19,32,.94) 0%, rgba(8,19,32,.74) 42%, rgba(8,19,32,.30) 100%),
    linear-gradient(0deg, rgba(8,19,32,.88) 0%, rgba(8,19,32,.30) 55%, rgba(8,19,32,.50) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(rgba(120,165,205,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,165,205,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(900px 500px at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero h1, .hero .hero-title {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.06; font-weight: 800;
  letter-spacing: -1.5px; color: var(--white); margin: 18px 0 20px;
}
.hero h1 .accent, .hero .hero-title .accent { color: var(--cyan); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* Floating request-a-quote button (product + contact pages) */
.float-quote {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--cyan), #25b3c4);
  color: #04121c; font-weight: 700; font-size: 14px; font-family: var(--mono);
  padding: 13px 19px; border-radius: 30px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.float-quote:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.45); background: linear-gradient(135deg, #4ee0ee, #2bb6c7); }
.float-quote .fq-ico { width: 18px; height: 18px; display: inline-block; }
@media (max-width: 600px) { .float-quote { right: 14px; bottom: 14px; padding: 11px 15px; font-size: 13px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius); font-size: 15px;
  font-weight: 600; cursor: pointer; transition: .2s; border: 1px solid transparent;
  letter-spacing: .3px;
}
.btn-primary { background: var(--cyan); color: #042029; box-shadow: 0 6px 20px rgba(47,208,224,.18); }
.btn-primary:hover { background: #4ee0ee; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(47,208,224,.3); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }

/* Hero technical panel */
.hero-panel {
  position: relative; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(17,48,80,.7), rgba(8,19,32,.7));
  border-radius: 6px; padding: 26px; aspect-ratio: 4/3.4;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
/* dim overlay so spec-sheet text stays legible over the photo */
.hero-panel::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,19,32,.42), rgba(8,19,32,.74)); pointer-events: none; }
.hero-panel .corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--cyan); z-index: 3; }
.hero-panel .c-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hero-panel .c-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hero-panel .c-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hero-panel .c-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hero-panel .scan { position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(47,208,224,.05) 7px); pointer-events: none; }
/* product photo now fills the whole frame as a background */
.hero-panel .pp-img { position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(.9) contrast(1.05); }
.hero-panel > div { position: relative; z-index: 2; }
.hero-panel .pp-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--cyan); }
.hero-panel .pp-big { font-size: 30px; font-weight: 800; color: var(--white); letter-spacing: -1px; }
.hero-panel .pp-spec { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.9; }
.hero-panel .pp-spec b { color: var(--accent-2); font-weight: 600; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.stat { background: var(--panel); padding: 28px 24px; }
.stat .num { font-size: 34px; font-weight: 800; color: var(--white); font-family: var(--mono); letter-spacing: -1px; }
.stat .num span { color: var(--cyan); }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   BREADCRUMB (product detail)
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .5px;
}
.breadcrumb a { color: var(--cyan); text-decoration: none; transition: .2s; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb span:last-child { color: var(--muted); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.prod-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; transition: .25s;
  color: inherit; text-decoration: none;
}
.prod-card[data-cat="ps"]     { --pc: #2fd0e0; }
.prod-card[data-cat="ctp"]    { --pc: #4f9cff; }
.prod-card[data-cat="ctcp"]   { --pc: #ff9d4f; }
.prod-card[data-cat="violet"] { --pc: #b07cff; }
.prod-card[data-cat="film"]   { --pc: #4fd07a; }
.prod-card[data-cat="chemical"] { --pc: #ffb454; }
.prod-card[data-cat="equipment"] { --pc: #7ee0c0; }
.prod-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--pc, var(--cyan)), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s; z-index: 2;
}
.prod-card:hover { border-color: var(--pc, var(--cyan)); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.prod-card:hover::before { transform: scaleX(1); }
.prod-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.prod-card .thumb img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s; }
.prod-card:hover .thumb img { transform: scale(1.06); }
.prod-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prod-card .pid {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--pc, var(--cyan));
  letter-spacing: 1px; text-transform: uppercase;
}
.prod-card .pid::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pc, var(--cyan)); }
.prod-card h3 { font-size: 18px; margin: 0 0 10px; color: var(--white); }
.prod-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.prod-card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-family: var(--mono); font-size: 12px; color: var(--accent-2); transition: .2s;
}
.prod-card .more::after { content: "\2192"; transition: transform .25s; }
.prod-card:hover .more { color: var(--pc, var(--cyan)); }
.prod-card:hover .more::after { transform: translateX(4px); }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  border: 1px solid var(--line); border-radius: 6px; padding: 26px;
  background: linear-gradient(160deg, rgba(17,48,80,.4), transparent); transition: .25s;
}
.feature:hover { border-color: var(--cyan); transform: translateY(-3px); }
.feature .fno { font-family: var(--mono); color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.feature .fno { font-family: var(--mono); color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.feature h3 { font-size: 18px; margin: 12px 0 10px; color: var(--white); }
.feature p { font-size: 14px; color: var(--muted); }

/* ============================================================
   INTRO (home)
   ============================================================ */
.intro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.intro-grid .section-head { margin-bottom: 0; max-width: none; }
.intro-visual {
  position: relative; border: 1px solid var(--line-strong); border-radius: 10px;
  background: linear-gradient(160deg, rgba(17,48,80,.5), rgba(8,19,32,.5));
  padding: 26px; overflow: hidden;
}
.intro-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(120,165,205,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120,165,205,0.05) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.intro-visual svg { position: relative; display: block; width: 100%; height: auto; }
.intro-visual .corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--cyan); }
.intro-visual .c-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.intro-visual .c-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.intro-visual .c-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.intro-visual .c-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ============================================================
   NEWS
   ============================================================ */
.news-list { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 4px; }
.news-item {
  position: relative; display: grid; grid-template-columns: 150px 130px 1fr auto; gap: 20px; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); border-left: 2px solid var(--line);
  border-radius: 6px; background: var(--panel); transition: .22s;
}
.news-media { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel-2); }
.news-media img { display: block; width: 100%; height: 92px; object-fit: contain; background: var(--panel-2); }
.news-item::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px;
  background: var(--cyan); border-radius: 2px; transform: scaleY(0); transform-origin: center; transition: transform .25s;
}
.news-item:hover { border-color: var(--line-strong); background: var(--panel-2); transform: translateX(4px); }
.news-item:hover::before { transform: scaleY(1); }
.news-date { font-family: var(--mono); color: var(--cyan); font-size: 13px; letter-spacing: .5px; }
.news-body h3 { font-size: 17px; color: var(--white); margin-bottom: 4px; transition: color .2s; }
.news-item:hover .news-body h3 { color: var(--cyan); }
.news-body p { font-size: 14px; color: var(--muted); }
.news-tag {
  font-family: var(--mono); font-size: 11px; border: 1px solid var(--line-strong);
  color: var(--muted); padding: 5px 12px; border-radius: 20px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.news-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px; }
.news-tag.tag--exhibition { border-color: var(--cyan); color: var(--cyan); }
.news-tag.tag--production { border-color: var(--accent); color: var(--accent); }
.news-tag.tag--product { border-color: #7aa8ff; color: #7aa8ff; }
.news-tag.tag--partner { border-color: #5fd38a; color: #5fd38a; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-intro p { color: var(--muted); font-size: 16px; line-height: 1.85; margin: 0 0 18px; }
.about-intro p:first-child { color: var(--text); font-size: 17px; }
.about-intro p:last-child { margin-bottom: 0; }
.about-media { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: relative; }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.about-media:hover img { transform: scale(1.04); }
.about-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47,208,224,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,208,224,.10) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .4;
}
.about-media .tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; font-family: var(--mono);
  font-size: 11px; letter-spacing: 2px; color: var(--cyan);
  background: rgba(8,19,32,.7); border: 1px solid var(--line-strong); padding: 6px 10px; border-radius: 4px;
}

/* ---- Factory image carousel (About page) ---- */
.factory-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
}
.factory-carousel .fc-slides { position: absolute; inset: 0; }
.factory-carousel .fc-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.factory-carousel .fc-slide.active { opacity: 1; z-index: 1; }
.factory-carousel .fc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* keep the carousel images static (no legacy hover zoom) */
.about-media .factory-carousel img { transform: none; }
/* nav arrows */
.factory-carousel .fc-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(8,19,32,.55);
  color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: background .2s, opacity .2s;
}
.factory-carousel .fc-nav:hover { background: rgba(8,19,32,.88); }
.factory-carousel .fc-prev { left: 12px; }
.factory-carousel .fc-next { right: 12px; }
/* dot indicators */
.factory-carousel .fc-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  z-index: 3; display: none; justify-content: center; gap: 8px;
}
.factory-carousel .fc-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75); background: transparent;
  cursor: pointer; transition: background .2s, transform .2s;
}
.factory-carousel .fc-dot.active { background: var(--cyan); border-color: var(--cyan); transform: scale(1.2); }
/* controls only appear once JS has initialised the carousel (live hub) */
.factory-carousel.fc-js .fc-nav,
.factory-carousel.fc-js .fc-dots { display: flex; }
.mission-quote {
  color: var(--white); font-weight: 600; letter-spacing: -.2px;
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5;
  padding: 6px 0 6px 24px; border-left: 3px solid var(--cyan);
  max-width: 860px; text-wrap: balance;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row .ico {
  width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); display: grid; place-items: center; color: var(--cyan);
  font-family: var(--mono); font-size: 14px; line-height: 0;
}
.contact-info .info-row .ico svg { width: 19px; height: 19px; }
.contact-info .info-row .k { font-size: 12px; color: var(--muted-2); font-family: var(--mono); letter-spacing: 1px; }
.contact-info .info-row .v { font-size: 15px; color: var(--text); }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-family: var(--mono); letter-spacing: 1px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); padding: 11px 13px; border-radius: var(--radius); font-size: 14px;
  font-family: var(--sans); transition: .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47,208,224,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form .btn-primary { width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-status { font-size: 14px; margin-top: 14px; min-height: 1px; line-height: 1.5; }
.form-status.ok { color: var(--cyan); }
.form-status.err { color: #ff8a8a; }
.btn.loading { opacity: .65; cursor: progress; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: .2s; }
.footer-grid a:hover { color: var(--white); }
.footer-about p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--muted-2); font-family: var(--mono);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { aspect-ratio: auto; min-height: 320px; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .prod-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .lang { margin-left: auto; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--panel-2); border-bottom: 1px solid var(--line-strong); padding: 12px;
    gap: 4px;
  }
  .section { padding: 64px 0; }
  .prod-grid, .feature-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-media img { height: auto; max-height: 240px; width: 100%; }
  .news-tag { justify-self: start; }
}

/* RTL support (Arabic) */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .nav-links a.active::after { left: 14px; right: 14px; }
html[dir="rtl"] .eyebrow::before { order: 2; }
html[dir="rtl"] .btn .chev { transform: scaleX(-1); }

/* ============ Product detail page ============ */
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.pd-media { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel-2); }
.pd-media img { display: block; width: 100%; height: 100%; object-fit: contain; aspect-ratio: 4 / 3; }
.pd-long h2 { margin-bottom: 10px; }
.pd-long p { font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 560px; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th {
  text-align: left; padding: 13px 12px 13px 0; width: 44%;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .5px;
  color: var(--cyan); font-weight: 600; vertical-align: top;
}
.spec-table td { padding: 13px 0; color: var(--white); font-size: 15px; }
.spec-table tbody tr { transition: background .15s; }
.spec-table tbody tr:hover { background: rgba(47,208,224,.05); }
.apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.app-chip {
  border: 1px solid var(--line-strong); border-radius: 30px; padding: 7px 16px;
  font-size: 13px; color: var(--muted); background: rgba(47,208,224,.05);
}
.app-chip:hover { border-color: var(--cyan); color: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related-grid .prod-card { display: flex; flex-direction: column; }
.related-grid .prod-card .pid { font-size: 10.5px; }
.related-grid .prod-card p { min-height: auto; }
.related-grid .prod-card .more { margin-top: auto; }

/* Rich detail blocks (features / structure / layers / grouped specs) */
.feat-section { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px;
  background: var(--panel-2); position: relative;
}
.feat-card::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 3px; height: 26px;
  background: var(--cyan); border-radius: 2px;
}
.feat-card h3 { color: var(--white); font-size: 16px; margin: 0 0 10px; padding-left: 12px; }
.feat-card p { color: var(--muted); font-size: 14px; line-height: 1.7; padding-left: 12px; }
.struct-media { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel-2); max-width: 760px; }
.struct-media img { display: block; width: 100%; height: auto; }
.layer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.layer-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.layer-card img { display: block; width: 100%; height: 180px; object-fit: contain; background: var(--panel-2); }
.layer-card figcaption { padding: 12px 14px; color: var(--cyan); font-size: 13px; font-family: var(--mono); letter-spacing: .4px; }
.spec-group { margin-bottom: 26px; }
.spec-group-h { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 6px; font-family: var(--mono); }
.spec-group .spec-table tr:last-child { border-bottom: none; }

/* Equipment catalog (multi-item product lines) */
.cat-section { background: var(--panel); }
.equip-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px;
  background: var(--panel-2); margin-bottom: 18px;
}
.equip-card:last-child { margin-bottom: 0; }
.equip-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.equip-head img {
  width: 124px; height: 92px; object-fit: contain; flex: 0 0 auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
}
.equip-head h3 { color: var(--white); font-size: 18px; margin: 0; }
.equip-card .spec-table { width: 100%; }
.equip-card .spec-table th { width: 40%; }

@media (max-width: 860px) {
  .pd-hero, .pd-cols { grid-template-columns: 1fr; gap: 24px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid, .layer-grid { grid-template-columns: 1fr; }
  .equip-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 520px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Product Key Takeaways + FAQ (SEO/GEO) */
.pd-takeaway {
  margin-top: 18px;
  max-width: 720px;
  padding: 14px 18px;
  border-left: 3px solid var(--cyan);
  background: rgba(47, 208, 224, .07);
  border-radius: 0 8px 8px 0;
  color: #cfe3ee;
  font-size: 15px;
  line-height: 1.7;
}
.pd-takeaway strong { color: var(--cyan); margin-right: 6px; letter-spacing: .4px; }
.pd-faq { border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  background: var(--panel-2);
}
.faq-item h3 { color: var(--white); font-size: 16px; margin: 0 0 8px; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
