/* Chec King Payday Advance — restored theme */

:root {
    --green: #008c3a;
    --green-dark: #00762f;
    --teal: #169d9e;
    --ink: #4f4f4f;
    --ink-strong: #151515;
    --page-bg: #eeeeee;
    --max: 1160px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "Roboto", "Source Sans Pro", Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
}

img { max-width: 100%; display: inline-block; border: 0; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Full-bleed page: section backgrounds span the whole width,
   the centered .container keeps the content column at 960px. */
.wrap { background: #fff; width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; width: 100%; }

h1, h2, h3 { font-weight: 400; margin: 0 0 .5em; }

/* ------------------------------------------------------------------ Header */
.site-header { background: #fff; }

.topbar { padding: 12px 0; }
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.topbar .located { flex: 1; color: var(--ink-strong); font-weight: 400; font-size: 16px; }
.topbar .logo { flex: 0 0 auto; text-align: center; }
.topbar .logo img { width: 190px; height: auto; }
.topbar .phone {
    flex: 1;
    text-align: right;
    color: var(--green);
    font-size: 24px;
    font-weight: 400;
    white-space: nowrap;
}
.topbar .phone a { color: var(--green); }
.topbar .phone a:hover { text-decoration: none; }

/* ------------------------------------------------------------------ Nav */
.main-nav { background: var(--green); }
.main-nav .container { position: relative; padding: 0 20px; }

.nav-toggle { display: none; }

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.menu > li { position: relative; }
.menu > li > a {
    display: block;
    color: #fff;
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.menu > li > a:hover,
.menu > li.active > a { background: var(--green-dark); text-decoration: none; }

.has-sub > a .caret {
    display: inline-block;
    margin-left: 6px;
    border: 5px solid transparent;
    border-top-color: #fff;
    transform: translateY(3px);
}

.submenu {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--green-dark);
    z-index: 50;
    display: none;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.menu > li.has-sub:hover .submenu { display: block; }
.submenu li a {
    display: block;
    color: #fff;
    padding: 11px 22px;
    font-size: 15px;
    text-transform: uppercase;
}
.submenu li a:hover { background: var(--green); text-decoration: none; }

/* ------------------------------------------------------------------ Hero */
.hero {
    background: url("../img/hero.jpg") center / cover no-repeat;
    padding: 150px 20px;
    text-align: center;
}
.hero h1 {
    display: inline-block;
    margin: 0;
    max-width: 780px;
    padding: 18px 34px;
    background: rgba(255, 255, 255, .9);
    color: var(--green);
    font-size: 44px;
    font-weight: 500;
    line-height: 1.15;
}

/* ------------------------------------------------------------------ Content split sections */
.section { padding: 55px 0; }

.split {
    display: flex;
    align-items: center;
    gap: 48px;
}
.split .col { flex: 1 1 0; min-width: 0; }
.split.reverse { flex-direction: row-reverse; }

.section h2 {
    color: var(--green);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 18px;
}
.section p { margin: 0 0 16px; color: var(--ink-strong); }
.section .media img,
.section .media video { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------------ Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: #fff;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 8px;
    transition: background .15s ease;
}
.btn:hover { background: var(--green-dark); text-decoration: none; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ------------------------------------------------------------------ Parallax band */
.parallax {
    background:
        linear-gradient(rgba(255, 255, 255, .62), rgba(255, 255, 255, .62)),
        url("../img/parallax.jpg") center / cover fixed no-repeat;
    height: 260px;
}

/* ------------------------------------------------------------------ Video */
.video-section { padding: 55px 0; text-align: center; }
.video-section video { width: 640px; max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* ------------------------------------------------------------------ Simple content pages */
.page-lead { padding-top: 45px; }
.rule { border: 0; border-top: 1px solid rgba(79,79,79,.2); margin: 26px 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 8px 0; font-size: 18px; color: var(--ink-strong); font-weight: 400; }
.info-list li::before { content: "\2022"; color: var(--green); font-weight: 700; margin-right: 12px; }

.map-embed { width: 100%; height: 340px; border: 0; margin-top: 10px; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--green); color: #fff; padding: 45px 0 30px; }
.site-footer a { color: #fff; }
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255,255,255,.25);
    margin-bottom: 30px;
    gap: 20px;
}
.social { display: flex; gap: 14px; }
.social a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.social a:hover { background: rgba(255,255,255,.25); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer-top .foot-phone { font-size: 26px; font-weight: 700; }

.footer-cols {
    display: flex;
    gap: 40px;
}
.footer-cols .fcol { flex: 1 1 0; min-width: 0; }
.footer-cols h3 { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.footer-cols p { margin: 0 0 10px; font-weight: 300; }
.footer-cols .addr div { line-height: 1.7; }
.cards { margin-top: 14px; }

.legal {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
}
.legal a { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 860px) {
    .topbar .container { flex-direction: column; text-align: center; gap: 8px; }
    .topbar .located, .topbar .phone { text-align: center; flex: none; }

    .nav-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        background: none;
        border: 0;
        color: #fff;
        padding: 15px 20px;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: .5px;
        text-transform: uppercase;
        cursor: pointer;
    }
    .nav-toggle .bars { position: relative; width: 22px; height: 2px; background: #fff; display: inline-block; }
    .nav-toggle .bars::before,
    .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; }
    .nav-toggle .bars::before { top: -7px; }
    .nav-toggle .bars::after { top: 7px; }

    .main-nav .container { padding: 0; }
    .menu {
        display: none;
        flex-direction: column;
        border-top: 1px solid rgba(255,255,255,.2);
    }
    .menu.open { display: flex; }
    .menu > li { width: 100%; }
    .menu > li > a { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.12); }
    .menu > li:first-child > a { border-top: 0; }

    .has-sub > a .caret { float: right; transform: translateY(6px); }
    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        background: rgba(0,0,0,.12);
    }
    .menu > li.has-sub.open .submenu { display: block; }
    .menu > li.has-sub:hover .submenu { display: none; }
    .menu > li.has-sub.open .submenu { display: block; }
    .submenu li a { padding-left: 40px; }

    .split, .split.reverse { flex-direction: column; gap: 28px; }
    .hero { padding: 80px 20px; }
    .hero h1 { font-size: 30px; padding: 16px 20px; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-cols { flex-direction: column; gap: 30px; }
}
