/* Best Century Enterprise site — palette: deep blue #4d617f / dark #2f3e52 / light #dceaf9 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Jost:wght@400;500;600;700&family=Noto+Serif+TC:wght@600;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: #32373c; line-height: 1.65; }
h1, h2, h3, h4 { line-height: 1.25; font-family: "Playfair Display", "Noto Serif TC", Georgia, serif; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; }

/* Topbar */
.topbar { background: #2f3e52; color: #cfd9e8; font-size: 13px; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 44px; padding: 8px 20px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #becdf0; }

/* Navbar */
.navbar { background: #fff; box-shadow: 0 2px 8px rgba(47,62,82,.08); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; justify-content: center; margin-left: 11px; line-height: 1.2; }
.logo-zh { font-family: "Noto Serif TC", "Microsoft JhengHei", serif; font-size: 21px; font-weight: 700; color: #2f3e52; letter-spacing: 3px; margin-right: -3px; line-height: 1.2; }
.logo-en { font-family: "Jost", Arial, sans-serif; font-size: 11px; font-weight: 600; color: #a3894f; letter-spacing: 1.2px; margin-right: -1.2px; margin-top: 3px; }
.nav-menu { display: flex; align-items: center; gap: 30px; margin-left: 0; padding-left: 18px; }
.nav-menu > a, .dropbtn { font-size: 15px; font-weight: 600; color: #3a4a5f; padding: 8px 0; }
.nav-menu > a:hover, .dropbtn:hover { color: #1c62b7; }
.nav-menu > a.active { color: #1c62b7; border-bottom: 2px solid #1c62b7; }
.btn-quote { background: #fff; color: #2f3e52 !important; border: 2px solid #2f3e52; padding: 9px 20px !important; border-radius: 3px; font-size: 13px !important; font-weight: 600; letter-spacing: 1.5px; transition: .2s; }
.btn-quote:hover { background: #2f3e52; color: #fff !important; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; top: 100%; left: -10px; background: #fff; min-width: 260px; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-radius: 4px; overflow: hidden; }
.dropdown-content a { display: block; padding: 11px 18px; font-size: 14px; color: #3a4a5f; border-bottom: 1px solid #f0f3f8; }
.dropdown-content a:hover { background: #dceaf9; color: #1c62b7; }
.dropdown:hover .dropdown-content { display: block; }

.hamburger { display: none; background: none; border: none; font-size: 26px; color: #2f3e52; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(rgba(37,50,70,.86), rgba(47,62,82,.88)), url("../images/banner-hero.jpg") center 60%/cover no-repeat #2f3e52; color: #fff; padding: 96px 0 100px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: rgba(190,205,240,.12); }
.hero::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(190,205,240,.08); }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 18px; }
.hero p { font-size: 19px; color: #dceaf9; margin-bottom: 30px; }

.btn-primary { display: inline-block; background: #1c62b7; color: #fff; padding: 14px 34px; border-radius: 4px; font-weight: 700; letter-spacing: .5px; transition: .2s; }
.btn-primary:hover { background: #1550a0; transform: translateY(-2px); }
.btn-outline { display: inline-block; border: 2px solid #1c62b7; color: #1c62b7; padding: 12px 30px; border-radius: 4px; font-weight: 700; letter-spacing: .5px; transition: .2s; }
.btn-outline:hover { background: #1c62b7; color: #fff; }

/* Features */
.features { padding: 70px 0 40px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 1px solid #e4ecf6; border-top: 4px solid #4d617f; border-radius: 6px; padding: 34px 28px; transition: .25s; }
.feature-card:hover { box-shadow: 0 12px 30px rgba(77,97,127,.15); transform: translateY(-4px); }
.feature-icon { font-size: 38px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; color: #2f3e52; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: #5a6a7d; }

/* Strengths */
.strengths { background: #dceaf9; padding: 80px 0; }
.strengths-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.strengths-text h2 { font-size: 32px; color: #2f3e52; margin-bottom: 18px; }
.strengths-text p { color: #41506a; margin-bottom: 18px; }
.check-list { list-style: none; margin-bottom: 26px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; color: #2f3e52; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #1c62b7; font-weight: 800; }
.strengths-panel { display: flex; flex-direction: column; gap: 16px; }
.stat-box { background: #fff; border-left: 5px solid #1c62b7; border-radius: 4px; padding: 20px 24px; display: flex; align-items: baseline; gap: 14px; }
.stat-num { font-size: 34px; font-weight: 800; color: #1c62b7; }
.stat-label { color: #5a6a7d; font-size: 14px; }

/* Products preview */
.products-preview { padding: 80px 0; }
.products-preview h2, .products-preview .section-sub { text-align: center; }
.products-preview h2 { font-size: 32px; color: #2f3e52; }
.section-sub { color: #5a6a7d; margin: 12px 0 40px; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.product-card { padding: 0 0 24px; overflow: hidden; }
.product-img { height: 190px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .35s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card h3, .product-card p { margin-left: 24px; margin-right: 24px; }
.product-card h3 { margin-top: 18px; }
.feat-cn { display: block; font-size: 13px; font-weight: 600; color: #a3894f; letter-spacing: 2px; margin-top: 2px; }
.product-card { background: #fff; border: 1px solid #e4ecf6; border-radius: 6px; padding: 30px 26px; transition: .25s; }
.product-card:hover { border-color: #1c62b7; box-shadow: 0 12px 30px rgba(28,98,183,.12); transform: translateY(-4px); }
.product-icon { font-size: 34px; margin-bottom: 14px; }
.product-card h3 { font-size: 17px; color: #2f3e52; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: #5a6a7d; }

/* CTA */
.cta { background: linear-gradient(120deg, #4d617f, #2f3e52); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta h2 { font-size: 26px; }

/* Footer */
.footer { background: #232c39; color: #9fb0c7; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; letter-spacing: 1px; }
.footer-col p, .footer-col span { display: block; font-size: 14px; margin-bottom: 8px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 8px; color: #9fb0c7; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid #35404f; margin-top: 40px; padding: 18px 0; font-size: 13px; color: #6d7f97; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, #2f3e52, #4d617f); color: #fff; padding: 58px 0; }
.page-hero h1 { font-size: 34px; }
.page-hero p { color: #becdf0; margin-top: 8px; }

/* Who we are */
.about-section { padding: 70px 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 46px; }
.about-grid h2 { color: #2f3e52; font-size: 28px; margin-bottom: 14px; }
.about-grid h3 { color: #2f3e52; font-size: 19px; margin: 22px 0 8px; }
.about-grid p { color: #4d5d70; margin-bottom: 12px; }
.team-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.team-card { background: #fff; border: 1px solid #e4ecf6; border-top: 4px solid #4d617f; border-radius: 6px; padding: 26px 22px; text-align: center; }
.team-card .avatar { width: 64px; height: 64px; border-radius: 50%; background: #dceaf9; color: #1c62b7; font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.team-card h3 { font-size: 17px; color: #2f3e52; }
.team-card .role { font-size: 13px; color: #1c62b7; font-weight: 600; margin-bottom: 10px; }
.team-card a { display: block; font-size: 13.5px; color: #5a6a7d; margin: 3px 0; word-break: break-all; }
.team-card a:hover { color: #1c62b7; }

/* Products page */
.product-section { padding: 56px 0; border-bottom: 1px solid #eef2f8; }
.product-section:nth-child(even) { background: #f5f9fd; }
.product-section h2 { color: #2f3e52; font-size: 26px; margin-bottom: 6px; }
.product-section .cat-sub { color: #5a6a7d; margin-bottom: 24px; max-width: 780px; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.item { background: #fff; border: 1px solid #e4ecf6; border-radius: 5px; padding: 14px 18px; font-size: 14.5px; color: #3a4a5f; display: flex; align-items: center; gap: 10px; }
.item::before { content: "▪"; color: #1c62b7; font-size: 18px; }

/* Contact */
.contact-section { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 46px; }
.contact-info h3 { color: #2f3e52; font-size: 18px; margin-bottom: 8px; }
.contact-info .info-line { display: flex; gap: 12px; margin: 18px 0; color: #4d5d70; }
.contact-info .info-line .ic { font-size: 20px; }
.quote-form { background: #fff; border: 1px solid #e4ecf6; border-radius: 6px; padding: 34px; }
.quote-form h2 { color: #2f3e52; margin-bottom: 20px; font-size: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; font-size: 13.5px; font-weight: 600; color: #3a4a5f; margin: 14px 0 6px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfd9e8; border-radius: 4px; font-size: 14.5px; font-family: inherit; color: #32373c; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: #1c62b7; box-shadow: 0 0 0 3px rgba(28,98,183,.12); }
.quote-form button { margin-top: 20px; width: 100%; background: #1c62b7; color: #fff; border: none; padding: 14px; font-size: 15px; font-weight: 700; letter-spacing: .5px; border-radius: 4px; cursor: pointer; }
.quote-form button:hover { background: #1550a0; }
.form-note { font-size: 12.5px; color: #8494a8; margin-top: 12px; text-align: center; }
.form-status { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 4px; font-size: 14px; }
.form-status.ok { display: block; background: #e3f7e8; color: #1d7a3a; border: 1px solid #b6e4c3; }
.form-status.err { display: block; background: #fdeaea; color: #b02a2a; border: 1px solid #f3c1c1; }

/* Responsive */
@media (max-width: 900px) {
  .logo-img { height: 46px; }
  .logo-text { margin-left: 10px; padding-left: 10px; }
  .logo-zh { font-size: 15px; letter-spacing: 5px; margin-right: -5px; }
  .logo-en { font-size: 9px; letter-spacing: 1.8px; margin-right: -1.8px; }
  .nav-menu { margin-left: 0; }
  .features-grid, .products-grid { grid-template-columns: 1fr; }
  .strengths-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .hamburger { display: block; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 18px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.12); gap: 16px; }
  .nav-menu.open { display: flex; }
  .dropdown-content { position: static; box-shadow: none; display: block; padding-left: 14px; }
}

/* product brochure sections */
.cat-cn { color: #a3894f; font-size: 1.1rem; font-weight: 700; letter-spacing: 3px; margin: 2px 0 8px; }
.prod-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.prod-cols h4 { color: #2f3e52; margin-bottom: 10px; font-size: 1rem; }
.pack-line { margin-top: 18px; color: #5a6b80; font-size: 0.92rem; }
.pack-line strong { color: #2f3e52; }
@media (max-width: 900px) { .prod-cols { grid-template-columns: 1fr; } }
