:root {
  --primary: #FF792D;
  --primary-hover: #E56C28;
  --ink: #000;
  --text: #555;
  --text-light: #888;
  --bg-light: #F3F5FA;
  --border: #DFE1E7;
  --dark: #1d1d1f;
  --f-text: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-head: "Oxygen", "Inter", Arial, sans-serif;
  --f-accent: "Unbounded", "Inter", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.625 var(--f-text); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1290px; margin: 0 auto; padding: 0 20px; }
.ico { width: 18px; height: 18px; fill: var(--primary); color: var(--primary); vertical-align: -3px; margin-right: 8px; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--border); }
.topbar { display: flex; justify-content: flex-end; gap: 28px; padding-top: 10px; font-weight: 600; color: var(--ink); }
.mainbar { display: flex; align-items: center; gap: 40px; padding-bottom: 10px; }
.logo img { width: 140px; }
.site-nav > ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-weight: 600; font-size: 15px; color: var(--ink); display: block; padding: 10px 0; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); }
.has-sub { position: relative; }
.has-sub > a::after { content: "⌄"; font-size: 12px; margin-left: 5px; position: relative; top: -3px; }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; left: -20px; top: 100%; min-width: 220px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.1); border-top: 3px solid var(--primary); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 8px 20px; font-weight: 500; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Page banner (inner pages) */
.page-banner { background: #333 center/cover no-repeat; position: relative; padding: 120px 0; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)); }
.page-banner h1 { position: relative; color: #fff; font: 600 clamp(32px, 5vw, 56px)/1.1 var(--f-accent); margin: 0; }

/* Section building blocks */
.section { padding: 100px 0; }
.section.light { background: var(--bg-light); }
.eyebrow { font: 600 13px/1.8 var(--f-accent); color: var(--primary); text-transform: lowercase; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--primary); }
.title { font: 700 clamp(30px, 4vw, 48px)/1.15 var(--f-head); text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.split .title { margin: 0; }
.prose { max-width: 560px; }
.prose a, .text-link { color: var(--ink); font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 22px; border: 1px solid var(--border); border-radius: 40px; font-weight: 600; font-size: 14px; color: var(--ink); background: #fff; transition: .2s; }
.btn::after { content: "↗"; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: .2s; }
.btn:hover { color: var(--ink); border-color: var(--primary); }
.btn:hover::after { background: var(--primary); }

/* Home hero slider */
.hero { position: relative; height: min(85vh, 820px); min-height: 520px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: flex-end; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%); }
.slide.on { opacity: 1; }
.slide .wrap { position: relative; padding-bottom: 110px; color: #fff; }
.slide .kicker { font-size: 18px; max-width: 460px; margin-bottom: 12px; }
.slide h2 { color: #fff; font: 700 clamp(44px, 8vw, 110px)/.95 var(--f-head); text-transform: uppercase; white-space: pre-line; margin-bottom: 30px; }
.slide .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.slide .btn::after { background: var(--primary); }
.dots { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.dots button.on { background: #fff; }

.deco { background: var(--bg-light) url('/images/h5_deco.png') left top no-repeat; }

/* Scrolling words */
.marquee { overflow: hidden; padding: 30px 0 90px; background: var(--bg-light); }
.marquee-row { display: flex; width: max-content; animation: scroll 40s linear infinite; font: 600 clamp(48px, 8vw, 110px)/1.1 var(--f-accent); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px #c9ccd5; }
.marquee-row.rev { animation-direction: reverse; }
.marquee-row span { padding: 0 30px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Location block */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.map { width: 100%; aspect-ratio: 4/3; border: 0; }

/* Products grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { text-align: center; }
.card img { width: 100%; aspect-ratio: 5/3; object-fit: cover; transition: transform .4s; }
.card .imgwrap { overflow: hidden; }
.card:hover img { transform: scale(1.05); }
.card img.contain { object-fit: contain; padding: 20px; background: #fff; }
.card h3 { font: 600 18px/1.3 var(--f-accent); margin: 16px 0 0; }

/* Steps / timeline */
.timeline { margin-top: 50px; }
.tl-row { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; padding-bottom: 50px; }
.tl-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 28px; position: relative; align-self: start; }
.step::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: -50px; width: 1px; background: var(--primary); opacity: .4; }
.tl-row:last-child .step::before { display: none; }
.step .num { width: 64px; height: 64px; border: 1px solid var(--primary); border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--ink); }
.step small { display: block; text-transform: uppercase; font-size: 12px; color: var(--text-light); font-weight: 500; }
.step h3 { font: 600 20px/1.3 var(--f-accent); margin: 4px 0 12px; }
.step img { margin-bottom: 16px; }

/* Feature boxes (hardware) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.feature { padding: 36px 30px; background: var(--bg-light); border-top: 3px solid var(--primary); }
.feature h3 { font: 600 18px/1.3 var(--f-accent); }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 40px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery.tall img { aspect-ratio: 9/16; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 92vw; max-height: 86vh; }
.lightbox button { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }
.lightbox .prev, .lightbox .next { top: 50%; transform: translateY(-50%); font-size: 48px; }
.lightbox .prev { left: 16px; right: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; }
.form label { display: block; font-weight: 600; color: var(--ink); font-size: 14px; margin: 0 0 6px; }
.form input, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); font: inherit; background: #fff; margin-bottom: 18px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .hp { position: absolute; left: -9999px; }
.form button { background: var(--primary); color: #fff; border: 0; padding: 15px 34px; font: 600 15px var(--f-text); cursor: pointer; }
.form button:hover { background: var(--primary-hover); }
.notice { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid; }
.notice.ok { background: #eef9f0; border-color: #2e9d4a; color: #1d5e2d; }
.notice.err { background: #fdf0ee; border-color: #c8402c; color: #7a2216; }
.office { background: var(--bg-light); padding: 30px; align-self: start; }
.office img { margin: 10px 0 20px; }
.office p { margin: 0 0 8px; color: var(--ink); }
.small { font-size: 13px; color: var(--text-light); }

.policy { max-width: 860px; }
.policy h2 { font: 600 20px/1.3 var(--f-accent); margin-top: 1.8em; }
.policy li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--dark); color: #bbb; border-top: 8px solid var(--primary); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 60px; padding-bottom: 50px; }
.fcol { padding: 0 20px; border-left: 1px solid rgba(255,255,255,.12); }
.fcol:first-child { border-left: 0; }
.fico { width: 40px; height: 40px; fill: #e8e8e8; margin: 0 auto 16px; }
.fcol h4 { color: #fff; font: 600 14px/1.4 var(--f-accent); text-transform: uppercase; letter-spacing: .5px; }
.fcol a:hover { color: var(--primary); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 22px; text-align: center; font-size: 14px; }
.to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; font-size: 20px; opacity: 0; pointer-events: none; transition: .3s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .split, .location, .tl-row, .contact-grid { grid-template-columns: 1fr; }
  .tl-row { gap: 24px; }
  .tl-img img { aspect-ratio: 16/9; }
  .step::before { display: none; }
  .cards, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar { justify-content: center; font-size: 14px; gap: 18px; }
  .section { padding: 64px 0; }
  .page-banner { padding: 80px 0; }
  .cards, .features, .footer-cols, .form .row2 { grid-template-columns: 1fr; }
  .fcol { border-left: 0; padding: 20px 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } .slide { transition: none; } }
