:root {
  --primary: #f46d2a;
  --secondary: #ff8101;
  --dark: #171717;
  --muted: #7b7b7b;
  --light: #f8f9fb;
  --white: #fff;
  --radius: 14px;
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", sans-serif; color: var(--dark); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
.container { width: min(var(--container), 92%); margin: 0 auto; }

.btn { border: 0; border-radius: 10px; padding: 0.85rem 1.2rem; cursor: pointer; font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.45rem; transition: .25s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-light { background: #fff; color: #222; }

.topbar { background: linear-gradient(90deg, #1d1d1d, #111); color: #ececec; font-size: .88rem; }
.topbar-wrap { min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar-actions, .socials { display: flex; align-items: center; gap: .55rem; }
.chip-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: .4rem .8rem; cursor: pointer; font-size: .78rem; }
.chip-btn:hover { background: var(--primary); border-color: var(--primary); }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.socials a:hover { background: var(--secondary); }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.nav-wrap { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 2rem; }
.logo img { width: 190px; height: 60px; object-fit: contain; }
.mobile-toggle { display: none; background: transparent; border: 0; font-size: 1.3rem; }
.mobile-bayi { display: none; }
nav ul { display: flex; align-items: center; justify-content: center; list-style: none; gap: clamp(1rem, 2vw, 2rem); }
nav li { position: relative; font-weight: 600; }
nav li > a { padding: 1.85rem 0; display: inline-flex; align-items: center; gap: .35rem; }
.nav-cta { display: flex; gap: .6rem; }
.nav-cta .btn, .site-header .btn { padding: .7rem .95rem; font-size: .86rem; }
.dropdown-menu { position: absolute; left: 0; top: calc(100% - 8px); background: #fff; min-width: 220px; border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.12); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: .55rem .75rem; border-radius: 8px; font-weight: 500; color: #444; }
.dropdown-menu a:hover { color: var(--primary); background: #fff3eb; }

.site-footer { position: relative; overflow: hidden; background: #111; color: #ececec; padding-top: 2.2rem; margin-top: 1rem; }
.site-footer::before, .site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.site-footer::before { background-image: radial-gradient(rgba(244,109,42,.22) 1.2px, transparent 1.2px); background-size: 18px 18px; opacity: .8; }
.site-footer::after { background-image: linear-gradient(120deg, transparent 0%, rgba(244,109,42,.16) 35%, transparent 55%), linear-gradient(145deg, transparent 20%, rgba(255,129,1,.13) 42%, transparent 65%); }
.footer-grid, .copyright { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 1.8rem; }
.footer-logo { width: 170px; height: 52px; object-fit: contain; margin-bottom: .65rem; }
.site-footer h5 { color: #fff; margin-bottom: .7rem; }
.site-footer p, .site-footer li { list-style: none; color: #b9b9b9; font-size: .9rem; margin-bottom: .42rem; }
.copyright { text-align: center; color: #8b8b8b; padding: .9rem 0 1.2rem; font-size: .85rem; }

/* Home page */
body.page-home .section-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
body.page-home .eyebrow { color: var(--primary); font-weight: 800; letter-spacing: 0.08em; font-size: 0.78rem; text-transform: uppercase; }
body.page-home .section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); margin-top: 0.35rem; }
body.page-home .section-head p { color: var(--muted); margin-top: 0.5rem; }
body.page-home .hero { position: relative; overflow: hidden; padding: 0; margin: 0; }
body.page-home .slider { position: relative; height: clamp(520px, 70vh, 740px); user-select: none; touch-action: pan-y; cursor: grab; }
body.page-home .slider:active { cursor: grabbing; }
body.page-home .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; background-size: cover; background-position: center; }
body.page-home .slide.active { opacity: 1; }
body.page-home .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(18,18,18,.72), rgba(18,18,18,.32)); }
body.page-home .slide-content { height: 100%; position: relative; z-index: 1; display: flex; align-items: center; }
body.page-home .slide-text { max-width: 680px; color: #fff; }
body.page-home .slide-text h1 { font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1.16; margin-bottom: .9rem; }
body.page-home .slide-text p { font-size: clamp(.95rem, 1.4vw, 1.08rem); opacity: .95; margin-bottom: 1.3rem; }
body.page-home .slider-controls { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 24px; display: flex; gap: .45rem; }
body.page-home .dot { width: 12px; height: 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.52); cursor: pointer; transition: .25s; }
body.page-home .dot.active { width: 30px; background: var(--primary); }
body.page-home section { padding: 82px 0; }
body.page-home .about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
body.page-home .about-text p { color: var(--muted); margin-bottom: .95rem; }
body.page-home .about-image img { min-height: 360px; object-fit: cover; border-radius: var(--radius); }
body.page-home .stat-row { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
body.page-home .stat-box { background: #fff8f2; border: 1px solid #ffd8bf; border-radius: 12px; padding: .8rem; text-align: center; }
body.page-home .stat-box b { display: block; color: var(--primary); font-size: 1.2rem; }
body.page-home .cta-section { padding-top: 14px; }
body.page-home .cta-band { position: relative; overflow: hidden; border-radius: 18px; padding: 3rem; background: linear-gradient(95deg, var(--primary), var(--secondary)); color: #fff; display: flex; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
body.page-home .cta-band::before, body.page-home .cta-band::after { content: ""; position: absolute; pointer-events: none; opacity: .32; }
body.page-home .cta-band::before { width: 320px; height: 320px; border-radius: 50%; border: 2px dashed #fff; right: -120px; top: -100px; }
body.page-home .cta-band::after { inset: 0; background-image: radial-gradient(rgba(255,255,255,.26) 1.3px, transparent 1.3px); background-size: 16px 16px; }
body.page-home .cta-lines { position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 20%, transparent 40%), linear-gradient(140deg, transparent 20%, rgba(255,255,255,.18) 40%, transparent 60%); }
body.page-home .cta-content { position: relative; z-index: 2; max-width: 760px; }
body.page-home .cta-band .btn-primary { position: relative; z-index: 2; background: #fff; color: #222; padding: .75rem 1rem; font-size: .9rem; align-self: center; }
body.page-home .products { background: var(--light); }
body.page-home .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
body.page-home .product-card { min-height: 220px; border-radius: 14px; overflow: hidden; position: relative; display: flex; align-items: end; padding: 1rem; background-size: cover; background-position: center; box-shadow: 0 10px 22px rgba(0,0,0,.1); cursor: pointer; transition: .25s; }
body.page-home .product-card:hover { transform: translateY(-4px); }
body.page-home .product-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72)); }
body.page-home .product-card .content { position: relative; z-index: 1; color: #fff; }
body.page-home .capability-section { background: linear-gradient(180deg, #fff, #fff7f2); }
body.page-home .capability-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.2rem; }
body.page-home .capability-visual { border-radius: 16px; overflow: hidden; min-height: 420px; background-image: linear-gradient(130deg, rgba(15,15,15,.72), rgba(15,15,15,.28)), url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1400&q=80'); background-size: cover; background-position: center; color: #fff; padding: 1.6rem; display: flex; flex-direction: column; justify-content: end; }
body.page-home .capability-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
body.page-home .capability-card { background: #fff; border: 1px solid #ffd8bf; border-radius: 12px; padding: 1rem; box-shadow: 0 8px 18px rgba(0,0,0,.04); }
body.page-home .services-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.4rem; align-items: center; }
body.page-home .services-image img { min-height: 390px; object-fit: cover; border-radius: 14px; }
body.page-home .mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: .6rem; }
body.page-home .mini-card { background: #fff8f2; border: 1px solid #ffd8bf; border-radius: 12px; padding: .85rem; }
body.page-home .references-wrap { overflow: hidden; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; padding: 1.25rem 0; margin-top: .8rem; }
body.page-home .reference-track { display: flex; width: max-content; gap: 1rem; animation: marquee 20s linear infinite; }
body.page-home .references-wrap:hover .reference-track { animation-play-state: paused; }
body.page-home .reference-logo { width: 180px; height: 84px; border-radius: 10px; border: 1px solid #ebebeb; display: grid; place-items: center; background: #fff; cursor: pointer; }
body.page-home .reference-logo img { width: 98px; height: 34px; object-fit: contain; filter: grayscale(100%); opacity: .92; }
body.page-home .reference-logo:hover img { filter: grayscale(0); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.page-home .promo-popup { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.56); display: none; align-items: center; justify-content: center; padding: 1rem; }
body.page-home .promo-popup.show { display: flex; }
body.page-home .promo-card { width: min(640px, 96%); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.28); position: relative; }
body.page-home .promo-cover { min-height: 230px; padding: 1.4rem; color: #fff; background-image: linear-gradient(120deg, rgba(244,109,42,.92), rgba(255,129,1,.85)), url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&w=1200&q=80'); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: end; gap: .45rem; }
body.page-home .promo-content { padding: 1rem 1.2rem 1.25rem; color: var(--muted); }
body.page-home .promo-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .9rem; }
body.page-home .promo-close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.26); color: #fff; font-size: 1rem; }

/* Category page */
body.page-category .hero { position: relative; background: linear-gradient(105deg,var(--primary),var(--secondary)); color: #fff; padding: 50px 0; overflow: hidden; }
body.page-category .hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.24) 1.2px, transparent 1.2px); background-size: 18px 18px; opacity: .45; }
body.page-category .hero::after { content: ""; position: absolute; right: -80px; top: -70px; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.4); }
body.page-category .hero h1, body.page-category .hero p { position: relative; z-index: 1; }
body.page-category .layout { padding: 68px 0; background: var(--light); }
body.page-category .layout-grid { display: grid; grid-template-columns: 320px 1fr; gap: 1rem; align-items: start; }
body.page-category .sidebar, body.page-category .content { background: #fff; border-radius: 14px; border: 1px solid #f0f0f0; }
body.page-category .sidebar { padding: 1rem; }
body.page-category .cat-group { margin-bottom: .9rem; background: #fcfcfc; border: 1px solid #efefef; border-radius: 10px; padding: .7rem; }
body.page-category .cat-group > strong { display: flex; align-items: center; gap: .45rem; margin-bottom: .55rem; color: #2f2f2f; font-size: .95rem; }
body.page-category .cat-group > strong i { color: var(--primary); }
body.page-category .cat-sub { display: flex; flex-direction: column; gap: .35rem; padding-left: 1.15rem; border-left: 2px dashed #ffd8bf; }
body.page-category .cat-sub a { padding: .55rem .65rem; border-radius: 8px; background: #fff; border: 1px solid #efefef; font-weight: 600; font-size: .9rem; }
body.page-category .cat-sub a.active, body.page-category .cat-sub a:hover { background: #fff0e7; border-color: #ffd7c0; color: var(--primary); }
body.page-category .content { padding: 1.2rem; }
body.page-category .content p { color: var(--muted); margin-bottom: .7rem; }
body.page-category .features { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin: 1rem 0 1.2rem; }
body.page-category .feature { background: #fff8f2; border: 1px solid #ffd8bf; border-radius: 10px; padding: .75rem; }
body.page-category .gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
body.page-category .gallery-item { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; }
body.page-category .gallery-item img { width: 100%; height: 190px; object-fit: cover; transition: .3s; }
body.page-category .gallery-item:hover img { transform: scale(1.04); }
body.page-category .zoom-icon { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.58); color: #fff; font-size: .8rem; }
body.page-category .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 999; padding: 1rem; }
body.page-category .lightbox.show { display: flex; }
body.page-category .lightbox img { max-width: min(1300px,95vw); max-height: 85vh; border-radius: 10px; }
body.page-category .lb-btn, body.page-category .lb-close { border: 0; cursor: pointer; }
body.page-category .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1.2rem; }
body.page-category .lb-prev { left: 16px; } body.page-category .lb-next { right: 16px; }
body.page-category .lb-close { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; }
body.page-category .lb-count { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; color: #fff; background: rgba(255,255,255,.16); padding: .3rem .7rem; border-radius: 999px; }

/* Contact page */
body.page-contact .hero { padding: 52px 0; background: linear-gradient(105deg,var(--primary),var(--secondary)); color: #fff; }
body.page-contact section { padding: 70px 0; }
body.page-contact .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; }
body.page-contact .card { background: #fff; border: 1px solid #efefef; border-radius: 14px; padding: 1rem; }
body.page-contact .card h3 { margin-bottom: .7rem; }
body.page-contact .info-item { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .8rem; }
body.page-contact .info-item i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff2e8; color: var(--primary); }
body.page-contact .info-item p { color: var(--muted); }
body.page-contact .socials-local { display: flex; gap: .5rem; margin-top: .8rem; }
body.page-contact .socials-local a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f5f5f5; }
body.page-contact .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
body.page-contact .field { display: flex; flex-direction: column; gap: .35rem; }
body.page-contact .field.full { grid-column: 1 / -1; }
body.page-contact input, body.page-contact select, body.page-contact textarea { border: 1px solid #e7e7e7; border-radius: 10px; padding: .75rem .8rem; font: inherit; }
body.page-contact textarea { min-height: 130px; resize: vertical; }
body.page-contact .map { margin-top: 1rem; border-radius: 14px; overflow: hidden; border: 1px solid #ececec; height: 360px; }
body.page-contact .map iframe { width: 100%; height: 100%; border: 0; }

/* Login page */
body.page-login { background: #fff; }
body.page-login .login-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
body.page-login .visual { position: relative; overflow: hidden; cursor: grab; }
body.page-login .visual:active { cursor: grabbing; }
body.page-login .slides { position: relative; height: 100%; }
body.page-login .v-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; background-size: cover; background-position: center; }
body.page-login .v-slide.active { opacity: 1; }
body.page-login .v-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg,rgba(15,15,15,.72),rgba(15,15,15,.34)); }
body.page-login .v-content { position: absolute; left: 8%; right: 8%; bottom: 9%; color: #fff; z-index: 2; }
body.page-login .v-content h2 { font-size: clamp(1.4rem,2.8vw,2.2rem); margin-bottom: .45rem; }
body.page-login .v-content p { opacity: .95; }
body.page-login .dots { position: absolute; left: 8%; bottom: 4%; display: flex; gap: .45rem; z-index: 2; }
body.page-login .dot { width: 11px; height: 11px; border-radius: 999px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
body.page-login .dot.active { width: 28px; background: var(--secondary); }
body.page-login .form-side { display: flex; align-items: center; justify-content: center; padding: 2rem; background: #fff; }
body.page-login .card { width: min(460px,92%); padding: 0; }
body.page-login .logo { width: 180px; height: 58px; object-fit: contain; margin-bottom: .7rem; }
body.page-login .sub { color: #707070; margin-bottom: 1rem; }
body.page-login .field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .8rem; }
body.page-login input { border: 1px solid #e6e6e6; border-radius: 10px; padding: .8rem; }
body.page-login .row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin: .35rem 0 1rem; }
body.page-login .row label { display: flex; align-items: center; gap: .4rem; font-weight: 500; color: #565656; }
body.page-login .row a { color: var(--primary); font-size: .9rem; }
body.page-login .btn { width: 100%; }
body.page-login .btn-primary { background: linear-gradient(90deg,var(--primary),var(--secondary)); color: #fff; }
body.page-login .actions { margin-top: .9rem; display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
body.page-login .actions a { font-size: .9rem; color: #555; }

@media (max-width: 1100px) {
  body.page-home .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  body.page-contact .contact-grid { grid-template-columns: 1fr; }
  body.page-contact .form-grid { grid-template-columns: 1fr; }
  body.page-login .login-layout { grid-template-columns: 1fr; }
  body.page-login .visual { min-height: 42vh; }
}
@media (max-width: 900px) {
  .site-header .nav-wrap { grid-template-columns: auto auto; position: relative; }
  .mobile-toggle { display: block; justify-self: end; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.08); padding: .8rem 1rem 1rem; z-index: 30; }
  .site-header nav.active { display: block; }
  .site-header nav ul { flex-direction: column; align-items: flex-start; gap: .12rem; }
  .site-header nav li > a { padding: .45rem 0; }
  .site-header .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: .25rem 0; }
  .site-header .dropdown.open .dropdown-menu { display: block; }
  .nav-cta, .site-header > .btn, .site-header .nav-wrap > .btn.btn-primary { display: none; }
  .mobile-bayi { display: block; width: 100%; margin-top: .3rem; }
  .mobile-bayi .btn { width: 100%; justify-content: center; padding: .65rem .9rem; font-size: .86rem; }
  body.page-home .about-grid, body.page-home .services-layout, body.page-home .capability-wrap { grid-template-columns: 1fr; }
  body.page-category .layout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.page-home .product-grid, body.page-home .stat-row, body.page-home .mini-cards, body.page-home .capability-list { grid-template-columns: repeat(2, 1fr); }
  body.page-category .features, body.page-category .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body.page-home .product-grid, body.page-home .stat-row, .footer-grid, body.page-home .mini-cards, body.page-home .capability-list { grid-template-columns: 1fr; }
  body.page-home .cta-band { padding: 2rem; }
  .topbar-wrap { justify-content: center; min-height: 52px; }
  .topbar-wrap > div:first-child { display: none; }
  .topbar-actions { width: 100%; justify-content: center; }
  .topbar-actions .chip-btn { order: 2; }
  .topbar-actions .socials { order: 1; }
  body.page-category .features, body.page-category .gallery { grid-template-columns: 1fr; }
}
