/* ============================================================
   UnpaidOvertimeClaim.com — base stylesheet
   ============================================================ */

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-variable.woff2') format('woff2-variations'), url('/fonts/inter-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy:         #0d2137;
    --navy-light:   #17324f;
    --navy-mid:     #24466b;
    --steel:        #3d5a80;
    --gold:         #c99a3c;
    --gold-dark:    #a97f2e;
    --gold-light:   #e0bd6e;

    --gray-900: #16202b;
    --gray-700: #3f4b57;
    --gray-500: #6b7684;
    --gray-300: #c7ced6;
    --gray-100: #eef1f4;
    --white:    #ffffff;

    --success: #1f7a4d;
    --danger:  #b3372c;

    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(13, 33, 55, 0.08);
    --shadow-md: 0 4px 16px rgba(13, 33, 55, 0.12);
    --shadow-lg: 0 12px 32px rgba(13, 33, 55, 0.16);

    --max-width: 1180px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 0 0 0.6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--gray-100); }
.text-center { text-align: center; }
.eyebrow {
    display: inline-block;
    color: var(--gold-dark);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}
.lede { font-size: 1.15rem; color: var(--gray-700); max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.9rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-light); color: var(--white); }
.btn-full { width: 100%; }

/* ---------- Top nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 40px; width: auto; }
.footer-brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--gray-700); font-weight: 600; font-size: 0.95rem; }
.nav-links a.active, .nav-links a:hover { color: var(--navy); }
.nav-cta { margin-left: 0.5rem; padding: 0.65rem 1.3rem; font-size: 0.92rem; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer;
}
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 76px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
        display: none;
        gap: 1rem;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 4.5rem 0 3.5rem;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.hero h1 { color: var(--white); }
.hero .lede { color: var(--gray-300); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.hero-badge { display: flex; align-items: center; gap: 0.5em; font-size: 0.92rem; color: var(--gray-300); }
.hero-badge strong { color: var(--white); }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Quote/case form ---------- */
.quote-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-lg);
    color: var(--gray-900);
}
.quote-form h3 { margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 7px;
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-mid);
}
.form-privacy { font-size: 0.78rem; color: var(--gray-500); margin: 0.8rem 0 0; text-align: center; }
.form-consent { margin: 1.1rem 0; }
.form-consent .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400;
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--gray-500);
    cursor: pointer;
}
.form-consent .consent-label input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: 0.2rem;
    padding: 0;
    border: 1.5px solid var(--gray-300);
    accent-color: var(--navy);
}
.form-consent .consent-label a { color: var(--navy-mid); text-decoration: underline; }

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 190px;
    overflow-y: auto;
    border: 1.5px solid var(--gray-300);
    border-radius: 7px;
    padding: 0.7rem 0.9rem;
}
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--gray-700);
    cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: 0.2rem;
    accent-color: var(--navy);
}
.form-success, .form-error {
    display: none;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}
.form-success { background: #e6f4ec; color: var(--success); }
.form-error { background: #fbeceb; color: var(--danger); }

/* ---------- Cards / grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon { font-size: 2rem; margin-bottom: 0.6rem; filter: grayscale(1); }
.card h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.card p { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 0.8rem; }
.card a.card-link { font-weight: 700; font-size: 0.9rem; }

/* Emoji icons rendered inline with text (eyebrows, tables, buttons) — desaturate to match the icon cards above */
.icon-inline { filter: grayscale(1); }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.step { text-align: center; }
.step-number {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.3rem; margin: 0 auto 1rem;
}
@media (max-width: 800px) { .step-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------- Content + sidebar layout ---------- */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.content-sidebar { position: sticky; top: 90px; }
@media (max-width: 900px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .content-sidebar { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--gray-500); padding: 1.1rem 0; }
.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { margin: 0 0.4em; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--gray-100); font-size: 0.94rem; }
th { background: var(--gray-100); color: var(--navy); font-weight: 700; }

/* ---------- Badges / notices ---------- */
.badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.25em 0.8em;
    font-size: 0.78rem;
    font-weight: 700;
}
.notice {
    background: #fef8ec;
    border: 1px solid var(--gold-light);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    font-size: 0.92rem;
    color: var(--gray-700);
    margin: 1.5rem 0;
}
.notice strong { color: var(--navy); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question .chevron { transition: transform 0.2s ease; color: var(--gold-dark); }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--gray-700); }
.faq-answer p { padding-bottom: 1.2rem; }

/* ---------- States/cities grid ---------- */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; margin-top: 1.5rem; }
.state-grid a {
    background: var(--gray-100);
    border-radius: 7px;
    padding: 0.65rem 0.9rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--navy);
}
.state-grid a:hover { background: var(--gold-light); }
.city-pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.city-pill-list a {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    padding: 0.4em 1em;
    font-size: 0.88rem;
    font-weight: 600;
}
.city-pill-list a:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--gray-300); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--gray-300); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand p { color: var(--gray-300); font-size: 0.88rem; max-width: 320px; }
.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.6;
}
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 1.5rem; padding-top: 1.2rem;
    font-size: 0.8rem; color: var(--gray-500);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Chat widget ---------- */
.chat-launcher {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    background: var(--gold); color: var(--navy);
    border: none; border-radius: 999px;
    padding: 0.9rem 1.3rem; font-weight: 700; font-size: 0.95rem;
    box-shadow: var(--shadow-lg); cursor: pointer;
    display: flex; align-items: center; gap: 0.5em;
}
.chat-window {
    position: fixed; bottom: 90px; right: 24px; z-index: 200;
    width: 340px; max-width: calc(100vw - 32px);
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); display: none;
    flex-direction: column; overflow: hidden;
    border: 1px solid var(--gray-100);
}
.chat-window.open { display: flex; }
.chat-header { background: var(--navy); color: var(--white); padding: 1rem 1.2rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.chat-header button { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; }
.chat-messages { padding: 1rem; height: 320px; overflow-y: auto; font-size: 0.9rem; }
.chat-msg { margin-bottom: 0.8rem; max-width: 85%; padding: 0.6rem 0.85rem; border-radius: 10px; line-height: 1.45; }
.chat-msg.bot { background: var(--gray-100); color: var(--gray-900); }
.chat-msg.user { background: var(--navy); color: var(--white); margin-left: auto; }
.chat-input-row { display: flex; border-top: 1px solid var(--gray-100); }
.chat-input-row input { flex: 1; border: none; padding: 0.8rem; font-size: 0.9rem; font-family: inherit; }
.chat-input-row input:focus { outline: none; }
.chat-input-row button { background: var(--gold); border: none; padding: 0 1.1rem; font-weight: 700; cursor: pointer; color: var(--navy); }
.chat-disclaimer { font-size: 0.7rem; color: var(--gray-500); padding: 0.5rem 1rem; background: var(--gray-100); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--gray-100); margin: 2.5rem 0; }
