:root {
  --navy: #071a3d;
  --blue: #075cff;
  --blue-2: #25a8ff;
  --green: #59d600;
  --ink: #12213d;
  --muted: #61708a;
  --line: #dce5f0;
  --mist: #f3f7fb;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(7, 26, 61, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 94px 0; }
.section-sm { padding: 62px 0; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.title { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.05; letter-spacing: -.04em; }
.lead { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head .lead { margin: 0; }

.topbar { background: var(--navy); color: #dbe7ff; font-size: .82rem; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,229,240,.9); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo { width: 150px; display: block; }
.logo img { width: 100%; height: 34px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; background: #fff; color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.5rem; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 750; box-shadow: 0 9px 24px rgba(7,92,255,.22); transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); background: #004ad6; }
.btn-outline { background: transparent; color: var(--navy); border-color: #9db1cc; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.text-link { color: var(--blue); font-weight: 750; }

.hero { position: relative; min-height: 710px; display: grid; align-items: end; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,49,.96) 0%, rgba(4,18,49,.75) 48%, rgba(4,18,49,.18) 100%), url("images/factory-hero.webp") center/cover; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -260px; top: -250px; border: 100px solid rgba(37,168,255,.22); border-radius: 50%; }
.hero-content { position: relative; z-index: 2; padding: 100px 0 76px; }
.hero .eyebrow { color: #66c8ff; }
.hero h1 { max-width: 830px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: .94; letter-spacing: -.07em; }
.hero h1 span { color: #62dfff; }
.hero-copy { max-width: 680px; margin: 28px 0; color: #d5e0f3; font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); background: rgba(5,22,56,.58); backdrop-filter: blur(12px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.16); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2rem; letter-spacing: -.04em; }
.stat span { color: #b8c8e2; font-size: .85rem; }

.trust-strip { border-bottom: 1px solid var(--line); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 25px; border-right: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item span { display: block; margin-bottom: 3px; color: var(--blue); font-size: .72rem; letter-spacing: .12em; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { height: 250px; overflow: hidden; background: var(--mist); }
.card-media img { height: 100%; object-fit: cover; transition: .35s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 25px; }
.card-kicker { color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card h3 { margin: 8px 0 10px; color: var(--navy); font-size: 1.25rem; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: .93rem; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { min-height: 520px; object-fit: cover; border-radius: 28px; }
.floating-card { position: absolute; left: -30px; bottom: 30px; width: 240px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.floating-card strong { display: block; color: var(--navy); font-size: 1.65rem; }
.ticks { display: grid; gap: 14px; margin: 28px 0; }
.tick { display: flex; gap: 12px; color: var(--ink); font-weight: 650; }
.tick::before { content: "✓"; flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #e8f4ff; color: var(--blue); }

.dark { background: var(--navy); color: #fff; }
.dark .title { color: #fff; }
.dark .lead { color: #afbdd4; }
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 48px; }
.process-step { position: relative; min-height: 205px; padding: 23px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.05); }
.process-step b { display: block; margin-bottom: 34px; color: #57c8ff; font-size: .78rem; }
.process-step strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.process-step p { margin: 0; color: #aebed6; font-size: .82rem; }

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; position: relative; border-radius: 26px; background: #f5f9ff; border: 1px solid var(--line); }
.brand-card::after { content: ""; position: absolute; right: -90px; bottom: -100px; width: 260px; height: 260px; border-radius: 50%; background: rgba(7,92,255,.08); }
.brand-card.breeze { background: #f4fff3; }
.brand-card.breeze::after { background: rgba(89,214,0,.13); }
.brand-card.glow { background: #fff8ee; }
.brand-card.glow::after { background: rgba(255,165,0,.15); }
.brand-logo { display: block; height: 72px; width: auto; max-width: 86%; margin: 4px 0 18px; object-fit: contain; object-position: left center; }
.brand-card p { max-width: 270px; color: var(--muted); }
.brand-visual { z-index: 1; display: block; width: calc(100% + 68px); height: auto; align-self: center; margin: 16px -34px -34px; object-fit: contain; border-radius: 0 0 26px 26px; filter: none; }

.gallery { display: grid; grid-template-columns: 1.4fr .8fr .8fr; grid-template-rows: 270px 270px; gap: 15px; }
.gallery img { height: 100%; object-fit: cover; border-radius: 18px; }
.gallery img:first-child { grid-row: 1 / 3; }

.cta { padding: 72px 0; background: linear-gradient(115deg, #075cff, #083c9e); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.045em; }

.page-hero { padding: 120px 0 80px; background: radial-gradient(circle at 85% 20%, rgba(37,168,255,.25), transparent 28%), var(--navy); color: #fff; }
.page-hero .title { max-width: 850px; color: #fff; }
.page-hero .lead { color: #b8c8df; }
.crumb { margin-bottom: 40px; color: #8fb5e8; font-size: .84rem; }
.page-image { height: 460px; object-fit: cover; border-radius: 26px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric { padding: 30px; border-radius: 20px; background: var(--mist); }
.metric strong { display: block; color: var(--blue); font-size: 2rem; }
.metric span { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.feature .icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 12px; background: #e7f2ff; color: var(--blue); font-weight: 900; }
.feature h3 { margin: 0 0 10px; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); }
.product-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
.product-row { display: grid; grid-template-columns: minmax(0, 48%) 1fr; min-height: 370px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; }
.product-row img { width: 100%; height: 100%; min-height: 370px; padding: 12px; object-fit: contain; background: #f5f7fb; }
.product-row div { padding: 27px; }
.product-row h3 { margin: 0 0 8px; color: var(--navy); }
.product-row p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 11px; border-radius: 99px; background: var(--mist); color: #425474; font-size: .78rem; }

.timeline { display: grid; gap: 0; max-width: 850px; margin-top: 48px; }
.timeline-row { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline-row strong { color: var(--blue); font-size: 1.1rem; }
.timeline-row h3 { margin: 0 0 7px; color: var(--navy); }
.timeline-row p { margin: 0; color: var(--muted); }
.notice { padding: 24px; border-left: 4px solid var(--blue); background: #eef5ff; color: #30445f; }
.compliance-section { background: var(--mist); }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.compliance-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 14px 35px rgba(5,36,77,.06); }
.compliance-preview { position: relative; height: 330px; overflow: hidden; background: #eaf0f8; }
.compliance-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.compliance-preview span { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(4,18,49,.88); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.compliance-copy { padding: 25px; }
.compliance-copy h3 { margin: 8px 0 10px; color: var(--navy); font-size: 1.35rem; }
.compliance-copy > p:not(.card-kicker) { min-height: 72px; margin: 0 0 18px; color: var(--muted); }
.compliance-note { margin-top: 28px; padding: 25px 28px; border-left: 4px solid var(--blue); background: #fff; color: #30445f; }
.compliance-note strong { color: var(--navy); }
.compliance-note p { margin: 7px 0 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-item { padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.contact-item span { display: block; color: var(--blue); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px; border-radius: 24px; background: var(--mist); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .82rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd8e8; border-radius: 11px; background: #fff; padding: 13px 14px; color: var(--ink); }
.field textarea { min-height: 125px; resize: vertical; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }

.site-footer { background: #04112a; color: #b9c6da; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 45px; padding: 70px 0 55px; }
.footer-logo { width: 168px; padding: 9px 13px; border-radius: 10px; background: #fff; }
.footer-logo img { width: 100%; height: 32px; object-fit: contain; }
.footer-main h4 { margin: 0 0 18px; color: #fff; }
.footer-main p { max-width: 360px; font-size: .88rem; }
.footer-links { display: grid; gap: 9px; font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.prototype-badge { position: fixed; z-index: 70; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: var(--shadow); font-size: .72rem; font-weight: 800; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 14px 20px; border-radius: 12px; background: var(--navy); color: #fff; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1020px) {
  .nav-links { display: none; position: absolute; top: 112px; left: 20px; right: 20px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; gap: 16px; }
  .menu-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .brand-grid, .feature-grid, .compliance-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 38px; }
  .product-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .topbar { display: none; }
  .site-header { position: relative; }
  .nav.container, .nav { width: 100%; min-height: 68px; padding-inline: 14px; }
  .logo { display: block; width: 138px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .lang { display: none; }
  .menu-toggle { display: block; }
  .nav-links { top: 104px; }
  .section { padding: 68px 0; }
  .section-head, .cta-inner { display: block; }
  .section-head .lead { margin-top: 18px; }
  .hero { min-height: 760px; }
  .hero-bg { background: linear-gradient(180deg, rgba(4,18,49,.78), rgba(4,18,49,.98)), url("images/factory-hero.webp") 55% center/cover; }
  .hero-content { padding: 86px 0 55px; }
  .hero h1 { max-width: 100%; font-size: 3.15rem; overflow-wrap: anywhere; }
  .hero-copy { max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 14px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .stat strong { font-size: 1.7rem; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 19px 12px; border-bottom: 1px solid var(--line); font-size: .8rem; overflow-wrap: anywhere; }
  .cards, .brand-grid, .feature-grid, .metric-grid, .compliance-grid { grid-template-columns: 1fr; }
  .compliance-preview { height: 380px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media img { min-height: 380px; }
  .floating-card { left: 15px; }
  .process { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 180px 180px; }
  .gallery img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .cta .btn { margin-top: 26px; }
  .page-hero { padding: 80px 0 60px; }
  .page-image { height: 330px; }
  .product-row { grid-template-columns: 1fr; }
  .product-row img { height: auto; min-height: 0; aspect-ratio: 3 / 2; padding: 8px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .field.full { grid-column: auto; }
  .form-note { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
}
