:root {
  --bg: #0b1320;
  --card: #ffffff;
  --text: #152033;
  --muted: #5c677d;
  --line: #d8deea;
  --primary: #b58816;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(16, 27, 45, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: #f5f7fb;
}

body.lightbox-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 19, 32, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--white);
  font-weight: 800;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: .25rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: .55rem .75rem;
  font-size: 1.2rem;
}

.hero {
  background: radial-gradient(circle at top left, rgba(181,136,22,.25), transparent 35%), linear-gradient(135deg, #0b1320, #13233c);
  color: white;
  padding: 5rem 0 4rem;
}

.hero-grid,
.about-grid,
.cta-box,
.footer-wrap {
  display: grid;
  gap: 2rem;
}

.hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }

.eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin-bottom: .75rem;
}

.hero h1,
.section-heading h2,
.about-grid h2,
.cta h2 {
  margin: 0 0 1rem;
  line-height: 1.05;
}

.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
.lead { font-size: 1.1rem; color: rgba(255,255,255,.9); }

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary { background: var(--primary); color: #231a00; }
.btn-secondary { border: 1px solid rgba(255,255,255,.22); color: white; }

.hero-media img {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  min-height: 320px;
  object-fit: cover;
}

.section { padding: 5rem 0; }
.section-alt { background: #eef2f8; }

.section-heading { max-width: 760px; margin-bottom: 2rem; }

.section-heading p,
.about-grid p,
.cta p,
.product-card p,
.product-card li,
.info-card dd { color: var(--muted); line-height: 1.7; }

.stats { padding: 0 0 2rem; margin-top: -2rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-grid article,
.product-card,
.info-card,
.cta-box,
.video-card {
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.stats-grid article { padding: 1.4rem; text-align: center; }
.stats-grid strong { display: block; font-size: 1.5rem; margin-bottom: .35rem; }
.stats-grid span { color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.product-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card h3 { margin: 0 0 .75rem; font-size: 1.1rem; }
.product-card ul { margin: 0; padding-left: 1.15rem; }
.product-card.featured { background: linear-gradient(180deg, #fff8e6, #fff); }

.product-link {
  display: block;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(16, 27, 45, 0.16);
  border-color: rgba(181,136,22,.45);
}

.product-link-cta {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.page-hero {
  background: radial-gradient(circle at top left, rgba(181,136,22,.18), transparent 35%), linear-gradient(135deg, #f7f3e8, #eef2f8);
  padding: 4.5rem 0 3rem;
}

.page-hero-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}

.page-hero .lead { color: var(--muted); }

.page-hero-icon {
  display: flex;
  justify-content: center;
}

.page-hero-icon img {
  width: min(220px, 60%);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1.5rem;
  background: white;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.page-btn-dark {
  color: var(--text);
  border-color: rgba(21,32,51,.18);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.catalog-card-image {
  background: linear-gradient(180deg, #fbfcff, #f1f5fb);
  padding: 1rem;
}

.catalog-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 18px;
  background: white;
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(11, 19, 32, 0.88);
  z-index: 1000;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox-content {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.image-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.catalog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.catalog-card-body h3 {
  margin: 0 0 .75rem;
  font-size: 1.1rem;
}

.catalog-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-card-actions {
  display: none;
}

.btn-disabled {
  background: #eef2f8;
  color: var(--muted);
  cursor: default;
}

.about-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
.info-card { padding: 1.5rem; }
.info-card h3 { margin-top: 0; }
.info-card dl { margin: 0; display: grid; gap: 1rem; }
.info-card dt { font-weight: 700; margin-bottom: .2rem; }
.info-card dd { margin: 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-card span {
  display: block;
  padding: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.cta-box {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #0f1b2c, #172b49);
  color: white;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  background: #0b1320;
  color: rgba(255,255,255,.8);
}

.footer-wrap { grid-template-columns: 1fr auto; align-items: center; }

@media (max-width: 960px) {
  .hero-grid,
  .page-hero-content,
  .about-grid,
  .cta-box,
  .product-grid,
  .catalog-grid,
  .video-grid,
  .stats-grid,
  .footer-wrap { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: #12203a;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }
}