/* ============================================================
   ELITE MOULDS — White + Dark Blue design system
   ============================================================ */
:root {
  --navy-950: #061633;
  --navy-900: #0a2148;
  --navy-800: #0d2c63;
  --navy-700: #12408f;
  --blue-600: #1b5cc4;
  --blue-500: #2e6fe0;
  --blue-100: #dbe7f7;
  --blue-50: #f2f6fc;
  --ink: #10233f;
  --muted: #5a6b84;
  --line: #e3eaf4;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 33, 72, 0.07);
  --shadow-md: 0 10px 34px rgba(10, 33, 72, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 33, 72, 0.18);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--navy-900); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-weight: 600; }
.accent { color: var(--blue-600); }
.lead { font-size: 1.08rem; color: var(--ink); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--navy-800));
  z-index: 1000; transition: width 0.1s linear;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: #c9d8ef; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 13px; height: 13px; color: var(--blue-500); flex: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark svg { width: 42px; height: 42px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.06em; color: var(--navy-900); }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; }
.brand.light .brand-text strong { color: #fff; }
.brand.light .brand-text small { color: #9fc0f0; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.nav-cta) {
  font-weight: 500; font-size: 0.93rem; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--blue-600); transition: width 0.25s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.22s ease;
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.22s; }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 24px rgba(13, 44, 99, 0.28); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); }
.btn-light:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 22, 51, 0.96) 0%, rgba(10, 33, 72, 0.88) 42%, rgba(13, 44, 99, 0.55) 72%, rgba(13, 44, 99, 0.35) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding: clamp(84px, 12vw, 150px) 0 clamp(60px, 8vw, 110px); max-width: 980px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 700; margin-bottom: 22px; letter-spacing: -0.015em; }
.accent-line { color: #8fb8f5; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.16rem); color: #d6e2f5; max-width: 640px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-steps { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #a9c3ea; }
.hero-steps i { width: 34px; height: 1px; background: linear-gradient(90deg, #a9c3ea, transparent); }

.hero-ticker {
  position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 22, 51, 0.55); backdrop-filter: blur(6px);
  overflow: hidden; padding: 13px 0;
}
.ticker-track {
  display: flex; gap: 42px; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.22em; color: #9fc0f0;
  animation: ticker 36s linear infinite; width: max-content;
}
.ticker-track b { color: var(--blue-500); font-size: 0.6rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 58px 0 20px; background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center; padding: 30px 16px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 0 0 4px 4px; background: var(--blue-600);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy-800); line-height: 1; }
.stat-num em { font-style: normal; font-size: 1.5rem; color: var(--blue-600); }
.stat-label { margin-top: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.stats-note { font-size: 0.74rem; color: var(--muted); margin-top: 14px; text-align: right; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.light h2, .section-head.light .section-sub { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--blue-600); }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Facility ---------- */
.facility { background: var(--white); }
.facility-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.facility-text p { color: var(--muted); margin-bottom: 16px; }
.facility-text .lead { color: var(--ink); }
.advantage-box {
  display: flex; gap: 16px; padding: 22px;
  background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: 10px;
  margin: 22px 0;
}
.advantage-box svg { width: 34px; height: 34px; color: var(--blue-600); flex: none; margin-top: 3px; }
.advantage-box strong { display: block; margin-bottom: 5px; color: var(--navy-900); font-family: var(--font-display); }
.advantage-box p { font-size: 0.92rem; margin: 0; color: var(--muted); }
.check-list { list-style: none; margin: 0 0 28px; }
.check-list li { padding: 7px 0 7px 32px; position: relative; color: var(--ink); font-weight: 500; font-size: 0.96rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 19px; height: 19px;
  background: var(--blue-600);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
}

.facility-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facility-images figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin: 0; }
.facility-images img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.facility-images figure:hover img { transform: scale(1.05); }
.fi-main { grid-column: 1 / -1; aspect-ratio: 16 / 9.5; }
.fi-small { aspect-ratio: 4 / 3.4; }
.fi-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--navy-800); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 7px;
  box-shadow: var(--shadow-md);
}

/* ---------- Machines ---------- */
.machines { background: var(--blue-50); position: relative; }
.machines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--blue-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-100) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}
.machines .container { position: relative; }
.fleet-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--blue-100);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 0.86rem;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.machine-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.machine-card::after {
  content: ""; position: absolute; right: -1px; top: -1px; width: 26px; height: 26px;
  border-top: 2px solid var(--blue-600); border-right: 2px solid var(--blue-600);
  border-radius: 0 var(--radius) 0 0; opacity: 0; transition: opacity 0.25s;
}
.machine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.machine-card:hover::after { opacity: 1; }
.machine-card.hidden { display: none; }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.mc-icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--navy-800);
}
.mc-icon svg { width: 22px; height: 22px; }
.mc-cat {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-600); background: var(--blue-50); padding: 5px 10px; border-radius: 5px;
}
.machine-card h3 { font-size: 1.02rem; margin-bottom: 9px; color: var(--navy-900); }
.mc-spec { font-size: 0.84rem; font-weight: 600; color: var(--blue-600); font-family: var(--font-display); letter-spacing: 0.02em; margin-bottom: 6px; }
.mc-role { font-size: 0.86rem; color: var(--muted); }
.machine-card.featured { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border: none; }
.machine-card.featured h3 { color: #fff; }
.machine-card.featured .mc-spec { color: #8fb8f5; }
.machine-card.featured .mc-role { color: #b9cbe8; }
.machine-card.featured .mc-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.machine-card.featured .mc-cat { background: rgba(255, 255, 255, 0.12); color: #8fb8f5; }
.mc-flag {
  position: absolute; bottom: 16px; right: 16px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #4ade80;
}

/* ---------- Production band ---------- */
.prod-band { position: relative; color: #fff; overflow: hidden; }
.prod-bg { position: absolute; inset: 0; }
.prod-bg img { width: 100%; height: 100%; object-fit: cover; }
.prod-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 51, 0.95), rgba(13, 44, 99, 0.82)); }
.prod-content { position: relative; z-index: 2; padding: clamp(60px, 8vw, 96px) 0; text-align: center; }
.prod-content h2 { color: #fff; max-width: 760px; margin: 0 auto 38px; }
.prod-content h2 span { color: #8fb8f5; }
.prod-note { color: #d6e2f5; max-width: 700px; margin: -14px auto 36px; font-size: 0.98rem; }
.prod-note strong { color: #fff; }
.prod-tiers { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 38px; }
.tier {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px); border-radius: var(--radius); padding: 22px 34px; min-width: 210px;
}
.tier strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.tier span { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #a9c3ea; font-weight: 600; }

/* ---------- Sectors ---------- */
.sectors { background: #fff; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.sector-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  background: linear-gradient(180deg, #fff, var(--blue-50));
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative; overflow: hidden;
}
.sector-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px;
  background: var(--blue-600); transition: width 0.3s;
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.sector-card:hover::before { width: 100%; }
.sector-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; margin-bottom: 16px;
}
.sector-icon svg { width: 25px; height: 25px; }
.sector-card h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: 6px; }
.sector-card p { font-size: 0.84rem; color: var(--muted); }

/* ---------- Clients ---------- */
.clients { background: var(--blue-50); }
.client-proof {
  display: flex; align-items: center; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap;
  margin-bottom: 34px;
}
.client-proof i { width: 1px; height: 44px; background: var(--blue-100); }
.proof-item strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; color: var(--navy-800); line-height: 1.1;
}
.proof-item span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.logo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  height: 96px; display: grid; place-items: center; padding: 18px 22px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.logo-card img {
  max-height: 52px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.72; transition: filter 0.25s, opacity 0.25s;
}
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.logo-card:hover img { filter: grayscale(0); opacity: 1; }
.logo-card.more-card {
  background: var(--navy-800); border-color: var(--navy-800); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  text-align: center; line-height: 1.15;
}
.logo-card.more-card span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb8f5; }
.logo-disclaimer { margin-top: 18px; font-size: 0.72rem; color: var(--muted); }

/* ---------- Workflow ---------- */
.workflow { background: #fff; }
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(36px, 5vw, 60px); padding-left: 0; }
.timeline-line {
  position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px;
  background: var(--line); z-index: 0;
}
.timeline-line::before {
  content: ""; position: absolute; inset: 0; transform-origin: top;
  background: linear-gradient(var(--blue-600), var(--navy-800));
  transform: scaleY(var(--progress, 0)); transition: transform 0.2s linear;
}
.phase {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 80px 1fr 300px; gap: clamp(18px, 3vw, 38px); align-items: center;
}
.phase-num {
  width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue-600); color: var(--navy-800);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  box-shadow: 0 0 0 8px #fff;
}
.phase-body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.phase-body p { color: var(--muted); font-size: 0.97rem; max-width: 560px; }
.phase-body strong { color: var(--navy-800); }
.phase-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin: 0; aspect-ratio: 16 / 10; }
.phase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.phase:hover .phase-img img { transform: scale(1.06); }
.workflow-note {
  margin-top: 54px; display: flex; align-items: center; gap: 14px; justify-content: center;
  background: var(--blue-50); border: 1px dashed var(--blue-100); border-radius: 12px;
  padding: 18px 26px; color: var(--muted); font-size: 0.95rem; flex-wrap: wrap; text-align: center;
}
.workflow-note svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; }
.workflow-note strong { color: var(--navy-800); }

/* ---------- Quality ---------- */
.quality { background: var(--blue-50); }
.quality-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: center; margin-bottom: 58px; }
.quality-text .lead { color: var(--muted); margin-top: 14px; font-size: 1rem; }
.advantage-box.cmm { background: #fff; }
.quality-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin: 0; position: relative; }
.quality-img img { aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%; }
.quality-img figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(6, 22, 51, 0.9));
  color: #dbe7f7; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 34px 20px 16px;
}
.inst-title { font-size: 1.25rem; margin-bottom: 26px; color: var(--navy-900); }
.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.inst {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue-600);
  border-radius: 10px; padding: 16px 18px; transition: transform 0.2s, box-shadow 0.2s;
}
.inst:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.inst strong { display: block; font-size: 0.93rem; color: var(--navy-900); margin-bottom: 4px; font-family: var(--font-display); }
.inst p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ---------- RFQ ---------- */
.rfq { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%); position: relative; overflow: hidden; }
.rfq-grid-bg {
  position: absolute; inset: 0; opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 46px 46px;
}
.rfq .container { position: relative; z-index: 2; }
.rfq .eyebrow { color: #8fb8f5; }
.rfq .eyebrow::before { background: #8fb8f5; }
.rfq-form {
  background: #fff; border-radius: 20px; padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow-lg); max-width: 900px; position: relative;
}
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label, .field legend {
  font-size: 0.84rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s; background: #fbfcfe; width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(27, 92, 196, 0.12); background: #fff;
}
.field input.invalid, .field textarea.invalid { border-color: #d64545; }
.check-inline {
  display: flex !important; align-items: center; gap: 8px; margin-top: 9px;
  font-size: 0.8rem !important; font-weight: 500 !important; color: var(--muted) !important;
}
.check-inline input { accent-color: var(--blue-600); width: 15px; height: 15px; }
fieldset.group { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px 12px; }
fieldset.group legend { padding: 0 8px; margin-bottom: 4px; }
label.opt {
  display: flex; align-items: flex-start; flex-wrap: nowrap; gap: 10px; padding: 8px 6px;
  border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: background 0.15s; margin-bottom: 0;
}
label.opt:hover { background: var(--blue-50); }
label.opt input { accent-color: var(--blue-600); width: 16px; height: 16px; margin-top: 3px; flex: none; }
label.opt span { flex: 1; min-width: 0; }
.secure-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-800); color: #fff; font-size: 0.66rem; letter-spacing: 0.12em;
  padding: 5px 11px; border-radius: 5px; font-weight: 700;
}
.secure-badge svg { width: 11px; height: 11px; }
.dropzone {
  border: 2px dashed var(--blue-100); border-radius: 14px; background: var(--blue-50);
  padding: 34px 20px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--blue-600); background: #e9f1fb; }
.dropzone svg { width: 34px; height: 34px; color: var(--blue-600); margin: 0 auto 10px; }
.dropzone p { color: var(--ink); font-size: 0.95rem; }
.dropzone small { color: var(--muted); font-size: 0.78rem; display: block; margin-top: 5px; }
.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; text-align: left; }
.file-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; font-size: 0.84rem; color: var(--navy-900); font-weight: 500;
}
.file-item span.size { color: var(--muted); font-weight: 400; }
.file-item.err { border-color: #d64545; color: #d64545; }
.ip-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--blue-50); border-radius: 12px; padding: 16px 20px; margin-bottom: 26px;
}
.ip-note svg { width: 20px; height: 20px; color: var(--navy-800); flex: none; margin-top: 2px; }
.ip-note p { font-size: 0.82rem; color: var(--muted); }
.ip-note strong { color: var(--navy-900); }
.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.alt-contact { font-size: 0.85rem; color: var(--muted); }
.alt-contact a { color: var(--blue-600); font-weight: 600; }
.form-success { text-align: center; padding: 30px 10px 10px; }
.form-success svg { width: 54px; height: 54px; color: #16a34a; margin: 0 auto 14px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.95rem; }
.form-success a { color: var(--blue-600); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  background: linear-gradient(180deg, #fff, var(--blue-50));
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.contact-card svg { width: 30px; height: 30px; color: var(--blue-600); margin-bottom: 10px; }
.contact-card strong { color: var(--navy-900); font-family: var(--font-display); font-size: 1rem; }
.contact-card span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b9cbe8; }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 50px);
  padding: clamp(48px, 6vw, 72px) 0 44px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 18px; max-width: 340px; color: #8fa5c9; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  color: #fff; font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px;
}
.footer-col a, .footer-col span { font-size: 0.9rem; color: #8fa5c9; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 18px 0; font-size: 0.78rem; color: #6d84ab; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 950;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; border: 0; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s; box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- About page ---------- */
.nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after { width: 100% !important; }
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 100%);
  padding: clamp(56px, 8vw, 96px) 0;
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 10px; font-size: 0.82rem; color: #a9c3ea; margin-bottom: 18px; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb em { font-style: normal; color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; margin-bottom: 12px; }
.page-hero h1 span { color: #8fb8f5; }
.page-hero p { color: #d6e2f5; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 500; letter-spacing: 0.02em; }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-grid .lead { color: var(--ink); }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin: 0; }
.about-img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }

.legacy-band { background: var(--blue-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legacy-inner {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding: clamp(48px, 6vw, 80px) 0;
}
.legacy-gen {
  text-align: center; background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff; border-radius: 18px; padding: 36px 20px; box-shadow: var(--shadow-md);
}
.legacy-gen strong { display: block; font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; }
.legacy-gen sup { font-size: 1.8rem; color: #8fb8f5; }
.legacy-gen span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #a9c3ea; }
.legacy-text h2 { margin-bottom: 16px; }
.legacy-text p { color: var(--muted); margin-bottom: 14px; }
.legacy-text strong { color: var(--navy-800); }

.founder-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.founder-photo {
  position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--blue-100), var(--blue-50));
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.founder-fallback { display: none; }
.founder-photo.no-photo img { display: none; }
.founder-photo.no-photo .founder-fallback {
  display: grid; place-items: center; position: absolute; inset: 0;
}
.founder-photo.no-photo .founder-fallback svg { width: 120px; height: 120px; color: var(--blue-100); }
.founder-tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(6, 22, 51, 0.88); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 14px 18px; color: #fff;
}
.founder-tag strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.03em; }
.founder-tag span { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb8f5; font-weight: 600; }
.founder-text p { color: var(--muted); margin-bottom: 16px; }
.founder-text .lead { color: var(--ink); }
.founder-text strong { color: var(--navy-800); }

.philosophy { background: var(--blue-50); }
.philosophy-quote {
  border-left: 4px solid var(--blue-600); background: #fff; border-radius: 0 14px 14px 0;
  padding: 30px 36px; margin: 0 0 26px; box-shadow: var(--shadow-sm); max-width: 860px;
}
.philosophy-quote p {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--navy-900); font-weight: 600; line-height: 1.5;
}
.philosophy-body { color: var(--muted); max-width: 860px; }

.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cap-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.cap-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cap-card:hover img { transform: scale(1.06); }
.cap-card h3 { font-size: 1.05rem; margin: 18px 20px 8px; color: var(--navy-900); }
.cap-card p { font-size: 0.88rem; color: var(--muted); margin: 0 20px 22px; }

.about-cta {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 100%);
  padding: clamp(60px, 8vw, 100px) 0;
}
.about-cta .container { position: relative; z-index: 2; }
.about-cta h2 { color: #fff; margin-bottom: 16px; }
.about-cta p { color: #d6e2f5; max-width: 700px; margin: 0 auto 34px; }
.about-cta .hero-cta { justify-content: center; margin-bottom: 0; }

@media (max-width: 1020px) {
  .about-grid, .founder-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 540px; }
  .founder-photo { max-width: 420px; }
  .legacy-inner { grid-template-columns: 1fr; }
  .legacy-gen { max-width: 240px; }
  .caps-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .facility-grid, .quality-top { grid-template-columns: 1fr; }
  .quality-img { max-width: 620px; }
  .phase { grid-template-columns: 64px 1fr; }
  .phase-num { width: 64px; height: 64px; font-size: 1.1rem; }
  .phase-img { grid-column: 2; max-width: 480px; }
  .timeline-line { left: 31px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .topbar-right { display: none; }
  .nav-links {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 90px 30px 30px; gap: 20px; box-shadow: var(--shadow-lg);
    transition: right 0.3s ease; z-index: 800;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; position: relative; z-index: 850; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-steps { display: none; }
  .prod-tiers { flex-direction: column; align-items: center; }
  .stats-note { text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
