/* DIY Off Road — "engineering blueprint" footer.
   Grounded in the product (CAD / DXF cut files): a deep-navy technical sheet with a
   faint graph grid, corner registration ticks, mono "// " CAD-layer eyebrows, and the
   real category names as anchors. Brand blue = the site's #1979c3 / #4da3e0. */

@font-face {
    font-family: 'Oswald DIY';
    font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/oswald/oswald-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Oswald DIY';
    font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/oswald/oswald-600.woff2') format('woff2');
}

/* Break out of the old .footer.content width box so the footer is full-bleed navy */
.page-footer { background-color: #0a1326; padding: 0 !important; margin-top: 0; overflow-x: hidden; }
.page-footer .footer.content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.jadog-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    --ink: #0a1326;
    --line: rgba(122, 162, 224, .13);
    --brand: #1979c3;
    --bright: #4da3e0;
    --text: #aeb9cf;
    --head: #f3f6fc;
    --mono: #748bb0;
    position: relative;
    background-color: var(--ink);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text);
    margin-top: 0;
    border-top: 1px solid rgba(122, 162, 224, .22);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
/* corner registration ticks — technical-drawing frame */
.jadog-footer::before,
.jadog-footer::after {
    content: ""; position: absolute; top: 16px;
    width: 13px; height: 13px; border: 2px solid var(--brand); opacity: .85;
}
.jadog-footer::before { left: 20px; border-right: 0; border-bottom: 0; }
.jadog-footer::after  { right: 20px; border-left: 0; border-bottom: 0; }

.jadog-footer__inner {
    max-width: 1320px; margin: 0 auto;
    padding: 52px 34px 30px; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 40px;
}

/* brand block */
.jadog-footer__mark {
    font-family: 'Oswald DIY', 'Arial Narrow', sans-serif;
    font-weight: 600; text-transform: uppercase; letter-spacing: .055em;
    font-size: 27px; line-height: 1; color: var(--head); margin: 0 0 15px;
}
.jadog-footer__mark span { color: var(--bright); }
.jadog-footer__tag { font-size: 13.5px; line-height: 1.65; max-width: 34ch; margin: 0 0 16px; }
.jadog-footer__cad {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--mono); margin: 0 0 22px;
}
.jadog-footer__cad b { color: var(--bright); font-weight: 600; }
.jadog-footer__social { display: flex; gap: 11px; }
.jadog-footer__social a {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 8px; color: var(--text);
    transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.jadog-footer__social a:hover {
    color: #fff; border-color: var(--brand); background: rgba(25, 121, 195, .14); transform: translateY(-2px);
}
.jadog-footer__social svg { width: 18px; height: 18px; fill: currentColor; }

/* link columns */
.jadog-footer__col h3 {
    font-family: 'Oswald DIY', 'Arial Narrow', sans-serif;
    font-weight: 600; text-transform: uppercase; letter-spacing: .11em;
    font-size: 14px; color: var(--head); margin: 3px 0 17px;
}
.jadog-footer__col h3::before {
    content: "// "; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 400; color: var(--brand);
}
.jadog-footer__col ul { list-style: none; margin: 0; padding: 0; }
.jadog-footer__col li { margin: 0 0 11px; }
.jadog-footer__col a {
    color: var(--text); text-decoration: none; font-size: 13.5px; line-height: 1.4;
    display: inline-block; transition: color .18s ease, padding-left .18s ease;
}
.jadog-footer__col a:hover { color: var(--bright); padding-left: 5px; }

/* bottom bar */
.jadog-footer__bar {
    position: relative; z-index: 1; border-top: 1px solid var(--line);
    max-width: 1320px; margin: 0 auto; padding: 18px 34px 28px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 12px;
}
.jadog-footer__copy { color: var(--mono); font-family: ui-monospace, monospace; letter-spacing: .03em; }
.jadog-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.jadog-footer__legal a { color: var(--text); text-decoration: none; }
.jadog-footer__legal a:hover { color: var(--bright); }

@media (max-width: 1024px) {
    .jadog-footer__inner { grid-template-columns: repeat(3, 1fr); gap: 34px; }
    .jadog-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .jadog-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 40px 22px 24px; }
    .jadog-footer__brand { grid-column: 1 / -1; }
    .jadog-footer__bar { padding: 16px 22px 24px; }
    .jadog-footer__legal { margin-left: 0; }
    .jadog-footer::before { left: 14px; }
    .jadog-footer::after { right: 14px; }
}
