@font-face{font-family:"Inter";src:url("../fonts/Inter-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/Inter-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/Inter-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

:root{
  --brand:#0c1f33;
  --brand-2:#16324d;
  --ink:#12202e;
  --muted:#5b6b7a;
  --line:#d7dee6;
  --paper:#f4f6f8;
  --white:#fff;
  --accent:#1a73e8;
  --accent-2:#0b57d0;
  --wa:#25d366;
  --wa-ink:#128c3a;
  --danger:#b42318;
  --shadow:0 18px 50px rgba(12,31,51,.14);
  --radius:12px;
  --header-h:72px;
  --topbar-h:34px;
  --max:1240px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}
body{
  font-family:"Inter",system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-2)}
h1,h2,h3,h4{font-weight:700;line-height:1.22;color:var(--brand);margin:0 0 .5em}
p{margin:0 0 1em}
ul{margin:0;padding:0}
button{font-family:inherit}
.wrap{width:min(var(--max),calc(100% - 40px));margin:0 auto}

/* Top bar */
.topbar{
  background:var(--brand);
  color:#d7e2ee;
  font-size:13px;
  height:var(--topbar-h);
  display:flex;align-items:center;
}
.topbar .wrap{display:flex;justify-content:space-between;gap:16px;width:min(var(--max),calc(100% - 40px))}
.topbar a{color:#d7e2ee}
.topbar a:hover{color:#fff}
.topbar-right{display:flex;gap:16px}

/* Header + mega — overflow MUST stay visible */
.site-header{
  position:sticky;top:0;z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
  overflow:visible;
}
.hdr{
  display:flex;align-items:center;gap:20px;
  height:var(--header-h);
  overflow:visible;
}
.logo{display:flex;align-items:center;flex:0 0 auto}
.logo img{height:46px;width:auto}
.desktop-nav{flex:1;overflow:visible}
.nav-list{
  display:flex;align-items:center;justify-content:flex-end;gap:4px;
  list-style:none;overflow:visible;
}
.nav-list>li{position:relative;overflow:visible}
.nav-list>li>a,
.mega-trigger{
  display:inline-flex;align-items:center;gap:6px;
  padding:10px 12px;color:var(--ink);font-weight:600;font-size:14.5px;
  border-radius:8px;
}
.nav-list>li>a:hover,
.mega-trigger:hover{background:var(--paper);color:var(--brand)}
.mega-trigger::after{
  content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
.hdr-cta{display:flex;align-items:center;gap:10px;margin-left:8px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 16px;border-radius:8px;font-weight:700;font-size:14px;
  border:0;cursor:pointer;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-2);color:#fff}
.btn-ghost{background:transparent;color:var(--brand);border:1px solid var(--line)}
.btn-light{background:#fff;color:var(--brand)}
.btn-light:hover{color:var(--accent)}
.burger{
  display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;
}

/* Mega panel */
.has-mega{position:relative}
.has-mega>.mega{
  position:absolute;top:100%;left:auto;right:0;transform:translateY(8px);
  width:min(1080px,calc(100vw - 32px));
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow);
  padding:22px 22px 16px;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .16s var(--ease),transform .16s var(--ease),visibility 0s linear .16s;
  z-index:100;
}
.has-mega.is-open>.mega{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateY(0);
  transition-delay:0s;
}
.has-mega>.mega::before{
  content:"";position:absolute;left:0;right:0;top:-18px;height:18px;
}
.mega-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
}
.mega-col{min-width:0}
.mega-h{
  display:block;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--brand);margin-bottom:8px;padding-bottom:8px;border-bottom:2px solid var(--accent);
}
.mega-col a{
  display:block;color:var(--ink);font-size:14px;padding:6px 0;line-height:1.35;
}
.mega-col a:hover{color:var(--accent)}
.mega-thumb{
  display:flex !important;align-items:center;gap:10px;
  margin-top:10px;padding:8px !important;border:1px solid var(--line);border-radius:10px;background:var(--paper);
}
.mega-thumb img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex:0 0 56px}
.mega-thumb span{font-size:13px;font-weight:600;color:var(--brand)}
.mega-all{
  display:block;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);
  font-weight:700;font-size:14px;color:var(--accent);
}

/* Mobile drawer */
.drawer-overlay{
  display:none;position:fixed;inset:0;background:rgba(12,31,51,.45);z-index:60;
}
.drawer-overlay.is-open,.mobile-drawer.is-open{display:block}
.mobile-drawer{
  display:none;position:fixed;top:0;right:0;bottom:0;width:min(360px,92vw);
  background:#fff;z-index:70;padding:20px;overflow:auto;
  box-shadow:var(--shadow);
}
.mobile-drawer.is-open{display:block}
.mobile-drawer a{display:block;padding:10px 0;color:var(--ink);font-weight:600}
.acc-panel{padding-left:12px}
.acc-panel[hidden]{display:none}
body.drawer-open{overflow:hidden}

/* Hero */
.hero{position:relative;min-height:78vh;background:var(--brand);overflow:hidden;color:#fff}
.hero-slide{
  position:absolute;inset:0;opacity:0;transition:opacity .7s ease;pointer-events:none;
}
.hero-slide.is-active{opacity:1;pointer-events:auto}
.hero-slide img{width:100%;height:100%;object-fit:cover;filter:saturate(.92)}
.hero-mask{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(8,18,30,.78) 0%,rgba(8,18,30,.48) 48%,rgba(8,18,30,.22) 100%);
}
.hero-copy{
  position:relative;z-index:2;width:min(var(--max),calc(100% - 40px));margin:0 auto;
  padding:110px 0 90px;max-width:720px;
}
.hero-copy h1{color:#fff;font-size:clamp(32px,5vw,56px);margin:0 0 16px}
.hero-copy p{color:#e4ebf2;font-size:18px;max-width:560px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.hero-nav{position:absolute;inset:auto 20px 28px auto;z-index:3;display:flex;gap:8px;align-items:center}
.hero-nav button{
  width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.25);color:#fff;cursor:pointer;
}
.hero-dots{display:flex;gap:6px}
.hero-dots button{
  width:8px;height:8px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.4);cursor:pointer;
}
.hero-dots button.is-active{background:#fff;width:22px;border-radius:8px}

/* Sections */
.section{padding:72px 0}
.section-muted{background:var(--paper)}
.section-dark{background:var(--brand);color:#d7e2ee}
.section-dark h2,.section-dark h3{color:#fff}
.kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:8px}
.lead{font-size:18px;color:var(--muted);max-width:680px}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}

/* Cards */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  transition:transform .2s var(--ease),box-shadow .2s var(--ease);
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card img{width:100%;height:200px;object-fit:cover;background:#e8edf2}
.card-body{padding:16px}
.card-body h3{font-size:16px;margin:0 0 6px}
.card-body p{font-size:14px;color:var(--muted);margin:0}
.meta{font-size:12px;color:var(--muted);margin-bottom:6px}
.count-pill{display:inline-block;font-size:12px;background:var(--paper);padding:2px 8px;border-radius:99px;color:var(--muted)}

/* Product */
.product-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:start;padding:40px 0}
.gallery img.main{width:100%;height:460px;object-fit:contain;background:#f3f5f7;border:1px solid var(--line);border-radius:12px}
.thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.thumbs button{padding:0;border:2px solid transparent;border-radius:8px;background:#fff;cursor:pointer}
.thumbs button.is-active{border-color:var(--accent)}
.thumbs img{width:72px;height:72px;object-fit:cover;border-radius:6px}
.buybox h1{font-size:clamp(26px,3vw,36px)}
.spec-table{width:100%;border-collapse:collapse;font-size:14px}
.spec-table th,.spec-table td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left}
.spec-table th{width:38%;color:var(--muted);font-weight:600}

/* FAQ */
.faq details{border-bottom:1px solid var(--line);padding:12px 0}
.faq summary{cursor:pointer;font-weight:600}

/* Footer */
.footer{background:#0a1827;color:#c5d0db;padding:56px 0 20px}
.footer h4{color:#fff;font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.footer a{color:#c5d0db}
.footer a:hover{color:#fff}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px}
.legal{margin-top:32px;padding-top:16px;border-top:1px solid #1c3146;font-size:12px;color:#8aa0b3;display:flex;justify-content:space-between;gap:12px}

/* Float contact */
.float-contact{
  position:fixed;right:18px;bottom:18px;z-index:40;display:flex;flex-direction:column;gap:10px;
}
.float-btn{
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.18);color:#fff;
}
.float-btn.wa{background:var(--wa)}
.float-btn.mail{background:var(--accent)}
.float-btn svg{width:26px;height:26px;fill:currentColor}

/* Breadcrumb */
.crumbs{font-size:13px;color:var(--muted);padding:18px 0 0}
.crumbs a{color:var(--muted)}

/* Misc */
.prose{max-width:760px}
.prose p{color:#334155}
.note{font-size:13px;color:var(--muted)}
.tag{display:inline-block;background:var(--paper);border-radius:99px;padding:3px 10px;font-size:12px;margin-right:6px}
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.video-grid iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#000}
.map-embed{width:100%;height:320px;border:0;border-radius:12px}

@media (max-width:1100px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .mega-grid{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:1023px){
  .desktop-nav,.hdr-cta .btn-primary{display:none}
  .burger{display:inline-flex;align-items:center;justify-content:center;margin-left:auto}
  .hdr{height:64px}
  .logo img{height:40px}
  .split,.product-hero{grid-template-columns:1fr}
  .hero-copy{padding:80px 0 70px}
  .gallery img.main{height:320px}
  .float-contact{bottom:78px}
}
@media (max-width:720px){
  .grid-4,.grid-3,.grid-2,.video-grid,.foot-grid{grid-template-columns:1fr}
  .topbar-right{display:none}
  .hero{min-height:70vh}
  .section{padding:48px 0}
}
@media (min-width:1024px){
  .mobile-drawer,.drawer-overlay,.burger{display:none !important}
}

:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:72px;--text-xs:12px;--text-sm:14px;--text-md:16px;--text-lg:18px;--text-xl:24px;--text-2xl:32px;--ok:#14804a;--warn:#b54708;--chip:#eef3f8;--overlay:rgba(8,18,30,.56)}
@media (max-width:1440px){.mega-grid{gap:14px}}
@media (max-width:1280px){.nav-list>li>a,.mega-trigger{padding:8px 10px;font-size:14px}}
@media (max-width:900px){.hero-copy h1{font-size:30px}}
@media (max-width:640px){.hero-actions{flex-direction:column;align-items:flex-start}}
@media (max-width:480px){.logo img{height:36px}}
@media (min-width:1440px){.hero-copy{padding-top:128px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media print{.float-contact{display:none}}
