/* Shared public marketing pages — DannahShay Transmissions */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #b3b3b3;
    color: #222;
    line-height: 1.55;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('/gear_background.png');
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.1;
    z-index: -1;
}

/* ===== Header ===== */
.public-header {
    background: linear-gradient(to right, #ff0000, #000000 30%, #000000 70%, #ff0000);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.public-header-logo img { height: 70px; width: auto; display: block; }
.public-header-text { text-align: center; color: #fff; }
.public-header-tagline {
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffcc00;
}
.public-header-phone {
    display: inline-block;
    margin-top: 4px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.public-header-phone:hover { color: #ffcc00; }

/* ===== Nav ===== */
.public-nav {
    background: #1a1a1a;
    color: #fff;
    border-bottom: 3px solid #ff0000;
}
.public-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 0;
}
.public-nav-list a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.public-nav-list a:hover { color: #ffcc00; background: #000; }
.public-nav-list a.is-active {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}
.public-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 8px 14px;
    align-items: center;
    gap: 8px;
    font: inherit;
    cursor: pointer;
    margin: 8px;
    border-radius: 4px;
}
.public-nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
}

/* ===== Main ===== */
.public-main {
    flex: 1;
    max-width: 1100px;
    margin: 32px auto 48px auto;
    padding: 0 20px;
    width: 100%;
}

.hero {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    border-left: 6px solid #ff0000;
}
.hero h1 {
    font-size: 32px;
    color: #003087;
    margin-bottom: 10px;
    line-height: 1.15;
}
.hero .hero-sub {
    font-size: 18px;
    color: #444;
}
.hero .hero-cta {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 22px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.hero .hero-cta:hover { background: #cc0000; }

.section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.section h2 {
    font-size: 24px;
    color: #003087;
    margin-bottom: 14px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 6px;
}
.section h3 {
    font-size: 18px;
    color: #b80000;
    margin: 16px 0 6px;
}
.section p { margin-bottom: 12px; }
.section ul, .section ol { margin: 0 0 14px 22px; }
.section ul li, .section ol li { margin-bottom: 6px; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 14px;
}
.card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px 16px;
    border-top: 4px solid #ff0000;
}
.card h3 {
    color: #003087;
    margin: 0 0 8px;
    font-size: 17px;
}
.card p { font-size: 14px; color: #444; margin: 0; }

.cta-strip {
    background: linear-gradient(to right, #ff0000, #000000 50%, #ff0000);
    color: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 28px 0;
    text-align: center;
}
.cta-strip h3 { color: #ffcc00; font-size: 22px; margin-bottom: 6px; }
.cta-strip a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 24px;
}
.cta-strip a:hover { color: #ffcc00; }

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    font-weight: 700;
    color: #003087;
    margin-bottom: 4px;
    font-size: 16px;
}
.faq-a { color: #444; font-size: 15px; }

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.info-table th, .info-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.info-table th {
    background: #003087;
    color: #fff;
    font-weight: 700;
}

/* ===== Footer ===== */
.public-footer {
    background: #1a1a1a;
    color: #ddd;
    padding: 30px 20px 14px 20px;
    margin-top: auto;
    border-top: 3px solid #ff0000;
}
.public-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.public-footer-col strong {
    display: block;
    color: #ffcc00;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 14px;
}
.public-footer-col p { font-size: 14px; line-height: 1.7; }
.public-footer-col a { color: #ddd; text-decoration: none; }
.public-footer-col a:hover { color: #ffcc00; text-decoration: underline; }
.public-footer-bottom {
    max-width: 1100px;
    margin: 18px auto 0 auto;
    padding-top: 14px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 12px;
    color: #888;
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
    .public-nav-toggle { display: inline-flex; }
    .public-nav-list {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .public-nav-list.is-open { max-height: 600px; }
    .public-nav-list a {
        padding: 12px 16px;
        border-bottom: 1px solid #333;
        margin-bottom: 0;
    }
    .public-nav-list a.is-active {
        background: #2a2a2a;
        border-left: 4px solid #ffcc00;
    }
    .hero { padding: 24px 18px; }
    .hero h1 { font-size: 24px; }
    .hero .hero-sub { font-size: 15px; }
    .section { padding: 18px 16px; }
    .public-header { padding: 10px; gap: 10px; }
    .public-header-logo img { height: 56px; }
    .public-header-phone { font-size: 22px; }
}
