/* ===== NovaBESS — deep blue + gold brand ===== */
:root {
  --navy-1: #0a1f44;
  --navy-2: #0d2b5e;
  --navy-3: #143a7a;
  --gold: #d4af37;
  --gold-soft: #f0c75e;
  --ink: #1a2332;
  --muted: #5b6b82;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); line-height: 1.6; background: var(--bg); }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; font-size: 15px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #1a1300; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* NAV */
.nav { background: var(--navy-1); position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.logo span { color: var(--gold); }
.nav-links a { color: #cdd8ec; margin: 0 14px; font-size: 15px; }
.nav-links a:hover { color: #fff; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--navy-1), var(--navy-3)); color: #fff; padding: 72px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-block; background: rgba(212,175,55,.15); color: var(--gold-soft); border: 1px solid rgba(212,175,55,.4); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: 46px; line-height: 1.1; font-weight: 800; }
.lead { font-size: 18px; color: #d4dded; margin: 18px 0 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px; text-align: center; }
.stat strong { display: block; font-size: 30px; color: var(--gold-soft); font-weight: 800; }
.stat span { font-size: 13px; color: #b9c6dc; }

/* SECTION */
.section { padding: 64px 0; }
.section-dark { background: var(--navy-1); }
.section-title { font-size: 32px; font-weight: 800; text-align: center; }
.section-title.light { color: #fff; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 40px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; transition: .2s; background: #fff; display: block; }
.card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(10,31,68,.08); }
.card-icon { font-size: 30px; color: var(--gold); margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.card-link { color: var(--navy-3); font-weight: 600; font-size: 14px; }

/* FEATURES */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 22px; }
.feature h4 { color: var(--gold-soft); margin-bottom: 8px; font-size: 17px; }
.feature p { color: #c3cee0; font-size: 14px; }

/* CERTS */
.certs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.cert { border: 1px solid var(--line); border-radius: 8px; padding: 12px 20px; font-weight: 700; color: var(--navy-2); background: var(--bg-soft); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { font-size: 30px; margin-bottom: 12px; }
.cta p { color: #d4dded; margin-bottom: 24px; }

/* PAGE HEAD */
.page-head { background: var(--bg-soft); padding: 48px 0; text-align: center; }
.page-head h1 { font-size: 38px; font-weight: 800; color: var(--navy-1); }
.page-head p { color: var(--muted); margin-top: 10px; }

/* PRODUCT */
.product { padding: 56px 0; border-bottom: 1px solid var(--line); }
.product-alt { background: var(--bg-soft); }
.product-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.product-info h2 { font-size: 28px; color: var(--navy-1); margin-bottom: 14px; }
.product-info p { color: var(--muted); margin-bottom: 20px; max-width: 460px; }
.spec { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec th { background: var(--navy-1); color: #fff; width: 38%; font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.inquiry { display: flex; flex-direction: column; gap: 14px; }
.inquiry label { font-size: 14px; font-weight: 600; color: var(--navy-1); display: flex; flex-direction: column; gap: 6px; }
.inquiry input, .inquiry select, .inquiry textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; border-color: var(--gold); }
.contact-side { background: var(--bg-soft); border-radius: 14px; padding: 26px; }
.contact-side h3 { color: var(--navy-1); margin-bottom: 10px; }
.contact-side p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.channels { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.channels li { font-size: 14px; color: var(--ink); }
.channels a { color: var(--navy-3); font-weight: 600; }
.note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 12px; }

/* FOOTER */
.footer { background: var(--navy-1); color: #cdd8ec; padding: 44px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-note { font-size: 14px; margin-top: 8px; color: #9fb0cc; }
.footer-contact p { font-size: 14px; margin-bottom: 6px; }
.footer-contact a { color: var(--gold-soft); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px; font-size: 13px; color: #8b9bb8; }

/* ARTICLE / BLOG */
.article { padding: 52px 0; }
.article .wrap { max-width: 840px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.article h1 { font-size: 38px; line-height: 1.18; color: var(--navy-1); margin-bottom: 16px; }
.article .lead-p { font-size: 18px; color: #34465e; margin-bottom: 6px; }
.article h2 { font-size: 26px; color: var(--navy-1); margin: 38px 0 14px; }
.article h3 { font-size: 20px; color: var(--navy-2); margin: 28px 0 10px; }
.article p { font-size: 16px; color: #2a3548; margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { font-size: 16px; margin-bottom: 8px; color: #2a3548; }
.takeaway { background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 10px; padding: 20px 24px; margin: 26px 0; font-size: 17px; line-height: 1.6; color: var(--navy-1); font-weight: 500; }
.takeaway b { color: var(--navy-2); }
.ctable { width: 100%; border-collapse: collapse; margin: 22px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.ctable th { background: var(--navy-1); color: #fff; text-align: left; padding: 13px 15px; }
.ctable td { padding: 12px 15px; border-top: 1px solid var(--line); }
.ctable tr:nth-child(even) td { background: var(--bg-soft); }
.faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.faq-item h4 { color: var(--navy-1); font-size: 16px; margin-bottom: 6px; }
.faq-item p { margin: 0; font-size: 15px; color: var(--muted); }
.disclaimer { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 30px; padding-top: 16px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tag { background: rgba(20,58,122,.08); color: var(--navy-2); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; }

/* PRODUCT IMAGE GALLERY */
.product-visual { display: flex; flex-direction: column; gap: 18px; }
.product-hero-img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.product-hero-img img { display: block; width: 100%; height: auto; object-fit: contain; }
.product-thumbs { display: flex; gap: 12px; }
.thumb { width: 76px; height: 76px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; cursor: pointer; opacity: .7; transition: .2s; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-visual .no-photo { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 14px; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; padding: 24px; }
.product-visual .no-photo strong { font-size: 48px; color: var(--gold); margin-bottom: 8px; }
.photo-caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }

/* ABOUT PAGE */
.about-story { padding: 56px 0; background: var(--bg-soft); }
.about-story h2, .about-factory h2, .about-quality h2, .about-why h2 { font-size: 30px; color: var(--navy-1); margin-bottom: 18px; text-align: center; }
.about-story p { font-size: 16px; color: #2a3548; max-width: 760px; margin: 0 auto 14px; }
.about-factory { padding: 56px 0; background: #fff; }
.factory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.stat-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 28px; text-align: center; }
.stat-number { font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; }
.about-quality { padding: 56px 0; background: var(--bg-soft); }
.about-quality p { color: #2a3548; max-width: 760px; margin: 0 auto 14px; }
.cert-list { max-width: 760px; margin: 24px auto 0; list-style: none; }
.cert-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; font-size: 15px; color: #2a3548; }
.about-why { padding: 56px 0; background: #fff; }
.about-why .cards { grid-template-columns: repeat(2, 1fr); }

.btn-outline { background: transparent; color: var(--navy-1); border: 1px solid var(--navy-1); }
.btn-outline:hover { background: var(--navy-1); color: #fff; }

/* SECTION TITLES */
.section-subtitle { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 32px; }

/* PRODUCT GRID (C&I CARDS) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.product-card .badge { align-self: flex-start; margin-bottom: 10px; }
.product-card h3 { font-size: 20px; color: var(--navy-1); margin-bottom: 14px; }
.product-card img { width: 100%; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 16px; background: #fff; }
.product-card .spec { margin-bottom: 18px; flex: 1; }
.product-card .spec th { width: 42%; }

/* CATALOG GALLERY */
.catalog-grid { padding: 56px 0; background: var(--bg-soft); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.gallery-item a { display: block; }
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .2s; }
.gallery-item a:hover img { transform: scale(1.02); }
.gallery-item figcaption { padding: 12px 14px; font-size: 13px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }

/* CTA BUTTONS */
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* FOOTER LINKS */
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.8); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero-inner, .product-inner, .contact-grid, .cards, .features, .factory-grid, .about-why .cards, .product-grid, .gallery { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .nav-links { display: none; }
  .hero-stats { margin-top: 10px; }
  .article h1 { font-size: 30px; }
  .factory-grid { gap: 12px; }
  .product-inner { gap: 28px; }
  .product-hero-img { max-width: 420px; margin: 0 auto; }
  .section-title { font-size: 26px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
}
