/* ============================================
   Penn Power Group — Shared Styles (v2)
   ============================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.2; }

/* ---------- Design tokens ---------- */
:root {
    --color-red: #e72326;
    --color-red-dark: #c41e21;
    --color-red-darker: #9c1518;
    --color-black: #0a0a0a;
    --color-header-bg: #1f1f1f;
    --color-gray-900: #1a1a1a;
    --color-gray-800: #333;
    --color-gray-700: #4a4a4a;
    --color-gray-600: #666;
    --color-gray-500: #797979;
    --color-gray-400: #999;
    --color-gray-300: #cccccc;
    --color-gray-200: #e5e5e5;
    --color-gray-100: #eeeeee;
    --color-white: #fff;

    --container: 1280px;
    --shadow-card: 0 1px 4px rgba(0, 0, 0, .1), 0 4px 12px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .15);
    --radius-pill: 4px;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Skip link ---------- */
.skip-link {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem;
    text-align: center;
    background: #000;
    color: #fff;
    transform: translateY(-100%);
    transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .65rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1.3;
    background: none;
    font-size: .95rem;
    border-radius: var(--radius-pill);
}
.btn-red {
    background: var(--color-red);
    color: #fff;
    border-color: var(--color-red);
}
.btn-red:hover { background: var(--color-red-dark); border-color: var(--color-red-dark); }
.btn-outline {
    border-color: var(--color-red);
    color: var(--color-red);
    background: transparent;
}
.btn-outline:hover { background: var(--color-red); color: #fff; }
.btn-outline-white {
    border-color: #fff;
    color: #fff;
}
.btn-outline-white:hover { background: #fff; color: #000; }
.btn-large { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-small { padding: .45rem 1.1rem; font-size: .85rem; }
.btn-block { display: block; width: 100%; }
.btn-pill { border-radius: 999px; padding-left: 1.5rem; padding-right: 1.5rem; }

/* ---------- Top utility bar (Employment / Visit Locations) ---------- */
.top-bar {
    background: #000;
    padding: .65rem 1rem;
    text-align: center;
}
.top-bar .btn {
    margin: 0 .25rem;
    padding: .45rem 1.4rem;
    border-radius: 3px;
    font-size: .9rem;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--color-header-bg);
    color: #fff;
    position: relative;
    z-index: 30;
}

.header-top {
    background: var(--color-header-bg);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-top-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: .65rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    font-size: .9rem;
}
.header-top-inner a { color: #fff; }
.header-top-inner a:hover { color: var(--color-red); }
.header-top-inner .divider { color: rgba(255,255,255,.3); }
.header-top-inner .cart-icon { display: inline-flex; align-items: center; gap: .35rem; position: relative; }
.header-top-inner .cart-badge {
    background: var(--color-red);
    color: #fff;
    border-radius: 50%;
    width: 18px; height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
}

.header-main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 100px;
}
.brand img { height: 70px; width: auto; }
.brand-fallback {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}
.brand-fallback .penn {
    color: var(--color-red);
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -.02em;
    font-style: italic;
}
.brand-fallback .power {
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .02em;
    margin-top: -.4rem;
}
.brand-fallback .fleet {
    color: #fff;
    font-size: .65rem;
    letter-spacing: .35em;
    margin-top: .2rem;
    opacity: .8;
}

/* ---------- Navigation ---------- */
.main-nav { flex: 1; }
.main-nav > ul {
    display: flex;
    justify-content: center;
    gap: .5rem;
}
.main-nav > ul > li {
    position: relative;
}
.main-nav > ul > li > a {
    display: block;
    padding: 1.5rem 1rem;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    transition: color .15s;
    position: relative;
}
.main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1.1rem;
    height: 2px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after,
.main-nav > ul > li.has-dropdown:hover > a::after {
    transform: scaleX(1);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
    color: #fff;
}

.main-nav .has-dropdown > a::before {
    content: "›";
    display: inline-block;
    transform: rotate(90deg);
    font-size: .7rem;
    margin-right: .35rem;
    color: var(--color-red);
    font-weight: 900;
    vertical-align: middle;
}

.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: #1a1a1a;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .15s, transform .15s, visibility .15s;
    padding: .5rem 0;
    z-index: 50;
    border-top: 3px solid var(--color-red);
}
.main-nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown li a {
    display: block;
    padding: .6rem 1.25rem;
    color: #1a1a1a;
    font-size: .9rem;
    border-left: 3px solid transparent;
    transition: all .12s;
}
.main-nav .dropdown li a:hover {
    background: #f8f8f8;
    color: var(--color-red);
    border-left-color: var(--color-red);
}

.header-cta { display: flex; align-items: center; gap: 1rem; }

/* ---------- Mobile menu ---------- */
.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: .5rem;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: transform .2s;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    background: #000;
    color: #fff;
    padding: .85rem 0;
    font-size: .9rem;
}
.breadcrumbs a { color: rgba(255,255,255,.85); text-decoration: underline; }
.breadcrumbs a:hover { color: var(--color-red); }
.breadcrumbs .sep { padding: 0 .5rem; opacity: .5; }

/* ---------- Page banner ---------- */
.page-banner {
    min-height: 250px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    color: #fff;
}
.page-banner h1 {
    font-weight: 300;
    font-size: clamp(2rem, 7vw, 3.75rem);
    margin: 0;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: #1a1a1a;
    color: #1a1a1a;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(.85) brightness(.9);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(220,220,220,.4) 0%, rgba(220,220,220,.1) 60%, rgba(0,0,0,.0) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0 6rem;
}
.hero-content {
    background: rgba(255,255,255,.92);
    padding: 2.5rem 2.75rem;
    max-width: 720px;
    box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
.hero-content h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}
.hero-subhead {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    color: #333;
    line-height: 1.5;
}

/* Manufacturer logos overlay on hero */
.hero-brands {
    position: absolute;
    top: 50%;
    right: max(1.25rem, calc((100vw - var(--container)) / 2 + 1.25rem));
    transform: translateY(-50%);
    display: flex;
    gap: 3rem;
    align-items: center;
    z-index: 2;
    color: #fff;
}
.hero-brands .brand-text {
    text-align: center;
    font-weight: 700;
    line-height: 1;
}
.hero-brands .brand-text .name {
    font-size: 1.6rem;
    letter-spacing: .02em;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero-brands .brand-text .sub {
    font-size: .65rem;
    letter-spacing: .25em;
    margin-top: .35rem;
    opacity: .9;
    font-weight: 500;
}

/* ---------- Emergency callout ---------- */
.emergency-card {
    background: #000;
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
    max-width: 660px;
}
.emergency-card .em-logo {
    flex-shrink: 0;
    text-align: center;
    line-height: 1;
}
.emergency-card .em-logo .penn-em {
    color: var(--color-red);
    font-weight: 900;
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: -.02em;
}
.emergency-card .em-logo .em-svc {
    font-size: .55rem;
    letter-spacing: .25em;
    margin-top: .15rem;
    color: #fff;
}
.emergency-card .em-logo .em-label {
    font-size: .75rem;
    margin-top: .5rem;
    color: #fff;
}
.emergency-card .em-content { flex: 1; }
.emergency-card .em-phone {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .15rem;
    color: var(--color-red);
}
.emergency-card .em-phone-link { color: var(--color-red); }
.emergency-card p {
    font-size: .95rem;
    margin: 0 0 1rem;
    line-height: 1.4;
    max-width: 380px;
}
.emergency-card .btn {
    color: var(--color-red);
    border-color: var(--color-red);
}

.hero-emergency {
    position: absolute;
    right: max(1.25rem, calc((100vw - var(--container)) / 2 + 1.25rem));
    bottom: -2rem;
    z-index: 4;
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-tight { padding: 2rem 0; }
.section-title {
    font-weight: 300;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.section-title strong { font-weight: 700; }

.center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---------- Card grid ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }

.product-card {
    background: #fff;
    display: flex;
    flex-direction: column;
}
.product-card .img-wrap {
    background: #000;
    border-radius: 50%;
    width: 80%;
    aspect-ratio: 1;
    margin: 0 auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card .img-wrap img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}
.product-card .body {
    padding: 1.5rem;
    margin-top: -1.5rem;
    background: #fff;
    box-shadow: var(--shadow-card);
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
}
.product-card .title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .75rem;
}
.product-card p {
    font-size: .95rem;
    color: var(--color-gray-700);
    margin: 0 0 1.25rem;
    line-height: 1.5;
}
.product-card .btn { margin-top: auto; }

/* ---------- Service cards (overlay style) ---------- */
.service-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #000;
    box-shadow: var(--shadow-lg);
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .5;
    z-index: 0;
    transition: opacity .25s, transform .4s;
}
.service-card:hover::before { opacity: .65; transform: scale(1.04); }
.service-card > * { position: relative; z-index: 1; }
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.service-card p {
    font-size: .9rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    max-width: 240px;
}
.service-card a {
    color: var(--color-red);
    font-weight: 700;
    margin-top: auto;
}
.service-card a:hover { color: #fff; }
.service-card a::after { content: " ›"; margin-left: .25rem; }

/* ---------- Side-by-side panel ---------- */
.split-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}
.split-section.reverse { grid-template-columns: 1fr 2fr; }

/* ---------- Manufacturer band ---------- */
.brands-band {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0;
    color: #fff;
    text-align: center;
}
.brands-band h2 {
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 2.5rem;
}
.brands-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin-bottom: 2.5rem;
}
.brands-row .brand-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: .04em;
    opacity: .9;
}
.brands-row .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    width: 100%;
    max-width: 220px;
    padding: 1rem;
    opacity: .9;
    transition: opacity .15s, transform .15s;
}
.brands-row .brand-logo:hover {
    opacity: 1;
    transform: scale(1.04);
}
.brands-row .brand-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* makes dark logos render white on the dark background */
}

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.news-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--color-gray-200); }
.news-card .thumb { width: 160px; flex-shrink: 0; background: #1a1a1a; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 1rem; flex: 1; }
.news-card .date { color: var(--color-red); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; margin-bottom: .5rem; }
.news-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.news-card p { color: var(--color-gray-500); font-size: .9rem; margin: 0 0 .75rem; line-height: 1.5; }
.news-card a { color: var(--color-red); font-weight: 700; font-size: .9rem; }

.news-feature { background: #fff; border: 1px solid var(--color-gray-200); overflow: hidden; }
.news-feature .img { aspect-ratio: 16/9; background: #1a1a1a; }
.news-feature .img img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .body { padding: 1.25rem; }

/* ---------- CTA banner ---------- */
.cta-band {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-band-inner h2 { font-weight: 300; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }

/* ---------- Locations ---------- */
.locations-page-header {
    position: relative;
    padding: 3rem 0 2rem;
}
.locations-page-header h1 {
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0;
}
.locations-page-header .hero-emergency {
    position: absolute;
    top: 2rem;
    right: 1.25rem;
    bottom: auto;
}

.location-grid {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) 1fr;
    gap: 0;
    background: var(--color-gray-200);
    margin-top: 1rem;
}
.location-list {
    background: #f5f5f5;
    padding: 1.5rem;
    max-height: 760px;
    overflow-y: auto;
}
.location-toggle { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.location-toggle label { cursor: pointer; }
.location-toggle input { display: none; }
.location-toggle label span {
    display: inline-block;
    padding: .5rem 1.25rem;
    border: 1.5px solid var(--color-red);
    color: var(--color-red);
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s;
}
.location-toggle input:checked + span,
.location-toggle label:hover span {
    background: var(--color-red);
    color: #fff;
}

.location-card {
    background: #fff;
    border: 1px solid var(--color-gray-300);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.location-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-black);
}
.location-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.location-card-info { padding-right: 1rem; border-right: 1px solid var(--color-gray-300); }
.location-card-info > div { margin-bottom: .65rem; display: flex; gap: .5rem; align-items: flex-start; }
.location-card-info .icon { color: var(--color-gray-700); flex-shrink: 0; padding-top: 2px; width: 18px; text-align: center; }
.location-card-info p { margin: 0; line-height: 1.4; font-size: .9rem; }
.location-card-info a { color: var(--color-red); font-weight: 700; text-decoration: underline; }
.location-card-info .btn-row {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .5rem;
    align-items: flex-start;
}
.location-card-info .btn-row .btn {
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .85rem;
    font-weight: 600;
}
.location-card-meta > div { padding: .5rem 0; }
.location-card-meta > div + div { border-top: 1px solid var(--color-gray-300); }
.location-card-meta p { margin: .15rem 0; font-size: .9rem; }
.location-card-meta .label { font-weight: 700; }

.location-map-area {
    background: #f0f0f0;
    min-height: 760px;
    height: 100%;
    width: 100%;
    position: relative;
}
.location-map-area:empty::before {
    content: "Loading map…";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    font-style: italic;
}

/* ---------- Forms ---------- */
.form-section { background: #1a1a1a; color: #fff; padding: 4rem 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.form-grid h2 {
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.form-grid h3 { font-weight: 300; font-size: 2rem; text-align: center; margin-bottom: 1.5rem; }

.field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.field label { font-size: .9rem; margin-bottom: .35rem; color: rgba(255,255,255,.9); }
.field .required { color: var(--color-red); }
.field input,
.field select,
.field select option {
    color: #1a1a1a;
    background: #fff;
}
.field textarea {
    padding: .7rem .9rem;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 3px;
    transition: border-color .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 0; border-color: var(--color-red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.form-light { background: #fff; color: #1a1a1a; }
.form-light .field input,
.form-light .field select,
.form-light .field textarea {
    background: #fff;
    border-color: var(--color-gray-300);
    color: #1a1a1a;
}
.form-light .field input::placeholder,
.form-light .field textarea::placeholder { color: var(--color-gray-400); }
.form-light .field label { color: #1a1a1a; }

.form-divider {
    margin: 2.5rem 0 1.5rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--color-red);
    font-size: 1.25rem;
    font-weight: 600;
}

.checkbox-row { display: flex; align-items: flex-start; gap: .75rem; margin: 1rem 0; }
.checkbox-row input { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: #1a1a1a; padding: 3rem 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--color-gray-300);
    padding-top: 3rem;
}
.footer-grid h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 1rem;
}
.footer-grid ul li { margin-bottom: .5rem; }
.footer-grid a:hover { text-decoration: underline; color: var(--color-red); }
.footer-brand img { max-height: 60px; margin-bottom: 1rem; }
.footer-brand .brand-fallback .penn { font-size: 2rem; }
.footer-brand .brand-fallback .power { color: #1a1a1a; font-size: .95rem; }
.footer-brand .brand-fallback .fleet { color: #1a1a1a; }
.footer-brand address { font-style: normal; font-size: .9rem; line-height: 1.6; margin: 1rem 0; }
.newsletter-form { display: flex; gap: .5rem; margin-bottom: 1rem; }
.newsletter-form input {
    flex: 1;
    padding: .65rem .9rem;
    border: 1px solid var(--color-gray-300);
    background: var(--color-gray-100);
}
.newsletter-form button {
    width: 44px;
    height: 44px;
    background: var(--color-red);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: background .15s;
    border-radius: 3px;
}
.newsletter-form button:hover { background: var(--color-red-dark); }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gray-300);
    margin-right: .5rem;
    border-radius: 3px;
    transition: all .15s;
    font-weight: 700;
    font-size: .8rem;
}
.social-links a:hover { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.copyright {
    text-align: center;
    padding: 1rem;
    font-size: .85rem;
    border-top: 1px solid var(--color-gray-200);
}
.copyright a { text-decoration: underline; }

/* ---------- Location detail page ---------- */
.location-detail {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 2rem;
    align-items: start;
}
.location-detail.location-detail-2col {
    grid-template-columns: 240px 1fr;
}

.location-rail {
    background: #fff;
    padding: 1.5rem 0;
    position: sticky;
    top: 1rem;
}
.location-rail .rail-heading {
    font-size: 1.4rem;
    font-weight: 300;
    padding: 0 1rem 1rem;
    margin: 0;
    border-bottom: 2px solid var(--color-red);
}
.location-rail .rail-nav { display: flex; flex-direction: column; }
.location-rail .rail-nav a {
    display: block;
    padding: .65rem 1rem;
    font-weight: 600;
    font-size: .92rem;
    color: var(--color-gray-800);
    border-left: 3px solid transparent;
    transition: all .12s;
}
.location-rail .rail-nav a:hover {
    background: #f5f5f5;
    color: var(--color-red);
    border-left-color: var(--color-red);
}
.location-rail .rail-nav a.active {
    background: var(--color-gray-800);
    color: #fff;
    border-left-color: var(--color-red);
}

.location-main { display: flex; flex-direction: column; gap: 2rem; }

.location-detail-card {
    background: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.location-detail-name {
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 1.5rem;
    color: var(--color-gray-900);
}

.location-detail-body {
    margin-top: 1.5rem;
    line-height: 1.65;
    color: var(--color-gray-800);
}
.location-detail-body p { margin: 0 0 1rem; }
.location-detail-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--color-gray-900);
}
.location-detail-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.5rem 0 .75rem;
    color: var(--color-gray-900);
}
.location-detail-body .service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.location-detail-body .service-list li {
    padding: .35rem 0 .35rem 1.5rem;
    position: relative;
}
.location-detail-body .service-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-weight: 900;
}
.location-detail-body .link-red,
.location-detail-body a {
    color: var(--color-red);
    font-weight: 600;
    text-decoration: underline;
}
.location-detail-body .link-red:hover,
.location-detail-body a:hover { color: var(--color-red-dark); }
.location-detail-body hr {
    border: 0;
    border-top: 1px solid var(--color-gray-200);
    margin: 1.5rem 0;
}

.location-detail-map { padding: 1rem; }
.map-embed-wrap {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    background: #f0f0f0;
}
.map-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.manager-block { padding: 0; }
.manager-block .manager-name {
    font-size: 1.1rem;
    margin: 0 0 .25rem;
    color: var(--color-gray-900);
}
.manager-block .manager-title {
    font-weight: 700;
    font-size: .95rem;
    margin: 0;
    color: var(--color-gray-700);
}

/* ---------- Page banner with subhead ---------- */
.page-banner-tall {
    min-height: 320px;
    padding: 3rem 0;
}
.page-banner-tall h1 { margin-bottom: 1rem; }
.page-banner-sub {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    line-height: 1.4;
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
}

/* ---------- Intro split (2-col, content + callout) ---------- */
.intro-split {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2.5rem;
    align-items: end;
}
.intro-head {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1.25rem;
    line-height: 1.15;
}
.intro-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin: 0 0 1.25rem;
}

/* ---------- Check list (red checkmarks) ---------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.check-list li {
    padding: .4rem 0 .4rem 1.75rem;
    position: relative;
    font-weight: 600;
    color: var(--color-gray-800);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .4rem;
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.1rem;
}

/* ---------- Callout card (white panel with shadow) ---------- */
.callout-card {
    background: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}
.callout-card .callout-head {
    color: var(--color-red);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 0 1rem;
    line-height: 1.3;
}
.callout-card p {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-gray-800);
    margin: 0;
}

/* ---------- Split-background banner image ---------- */
.split-bg-band {
    background: linear-gradient(to bottom, #ececec 50%, #fff 50%);
    padding: 0;
}
.banner-image {
    display: block;
    margin: 0 auto;
    max-height: 320px;
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* ---------- Emphasized numbered steps ---------- */
.emphasized-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 2.5rem auto 0;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.emphasized-steps li {
    counter-increment: step;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-left: 4px solid var(--color-red);
    box-shadow: var(--shadow-card);
}
.emphasized-steps li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}
.emphasized-steps li span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-gray-900);
    line-height: 1.35;
}

/* ---------- Parts grid (manufacturer pages) ---------- */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.part-card {
    display: flex;
    flex-direction: column;
    background: var(--color-gray-200);
    text-align: center;
    color: var(--color-gray-900);
    transition: transform .15s, box-shadow .15s, background .15s;
    overflow: hidden;
}
.part-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    background: #fff;
}
.part-card-img {
    background: #d4d4d4;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-500);
}
.part-card-body {
    padding: 1.25rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.part-card-body h5 {
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 .75rem;
    min-height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}
.part-card-link {
    color: var(--color-red);
    font-weight: 700;
    font-size: .9rem;
    margin-top: auto;
}

/* ---------- Page banner with floating emergency card ---------- */
.page-banner-with-card {
    position: relative;
}
.page-banner-with-card h1,
.page-banner-with-card .page-banner-sub {
    max-width: min(55%, 720px);
}
.hero-emergency-banner {
    bottom: -2.5rem;
}

/* ---------- Manufacturer banner cards (stacked, full-width) ---------- */
.manufacturer-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.manufacturer-banner {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    color: #1a1a1a;
    box-shadow: var(--shadow-card);
    transition: transform .15s, box-shadow .15s;
}
.manufacturer-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.manufacturer-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.manufacturer-banner-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);
    margin: 2rem 2.5rem 2rem 0;
    padding: 2.5rem 3rem;
    max-width: 760px;
    text-align: center;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    min-height: 200px;
}
.manufacturer-banner-logo {
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}
.manufacturer-banner-logo .logo-text {
    line-height: 1.1;
}
.manufacturer-banner-logo img {
    max-height: 70px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.manufacturer-banner-content p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    color: var(--color-gray-800);
}
.manufacturer-banner-content .btn {
    justify-self: center;
}

/* ---------- Category grid (Shop by Category) ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.category-card {
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 140px;
    transition: transform .15s, box-shadow .15s;
}
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-gray-900);
    line-height: 1.3;
}
.category-shop-link {
    color: var(--color-red);
    font-weight: 700;
    font-size: .95rem;
    margin-top: auto;
    transition: color .15s;
}
.category-shop-link:hover { color: var(--color-red-dark); }

/* ---------- Careers page ---------- */
.careers-video {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    overflow: hidden;
    background: #1a1a1a;
}
.careers-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.7);
}
.careers-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 0 0 0 rgba(231, 35, 38, .5);
    transition: transform .2s, box-shadow .2s;
}
.careers-video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 12px rgba(231, 35, 38, .25);
}
.careers-video-play span { margin-left: 4px; }

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.testimonial-carousel {
    position: relative;
    background: #f5f5f5;
    padding: 2.5rem 2.5rem 4rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial {
    display: none;
    margin: 0;
    padding: 0;
}
.testimonial.active { display: block; }
.testimonial p {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-gray-800);
    margin: 0 0 1.25rem;
}
.testimonial cite {
    display: block;
    font-style: normal;
    text-align: right;
    font-size: .95rem;
    color: var(--color-gray-700);
}
.testimonial cite strong {
    text-transform: uppercase;
    color: var(--color-gray-900);
}
.testimonial-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: .5rem;
}
.testimonial-controls button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-red);
    background: transparent;
    color: var(--color-red);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all .15s;
}
.testimonial-controls button:hover {
    background: var(--color-red);
    color: #fff;
}

.benefits-banner {
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: #fff;
}
.benefits-banner .section-title strong { color: #fff; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #fff;
}
.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, .12);
    border: 2px solid var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.benefit-item p {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

/* Jobs list */
.jobs-filter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.jobs-filter-label {
    font-weight: 700;
    margin: 0;
}
.jobs-filter-dropdown { position: relative; }
.jobs-filter-dropdown summary {
    background: var(--color-red);
    color: #fff;
    padding: .5rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 3px;
}
.jobs-filter-dropdown summary::-webkit-details-marker { display: none; }
.jobs-filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 1rem;
    z-index: 30;
    border-top: 3px solid var(--color-red);
}
.jobs-filter-panel .filter-clear {
    display: block;
    text-align: right;
    color: var(--color-red);
    font-weight: 600;
    margin-bottom: .75rem;
    text-decoration: none;
}
.jobs-filter-panel .filter-clear:hover { text-decoration: underline; }
.jobs-filter-options {
    max-height: 280px;
    overflow-y: auto;
}
.job-filter-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
    cursor: pointer;
    font-size: .9rem;
}

.jobs-list { border-top: 2px solid var(--color-gray-300); }
.jobs-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 1.25rem 0 .5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .85rem;
    color: var(--color-gray-700);
    letter-spacing: .05em;
}
.job-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-gray-300);
    color: var(--color-gray-900);
    transition: background .12s, color .12s;
}
.job-row:hover {
    background: #fafafa;
    color: var(--color-red);
}
.job-title strong {
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    margin-bottom: .25rem;
}
.job-date {
    font-size: .85rem;
    color: var(--color-gray-500);
}
.job-location {
    font-weight: 600;
    color: var(--color-gray-700);
}

/* ---------- Utilities ---------- */
.bg-light { background: var(--color-gray-100); }
.bg-dark { background: #1a1a1a; color: #fff; }
.text-red { color: var(--color-red); }
.text-light { font-weight: 300; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-brands { display: none; }
}
@media (max-width: 1024px) {
    .card-grid, .card-grid-3, .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brands-row { grid-template-columns: repeat(2, 1fr); }
    .header-top-inner { font-size: .85rem; gap: 1rem; }
    .location-grid { grid-template-columns: 1fr; }
    .location-detail { grid-template-columns: 200px 1fr; }
    .location-side { grid-column: 1 / -1; }
    .location-side .location-detail-card { padding: 1rem 2rem; }
    .parts-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .mobile-toggle { display: block; order: 3; }
    .location-detail { grid-template-columns: 1fr; }
    .location-rail { position: static; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 280px;
        background: #fff;
        color: #1a1a1a;
        padding: 4rem 1.5rem 2rem;
        transition: right .25s ease;
        overflow-y: auto;
        z-index: 60;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; justify-content: flex-start; }
    .main-nav > ul > li > a { color: #1a1a1a; padding: .85rem 0; border-bottom: 1px solid var(--color-gray-200); }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--color-gray-100);
        padding: 0;
        margin-bottom: .5rem;
        display: none;
        border-top: 0;
    }
    .main-nav li.has-dropdown.open .dropdown { display: block; }
    .header-cta .request-service { display: none; }
}
@media (max-width: 768px) {
    .top-bar .btn { display: block; margin: .25rem auto; max-width: 220px; }
    .card-grid, .card-grid-3, .card-grid-2, .card-grid-5 { grid-template-columns: 1fr; }
    .split-section, .split-section.reverse { grid-template-columns: 1fr; }
    .intro-split { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
    .emphasized-steps li { gap: 1rem; padding: 1rem; }
    .emphasized-steps li::before { width: 44px; height: 44px; font-size: 1.4rem; }
    .emphasized-steps li span { font-size: 1rem; }
    .parts-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .jobs-header,
    .job-row { grid-template-columns: 1fr; gap: .5rem; }
    .manufacturer-banner-content {
        margin: 1rem;
        padding: 1.5rem 1.25rem;
    }
    .manufacturer-banner-content p { font-size: .95rem; }
    .form-grid { grid-template-columns: 1fr; }
    .field-row, .field-row-3 { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .location-card-grid { grid-template-columns: 1fr; }
    .location-card-info { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--color-gray-300); padding-bottom: .75rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .news-card { flex-direction: column; }
    .news-card .thumb { width: 100%; aspect-ratio: 16/9; }
    .hero-emergency { position: static; margin: 2rem auto 0; }
    .hero { min-height: auto; }
    .page-banner-with-card h1,
    .page-banner-with-card .page-banner-sub { max-width: 100%; }
    .brands-row { grid-template-columns: 1fr; }
    .header-top-inner { font-size: .8rem; flex-wrap: wrap; gap: .75rem; justify-content: center; }
    .locations-page-header .hero-emergency { position: static; margin-top: 1.5rem; }
}
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}