/* ===================================================
   SNS Solutions - Master Stylesheet
   Brand colors inherited from SNS Consulting:
     Sage    #99a594
     Navy    #2f337b
     Charcoal#3b3838
     Light   #e7e7e7
     White   #ffffff
   Typography mirrors the original SNS Consulting site
   (Lato body / Georgia headings) plus Oswald to echo
   the condensed sans of the SNS Solutions wordmark.
   =================================================== */

:root {
    --sage: #99a594;
    --sage-dark: #7e8a78;
    --navy: #2f337b;
    --navy-dark: #1f2358;
    --charcoal: #3b3838;
    --light-gray: #e7e7e7;
    --soft-bg: #f6f5f1;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 25px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.25;
}

.display, .wordmark {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color .25s ease;
}
a:hover { color: var(--sage); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============== HEADER =============== */
header {
    background: var(--white);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo a { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 84px; width: auto; max-width: 240px; object-fit: contain; }
.logo-fallback {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--navy);
    font-size: 22px;
}
.logo-fallback .sage { color: var(--sage); }

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}
nav a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--charcoal);
    padding: 10px 0;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--sage);
    transition: width .3s ease;
}
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--navy); }

.nav-cta {
    background: var(--sage);
    color: var(--white) !important;
    padding: 10px 18px !important;
    border-radius: 4px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    cursor: pointer;
    color: var(--navy);
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .3s ease;
    text-align: center;
}
.btn-primary {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover { background: transparent; color: var(--navy); }

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--navy); }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 18px 42px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* =============== HERO =============== */
.hero {
    background:
        linear-gradient(rgba(47,51,123,.85), rgba(47,51,123,.85)),
        url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=80') center/cover no-repeat;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 130px 20px 80px;
}
.hero-content { max-width: 920px; }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--white);
    margin-bottom: 18px;
}
.hero .tagline {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--white);
    opacity: .95;
}
.hero .sub {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 35px;
}
.hero .btn { margin: 6px 8px; }

/* Inner page hero */
.page-hero {
    background:
        linear-gradient(rgba(47,51,123,.88), rgba(47,51,123,.88)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover no-repeat;
    padding: 160px 0 70px;
    text-align: center;
    color: var(--white);
}
.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.15rem;
    opacity: .92;
    max-width: 720px;
    margin: 0 auto;
}

/* =============== SECTION =============== */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 14px;
}
.section-title p {
    color: #5e5e5e;
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.alt-bg { background: var(--soft-bg); }

/* =============== HOME: MISSION / VISION =============== */
.mission-vision { background: var(--light-gray); }
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.mv-card {
    background: var(--white);
    padding: 45px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--sage);
}
.mv-card.navy-top { border-top-color: var(--navy); }
.mv-card h2 { font-size: 1.9rem; margin-bottom: 16px; }
.mv-card p { color: #555; }

/* =============== HOME: VALUE BAR =============== */
.value-bar {
    background: var(--navy);
    color: var(--white);
    padding: 50px 0;
}
.value-bar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    text-align: center;
}
.value-bar-item i {
    font-size: 30px;
    color: var(--sage);
    margin-bottom: 8px;
}
.value-bar-item h4 {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.value-bar-item p { font-size: .9rem; opacity: .9; }

/* =============== SERVICES PREVIEW (HOME) =============== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    padding: 40px 28px;
    text-align: center;
    transition: all .3s ease;
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--sage);
}
.service-card .icon {
    width: 70px; height: 70px;
    margin: 0 auto 18px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.service-card:nth-child(even) .icon { background: var(--sage); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--navy); }
.service-card p { color: #5e5e5e; font-size: .95rem; }

/* =============== SERVICES PAGE: DETAIL ROWS =============== */
.services-nav {
    background: var(--light-gray);
    padding: 22px 0;
    position: sticky;
    top: 94px;
    z-index: 90;
}
.services-nav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.nav-pill {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    transition: all .3s ease;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.nav-pill:hover { background: var(--navy); color: var(--white); }
.nav-pill i { font-size: 1rem; }

.service-detail { padding: 80px 0; }
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-icon-large {
    width: 80px; height: 80px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 22px;
}
.service-detail-content h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}
.service-tagline {
    color: var(--sage);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
}
.service-detail-content p { margin-bottom: 18px; color: #4f4f4f; }
.service-detail-content h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin: 28px 0 14px;
}
.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin-bottom: 22px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
}
.feature-item i {
    color: var(--sage);
    margin-top: 4px;
    flex-shrink: 0;
}
.service-detail-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.express-callout {
    background: #f0f7f0;
    border-left: 4px solid var(--sage);
    padding: 16px 18px;
    margin-bottom: 22px;
    font-size: .95rem;
}

/* =============== CTA =============== */
.cta-section {
    background:
        linear-gradient(rgba(153,165,148,.92), rgba(153,165,148,.92)),
        url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1600&q=80') center/cover no-repeat;
    text-align: center;
    color: var(--white);
}
.cta-section h2 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 18px;
}
.cta-section p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 28px;
}
.cta-section .btn { margin: 6px 6px; }

/* =============== WHO WE ARE =============== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 55px;
    align-items: center;
}
.about-content h2 { font-size: 2.1rem; margin-bottom: 18px; }
.about-content p { margin-bottom: 16px; color: #4f4f4f; }

.founder-section { background: var(--light-gray); }
.founder-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}
.founder-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(rgba(47,51,123,.0), rgba(47,51,123,.0)),
        url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=600&q=80') center/cover;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}
.founder-content h2 { font-size: 2rem; margin-bottom: 6px; }
.founder-content .role { color: var(--sage); font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; }
.founder-content p { color: #4f4f4f; margin-bottom: 16px; }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.industry-tile {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    transition: all .3s ease;
}
.industry-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.industry-tile i { font-size: 36px; color: var(--navy); margin-bottom: 12px; }
.industry-tile:nth-child(even) i { color: var(--sage); }
.industry-tile h4 { color: var(--navy); margin-bottom: 6px; font-size: 1.05rem; }
.industry-tile p { font-size: .9rem; color: #5e5e5e; }

/* =============== PAY & SCHEDULE =============== */
.pay-schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}
.ps-card {
    background: var(--white);
    border-top: 5px solid var(--navy);
    padding: 45px 36px;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    text-align: center;
}
.ps-card.sage-top { border-top-color: var(--sage); }
.ps-card .ps-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
}
.ps-card.sage-top .ps-icon { background: var(--sage); }
.ps-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.ps-card p { color: #5e5e5e; margin-bottom: 22px; }
.ps-card .btn { width: 100%; }
.ps-card ul {
    list-style: none;
    text-align: left;
    margin: 14px 0 22px;
}
.ps-card ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    color: #4f4f4f;
    font-size: .95rem;
}
.ps-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--sage);
    position: absolute;
    left: 0; top: 8px;
}

/* =============== CAPABILITY STATEMENT =============== */
.cap-download {
    text-align: center;
    background: var(--light-gray);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
}
.cap-download h3 { margin-bottom: 14px; font-size: 1.5rem; }
.cap-download p { color: #5e5e5e; margin-bottom: 22px; }

.cap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.cap-box {
    background: var(--soft-bg);
    border-left: 5px solid var(--navy);
    padding: 30px;
    border-radius: 6px;
}
.cap-box.sage-border { border-left-color: var(--sage); }
.cap-box h3 {
    color: var(--navy);
    margin-bottom: 18px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cap-box h3 i { color: var(--sage); }
.cap-box ul { list-style: none; }
.cap-box ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,.05);
    font-size: .95rem;
}
.cap-box ul li:last-child { border-bottom: 0; }
.cap-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--sage);
    position: absolute;
    left: 0; top: 8px;
}

.naics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.naics-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    padding: 16px 12px;
    text-align: center;
    border-radius: 6px;
}
.naics-code {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--navy);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
.naics-desc { font-size: .85rem; color: #666; line-height: 1.4; }

.cert-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-badge {
    background: var(--navy);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: .9rem;
}
.cert-badge.sage { background: var(--sage); }

/* =============== CONTACT =============== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 55px;
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--charcoal);
    font-size: .9rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color .25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-info-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 22px;
}
.contact-info-card.navy { background: var(--navy); color: var(--white); }
.contact-info-card.navy h3, .contact-info-card.navy a { color: var(--white); }
.contact-info-card h3 {
    margin-bottom: 14px;
    font-size: 1.25rem;
    display: flex; align-items: center; gap: 10px;
}
.contact-info-card h3 i { color: var(--sage); }
.contact-info-card.navy h3 i { color: var(--sage); }
.contact-info-card p { margin-bottom: 8px; }
.contact-info-card a:hover { color: var(--sage); }

/* =============== FOOTER =============== */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 25px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}
.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    margin-bottom: 18px;
}
.footer-logo .sage { color: var(--sage); }
.footer-description { font-size: .92rem; opacity: .85; line-height: 1.7; }
.footer-section h4 {
    color: var(--sage);
    font-family: 'Oswald', sans-serif;
    font-size: .95rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 9px; }
.footer-section a {
    color: var(--white);
    opacity: .8;
    font-size: .9rem;
    transition: opacity .2s ease, color .2s ease;
}
.footer-section a:hover { opacity: 1; color: var(--sage); }
.footer-contact p {
    font-size: .82rem;
    margin-bottom: 12px;
    opacity: .9;
    padding-left: 26px;
    position: relative;
    line-height: 1.55;
    word-break: break-word;
}
.footer-contact i {
    color: var(--sage);
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    text-align: center;
    font-size: 14px;
}
.social-links a {
    display: inline-flex;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    color: var(--white);
    border-radius: 50%;
    align-items: center; justify-content: center;
    margin-right: 8px;
    transition: background .25s ease;
}
.social-links a:hover { background: var(--sage); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    font-size: .85rem;
    opacity: .75;
}
.footer-bottom a { color: var(--sage); }

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
    .mv-grid,
    .about-grid,
    .contact-grid,
    .service-detail-grid,
    .pay-schedule-grid,
    .cap-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-detail-grid.reverse { direction: ltr; }
    .service-detail-image { order: -1; }
    .service-detail-image img { height: 320px; }
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-image { max-width: 320px; margin: 0 auto; }
    .value-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .naics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    nav { display: none; }
    nav.active {
        display: block;
        position: absolute;
        top: 86px; left: 0; right: 0;
        background: var(--white);
        padding: 22px;
        box-shadow: var(--shadow-md);
    }
    nav.active ul {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .logo img { height: 60px; max-width: 160px; }
    .services-nav { top: 80px; }
    .nav-pill { padding: 8px 14px; font-size: .82rem; }
    .form-row { grid-template-columns: 1fr; }
    .service-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .value-bar-grid { grid-template-columns: 1fr 1fr; }
    .hero .btn { display: block; max-width: 280px; margin: 8px auto; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .naics-grid { grid-template-columns: 1fr; }
    .value-bar-grid { grid-template-columns: 1fr; }
    .nav-pill i { display: none; }
}
