:root {
  --primary: #1a3a5c;
  --accent: #d4840b;
  --light: #f5f6f8;
  --text: #333;
  --white: #fff;
  --border: #e0e0e0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.75; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Header ── */
header { background: var(--white); border-bottom: 1px solid var(--border); padding: 0.75rem 0; position: sticky; top: 0; z-index: 100; }
.nav { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 0.75rem; }
.logo-area img { height: 40px; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: var(--primary); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }

/* ── Sections ── */
section { padding: 4rem 1.5rem; }
section h2 { text-align: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }
section h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--accent); margin: 0.75rem auto 0; }
section h2.left { text-align: left; }
section h2.left::after { margin-left: 0; }
.container { max-width: 1100px; margin: 0 auto; }
.bg-light { background: var(--light); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-primary h2 { color: var(--white); }

/* ── Video ── */
.video-section { background: var(--white); padding: 3rem 2rem; }
.video-section h2 { margin-bottom: 1.5rem; }
.prod-video { width: 100%; display: block; margin: 0 auto; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.12); }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%); color: var(--white); text-align: center; padding: 5rem 2rem; }
.hero h1 { font-size: 2.5rem; max-width: 800px; margin: 0 auto 1rem; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; }
.btn { display: inline-block; background: var(--accent); color: var(--white); padding: 0.7rem 1.8rem; border-radius: 4px; font-weight: 600; border: 2px solid var(--accent); }
.btn:hover { opacity: 0.9; text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ── Stats ── */
.stats-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; }
.stat { text-align: center; }
.stat .num { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat .label { font-size: 0.85rem; color: #666; margin-top: 0.2rem; }

/* ── Two Column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col p { margin-bottom: 1rem; }

/* ── Gallery ── */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery-3 { grid-template-columns: 1fr 1fr 1fr; }
.gallery img { border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

/* ── Image Stack (index page) ── */
.img-stack { display: flex; flex-direction: column; gap: 1rem; }
.img-stack .img-top { border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.img-row img { border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); aspect-ratio: 4/3; object-fit: cover; }

/* ── Cert PDF Cards ── */
.cert-pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1rem; min-height: 220px; transition: transform 0.2s, box-shadow 0.2s; }
.cert-pdf:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); text-decoration: none; }
.cert-pdf .pdf-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.cert-pdf .cert-label { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.cert-pdf .cert-download { font-size: 0.8rem; color: var(--accent); font-weight: 500; }

/* ── Product Cards ── */
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.product-card { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.product-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 0.3rem; }
.product-card .cas { color: var(--accent); font-weight: 600; font-size: 0.85rem; margin-bottom: 1rem; }
.product-card p { margin-bottom: 0.75rem; }
.product-card ul { list-style: none; margin-bottom: 1.5rem; }
.product-card li { padding: 0.35rem 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.product-card li::before { content: '▸ '; color: var(--accent); }
.product-card li:last-child { border: none; }

/* ── CTA ── */
.cta { text-align: center; padding: 3rem 1.5rem; }
.cta p { margin-bottom: 1.5rem; opacity: 0.9; }

/* ── Content Page ── */
.page-hero { background: var(--primary); color: var(--white); text-align: center; padding: 3rem 1.5rem; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { opacity: 0.85; margin-top: 0.5rem; }
.content-block { margin-bottom: 3rem; }
.content-block h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--light); }
.content-block ul { margin-left: 1.5rem; }
.content-block li { margin-bottom: 0.5rem; }

/* ── Tables ── */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.spec-table th, .spec-table td { padding: 0.75rem 1rem; border: 1px solid var(--border); text-align: left; }
.spec-table th { background: var(--light); font-weight: 600; color: var(--primary); width: 200px; }

/* ── Cert Grid ── */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cert-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); position: relative; }
.cert-card::after { content: ''; position: absolute; inset: 0; z-index: 1; }  /* invisible overlay — block drag/drop */
.cert-card .cert-label { padding: 0.75rem 1rem; font-weight: 600; color: var(--primary); font-size: 0.85rem; }
.cert-img { width: 100%; max-height: 220px; object-fit: contain; display: block; background: #fafafa; pointer-events: none; user-select: none; -webkit-user-select: none; }

/* ── Verify Items ── */
.verify-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.verify-item { background: var(--white); padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.verify-item h4 { color: var(--primary); margin-bottom: 0.5rem; }
.verify-item p { font-size: 0.9rem; color: #555; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { color: var(--primary); margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.75rem; }
.contact-info strong { color: var(--accent); display: inline-block; min-width: 100px; }
.qr-box { text-align: center; margin-top: 2rem; }
.qr-box img { width: 200px; border-radius: 8px; }

/* ── Footer ── */
footer { background: #0d2137; color: rgba(255,255,255,0.7); padding: 2rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid strong { color: var(--white); display: block; margin-bottom: 0.5rem; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-bottom { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

@media (max-width: 768px) {
  .hero { padding: 3rem 1.2rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .video-section { padding: 2rem 1rem; }
  .prod-video { border-radius: 8px; }
  .img-stack .img-top { border-radius: 6px; }
  .img-row { grid-template-columns: 1fr 1fr; }
  .two-col, .product-cards, .contact-grid, .footer-grid, .cert-grid, .verify-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats-row { gap: 1.5rem; }
}
