/* ============================================================
   PABST ELECTRONICS — Neve Free Theme Faithful Implementation
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&family=Nunito:wght@400;600;700;800;900&display=swap');

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

:root {
    /* Brand */
    --navy:        #0D1F3C;
    --navy-mid:    #162B50;
    --accent:      #1E88E5;
    --accent-dark: #1565C0;
    --accent-light:#E3F2FD;
    --orange:      #E87722;
    --orange-lt:   #FFF3E0;

    /* Neve palette */
    --neve-text:   #1a1a1a;
    --neve-mid:    #404040;
    --neve-light:  #666666;
    --neve-border: #e5e5e5;
    --neve-bg:     #f9f9f9;
    --neve-white:  #ffffff;

    /* Typography */
    --font-head:   'Nunito', sans-serif;
    --font-body:   'Nunito Sans', sans-serif;

    /* Spacing */
    --container:   1170px;
    --header-h:    72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--neve-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    line-height: 1.2;
    color: var(--navy);
    font-weight: 800;
}

a { text-decoration: none; color: var(--accent); transition: color .2s; }
a:hover { color: var(--accent-dark); }

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

p { margin-bottom: 1.1em; color: var(--neve-mid); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; color: var(--neve-mid); }

/* ── CONTAINER ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── NEVE HEADER ── */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 16px rgba(0,0,0,.28);
    height: var(--header-h);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-logo img { height: 36px; display: block; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 4px; list-style: none; }

.primary-nav > li { position: relative; }

.primary-nav > li > a {
    font-family: var(--font-head);
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    padding: 8px 14px;
    border-radius: 5px;
    transition: all .2s;
    display: block;
    white-space: nowrap;
}

.primary-nav > li > a:hover,
.primary-nav > li.current > a {
    color: #fff;
    background: rgba(255,255,255,.1);
}

/* Dropdown */
.primary-nav .has-dropdown > a::after {
    content: ' ▾';
    font-size: 11px;
    opacity: .6;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,.14);
    min-width: 240px;
    padding: 8px 0;
    list-style: none;
    z-index: 1000;
    border-top: 3px solid var(--accent);
}

.primary-nav .has-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all .4s;
}

.dropdown-menu li a:hover { background: var(--accent-light); color: var(--accent-dark); padding-left: 26px; }

/* CTA nav button */
.nav-btn {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 9px 22px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

.nav-btn:hover { background: var(--accent-dark) !important; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a6b 100%);
    padding: 80px 24px 76px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--orange));
}

.page-hero .breadcrumb {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
    letter-spacing: .3px;
}

.page-hero .breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,.8); }

.page-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    max-width: 640px;
    margin: 0 auto;
}

/* ── SECTION WRAPPER ── */
.section { padding: 88px 24px; }
.section.bg-light { background: var(--neve-bg); }
.section.bg-navy  { background: var(--navy); }
.section.bg-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }

.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .sec-sub { margin: 0 auto; }

.eyebrow {
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.bg-navy .eyebrow { color: #90CAF9; }
.bg-accent .eyebrow { color: rgba(255,255,255,.7); }

.sec-title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.bg-navy  .sec-title { color: #fff; }
.bg-accent .sec-title { color: #fff; }

.sec-sub {
    font-size: 17px;
    color: var(--neve-light);
    max-width: 660px;
    line-height: 1.75;
}

.bg-navy  .sec-sub { color: rgba(255,255,255,.58); }
.bg-accent .sec-sub { color: rgba(255,255,255,.82); }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 30px;
    border-radius: 6px;
    transition: all .22s;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,136,229,.35); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--accent-dark); }

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

.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ── CARDS ── */
.card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--neve-border);
    padding: 32px 28px;
    transition: all .28s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(13,31,60,.1); border-color: #d0d9e8; }

.card-icon { font-size: 40px; margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--neve-light); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }

/* ── CHIP / BADGE ── */
.chip {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    border: 1px solid #BBDEFB;
    font-family: var(--font-head);
    font-size: 12px; font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
}

.badge {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700; font-size: 13px;
    padding: 5px 14px;
    border-radius: 6px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ── PROCESS STEPS (dark card) ── */
.process-dark {
    background: var(--navy);
    border-radius: 16px;
    padding: 40px 36px;
}

.process-step {
    display: flex; gap: 16px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.step-num {
    width: 32px; height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 700; font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}

.step-body strong { display: block; font-family: var(--font-head); font-size: 15px; color: #fff; margin-bottom: 2px; }
.step-body span { font-size: 13px; color: rgba(255,255,255,.5); }

/* ── COMPARE CARDS ── */
.compare-bad {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 36px 32px;
}

.compare-good {
    background: rgba(30,136,229,.13);
    border: 1px solid rgba(30,136,229,.28);
    border-radius: 16px;
    padding: 36px 32px;
}

.compare-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.compare-bad .compare-title { color: rgba(255,255,255,.65); }
.compare-good .compare-title { color: #90CAF9; }

.compare-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.ci-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.ci-dot.x { background: rgba(239,68,68,.18); color: #FCA5A5; }
.ci-dot.v { background: rgba(34,197,94,.18); color: #86EFAC; }
.compare-item p { font-size: 14.5px; color: rgba(255,255,255,.65); margin: 0; line-height: 1.55; }

/* ── CTA BAND ── */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 36px; }

/* ── CONTACT FORM (Neve-style) ── */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.nf-form-wrap { background: #fff; border-radius: 12px; border: 1px solid var(--neve-border); padding: 44px 40px; }
.nf-form-wrap h3 { font-size: 22px; margin-bottom: 28px; }

.nf-field { margin-bottom: 22px; }

.nf-field label {
    display: block;
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 7px;
    letter-spacing: .2px;
}

.nf-field label .req { color: var(--accent); margin-left: 3px; }

.nf-field input,
.nf-field select,
.nf-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--neve-border);
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--neve-text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.nf-field input:focus,
.nf-field select:focus,
.nf-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30,136,229,.12);
}

.nf-field textarea { resize: vertical; min-height: 130px; }

.nf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.nf-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 7px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15.5px;
    cursor: pointer;
    transition: all .22s;
    width: 100%;
    margin-top: 6px;
}

.nf-submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,136,229,.35); }

.nf-success {
    display: none;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: 8px;
    padding: 18px 22px;
    color: #2E7D32;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    text-align: center;
}

/* contact info sidebar */
.contact-info h3 { font-size: 22px; margin-bottom: 22px; }
.contact-info p { font-size: 15.5px; margin-bottom: 24px; }

.ci-item {
    display: flex; gap: 16px; align-items: flex-start;
    margin-bottom: 22px;
}

.ci-icon {
    width: 44px; height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--accent);
}

.ci-label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--neve-light); margin-bottom: 4px; }
.ci-val { font-size: 15px; font-weight: 600; color: var(--navy); }

/* ── FOOTER ── */
.site-footer {
    background: var(--navy);
    padding: 72px 24px 0;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-brand p { font-size: 14px; color: rgba(255,255,255,.45); margin-top: 18px; max-width: 280px; line-height: 1.75; }
.footer-logo img { height: 32px; }

.footer-col h5 {
    font-family: var(--font-head);
    font-size: 11.5px; font-weight: 800;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { margin: 0; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.55); transition: all .2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }

/* ── HOME HERO ── */
.home-hero {
    background: linear-gradient(140deg, #071529 0%, var(--navy) 45%, #1a3a6b 100%);
    padding: 120px 24px 110px;
    position: relative;
    overflow: hidden;
}

.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--orange));
}

.hero-glow {
    position: absolute; top: -120px; right: -80px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(30,136,229,.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-glow2 {
    position: absolute; bottom: -100px; left: 20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232,119,34,.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative; z-index: 1;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(30,136,229,.18);
    border: 1px solid rgba(30,136,229,.35);
    color: #90CAF9;
    font-family: var(--font-head);
    font-size: 11px; font-weight: 800;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 7px 18px; border-radius: 100px;
    margin-bottom: 28px;
}

.home-hero h1 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 900; color: #fff; margin-bottom: 22px; }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.68); margin-bottom: 44px; max-width: 500px; line-height: 1.75; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-panel { display: flex; flex-direction: column; gap: 14px; }

.hcard {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex; align-items: center; gap: 16px;
    backdrop-filter: blur(6px);
}

.hcard-icon {
    width: 44px; height: 44px;
    background: var(--accent); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}

.hcard-icon.orange { background: var(--orange); }
.hcard-lbl { font-family: var(--font-head); font-size: 10.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.hcard-val { font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: #fff; }

/* ── PILLAR CARDS ── */
.pillar-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--neve-border);
    padding: 30px 26px;
    transition: all .28s;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px; background: var(--accent);
    opacity: 0; transition: opacity .28s;
}

.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(13,31,60,.1); }
.pillar-card:hover::before { opacity: 1; }

.pillar-num { font-family: var(--font-head); font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pillar-icon { font-size: 34px; margin-bottom: 12px; }
.pillar-card h4 { font-size: 17px; margin-bottom: 10px; }
.pillar-card p { font-size: 13.5px; color: var(--neve-light); line-height: 1.65; margin: 0; }

/* ── INDUSTRY ITEMS ── */
.ind-item {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    border: 1px solid var(--neve-border);
    border-radius: 10px;
    transition: all .2s;
    background: #fff;
}

.ind-item:hover { border-color: var(--accent); background: var(--accent-light); }
.ind-icon { font-size: 26px; }
.ind-item span { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); }

/* ── STD CARDS ── */
.std-card { background: #fff; border: 1px solid var(--neve-border); border-radius: 12px; padding: 28px 24px; }
.std-card h4 { font-size: 16px; margin-bottom: 9px; }
.std-card p { font-size: 13.5px; color: var(--neve-light); margin: 0; }

/* ── QUOTE BOX ── */
.quote-box {
    background: var(--navy);
    border-radius: 20px;
    padding: 56px 64px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark { font-size: 96px; line-height: .6; color: rgba(30,136,229,.3); font-family: Georgia, serif; display: block; margin-bottom: 24px; }
.quote-text { font-size: 19px; font-style: italic; color: rgba(255,255,255,.85); line-height: 1.75; margin-bottom: 24px; }
.quote-attr { font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.38); }

/* ── SERVICE PAGE CONTENT ── */
.content-body h2 { font-size: 28px; margin: 40px 0 14px; }
.content-body h3 { font-size: 21px; color: var(--navy); margin: 32px 0 12px; }
.content-body p { font-size: 16px; color: var(--neve-mid); margin-bottom: 16px; }
.content-body ul li { font-size: 15.5px; color: var(--neve-mid); margin-bottom: 8px; }
.content-body ul { margin-bottom: 20px; }

.deliverables-box {
    background: var(--neve-bg);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 24px 28px;
    margin: 28px 0;
}

.deliverables-box strong { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.deliverables-box ul { padding-left: 1.2em; }
.deliverables-box li { font-size: 14.5px; color: var(--neve-mid); margin-bottom: 6px; }

.highlight-box {
    background: var(--navy);
    border-radius: 14px;
    padding: 36px 40px;
    margin: 36px 0;
}

.highlight-box h3 { color: #fff; margin-top: 0; }
.highlight-box p { color: rgba(255,255,255,.65); }
.highlight-box ul li { color: rgba(255,255,255,.65); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { display: none; }
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
    .nf-row { grid-template-columns: 1fr; }
    .primary-nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .quote-box { padding: 36px 28px; }
    .section { padding: 64px 16px; }
}