
:root {
  --ink: #0D1117;
  --steel: #0E2A47;
  --steel-2: #17395E;
  --line-dark: rgba(255,255,255,.10);
  --accent: #D7263D;
  --accent-dark: #B01E31;
  --cool: #8FB8DE;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --text: #13202E;
  --muted: #566577;
  --line: #E1E6ED;
  --on-dark: #E9EFF5;
  --on-dark-muted: #9FB0C2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13,17,23,.08);
  --shadow-lg: 0 24px 60px rgba(13,17,23,.16);
  --container: 1200px;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; line-height: 1.06; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.eyebrow { font-family: 'Manrope', system-ui, sans-serif; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-dark); font-size: .95rem; margin-bottom: .6rem; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.dark .lead { color: var(--on-dark-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(215,38,61,.35); }
.btn-accent:hover { background: #E8455A; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(13,17,23,.0); transition: background .3s, box-shadow .3s, height .3s; color: #fff; }
.site-header.scrolled, .page-sub .site-header { background: rgba(13,17,23,.94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark { width: 40px; height: 40px; color: var(--accent); flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: 'Manrope', system-ui, sans-serif; }
.logo-text strong { font-size: 1.32rem; letter-spacing: 1.5px; font-weight: 800; }
.logo-text small { font-size: .72rem; letter-spacing: 5.4px; color: var(--on-dark-muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav ul a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--on-dark); border-radius: 8px; position: relative; }
.site-nav ul a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.mega-toggle { background: none; border: 0; color: var(--on-dark-muted); padding: 6px; margin-left: -8px; cursor: pointer; }
.mega-toggle svg { width: 12px; height: 8px; transition: transform .2s; }
.has-mega.open .mega-toggle svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 92vw); background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.mega::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega-card { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.mega-card:hover { background: var(--bg); }
.mega-card img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--bg); flex: none; }
.mega-card strong { display: block; font-family: 'Manrope', system-ui, sans-serif; font-size: 1.15rem; }
.mega-card small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; background: radial-gradient(1200px 600px at 80% 20%, #17395E 0%, transparent 60%), linear-gradient(160deg, #0B1622 0%, #0E2A47 55%, #0B1622 100%); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(143,184,222,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,184,222,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero .lead { color: var(--on-dark-muted); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-badges span { font-size: .82rem; padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark-muted); background: rgba(255,255,255,.03); }
.hero-visual { position: relative; aspect-ratio: 1; }
.hero-visual .gear-big { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.hero-visual .gear-small { position: absolute; width: 42%; right: -4%; bottom: 2%; animation: spin-rev 20s linear infinite; }
.hero-photo { position: absolute; inset: 22%; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--on-dark-muted); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.scroll-cue i { width: 22px; height: 36px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; background: var(--accent); border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 70px) 0 70px; background: linear-gradient(160deg, #0B1622 0%, #13283D 100%); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(215,38,61,.08); }
.page-hero .lead { color: var(--on-dark-muted); }
.breadcrumb { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Sections */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.steel { background: var(--steel); color: var(--on-dark); }
.white { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: var(--surface); padding: 28px 20px; text-align: center; }
.stat b { display: block; font-family: 'Manrope', system-ui, sans-serif; font-size: 3rem; line-height: 1; color: var(--text); }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { color: var(--muted); font-size: .88rem; }
.stats-wrap { margin-top: -70px; position: relative; z-index: 2; }

/* Cards */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sector-card .thumb { aspect-ratio: 4 / 3; background: #EEF1F5; overflow: hidden; }
.sector-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sector-card:hover .thumb img { transform: scale(1.06); }
.sector-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.sector-card h3 { margin-bottom: .3em; }
.sector-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link { font-weight: 600; color: var(--accent-dark); font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.card-link::after { content: '→'; transition: transform .2s; }
.sector-card:hover .card-link::after { transform: translateX(4px); }
.count-tag { position: absolute; top: 14px; left: 14px; background: rgba(13,17,23,.82); color: #fff; font-size: .75rem; padding: 5px 10px; border-radius: 999px; }

/* Why us slider */
.why-wrap { position: relative; }
.why-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; }
.why-track::-webkit-scrollbar { display: none; }
.why-card { scroll-snap-align: start; background: var(--steel-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; min-height: 220px; position: relative; overflow: hidden; }
.why-card::after { content: attr(data-n); position: absolute; right: 18px; top: 8px; font-family: 'Manrope', system-ui, sans-serif; font-size: 4.5rem; font-weight: 700; color: rgba(255,255,255,.05); }
.why-card .icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(215,38,61,.14); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { color: #fff; }
.why-card p { color: var(--on-dark-muted); margin: 0; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.slider-nav button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.slider-nav button:disabled { opacity: .35; cursor: default; background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Assembly */
.assembly { position: relative; height: 340vh; background: linear-gradient(180deg, var(--ink), #0F2235 60%, var(--ink)); color: var(--on-dark); }
.assembly-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.assembly-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.assembly-steps { list-style: none; padding: 0; margin: 26px 0 0; counter-reset: step; }
.assembly-steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-muted); transition: color .3s; }
.assembly-steps li::before { content: counter(step, decimal-leading-zero); font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .3s, color .3s, border-color .3s; }
.assembly-steps li.active { color: #fff; }
.assembly-steps li.active::before { background: var(--accent); color: #fff; border-color: var(--accent); }
.assembly-steps li.done::before { background: rgba(215,38,61,.18); color: var(--accent); border-color: transparent; }
.assembly-steps b { display: block; color: inherit; font-weight: 600; }
.assembly-steps small { display: block; font-size: .85rem; }
.assembly-stage { position: relative; }
.assembly-stage svg { width: 100%; height: auto; overflow: visible; }
.assembly-stage [data-part] { transform-box: fill-box; transform-origin: center; will-change: transform, opacity; }
.assembly-progress { height: 4px; background: var(--line-dark); border-radius: 4px; margin-top: 18px; overflow: hidden; }
.assembly-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #F5A3AE); }

/* Machines */
.machine-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.machine-table th, .machine-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.machine-table th { background: var(--steel); color: #fff; font-family: 'Manrope', system-ui, sans-serif; font-size: 1.05rem; letter-spacing: .5px; font-weight: 600; }
.machine-table td.qty { font-family: 'Manrope', system-ui, sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--accent-dark); text-align: right; }
.machine-table th.qty { text-align: right; }
.machine-table tbody tr { transition: background .2s; }
.machine-table tbody tr:hover { background: #FDECEE; }
.machine-table tfoot td { font-weight: 700; background: #F9FAFC; }
.machine-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.machine-pill { background: var(--steel-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 16px 20px; min-width: 150px; }
.machine-pill b { display: block; font-family: 'Manrope', system-ui, sans-serif; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.machine-pill span { color: var(--on-dark-muted); font-size: .88rem; }

/* Feature lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(215,38,61,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B01E31' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dark .check-list li::before, .steel .check-list li::before { background-color: rgba(215,38,61,.18); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc { border-radius: var(--radius); padding: 24px; background: linear-gradient(160deg, var(--steel-2), var(--steel)); color: #fff; }
.doc b { font-family: 'Manrope', system-ui, sans-serif; font-size: 2.2rem; color: var(--accent); display: block; line-height: 1; }
.doc span { color: var(--on-dark-muted); font-size: .9rem; }

/* Inspection timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); }
.stage { position: relative; background: var(--surface); border-radius: var(--radius); padding: 70px 24px 24px; box-shadow: var(--shadow); }
.stage .num { position: absolute; top: 6px; left: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--bg); }
.stage ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: .92rem; display: grid; gap: 8px; }
.quality-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; background: linear-gradient(120deg, var(--steel), var(--steel-2)); border-radius: 20px; padding: 44px; color: #fff; position: relative; overflow: hidden; }
.quality-banner::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(215,38,61,.10); }
.quality-banner .seal { width: 110px; height: 110px; }
.quality-banner p { color: var(--on-dark-muted); margin: 0; }

/* Gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; background: rgba(245,246,248,.92); backdrop-filter: blur(8px); padding: 10px; border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.filter-bar button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sector-block { margin-bottom: 70px; scroll-margin-top: 170px; }
.sector-block[hidden] { display: none; }
.sector-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--line); padding-bottom: 14px; margin-bottom: 26px; }
.sector-block-head p { color: var(--muted); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .3s, box-shadow .3s; }
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery .img { aspect-ratio: 4 / 3; overflow: hidden; background: #EEF1F5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 12px 16px; font-weight: 600; font-size: .92rem; }
.gallery figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6,12,19,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 14px; font-family: 'Manrope', system-ui, sans-serif; font-size: 1.4rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: var(--accent); color: #fff; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.material { border-left: 3px solid var(--accent); background: var(--surface); padding: 16px 18px; border-radius: 0 10px 10px 0; box-shadow: var(--shadow); }
.material b { display: block; }
.material span { color: var(--muted); font-size: .88rem; }

/* About */
.image-stack { position: relative; aspect-ratio: 1; }
.image-stack img { position: absolute; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow-lg); }
.image-stack img:nth-child(1) { width: 70%; height: 70%; left: 0; top: 0; }
.image-stack img:nth-child(2) { width: 55%; height: 55%; right: 0; bottom: 0; border: 8px solid var(--bg); }
.image-stack .badge { position: absolute; left: 6%; bottom: 8%; background: var(--accent); color: #fff; border-radius: 14px; padding: 18px 22px; font-family: 'Manrope', system-ui, sans-serif; box-shadow: var(--shadow-lg); }
.image-stack .badge b { display: block; font-size: 2.6rem; line-height: 1; }
.quote { font-family: 'Manrope', system-ui, sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; border-left: 4px solid var(--accent); padding-left: 24px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-card { background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: 36px; }
.contact-card a { color: #fff; }
.contact-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-card li { display: flex; gap: 14px; }
.contact-card li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.form { background: var(--surface); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #FBFCFD; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(215,38,61,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form-msg.ok { background: #E8F7EE; color: #166534; }
.form-msg.err { background: #FDECEC; color: #9F1C1C; }
.field-error { color: #B42318; font-size: .82rem; margin-top: 4px; }

/* CTA + footer */
.cta-band { background: linear-gradient(110deg, #0E2A47 0%, #17395E 100%); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; max-width: 22ch; }
.cta-band .eyebrow { color: #F5A3AE; }
.cta-band .btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(215,38,61,.35); }
.cta-band .btn-accent:hover { background: #E8455A; }
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-grid h3 { color: #fff; font-size: 1.15rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-dark-muted); transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; margin-top: 50px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.to-top { color: var(--on-dark-muted); text-decoration: none; }
.to-top:hover { color: var(--accent); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; } .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; } .reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }

/* Responsive */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .why-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .doc-grid, .material-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 20px 16px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; gap: 20px; }
  .nav-open .site-nav { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
  .site-nav ul a { flex: 1; padding: 16px 6px; font-size: 1.1rem; }
  .site-nav ul a::after { display: none; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; display: none; opacity: 1; visibility: visible; padding: 6px 0 14px; background: transparent; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .has-mega.open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-card { color: var(--on-dark); }
  .mega-card:hover { background: var(--steel); }
  .mega-card small { color: var(--on-dark-muted); }
  .mega-toggle { padding: 14px; margin: 0; }
  .nav-cta { justify-content: center; }
  .hero-grid, .two-col, .assembly-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin: 0 auto; order: -1; }
  .sector-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .assembly { height: 300vh; }
  .assembly-grid { gap: 10px; }
  .assembly-steps { margin-top: 10px; }
  .assembly-steps li { padding: 6px 0; font-size: .9rem; }
  .assembly-steps small { display: none; }
  .assembly-copy .lead { display: none; }
  .quality-banner { grid-template-columns: 1fr; text-align: left; padding: 30px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats-wrap { margin-top: -40px; }
  .stat b { font-size: 2.4rem; }
  .why-track { grid-auto-columns: 86%; }
  .sector-grid, .feature-grid, .doc-grid, .material-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .contact-card { padding: 26px; }
  .machine-table th, .machine-table td { padding: 12px 12px; font-size: .9rem; }
  .machine-table .hide-sm { display: none; }
  .filter-bar { border-radius: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery figcaption { padding: 10px 12px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .assembly { height: auto; }
  .assembly-sticky { position: static; height: auto; padding: 90px 0; }
}


/* ===== Redesign: vibor-style intro, type and motion ===== */
.serif { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.hero h1 .serif { color: var(--accent); font-weight: 500; }
.intro { position: relative; height: 260vh; background: #0D1117; color: #F3F4F6; }
.intro-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 4vw; }
.intro-sticky::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(143,184,222,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,184,222,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.intro-meta { position: absolute; top: calc(var(--header-h) + 28px); left: 4vw; margin: 0; font-size: .82rem; letter-spacing: 3px; text-transform: uppercase; color: #8B95A1; }
.intro-meta span { color: var(--accent); }
.intro-word { position: relative; display: flex; justify-content: space-between; font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; font-size: clamp(3rem, 14.2vw, 15rem); line-height: .86; letter-spacing: -.03em; user-select: none; }
.intro-word .ch { position: relative; display: inline-block; }
.intro-word .ch > span { display: block; will-change: transform, opacity; }
.intro-word .ch .t { clip-path: inset(0 0 50% 0); }
.intro-word .ch .b { position: absolute; inset: 0; clip-path: inset(50% 0 0 0); }
.intro-word .ch.red { color: var(--accent); }
.intro-line { position: absolute; left: -2vw; right: -2vw; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent); box-shadow: 0 0 18px rgba(215,38,61,.7); will-change: transform, opacity; }
.intro-tag { position: absolute; right: 4vw; bottom: 12vh; margin: 0; font-size: clamp(1rem, 2vw, 1.55rem); letter-spacing: .14em; text-transform: uppercase; color: #C9CED6; text-align: right; }
.intro-tag .serif { text-transform: none; letter-spacing: 0; color: var(--accent); font-size: 1.15em; margin: 0 .2em; }
.intro-cue { position: absolute; left: 4vw; bottom: 12vh; color: #8B95A1; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.intro-cue::before { content: ''; width: 44px; height: 1px; background: var(--accent); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.split.in .w > span { transform: none; }
.clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.clip.in { clip-path: inset(0 0 0 0); }
.marquee { overflow: hidden; padding: 34px 0; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.2px #0E2A47; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 920px) {
  .intro { height: 220vh; }
  .intro-tag { left: 4vw; right: 4vw; bottom: 16vh; text-align: left; }
  .intro-cue { bottom: 9vh; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { height: auto; }
  .intro-sticky { position: relative; height: 100vh; }
  .split .w > span, .clip { transform: none; clip-path: none; }
  .marquee-track { animation: none; }
}
