/* =================================================================
   JACO Digital — 2026 overlay
   Loaded AFTER the old Bootstrap/Pinegrow stack to restyle chrome
   (nav + footer + typography + buttons + palette).
   Body sections keep Bootstrap 3 markup untouched.
   ================================================================= */

:root {
    --ink:          #0f1e2e;
    --ink-soft:     #3b4a5a;
    --muted:        #6b7785;
    --line:         #e3e7ec;
    --accent:       #b8892a;
    --accent-ink:   #7a5a12;
    --accent-soft:  #fdf6e8;
    --footer-bg:    #0a1520;
    --footer-ink:   #8b97a4;
    --radius:       8px;
}

/* ------------ Typography ------------ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
}
h1, h2, h3, h4, .lead {
    font-family: 'Source Serif Pro', Georgia, serif !important;
    letter-spacing: -0.01em;
}
p, li, td, th, label, span:not(.j26-word span):not(.j26-reg) {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ------------ New Top Nav (replaces old Pinegrow navbar) ------------ */
.j26-top { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 100; }
.j26-top-inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.j26-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: 'Source Serif Pro', Georgia, serif; font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: -0.015em; }
.j26-logo:hover { text-decoration: none; color: var(--ink); }
.j26-mark { flex-shrink: 0; width: 34px; height: 34px; }
.j26-word { display: inline-flex; align-items: baseline; gap: 9px; }
.j26-jaco { color: var(--ink); }
.j26-digital { color: var(--ink); font-weight: 400; position: relative; }
.j26-rule { display: inline-block; width: 2px; height: 0.8em; background: var(--accent); align-self: center; }
.j26-reg { position: absolute; top: 0.05em; right: -0.75em; font-size: 0.38em; font-weight: 500; color: var(--accent); letter-spacing: 0; line-height: 1; }
.j26-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.j26-nav a { color: var(--ink-soft) !important; text-decoration: none !important; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px; transition: color 0.15s; background: transparent !important; padding: 0 !important; }
.j26-nav a:hover { color: var(--ink) !important; text-decoration: none !important; }
.j26-nav a.cta { color: var(--ink) !important; font-weight: 600; }
@media (max-width: 700px) { .j26-nav { gap: 14px; font-size: 14px; } }

/* ------------ New Footer (replaces old Pinegrow footer) ------------ */
.j26-foot { background: var(--footer-bg); color: var(--footer-ink); padding: 56px 24px 32px; margin-top: 48px; font-family: 'Inter', sans-serif; font-size: 14px; }
.j26-foot-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.j26-foot h4 { color: #fff; font-family: 'Inter', sans-serif !important; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 16px; }
.j26-foot ul { list-style: none; padding: 0; margin: 0; }
.j26-foot li { margin-bottom: 10px; }
.j26-foot a { color: var(--footer-ink); text-decoration: none; }
.j26-foot a:hover { color: #fff; text-decoration: underline; }
.j26-foot address { font-style: normal; color: var(--footer-ink); font-size: 13px; line-height: 1.55; }
.j26-foot-brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; margin-bottom: 16px; }
.j26-foot-word { display: inline-flex; align-items: baseline; gap: 9px; font-family: 'Source Serif Pro', Georgia, serif; font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -0.015em; }
.j26-foot-word .j26-jaco, .j26-foot-word .j26-digital { color: #fff; }
.j26-foot-word .j26-reg { color: var(--accent); }
.j26-foot p { color: var(--footer-ink); font-size: 14px; max-width: 320px; margin: 0 0 10px; }
.j26-foot-legal { border-top: 1px solid #1a2633; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; max-width: 1120px; margin: 0 auto; color: #4e5964; }
@media (max-width: 900px) { .j26-foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .j26-foot-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ------------ Button overrides (modernize Bootstrap 3 btn) ------------ */
.btn-primary, .bg-tamarind {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    border-radius: var(--radius) !important;
    font-weight: 600;
    transition: background 0.15s;
}
.btn-primary:hover, .bg-tamarind:hover {
    background: var(--accent-ink) !important;
    border-color: var(--accent-ink) !important;
}
.btn-info { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; border-radius: var(--radius) !important; }
.btn-info:hover { background: #1a2d42 !important; }
.btn {
    border-radius: var(--radius) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ------------ Palette overrides (tone down 2013 flat UI) ------------ */
.bg-deepocean { background: var(--ink) !important; }
.moonlight, .moonlight-hover { background: #fff !important; }
.moonlight a { color: var(--ink-soft) !important; }

/* ------------ Hide the old navbar so only .j26-top shows ------------ */
body > header.header-1,
body > .main-nav,
header.header-1,
nav.main-nav,
nav.navbar-fixed-top { display: none !important; }

/* ------------ Hide the old Pinegrow footer so only .j26-foot shows ------------ */
footer.jaco-footer:not(.j26-foot) { display: none !important; }
