:root {
  --color-slate-dark: #0f172a;
  --color-blue: #0284c7;
  --color-blue-dark: #0369a1;
  --color-amber: #d97706;
  --color-bg-light: #f8fafc;
  --color-border: #e2e8f0;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", sans-serif;
  --container-max: 1140px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); background: #ffffff; color: var(--color-slate-dark); line-height: 1.8; font-size: 15px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: var(--container-max); margin: 0 auto; }

.jb-header { background: #ffffff; border-bottom: 2px solid var(--color-blue); position: sticky; top: 0; z-index: 1000; padding: 14px 0; }
.jb-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.jb-brand { white-space: nowrap; }
.jb-brand .brand-sub { font-size: 11px; color: #64748b; font-weight: 700; white-space: nowrap; }
.jb-brand .brand-name { font-size: 21px; font-weight: 900; color: var(--color-slate-dark); white-space: nowrap; }
.jb-nav { display: flex; list-style: none; gap: 22px; font-size: 13.5px; font-weight: 700; }
.jb-nav li, .jb-nav a { white-space: nowrap; }
.jb-nav a:hover { color: var(--color-blue); }
.jb-contact-box { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.jb-tel { font-size: 18px; font-weight: 900; color: var(--color-blue-dark); white-space: nowrap; }
.btn-jb-quote { background: var(--color-blue); color: #fff; padding: 9px 20px; font-size: 13px; font-weight: 800; border-radius: 4px; white-space: nowrap; display: inline-block; }
.btn-jb-quote:hover { background: var(--color-blue-dark); }

.hero-jb {
  background: linear-gradient(rgba(15,23,42,0.52), rgba(15,23,42,0.68)),
              url('https://images.unsplash.com/photo-1541888946425-d0fbb18086f6?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #fff; padding: 110px 0 90px; text-align: center;
}
.hero-jb .pill { display: inline-block; background: var(--color-amber); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 16px; border-radius: 20px; margin-bottom: 20px; white-space: nowrap; }
.hero-jb h1 { font-size: 40px; font-weight: 900; line-height: 1.35; margin-bottom: 20px; color: #fff; }
.hero-jb p.lead { font-size: 16px; color: #e2e8f0; max-width: 660px; margin: 0 auto 36px; line-height: 1.9; }

.sec-jb { padding: 80px 0; }
.sec-head-jb { text-align: center; margin-bottom: 50px; }
.sec-head-jb .sub { font-size: 11.5px; font-weight: 800; color: var(--color-blue); letter-spacing: 0.25em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.sec-head-jb h2 { font-size: 32px; font-weight: 900; }

.paint-spec-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.paint-spec-tab { background: #fff; border: 1px solid var(--color-border); padding: 9px 22px; font-size: 13.5px; font-weight: 700; border-radius: 4px; cursor: pointer; white-space: nowrap; transition: var(--transition); }
.paint-spec-tab.is-active, .paint-spec-tab:hover { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }

.paint-spec-panel { background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: 32px; max-width: 860px; margin: 0 auto; box-shadow: 0 4px 14px rgba(0,0,0,0.03); }

.jb-calc-card { background: var(--color-bg-light); border: 2px solid var(--color-blue); border-radius: 8px; padding: 40px; max-width: 820px; margin: 0 auto; }
.jb-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jb-form-group { display: flex; flex-direction: column; gap: 6px; }
.jb-form-group label { font-size: 13.5px; font-weight: 700; }
.jb-input { padding: 11px; border: 1px solid #cbd5e1; border-radius: 4px; font-family: inherit; font-size: 14px; background: #fff; width: 100%; }

.jb-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.5); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.jb-modal.is-active { opacity: 1; visibility: visible; }
.jb-modal-card { background: #fff; padding: 36px; border-radius: 8px; max-width: 520px; width: 90%; border-top: 6px solid var(--color-blue); position: relative; }
.jb-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 26px; cursor: pointer; }

.jb-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 24px; font-size: 13px; }
.jb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.jb-footer h4 { color: #fff; font-size: 14px; font-weight: 800; border-bottom: 1px solid #334155; padding-bottom: 8px; margin-bottom: 14px; }

@media (max-width: 900px) {
  .jb-nav, .jb-tel { display: none; }
  .jb-calc-grid { grid-template-columns: 1fr; }
  .jb-footer-grid { grid-template-columns: 1fr; }
  .jb-calc-card, .paint-spec-panel { padding: 24px 18px; }
}

@media (max-width: 768px) {
  .hero-jb { padding: 72px 0 60px; }
  .hero-jb h1 { font-size: 26px; }
  .sec-head-jb h2 { font-size: 24px; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; }
}
