:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#4b5563;
  --border:#e5e7eb;
  --soft:#f6f7f9;
  --brand:#d32f2f;
  --brand2:#b91c1c;
  --radius:22px;
  --max: 1120px;
  --shadow: 0 18px 40px rgba(17,24,39,.10);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Header */
header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand img{height:34px;width:auto}
.nav-links{
  display:flex; align-items:center; gap:10px;
  color: var(--muted);
  font-weight:900;
}
.nav-links a{padding:10px 12px;border-radius:14px}
.nav-links a:hover{background: rgba(17,24,39,.04); color: var(--text)}
.nav-cta{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 15px;
  border-radius:14px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight:900;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  border-color: rgba(211,47,47,.40);
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
}
.btn-ghost{background: transparent; border-color: transparent}
.menu-btn{display:none}
.mobile-panel{display:none;padding:10px 0 16px 0}
.mobile-panel a{
  display:block; padding:10px 12px; border-radius:14px;
  color: var(--muted); border:1px solid transparent;
}
.mobile-panel a:hover{background: rgba(17,24,39,.03); border-color: var(--border); color: var(--text)}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(17,24,39,.20);
  color: rgba(255,255,255,.92);
  font-weight:900;
  font-size:13px;
}

/* Fullscreen hero */
.hero-full{
  position:relative;
  height: 100vh;
  min-height: 680px;
  overflow:hidden;
  background: #0b0f19;
}
.hero-media{
  position:absolute; inset:0;
  background: center/cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}
.hero-shade{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(211,47,47,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55) 60%, rgba(0,0,0,.70));
}
.hero-inner{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding: 46px 0 46px 0;
}
.hero-copy{
  max-width: 62ch;
}
.hero-copy h1{
  color:#fff;
  font-size:56px;
  line-height:1.02;
  letter-spacing:-1.2px;
  margin: 14px 0 12px 0;
}
.hero-copy p{
  color: rgba(255,255,255,.86);
  font-size:18px;
  margin:0;
}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.hero-full .btn{background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.35)}
.hero-full .btn:hover{background: rgba(255,255,255,.98)}
.hero-full .btn-primary{background: linear-gradient(135deg, var(--brand), var(--brand2)); color:#fff; border-color: rgba(255,255,255,.15)}
.hero-float{
  position:absolute;
  right: 40px;
  bottom: -40px;
  width: min(520px, 38vw);
  z-index:2;
  opacity: .95;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
  pointer-events:none;
}

/* Sections */
.section{padding:30px 0}
.section h2{font-size:30px;margin:0 0 10px 0;letter-spacing:-.4px}
.section p.lead{color: var(--muted); margin:0; max-width: 85ch}
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:16px}
.card{
  border:1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 14px 26px rgba(17,24,39,.08);
}
.card h3{margin:0 0 8px 0; font-size:18px}
.small{font-size:12px;color:rgba(75,85,99,.95)}
.bullets{margin:0; padding-left:18px; color: var(--muted)}
.bullets li{margin:6px 0}

/* Featured products */
.products{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.product{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 14px 26px rgba(17,24,39,.08);
  display:flex;
  flex-direction:column;
}
.product .top{padding:14px 14px 0 14px}
.product h3{margin:0 0 6px 0; font-size:18px}
.meta{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  font-size:12px; font-weight:900;
  color: rgba(17,24,39,.85);
  border:1px solid var(--border);
  background: rgba(17,24,39,.02);
  border-radius: 999px;
  padding:6px 10px;
}
.specs{padding:12px 14px 14px 14px; color: var(--muted); font-size:13px}
.specs ul{margin:8px 0 0 18px;padding:0}
.specs li{margin:4px 0}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.gimg{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: 0 14px 26px rgba(17,24,39,.08);
  background:#fff;
}
.gimg img{width:100%; height: 260px; object-fit:cover}
.gcap{padding:12px 12px 14px 12px}
.gcap b{display:block}
.gcap span{color: var(--muted); font-size:13px}

/* Filters */
.filters button{
  appearance:none;
  border:1px solid var(--border);
  background: rgba(17,24,39,.02);
  color: rgba(17,24,39,.80);
  font-weight:900;
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}
.filters button:hover{background: rgba(17,24,39,.05)}
.filters button.active{
  background: rgba(211,47,47,.12);
  border-color: rgba(211,47,47,.25);
  color: var(--brand2);
}


/* Calendar */
.calendar{
  overflow:auto;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background:#fff;
  margin-top:14px;
  box-shadow: 0 14px 26px rgba(17,24,39,.08);
}
.calendar table{width:100%; border-collapse: collapse; min-width: 920px;}
.calendar th, .calendar td{
  padding:10px 10px;
  border-bottom:1px solid rgba(17,24,39,.06);
  text-align:left;
  font-size:13px;
  vertical-align:top;
}
.calendar th{
  color: var(--muted);
  font-weight:900;
  background: rgba(17,24,39,.02);
  position:sticky; top:0;
}
.cal-dot{
  display:inline-block;
  width:10px;height:10px;border-radius:999px;
  background: rgba(17,24,39,.12);
}
.cal-dot.on{background: rgba(211,47,47,.85)}
.pill{
  display:inline-block;
  padding:3px 8px;
  border-radius:999px;
  background: rgba(211,47,47,.10);
  color: var(--brand2);
  font-weight:900;
  font-size:11px;
  margin-right:8px;
}
.sub{font-size:12px;color:var(--muted); margin-top:4px}

/* Footer */
footer{
  margin-top:26px;
  border-top: 1px solid var(--border);
  background: rgba(17,24,39,.02);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:14px;
  padding:22px 0;
  color: var(--muted);
}
.footer-grid h4{color: var(--text); margin:0 0 10px 0}
hr.sep{border:none;border-top:1px solid rgba(17,24,39,.08); margin:0}

@media (max-width: 960px){
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
  .hero-copy h1{font-size:44px}
  .hero-float{display:none}
  .products{grid-template-columns:1fr;}
  .gallery{grid-template-columns:1fr;}
  .grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}

/* --- Home: transparent header + video hero --- */
body.home header{
  position:fixed;
  top:0; left:0; right:0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
body.home .brand img{
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
body.home .nav-links a{
  color: rgba(255,255,255,.92);
}
body.home .nav-links a:hover{
  background: rgba(255,255,255,.14);
  color: #fff;
}
body.home .menu-btn{
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
}
body.home .btn{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  color:#fff;
}
body.home .btn:hover{
  background: rgba(255,255,255,.16);
}
body.home .btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: rgba(255,255,255,.0);
  color:#fff;
}

body.home header.is-scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
body.home header.is-scrolled .nav-links a{
  color: var(--muted);
}
body.home header.is-scrolled .nav-links a:hover{
  background: rgba(17,24,39,.04);
  color: var(--text);
}
body.home header.is-scrolled .menu-btn{
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}
body.home header.is-scrolled .btn{
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
body.home header.is-scrolled .btn:hover{
  background: rgba(17,24,39,.04);
}

/* Mobile panel on home over video */
body.home .mobile-panel{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(229,231,235,.9);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
}

/* Video background */
.hero-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.08) translate(-2%, -2%);
  transform-origin: center;
  will-change: transform;
}

@media (max-width: 640px){
  .hero-media video{
    transform: scale(1.12) translate(-3%, -3%);
  }
}
