/* ============================================================
   Muhibbah MOVO Ventures (M&M) — Surgical Instruments
   Premium design system
   ============================================================ */

:root {
  /* Brand palette */
  --navy-950: #050f1c;
  --navy-900: #071a2b;
  --navy-850: #0a2338;
  --navy-800: #0b2a45;
  --navy-700: #10395c;
  --blue-600: #1567b0;
  --blue-500: #1f7bc4;
  --blue-400: #3d9be0;
  --blue-300: #6bb8ee;
  --cyan: #55c8e8;
  --green-500: #17a24a;
  --green-400: #24b85c;

  --steel-50: #f6f8fa;
  --steel-100: #eef2f5;
  --steel-200: #dde5eb;
  --steel-300: #c4d0d9;
  --steel-400: #9aabb8;
  --steel-500: #6b7d8b;

  --gold: #c9a45c;
  --gold-soft: #e2caa0;

  --ink: #0c1f30;
  --ink-soft: #3a4d5c;
  --paper: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(7, 26, 43, 0.06);
  --shadow-md: 0 14px 40px rgba(7, 26, 43, 0.10);
  --shadow-lg: 0 30px 80px rgba(7, 26, 43, 0.18);

  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "ss01" on;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--navy-900); }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-500);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, var(--blue-500), var(--green-400)); }
.eyebrow.light { color: var(--blue-300); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, var(--green-400), var(--blue-500)); }

.section { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 18px; }
.section-head p { margin-top: 20px; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; box-shadow: 0 10px 26px rgba(21, 103, 176, 0.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(21, 103, 176, 0.44); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--steel-300); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding-block: 18px;
}
.nav.scrolled { background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(7,26,43,0.08), var(--shadow-sm); padding-block: 10px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .bt-1 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em; color: #fff; transition: color .35s; }
.brand-text .bt-2 { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--blue-300); font-weight: 700; transition: color .35s; }
.nav.scrolled .brand-text .bt-1 { color: var(--navy-900); }
.nav.scrolled .brand-text .bt-2 { color: var(--blue-600); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: rgba(255,255,255,0.82); transition: color .25s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 22px; font-size: 0.88rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; border-radius: 2px; }
.nav.scrolled .nav-toggle span { background: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: 168px; padding-bottom: 100px; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(61,155,224,0.30), transparent 60%),
    radial-gradient(900px 560px at 12% 108%, rgba(23,162,74,0.16), transparent 58%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-850) 46%, var(--navy-800) 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.hero-grid { position: relative; display: block; max-width: 780px; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--blue-300); }
.hero-lead { margin-top: 26px; font-size: 1.14rem; color: rgba(233,241,247,0.82); max-width: 540px; }
.hero-cta { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { margin-top: 44px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-badge { }
.hero-badge b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: #fff; display: block; }
.hero-badge span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(233,241,247,0.6); }

.hero-panel {
  position: relative; aspect-ratio: 1/1.06; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px); overflow: hidden; display: grid; place-items: center;
}
.hero-panel .tray-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, rgba(61,155,224,0.35), transparent 60%); }
.hero-panel svg { width: 78%; height: auto; position: relative; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.4)); }
.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.92); color: var(--navy-900); padding: 11px 16px; border-radius: 14px;
  box-shadow: var(--shadow-md); font-weight: 700; font-size: 0.84rem;
}
.hero-chip small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.72rem; }
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(36,184,92,0.2); }
.hero-chip.c1 { top: 22px; left: -18px; }
.hero-chip.c2 { bottom: 26px; right: -14px; }

/* logo ticker */
.marquee { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 70px; padding-top: 30px; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 46px; flex-wrap: wrap; justify-content: space-between; opacity: 0.9; }
.marquee-item { display: flex; align-items: center; gap: 11px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(233,241,247,0.72); }
.marquee-item svg { width: 20px; height: 20px; color: var(--blue-300); }

/* ---------- Stats strip ---------- */
.trust { background: var(--steel-50); border-bottom: 1px solid var(--steel-200); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-cell {
  position: relative; background: #fff; padding: 32px 26px; border: 1px solid var(--steel-200); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.trust-cell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--green-400)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.trust-cell:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.trust-cell:hover::before { transform: scaleX(1); }
.trust-cell b { font-family: var(--font-display); font-size: 2.3rem; color: var(--navy-800); display: block; transition: color .35s ease; }
.trust-cell:hover b { color: var(--blue-600); }
.trust-cell span { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }

/* ---------- Categories ---------- */
.cats { background: #fff; }
.cat-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 42px; }
.search {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 260px;
  background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: 100px; padding: 4px 6px 4px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(61,155,224,0.14); }
.search svg { width: 19px; height: 19px; color: var(--steel-500); flex: none; }
.search input { flex: 1; border: 0; background: none; outline: none; font-family: inherit; font-size: 0.98rem; padding: 12px 0; color: var(--ink); }
.search .count { font-size: 0.78rem; color: var(--steel-500); padding: 8px 16px; white-space: nowrap; }

.cat-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: 26px 24px 24px; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden; text-align: left;
}
.cat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--green-400)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, var(--steel-100), #fff); border: 1px solid var(--steel-200); color: var(--blue-600); margin-bottom: 18px; }
.cat-ico svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; }
.cat-card .cat-meta { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; }
.cat-card .cat-count { font-size: 0.8rem; font-weight: 700; color: var(--blue-600); background: rgba(31,123,196,0.09); padding: 3px 10px; border-radius: 100px; }
.cat-card .cat-arrow { color: var(--steel-400); transition: transform .3s, color .3s; }
.cat-card:hover .cat-arrow { transform: translateX(4px); color: var(--blue-600); }
.cat-empty { grid-column: 1/-1; text-align: center; color: var(--ink-soft); padding: 40px; }

/* ---------- Feature / craftsmanship ---------- */
.craft { background: linear-gradient(180deg, var(--steel-50), #fff); }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.craft-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4;
  background: radial-gradient(700px 500px at 30% 20%, rgba(61,155,224,0.16), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border: 1px solid var(--navy-700); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.craft-visual svg { width: 70%; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); }
.craft-visual .cv-label { position: absolute; left: 26px; bottom: 24px; color: #fff; }
.craft-visual .cv-label b { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.craft-visual .cv-label span { color: rgba(255,255,255,0.6); font-size: 0.84rem; }
.craft-list { margin-top: 34px; display: grid; gap: 22px; }
.craft-item { display: flex; gap: 18px; }
.craft-item .ci-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--steel-200); color: var(--green-500); box-shadow: var(--shadow-sm); }
.craft-item .ci-ico svg { width: 24px; height: 24px; }
.craft-item h4 { font-size: 1.08rem; font-weight: 600; font-family: var(--font-body); color: var(--navy-900); }
.craft-item p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 4px; }

/* ---------- Process ---------- */
.process { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.process::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 500px at 85% 10%, rgba(61,155,224,0.18), transparent 60%); }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: rgba(233,241,247,0.72); }
.process-grid { position: relative; margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-card { position: relative; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: 30px 24px; overflow: hidden; transition: background .4s ease, transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease; }
.proc-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(340px 160px at 50% -20%, rgba(61,155,224,0.28), transparent 70%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.proc-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-10px); border-color: rgba(61,155,224,0.5); box-shadow: 0 26px 55px rgba(0,0,0,0.4); }
.proc-card:hover::before { opacity: 1; }
.proc-num { position: relative; font-family: var(--font-display); font-size: 0.9rem; color: var(--blue-300); letter-spacing: 0.1em; transition: color .35s ease; }
.proc-card:hover .proc-num { color: var(--cyan); }
.proc-card h4 { position: relative; color: #fff; font-family: var(--font-body); font-size: 1.12rem; font-weight: 600; margin-top: 14px; }
.proc-card p { position: relative; }
.proc-card p { color: rgba(233,241,247,0.68); font-size: 0.92rem; margin-top: 10px; }

/* ---------- Global reach ---------- */
.reach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.reach-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.reach-stat { border: 1px solid var(--steel-200); border-radius: var(--radius-sm); padding: 22px; background: #fff; }
.reach-stat b { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy-800); display:block; }
.reach-stat span { color: var(--ink-soft); font-size: 0.88rem; }
.reach-visual { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--steel-100), #fff); border: 1px solid var(--steel-200); padding: 40px; box-shadow: var(--shadow-md); }
.reach-visual svg { width: 100%; }

/* ---------- Quote / Contact ---------- */
.quote { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; position: relative; overflow: hidden; }
.quote::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 480px at 15% 20%, rgba(23,162,74,0.16), transparent 55%), radial-gradient(700px 480px at 90% 90%, rgba(61,155,224,0.22), transparent 55%); }
.quote-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.quote h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.quote-lead { color: rgba(233,241,247,0.78); margin-top: 20px; font-size: 1.05rem; }
.quote-contacts { margin-top: 34px; display: grid; gap: 16px; }
.qc { display: flex; align-items: center; gap: 14px; color: rgba(233,241,247,0.9); font-weight: 600; }
.qc .qc-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: var(--blue-300); }
.qc .qc-ico svg { width: 20px; height: 20px; }
.qc small { display: block; font-weight: 500; color: rgba(233,241,247,0.55); font-size: 0.76rem; }

.form-card { background: rgba(255,255,255,0.97); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy-800); margin-bottom: 7px; letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--steel-200); border-radius: 12px; font-family: inherit; font-size: 0.95rem;
  background: var(--steel-50); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(61,155,224,0.13); }
.field textarea { resize: vertical; min-height: 96px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form-note { font-size: 0.78rem; color: var(--steel-500); margin-top: 14px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 20px; }
.form-ok.show { display: block; }
.form-ok .ok-ico { width: 60px; height: 60px; border-radius: 50%; background: rgba(23,162,74,0.12); color: var(--green-500); display: grid; place-items: center; margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(233,241,247,0.7); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .brand-text .bt-1 { color: #fff; }
.footer p.f-about { margin-top: 20px; font-size: 0.92rem; max-width: 320px; }
.footer h5 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 0.92rem; transition: color .2s; }
.footer ul a:hover { color: var(--blue-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .disc { max-width: 640px; color: rgba(233,241,247,0.45); }

/* ---------- Modal (category detail) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,15,28,0.6); backdrop-filter: blur(5px); }
.modal-card { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 760px; width: 100%; max-height: 86vh; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: pop .3s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { padding: 30px 34px 22px; border-bottom: 1px solid var(--steel-200); display: flex; gap: 18px; align-items: center; background-size: cover; background-position: center 30%; }
.modal-head.cover { border-bottom: 0; padding: 46px 34px 30px; }
.modal-head.cover h3 { color: #fff; }
.modal-head.cover .mh-count { color: rgba(233,241,247,0.82); }
.modal-head.cover .cat-ico { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); color: #fff; }
.modal-head.cover + .modal-body .gallery-head h4 { color: var(--steel-500); }
.modal-head .cat-ico { margin: 0; }
.modal-head h3 { font-size: 1.5rem; }
.modal-head .mh-count { color: var(--ink-soft); font-size: 0.88rem; margin-top: 2px; }
.modal-close { position: absolute; top: 20px; right: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--steel-200); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-soft); transition: .2s; }
.modal-close:hover { background: var(--steel-100); color: var(--navy-900); }
.modal-body { padding: 14px 34px 30px; overflow-y: auto; }
.prod-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--steel-100); align-items: baseline; }
.prod-row:last-child { border-bottom: 0; }
.prod-code { font-family: var(--font-display); font-weight: 600; color: var(--blue-600); font-size: 0.9rem; background: rgba(31,123,196,0.08); padding: 4px 11px; border-radius: 8px; white-space: nowrap; }
.prod-name { color: var(--ink); font-size: 0.96rem; }
.modal-foot { padding: 20px 34px; border-top: 1px solid var(--steel-200); background: var(--steel-50); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.modal-foot p { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Factory hero background ---------- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.55) brightness(0.7) contrast(1.02); opacity: 0.55; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--navy-950) 20%, rgba(7,26,43,0.72) 52%, rgba(7,26,43,0.42) 100%),
    linear-gradient(0deg, var(--navy-900), transparent 45%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid, .hero .marquee { position: relative; z-index: 2; }

/* ---------- Category card covers (editorial photo) ---------- */
.cat-card { padding: 0; overflow: hidden; }
.cat-card .cat-ico { display: none; }
.cat-cover { position: relative; height: 170px; overflow: hidden; background: var(--navy-800); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover .cat-cover img { transform: scale(1.07); }
.cat-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,43,0.05) 30%, rgba(7,26,43,0.55) 100%); }
.cat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--blue-600);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.6);
}
.cat-badge svg { width: 23px; height: 23px; }
.cat-cover .cover-photos {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; color: #fff; background: rgba(7,26,43,0.42); backdrop-filter: blur(4px);
  padding: 5px 10px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.16);
}
.cat-cover .cover-photos svg { width: 13px; height: 13px; }
.cat-body { padding: 20px 22px 22px; }
.cat-body h3 { font-size: 1.12rem; font-weight: 600; }
.cat-body .cat-meta { margin-top: 10px; }

/* ---------- Modal gallery ---------- */
.modal-card { max-width: 860px; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 14px; }
.gallery-head h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel-500); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.gthumb {
  aspect-ratio: 1/1; border: 1px solid var(--steel-200); border-radius: 12px; overflow: hidden; cursor: zoom-in;
  background: radial-gradient(120% 120% at 50% 0%, #fff, var(--steel-100)); position: relative; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.gthumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; transition: transform .4s ease; }
.gthumb:hover { border-color: var(--blue-400); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gthumb:hover img { transform: scale(1.08); }
.gthumb::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 6px; background: rgba(12,31,48,0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='4'/%3E%3Cpath d='M9 9l4 4M6 4v4M4 6h4'/%3E%3C/svg%3E") center/13px no-repeat; opacity: 0; transition: opacity .25s; }
.gthumb:hover::after { opacity: 1; }
.prod-list-title { font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel-500); margin: 6px 0 4px; }

/* ---------- Lightbox (zoomable) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(4,12,22,0.94); }
.lightbox.open { display: block; }
.lb-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; display: grid; place-items: center; }
.lb-stage.grabbing { cursor: grabbing; }
.lb-img {
  max-width: 94vw; max-height: 90vh; background: #fff; border-radius: 10px; padding: clamp(14px,2vw,26px);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6); transform-origin: center center; will-change: transform;
  user-select: none; -webkit-user-drag: none; transition: transform .12s ease-out;
  image-rendering: auto;
}
.lb-img.zoomed { transition: none; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(16px,4vw,40px); z-index: 2; }
.lb-title { color: #fff; }
.lb-title b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; display: block; }
.lb-title span { color: rgba(233,241,247,0.55); font-size: 0.82rem; }
.lb-tools { display: flex; gap: 10px; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255,255,255,0.16); transform: translateY(-1px); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: clamp(12px,3vw,32px); } .lb-next { right: clamp(12px,3vw,32px); }
.lb-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(233,241,247,0.55); font-size: 0.78rem; z-index: 2; display: flex; align-items: center; gap: 8px; }
.lb-count { position: absolute; bottom: 22px; right: clamp(16px,4vw,40px); color: rgba(233,241,247,0.6); font-size: 0.82rem; z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-panel { max-width: 420px; margin-inline: auto; width: 100%; }
  .craft-grid, .reach-grid, .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-links.mobile-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px var(--gutter) 28px; gap: 18px; box-shadow: var(--shadow-md); align-items: flex-start; }
  .nav-links.mobile-open a { color: var(--ink); }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .cat-grid, .process-grid, .trust-grid, .footer-grid, .form-row, .reach-stats { grid-template-columns: 1fr; }
  .hero-badges { gap: 22px; }
  .hero-chip.c1 { left: 8px; } .hero-chip.c2 { right: 8px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cat-thumb { height: 170px; }
  .lb-img { max-width: 92vw; padding: 14px; }
}

/* ============================================================
   Brand logo animations + intro splash
   ============================================================ */
.mm-logo { overflow: visible; display: block; width: 100%; height: 100%; }
.mm-node { transform-box: fill-box; transform-origin: center; animation: mmNode 2.4s ease-in-out infinite; }
@keyframes mmNode { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.mm-orbit { transform-box: fill-box; transform-origin: center; animation: mmSpin 22s linear infinite; }
@keyframes mmSpin { to { transform: rotate(360deg); } }

.brand .brand-mark { transition: transform .35s cubic-bezier(.2,.9,.25,1.4), filter .35s; }
.brand:hover .brand-mark { transform: translateY(-1px) scale(1.05); filter: drop-shadow(0 4px 12px rgba(61,155,224,.55)); }
.nav .brand-mark { animation: mmPop .9s cubic-bezier(.2,.9,.25,1.4) both; }
@keyframes mmPop { 0% { transform: scale(.4) rotate(-14deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }

/* Intro splash */
.mm-splash {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, #0d3255 0%, #071a2b 45%, #030a14 100%);
}
.mm-splash::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: radial-gradient(circle at 50% 42%, #000, transparent 70%);
}
.mm-splash.hide { animation: mmSplashOut .7s ease forwards; }
@keyframes mmSplashOut { to { opacity: 0; visibility: hidden; } }
.mm-splash-inner { position: relative; text-align: center; }
.mm-splash-mark { position: relative; display: block; width: clamp(96px, 20vw, 132px); margin: 0 auto 26px; animation: mmSplashPop 1s cubic-bezier(.2,.9,.25,1.4) both; }
.mm-splash-mark svg { filter: drop-shadow(0 14px 44px rgba(61,155,224,.5)); }
.mm-splash-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px;
  border: 1.5px solid rgba(99,226,255,.5); border-radius: 50%; animation: mmPulse 1.6s ease-out .5s infinite;
}
@keyframes mmPulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes mmSplashPop { 0% { transform: scale(.3) rotate(-22deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.mm-splash-word b { display: block; font-family: var(--font-display); font-weight: 500; color: #fff; font-size: clamp(1.3rem, 3.4vw, 1.75rem); letter-spacing: .01em; opacity: 0; animation: mmFadeUp .7s ease .4s both; }
.mm-splash-word span { display: block; margin-top: 8px; color: var(--blue-300); font-size: .74rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; opacity: 0; animation: mmFadeUp .7s ease .56s both; }
@keyframes mmFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .mm-orbit, .mm-node, .nav .brand-mark { animation: none !important; }
}
