/* ══════════════════════════════════════════════════════
   Closing Force LLC — Stylesheet
   ══════════════════════════════════════════════════════ */

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:       #c9a84c;
    --gold-light: #e2c770;
    --gold-dark:  #a8893a;
    --black:      #0b0b0b;
    --dark:       #111111;
    --dark-card:  #1a1a1a;
    --dark-alt:   #141414;
    --gray:       #888;
    --light-gray: #ccc;
    --white:      #f5f5f5;
    --red:        #e74c3c;
    --green:      #27ae60;
    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Open Sans', sans-serif;
    --container:  1140px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--light-gray);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
}

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

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.gold { color: var(--gold); }
.muted { color: var(--gray); font-size: .9rem; }
.req { color: var(--red); }

.content-narrow { max-width: 800px; margin: 0 auto; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(11,11,11,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-link { display: flex; align-items: center; }
.logo { height: 50px; width: auto; }

.main-nav { display: flex; gap: 2rem; }

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--light-gray);
    padding: .5rem 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 100%; height: 2px;
    background: var(--white);
    position: absolute; left: 0;
    transition: .3s;
}
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after  { content: ''; top: 8px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,.08) 0%, transparent 70%),
                var(--black);
}

.hero-logo {
    width: 150px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(201,168,76,.25));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.hero-tagline, .hero-tagline-white {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-tagline { color: var(--gold); }
.hero-tagline-white { color: var(--white); }

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ────────────────────────── */
.page-hero {
    padding: 8rem 1.5rem 3rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,.06) 0%, transparent 70%),
                var(--black);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.page-hero-sub {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ── Sections ───────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-dark { background: var(--dark-alt); }

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: .75rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px; height: 3px;
    background: var(--gold);
    margin: .75rem auto 1.5rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray);
    font-size: 1.05rem;
}

/* ── Cards ──────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--dark-card);
    border: 1px solid rgba(201,168,76,.12);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--gold); transform: translateY(-4px); }

.card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.card h3 { margin-bottom: .5rem; }

/* ── Values Grid (About) ───────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.value-item h3 { margin-bottom: .5rem; font-size: 1.3rem; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .85rem 2rem;
    border-radius: 4px;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: background .25s, color .25s, transform .15s;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }
.btn-block { width: 100%; text-align: center; }

/* ── CTA Section ────────────────────────────────────── */
.cta-section {
    background: var(--dark-alt);
    border-top: 1px solid rgba(201,168,76,.1);
    border-bottom: 1px solid rgba(201,168,76,.1);
}
.cta-section h2 { margin-bottom: .75rem; }
.cta-section p { color: var(--gray); max-width: 600px; margin: 0 auto 1.5rem; }

/* ── Checklist (Careers) ────────────────────────────── */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ── Expect Grid (Careers) ─────────────────────────── */
.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.expect-item {
    background: var(--dark-card);
    border: 1px solid rgba(201,168,76,.1);
    border-radius: 8px;
    padding: 1.75rem;
}
.expect-item h3 { color: var(--gold); margin-bottom: .5rem; font-size: 1.1rem; }

/* ── Job Posting (Careers) ──────────────────────────── */
.job-posting {
    background: var(--dark-card);
    border: 1px solid rgba(201,168,76,.15);
    border-radius: 8px;
    padding: 3rem;
}

.job-header { margin-bottom: 2rem; border-bottom: 1px solid rgba(201,168,76,.1); padding-bottom: 1.5rem; }
.job-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.job-header h3 { margin: 0; font-size: 1.35rem; }
.job-badge {
    display: inline-block;
    background: rgba(39,174,96,.15);
    color: var(--green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .75rem;
    padding: .35rem 1rem;
    border-radius: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.job-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.job-meta span {
    font-size: .85rem;
    color: var(--gray);
    font-family: var(--font-heading);
}

.job-body h4 {
    color: var(--gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 2rem 0 .75rem;
}
.job-body h4:first-child { margin-top: 0; }

.job-body p { margin-bottom: .75rem; }

.job-list {
    list-style: none;
    padding: 0;
}
.job-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .6rem;
}
.job-list li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.job-callout {
    background: rgba(201,168,76,.06);
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin-top: 2rem;
}

.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: .75rem 0 .5rem;
}

.comp-item {
    background: rgba(201,168,76,.06);
    border: 1px solid rgba(201,168,76,.15);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.comp-label {
    display: block;
    font-family: var(--font-heading);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray);
    margin-bottom: .5rem;
}

.comp-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}
.comp-value small { font-size: .7em; font-weight: 600; }

.comp-note { color: var(--gray); font-size: .9rem; margin-top: .5rem; }

/* ── FAQ (Careers) ─────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { margin-bottom: 1.75rem; }
.faq-q {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: .4rem;
}
.faq-item p { color: var(--light-gray); }

/* ── Resume Dropzone ───────────────────────────────── */
.dropzone {
    position: relative;
    border: 2px dashed rgba(201,168,76,.25);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .25s, background .25s;
    background: rgba(201,168,76,.02);
}
.dropzone:hover,
.dropzone.dragover {
    border-color: var(--gold);
    background: rgba(201,168,76,.06);
}
.dropzone.has-file {
    border-style: solid;
    border-color: rgba(201,168,76,.3);
    padding: 1.25rem 1.5rem;
}

.dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.dropzone-icon { margin-bottom: .75rem; opacity: .8; }
.dropzone-text {
    color: var(--light-gray);
    font-size: .95rem;
    margin-bottom: .25rem;
    font-weight: 500;
}
.dropzone-hint {
    color: var(--gray);
    font-size: .8rem;
}
.dropzone-browse {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 600;
}

.dropzone-file {
    display: flex;
    align-items: center;
    gap: .75rem;
    position: relative;
    z-index: 2;
}
.dropzone-filename {
    flex: 1;
    color: var(--white);
    font-size: .9rem;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropzone-remove {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 .25rem;
    line-height: 1;
    transition: color .2s;
    z-index: 3;
}
.dropzone-remove:hover { color: var(--red); }

/* ── TCPA Consent Checkbox ─────────────────────────── */
.tcpa-consent { margin-top: 1rem; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
    font-size: .8rem;
    line-height: 1.5;
    color: var(--gray);
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
    margin-top: .2rem;
    flex-shrink: 0;
    accent-color: var(--gold);
}
.checkbox-label a { color: var(--gold); text-decoration: underline; }

/* ── Legal Pages ───────────────────────────────────── */
.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    color: var(--gold);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}
.legal-content p { margin-bottom: .75rem; }
.legal-content ul {
    margin: .5rem 0 1rem 1.25rem;
    color: var(--light-gray);
}
.legal-content li { margin-bottom: .4rem; }

/* ── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--light-gray);
    margin-bottom: .4rem;
}
.form-group label small {
    text-transform: none;
    letter-spacing: 0;
    color: var(--gray);
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: .8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    background: var(--dark);
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 4px;
    transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group input[type="file"] {
    color: var(--light-gray);
    font-size: .9rem;
}

.form-group textarea { resize: vertical; }

/* ── Contact Grid ───────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.info-block { margin-top: 2rem; }
.info-block h3 { color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }

.contact-form-wrap {
    background: var(--dark-card);
    border: 1px solid rgba(201,168,76,.12);
    border-radius: 8px;
    padding: 2.5rem;
}

/* ── Modal ──────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: var(--dark-card);
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 8px;
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal h2 { margin-bottom: 1.5rem; text-align: center; font-size: 1.4rem; }

.modal-close {
    position: absolute;
    top: 1rem; right: 1.25rem;
    background: none; border: none;
    color: var(--gray);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}
.modal-close:hover { color: var(--white); }

/* ── Flash Modal ────────────────────────────────────── */
.flash-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.flash-modal-overlay.open { opacity: 1; visibility: visible; }

.flash-modal {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    transform: scale(.9);
    transition: transform .3s;
}
.flash-modal-overlay.open .flash-modal { transform: scale(1); }

.flash-modal-icon { margin-bottom: 1.25rem; }

.flash-modal h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}
.flash-modal-success h3 { color: var(--green); }
.flash-modal-error h3 { color: var(--red); }

.flash-modal p {
    color: var(--light-gray);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.flash-modal .btn { min-width: 140px; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(201,168,76,.1);
    padding: 4rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .8fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo { height: 60px; margin-bottom: 1rem; }
.footer-tagline {
    font-family: var(--font-heading);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
}

.footer-legal a {
    display: block;
    color: var(--light-gray);
    margin-bottom: .5rem;
    font-size: .95rem;
}
.footer-legal a:hover { color: var(--gold); }

.footer-links h4, .footer-contact h4, .footer-legal h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--light-gray);
    margin-bottom: .5rem;
    font-size: .95rem;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact p { font-size: .95rem; line-height: 1.6; }
.footer-hours { margin-top: .75rem; color: var(--gray); font-style: italic; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 1.25rem 0;
    text-align: center;
}
.footer-bottom p { font-size: .85rem; color: var(--gray); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: rgba(11,11,11,.97);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .main-nav.open { max-height: 300px; }
    .nav-link { padding: 1rem 0; }

    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

    .hero { min-height: auto; padding: 7rem 1.5rem 4rem; }
    .hero-logo { width: 110px; }

    .job-posting { padding: 2rem 1.25rem; }
    .modal { padding: 1.75rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .comp-grid { grid-template-columns: 1fr; }
}
