/* ============================================
   8A31-54-1130.COM — Design System
   Navy + Amber Corporate Theme
   ============================================ */

:root {
  --navy:        #0B2545;
  --navy-mid:    #13375e;
  --navy-light:  #1a4a7a;
  --amber:       #E8720C;
  --amber-light: #f28c2e;
  --amber-pale:  #fff4e8;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --gray-800:    #1f2937;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-md:   0 8px 32px rgba(0,0,0,.14);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--amber); transition: color var(--transition); }
a:hover { color: var(--amber-light); }

/* ─── UTILITY ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1340px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 112px 0; }
.text-center { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--amber { background: var(--amber-pale); color: var(--amber); border: 1px solid #f5cfa0; }
.badge--navy { background: var(--navy); color: var(--white); }
.badge--green { background: #d1fae5; color: #065f46; }

/* ─── TOPBAR ─── */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .82rem; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; display:inline-flex; align-items:center; gap:5px; }
.topbar a:hover { color: var(--amber); }
.topbar svg { width:13px; height:13px; fill:currentColor; flex-shrink:0; }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-sep { opacity: .35; }

/* ─── HEADER ─── */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 26px; height: 26px; fill: var(--amber); }
.logo-copy { line-height: 1.2; }
.logo-name { font-size: 1rem; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.logo-sub { font-size: .72rem; color: var(--text-muted); font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; color: var(--gray-800); text-decoration: none; transition: all var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--gray-100); color: var(--navy); }
.nav-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px; display: none; }
.nav-dropdown:hover .dropdown-panel { display: block; }
.dropdown-panel a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 500; color: var(--gray-800); text-decoration: none; transition: all var(--transition); }
.dropdown-panel a:hover { background: var(--gray-100); color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; text-decoration: none; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--amber); color: var(--white); }
.btn--primary:hover { background: var(--amber-light); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,114,12,.35); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--wa { background: #25d366; color: var(--white); border-color: #25d366; }
.btn--wa:hover { background: #1db955; border-color: #1db955; color: var(--white); }
.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn--sm { padding: 7px 16px; font-size: .82rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ─── HERO ─── */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a4a7a 100%); position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.hero-eyebrow { margin-bottom: 16px; }
.hero h1 { font-size: 3rem; font-weight: 900; color: var(--white); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero h1 span { color: var(--amber); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(10px); }
.hero-card-title { font-size: .8rem; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); gap: 12px; }
.spec-row:last-child { border-bottom: none; }
.spec-label { font-size: .85rem; color: rgba(255,255,255,.6); font-weight: 500; }
.spec-value { font-size: .9rem; color: var(--white); font-weight: 700; text-align: right; }
.spec-value .tag { background: var(--amber); color: var(--white); padding: 2px 8px; border-radius: 4px; font-size: .75rem; }
.hero-trust { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.7); }
.trust-icon { color: var(--amber); font-size: 1rem; }

/* ─── SECTION HEADERS ─── */
.section-header { margin-bottom: 48px; }
.section-header .badge { margin-bottom: 12px; }
.section-header h2 { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.5px; line-height: 1.2; margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }
.section-header.text-center p { margin: 0 auto; }

/* ─── STATS BAR ─── */
.stats-bar { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 24px; border-right: 1px solid var(--gray-200); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ─── PRODUCT DETAIL ─── */
.product-grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.product-image-box { background: var(--gray-50); border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 48px; text-align: center; position: sticky; top: 88px; }
.product-image-icon { font-size: 7rem; opacity: .15; margin-bottom: 16px; }
.product-pn { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.product-type { font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.cert-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.product-content h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.3px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.product-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.product-content p { font-size: .97rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.product-content ul, .product-content ol { margin: 12px 0 14px 20px; }
.product-content li { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 8px; }
.product-content a[href^="http"] { font-weight: 600; }

/* ─── SPEC TABLE ─── */
.spec-table-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); margin-bottom: 24px; }
.spec-table-wrap table { width: 100%; border-collapse: collapse; }
.spec-table-wrap thead th { background: var(--navy); color: var(--white); padding: 12px 18px; font-size: .85rem; font-weight: 700; text-align: left; }
.spec-table-wrap tbody tr { border-bottom: 1px solid var(--gray-200); }
.spec-table-wrap tbody tr:last-child { border-bottom: none; }
.spec-table-wrap tbody tr:hover { background: var(--gray-50); }
.spec-table-wrap td { padding: 13px 18px; font-size: .92rem; }
.spec-table-wrap td:first-child { font-weight: 700; color: var(--navy); width: 38%; }
.spec-table-wrap td:last-child { color: var(--gray-600); }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.faq-q { padding: 18px 20px; font-weight: 700; font-size: .97rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); transition: background var(--transition); }
.faq-q:hover { background: var(--gray-50); }
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--amber); flex-shrink: 0; line-height: 1; }
.faq-a { padding: 0 20px 16px; font-size: .93rem; color: var(--gray-600); line-height: 1.75; display: none; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-item.open .faq-a { display: block; }

/* ─── SIDEBAR WIDGETS ─── */
.sidebar-stack { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; max-height: calc(100vh - 100px); overflow-y: auto; }
.widget { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.widget-header { background: var(--navy); color: var(--white); padding: 14px 20px; font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.widget-header--amber { background: var(--amber); }
.widget-body { padding: 20px; }
.widget-body p { font-size: .93rem; color: var(--gray-800); line-height: 1.7; margin-bottom: 14px; }
.widget-body strong { color: var(--navy); }
.widget-body .footer-contact-item { color: var(--gray-800); font-size: .93rem; }
.widget-body .footer-contact-item a { color: var(--navy); font-weight: 600; }
.widget-body .footer-contact-item a:hover { color: var(--amber); }
.widget .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.widget .btn:last-child { margin-bottom: 0; }
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cert-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gray-800); }
.cert-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; flex-shrink: 0; }
.compat-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.compat-list li { font-size: .9rem; color: var(--gray-800); padding: 8px 10px; border-radius: var(--radius-sm); background: var(--gray-50); }
.compat-list li strong { color: var(--navy); }
.related-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: all var(--transition); }
.related-link:hover { background: var(--amber-pale); border-color: var(--amber); color: var(--amber); }
.related-products { display: flex; flex-wrap: wrap; gap: 10px; }

/* ─── PRODUCT IMAGE ─── */
.product-img { width: 100%; border-radius: var(--radius); margin-bottom: 16px; }
.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.product-gallery img { width: 100%; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.product-gallery img:hover { border-color: var(--amber); }

/* ─── CONTACT FORM ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.form-message { padding: 14px 20px; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 600; margin-bottom: 16px; }
.form-message-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-input { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: .93rem; font-family: inherit; transition: border-color var(--transition); }
.form-input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,114,12,.12); }
.form-label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── FEATURES GRID ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--amber); }
.feature-icon { width: 48px; height: 48px; background: var(--amber-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* ─── RELATED PARTS ─── */
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.part-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); transition: all var(--transition); text-decoration: none; display: block; }
.part-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--amber); }
.part-card-num { font-size: 1.2rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.part-card-desc { font-size: .83rem; color: var(--text-muted); line-height: 1.5; }
.part-card-arrow { font-size: .8rem; color: var(--amber); font-weight: 700; margin-top: 12px; }

/* ─── CTA BAND ─── */
.cta-band { background: linear-gradient(135deg, var(--amber) 0%, #c85e00 100%); padding: 64px 0; }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,.85); margin-top: 8px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--white { background: var(--white); color: var(--amber); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); color: var(--amber); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ─── FOOTER ─── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-name, .footer-brand .logo-sub { color: var(--white); }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--amber); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--amber); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact-item a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ─── WA FLOAT ─── */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 999; text-decoration: none; transition: transform var(--transition); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ─── BREADCRUMB ─── */
.breadcrumb { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 10px 0; }
.breadcrumb ol { display: flex; align-items: center; gap: 6px; list-style: none; flex-wrap: wrap; }
.breadcrumb li { font-size: .82rem; color: var(--text-muted); }
.breadcrumb li a { color: var(--text-muted); text-decoration: none; }
.breadcrumb li a:hover { color: var(--amber); }
.breadcrumb-sep { color: var(--gray-400); }
.breadcrumb li:last-child { color: var(--navy); font-weight: 600; }

/* ─── HIGHLIGHT BOX ─── */
.info-box { background: var(--amber-pale); border-left: 4px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; margin: 20px 0; }
.info-box strong { color: var(--amber); }
.info-box p { font-size: .92rem; color: var(--gray-600); margin: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image-box { position: static; }
  .sidebar-stack { position: static; max-height: none; overflow-y: visible; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 56px 0; }
  .main-nav, .header-cta .btn--outline { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .topbar-left { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
}
