/* ============================================================
   Apexx Manufacturing Pvt Ltd — site styles
   ============================================================ */
:root {
  --navy:        #0d2444;
  --navy-deep:   #0a1a33;
  --navy-mid:    #153263;
  --navy-soft:   #1a3a6e;
  --cyan:        #0099cc;
  --cyan-light:  #33bbee;
  --cyan-pale:   #e6f6fc;
  --white:       #ffffff;
  --off-white:   #f4f8fb;
  --text:        #1a2b3c;
  --text-light:  #5a6e80;
  --border:      #d0e2ee;
  --card-bg:     #ffffff;
  --shadow-sm:   0 2px 14px rgba(13,36,68,0.07);
  --shadow-md:   0 8px 32px rgba(13,36,68,0.12);
  --radius:      10px;
  --maxw:        1180px;
  --ease:        cubic-bezier(.22,.61,.36,1);
  --h-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --h-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--h-body);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 2px; border-radius: 3px; }

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

/* ---------- scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
  z-index: 200; transition: width .1s linear;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 150;
  background: rgba(10,20,40,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(9,18,35,0.98); box-shadow: 0 6px 28px rgba(0,0,0,0.35); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 32px; max-width: var(--maxw); margin: 0 auto; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--h-cond); font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.62);
  padding: 10px 11px; border-radius: 6px; transition: color .2s, background .2s; white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav a.active { color: var(--cyan-light); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--h-cond); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 6px; cursor: pointer; border: none;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 4px 18px rgba(0,153,204,0.35); }
.btn-primary:hover { background: #00a8e0; transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,153,204,0.45); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--cyan-light); color: var(--cyan-light); transform: translateY(-2px); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer; padding: 8px;
  width: 42px; height: 42px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(5px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 104px 32px 92px;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(51,187,238,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-soft) 55%, #0d5580 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.028) 0 1px, transparent 1px 64px);
  mask-image: radial-gradient(900px 500px at 50% 40%, #000 30%, transparent 80%);
}
.hero > * { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.hero-badge {
  display: inline-block; background: rgba(51,187,238,0.12);
  border: 1px solid rgba(51,187,238,0.4); color: var(--cyan-light);
  font-family: var(--h-cond); letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 600; padding: 7px 20px; border-radius: 3px; margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--h-cond); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: 0.01em;
}
.hero h1 span { color: var(--cyan-light); }
.hero-sub {
  font-weight: 300; font-style: italic; font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.78); max-width: 620px; margin: 20px auto 0; letter-spacing: 0.02em;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-stats {
  display: flex; justify-content: center; gap: 0; margin-top: 60px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 34px;
}
.hero-stat { padding: 0 34px; position: relative; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,0.14);
}
.hero-stat b {
  font-family: var(--h-cond); font-weight: 800; font-size: 2.5rem; color: var(--cyan-light);
  line-height: 1; display: block;
}
.hero-stat small {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 500; margin-top: 6px; display: block;
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--navy); color: rgba(255,255,255,0.8);
  border-bottom: 3px solid var(--cyan);
}
.trust .wrap {
  display: flex; align-items: center; justify-content: center; gap: 14px 34px;
  padding: 16px 32px; flex-wrap: wrap; text-align: center;
}
.trust .cert {
  font-family: var(--h-cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.82rem; color: var(--cyan-light);
  border: 1px solid rgba(51,187,238,0.4); border-radius: 3px; padding: 5px 14px; white-space: nowrap;
}
.trust .cert-roadmap { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.25); border-style: dashed; }
.trust .sep { width: 1px; height: 18px; background: rgba(255,255,255,0.18); }
.trust .ind {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section:nth-of-type(even) { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .kicker {
  width: 46px; height: 3px; background: var(--cyan); border-radius: 2px; margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--h-cond); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); line-height: 1.1;
}
.section-head h2 span { color: var(--cyan); }
.section-head p { color: var(--text-light); font-size: 0.98rem; margin-top: 10px; font-style: italic; font-weight: 300; }

/* reveal on scroll — only hidden when JS is active (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.about-text p { color: var(--text-light); font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.about-text p strong { color: var(--text); font-weight: 600; }
.why-list { list-style: none; margin-top: 22px; }
.why-list li {
  display: flex; gap: 13px; align-items: flex-start; padding: 13px 0;
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.why-list li:last-child { border-bottom: 0; }
.why-list .ic {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan);
  display: grid; place-items: center; margin-top: 2px;
}
.why-list .ic svg { width: 13px; height: 13px; fill: #fff; }
.panel-dark {
  background: linear-gradient(160deg, var(--navy) 0%, #122c54 100%);
  border-radius: var(--radius); padding: 34px; color: #fff; position: sticky; top: 96px;
}
.panel-dark h3 {
  font-family: var(--h-cond); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan-light); margin-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(51,187,238,0.12); border: 1px solid rgba(51,187,238,0.3);
  color: rgba(255,255,255,0.88); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 6px 13px; border-radius: 3px; text-transform: uppercase;
}
.panel-dark .metric { margin-top: 26px; }
.panel-dark .metric b {
  font-family: var(--h-cond); font-weight: 800; font-size: 3rem; color: var(--cyan-light); line-height: 1; display: block;
}
.panel-dark .metric small { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.panel-dark .metric.metric-sm b { font-size: 1.5rem; letter-spacing: 0.02em; }

/* ---------- generic card grid ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.auto-320 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid.auto-260 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.auto-240 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* mission cards */
.mv-card { padding: 34px 28px; border-top: 4px solid var(--cyan); position: relative; overflow: hidden; }
.mv-card:nth-child(2) { border-top-color: var(--navy); }
.mv-card:nth-child(3) { border-top-color: #0066aa; }
.mv-card .mv-ic {
  width: 44px; height: 44px; border-radius: 9px; background: var(--cyan-pale);
  display: grid; place-items: center; margin-bottom: 16px;
}
.mv-card h3 {
  font-family: var(--h-cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--navy); margin-bottom: 12px;
}
.mv-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; }
.mv-card ul { list-style: none; }
.mv-card ul li { font-size: 0.9rem; color: var(--text-light); padding: 5px 0 5px 16px; position: relative; }
.mv-card ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* infra */
.infra-band {
  background: linear-gradient(150deg, var(--navy) 0%, #12365f 100%);
  border-radius: var(--radius); padding: 30px 34px; color: rgba(255,255,255,0.82);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 26px; line-height: 1.7; font-weight: 300;
}
.infra-band strong { color: #fff; font-weight: 600; }
.infra-band .big {
  font-family: var(--h-cond); font-weight: 800; font-size: 3rem; color: var(--cyan-light); line-height: 1; text-align: center;
}
.infra-band .big span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 500; }
.travel {
  background: var(--cyan-pale); border: 1px solid rgba(0,153,204,0.25); border-radius: var(--radius);
  padding: 16px 26px; margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px 30px; flex-wrap: wrap;
}
.travel .lbl { font-family: var(--h-cond); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.travel .lbl span { display: block; font-size: 0.68rem; opacity: 0.6; font-weight: 400; }
.travel .spec { display: flex; align-items: baseline; gap: 8px; }
.travel .ax { font-family: var(--h-cond); font-weight: 800; font-size: 1.35rem; color: var(--cyan); }
.travel .rng { font-size: 0.86rem; font-weight: 600; }
.travel .divider { width: 1px; height: 28px; background: var(--border); }
.travel .note { font-size: 0.8rem; color: var(--text-light); }

.media-card .media {
  aspect-ratio: 4 / 3; background: #eef1f4; overflow: hidden;
}
.media-card .media img { width: 100%; height: 100%; object-fit: contain; }
.media-card .bar {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a80 100%);
  padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.media-card .bar h4 { font-family: var(--h-cond); font-weight: 700; font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.media-card .qty {
  background: rgba(51,187,238,0.28); border: 1px solid rgba(51,187,238,0.5); color: var(--cyan-light);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 2px; text-transform: uppercase; white-space: nowrap;
}
.media-card .body { padding: 16px 18px; }
.media-card .type { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.media-card .body p { font-size: 0.86rem; color: var(--text-light); line-height: 1.65; }
.media-card.cmm .bar { background: linear-gradient(135deg, #0a1a2e, var(--navy)); }

/* quality */
.quality-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d4a70 100%);
  border-radius: var(--radius); padding: 46px 40px; color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 40px;
}
.quality-hero h3 {
  font-family: var(--h-cond); font-weight: 800; font-size: 2rem; text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 14px;
}
.quality-hero h3 span { color: var(--cyan-light); }
.quality-hero p { font-size: 0.94rem; color: rgba(255,255,255,0.72); line-height: 1.75; font-weight: 300; margin-bottom: 12px; }
.cmm-panel {
  background: rgba(51,187,238,0.1); border: 1px solid rgba(51,187,238,0.3);
  border-radius: var(--radius); padding: 18px; text-align: center;
}
.cmm-panel img { border-radius: 6px; max-height: 260px; width: 100%; object-fit: contain; }
.cmm-panel .cap { font-family: var(--h-cond); font-weight: 800; font-size: 1.15rem; color: var(--cyan-light); letter-spacing: 0.06em; margin-top: 12px; }
.cmm-panel .sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; }
.sub-head {
  font-family: var(--h-cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy); margin: 46px 0 18px;
}
.qi-card { padding: 20px; border-top: 3px solid var(--cyan); }
.qi-card h4 { font-family: var(--h-cond); font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 9px; }
.qi-card p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 3px; }
.qi-card p strong { color: var(--text); }

/* ---------- certifications ---------- */
.cert-block { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.cert-cert {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px; display: grid; grid-template-columns: 150px 1fr; gap: 24px;
}
.cert-cert { align-items: start; }
.cert-thumb { display: block; border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  aspect-ratio: 3 / 4; background: #f4f6f8; transition: box-shadow .3s, transform .3s; }
.cert-thumb:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cert-detail h4 { font-family: var(--h-cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); margin: 10px 0 8px; }
.cert-detail p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 10px; }
.cert-detail p strong { color: var(--text); }
.cert-detail ul { list-style: none; margin: 0 0 16px; }
.cert-detail li { font-size: 0.84rem; color: var(--text-light); padding: 3px 0 3px 15px; position: relative; }
.cert-detail li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.cert-status {
  display: inline-block; font-family: var(--h-cond); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px;
}
.cert-status.ok { background: #e3f6ec; color: #0a7d3c; border: 1px solid #b6e3c8; }
.cert-status.pending { background: #fff3e0; color: #b5680b; border: 1px solid #f0d3a8; }
.cert-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-link {
  font-family: var(--h-cond); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); border: 1px solid var(--border); border-radius: 8px; padding: 9px 14px; transition: border-color .2s, color .2s;
}
.cert-link:hover { border-color: var(--cyan); color: var(--cyan); }
.cert-roadmap-card {
  background: var(--white); border: 1.5px dashed #e6c79a;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 24px; display: flex; flex-direction: column;
}
.cert-roadmap-card .rmline { margin-top: auto; padding-top: 6px; }
.cert-roadmap-card h4 { font-family: var(--h-cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); margin: 10px 0 12px; }
.cert-roadmap-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.7; margin-bottom: 18px; }
.rmline { display: flex; }
.rmline .step {
  flex: 1; position: relative; padding-top: 20px; text-align: center;
  font-family: var(--h-cond); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light);
}
.rmline .step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); }
.rmline .step:first-child::before { left: 50%; }
.rmline .step:last-child::before { right: 50%; }
.rmline .step::after {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1px solid var(--text-light);
}
.rmline .step.done { color: #c0691a; }
.rmline .step.done::after { background: #ff7a45; border-color: #ff7a45; }

/* ---------- machine glyph placeholder ---------- */
.media-glyph {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(51,187,238,0.12), transparent 60%),
    linear-gradient(160deg, #14243c 0%, #0d1a2e 100%);
  color: rgba(255,255,255,0.28);
}
.media-glyph svg { width: 62%; height: auto; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.media-glyph svg .win { fill: rgba(51,187,238,0.10); stroke: rgba(51,187,238,0.45); }

/* ---------- products ---------- */
.tag {
  display: inline-block; background: var(--cyan-pale); color: var(--cyan);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px; margin: 0 6px 6px 0;
}
.tag.ev { background: #fff0e6; color: #c05a00; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pill { background: var(--navy); color: var(--cyan-light); font-family: var(--h-cond); font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: 3px; letter-spacing: 0.06em; }
.callout {
  background: var(--cyan-pale); border-left: 3px solid var(--cyan); border-radius: 0 6px 6px 0;
  padding: 12px 16px; margin-top: 18px; font-size: 0.85rem; color: var(--navy); line-height: 1.6;
}
.callout strong { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }

.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 48px;
}
.feature-media { background: #eef1f4; display: flex; }
.feature-media img { width: 100%; height: 100%; object-fit: contain; min-height: 360px; }
.feature-body { padding: 40px; }
.feature-body h3 {
  font-family: var(--h-cond); font-weight: 800; font-size: 1.8rem; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--navy); margin: 8px 0 14px;
}
.feature-body p { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; margin-bottom: 12px; }
.feature-body p strong { color: var(--text); font-weight: 600; }

.pgroup-note { font-size: 0.82rem; color: var(--text-light); font-style: italic; margin-top: 22px; }

/* process — "how a part gets made" */
.proc {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-sm);
}
.proc .p { padding: 32px 26px; border-left: 1px solid var(--border); position: relative; }
.proc .p:first-child { border-left: 0; }
.proc .pn { font-family: var(--h-cond); font-weight: 700; font-size: 0.82rem; color: var(--cyan); letter-spacing: 0.2em; }
.proc .p h4 { font-family: var(--h-cond); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); margin: 15px 0 9px; }
.proc .p p { font-size: 0.86rem; color: var(--text-light); line-height: 1.65; }
.proc .p::before {
  content: ''; position: absolute; left: 26px; right: 0; top: 0; height: 3px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.proc.in .p::before { transform: scaleX(1); }
.proc.in .p:nth-child(2)::before { transition-delay: .15s; }
.proc.in .p:nth-child(3)::before { transition-delay: .3s; }
.proc.in .p:nth-child(4)::before { transition-delay: .45s; }
.js .proc.reveal.in .p::before { transform: scaleX(1); }

/* products — filter + gallery */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 40px 0 26px; }
.filters button {
  font-family: var(--h-cond); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); border: 1.5px solid var(--border); background: var(--white);
  border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.filters button:hover { color: var(--navy); border-color: var(--cyan); }
.filters button.on { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.work {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 2px; }
.work.hide { display: none; }
.work .pic { aspect-ratio: 7 / 5; overflow: hidden; background: #eef1f4; position: relative; }
.work .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work:hover .pic img { transform: scale(1.05); }
.work .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255,255,255,0.92);
  display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: .3s var(--ease);
}
.work:hover .zoom, .work:focus-visible .zoom { opacity: 1; transform: none; }
.work .zoom svg { width: 15px; height: 15px; stroke: var(--navy); fill: none; stroke-width: 1.7; }
.work .cap {
  padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 3px solid var(--cyan);
}
.work .cap span { font-size: 0.85rem; color: var(--text); font-weight: 500; line-height: 1.35; }
.work .cap em {
  font-family: var(--h-cond); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); font-style: normal; white-space: nowrap;
}

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 250; background: rgba(8,16,26,0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 5vw;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lb.open { opacity: 1; pointer-events: auto; }
.lb figure { max-width: 1000px; width: 100%; }
.lb img { width: 100%; height: auto; border-radius: var(--radius); background: #fff; border: 1px solid rgba(255,255,255,0.15); }
.lb figcaption {
  font-family: var(--h-cond); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.8);
  text-align: center; margin-top: 15px; text-transform: uppercase;
}
.lb button {
  position: absolute; background: transparent; border: 1px solid rgba(255,255,255,0.3); border-radius: 9px;
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; color: #fff;
  transition: border-color .2s, background .2s;
}
.lb button:hover { border-color: var(--cyan-light); background: rgba(255,255,255,0.06); }
.lb button svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.lb .x { top: 4vw; right: 4vw; }
.lb .prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lb .next { right: 2vw; top: 50%; transform: translateY(-50%); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info {
  background: linear-gradient(160deg, var(--navy) 0%, #12305a 100%);
  border-radius: var(--radius); padding: 40px; color: #fff;
}
.contact-info h3 { font-family: var(--h-cond); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-light); margin-bottom: 26px; }
.c-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.c-item .dot {
  width: 36px; height: 36px; border-radius: 7px; flex-shrink: 0;
  background: rgba(51,187,238,0.16); border: 1px solid rgba(51,187,238,0.35);
  display: grid; place-items: center;
}
.c-item .dot svg { width: 16px; height: 16px; fill: var(--cyan-light); }
.c-item .lbl { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.c-item .val { font-size: 0.94rem; color: rgba(255,255,255,0.92); font-weight: 500; word-break: break-word; }
.c-item a.val:hover { color: var(--cyan-light); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.contact-actions .btn { flex: 1 1 auto; justify-content: center; }
.btn-wa { background: #25d366; color: #073d1c; }
.btn-wa:hover { background: #2ee670; transform: translateY(-2px); }

.contact-form {
  background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-family: var(--h-cond); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 16px; }
.fgroup label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.fgroup label .req { color: var(--cyan); }
.fgroup input, .fgroup textarea, .fgroup select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: var(--h-body); font-size: 0.92rem; color: var(--text); background: var(--off-white);
  transition: border-color .2s, background .2s;
}
.fgroup input:focus, .fgroup textarea:focus, .fgroup select:focus {
  outline: none; border-color: var(--cyan); background: #fff;
}
.fgroup textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #0a7d3c; }
.form-status.err { color: #c0392b; }
.btn-submit { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid img { height: 40px; margin-bottom: 14px; }
.footer-grid h5 { font-family: var(--h-cond); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 0.86rem; line-height: 1.8; }
.footer-grid ul { list-style: none; }
.footer-grid ul a:hover { color: var(--cyan-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.78rem; letter-spacing: 0.04em;
}

/* back to top */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 140;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cyan); color: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
#toTop.show { opacity: 1; transform: none; }
#toTop svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; }
  .panel-dark { position: static; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .quality-hero, .contact-grid { grid-template-columns: 1fr; }
  .cert-block { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-media img { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proc { grid-template-columns: 1fr 1fr; }
  .proc .p:nth-child(3) { border-left: 0; }
  .proc .p:nth-child(3), .proc .p:nth-child(4) { border-top: 1px solid var(--border); }
  .proc .p:nth-child(3)::before, .proc .p:nth-child(4)::before { left: 26px; }
}
@media (max-width: 960px) {
  .wrap, .header-inner { padding-left: 20px; padding-right: 20px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #0b1830; padding: 88px 22px 30px;
    transform: translateX(105%); transition: transform .3s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4); overflow-y: auto;
  }
  .nav-open .nav { transform: none; }
  .nav a { font-size: 1rem; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin: 12px 0 0; }
  .section { padding: 58px 0; }
  .hero { padding: 76px 20px 64px; }
  .quality-hero { padding: 30px 22px; }
  .contact-info, .contact-form { padding: 26px; }
}
@media (max-width: 620px) {
  .frow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-cert { grid-template-columns: 1fr; }
  .cert-thumb { max-width: 190px; }
  .feature-body { padding: 26px; }
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 22px; padding-top: 26px; }
  .hero-stat { padding: 0 14px; }
  .hero-stat b { font-size: 2rem; }
  .hero-stat + .hero-stat::before { display: none; }
  .proc { grid-template-columns: 1fr; }
  .proc .p { border-left: 0; border-top: 1px solid var(--border); padding: 26px 22px; }
  .proc .p:first-child { border-top: 0; }
  .proc .p::before { left: 22px; right: 22px; }
  .quality-hero h3 { font-size: 1.6rem; }
  .infra-band { padding: 22px 22px; }
  .infra-band .big { font-size: 2.4rem; }
  .lb { padding: 16px; }
  .lb .x { top: 12px; right: 12px; }
  .lb .prev { left: 12px; right: auto; top: auto; bottom: 12px; transform: none; }
  .lb .next { right: 12px; left: auto; top: auto; bottom: 12px; transform: none; }
  .lb figcaption { margin-bottom: 56px; }
}
