/* ==========================================================================
   Nexa Theme — Pages stylesheet
   ==========================================================================
   Styles for the additional pages: careers list, job placeholder, about,
   contact, get-a-quote. Loaded only on those pages via functions-update.php.

   All values use the CSS variables defined in main.css, so rebranding
   the site (via :root in main.css) automatically updates these pages too.
   ========================================================================== */

/* ==========================================================================
   CAREERS LIST — job cards
   ========================================================================== */
.careers-list-hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.careers-list-hero .hero-bg-deco,
.careers-list-hero .hero-bg-deco-2 {
    position: absolute; pointer-events: none; z-index: 0;
}
.careers-list-hero .hero-bg-deco {
    top: -100px; right: -100px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(148, 168, 154, 0.18) 0%, transparent 60%);
}
.careers-list-hero .hero-bg-deco-2 {
    bottom: -200px; left: -150px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(227, 111, 76, 0.10) 0%, transparent 60%);
}
.careers-list-hero .container { position: relative; z-index: 1; }
.careers-list-hero h1 {
    font-family: var(--f-display);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin-bottom: 22px;
    max-width: 760px;
}
.careers-list-hero h1 em { font-style: italic; color: var(--c-primary); font-weight: 400; }
.careers-list-hero .lede {
    font-size: 19px; color: var(--c-text-muted); max-width: 620px; line-height: 1.55;
}

.jobs-section { padding: 60px 0 100px; }
.jobs-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px; padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border);
    font-size: 14px; color: var(--c-text-muted);
}
.jobs-meta strong { color: var(--c-text); font-weight: 600; }

.jobs-grid { display: grid; gap: 18px; }

.job-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px 32px;
    text-decoration: none;
    color: var(--c-text);
    position: relative;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.job-card:hover {
    border-color: var(--c-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.job-card:hover .job-arrow {
    background: var(--c-primary);
    color: #fff;
    transform: translateX(4px);
}

.job-dept {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px;
    font-family: var(--f-display); font-weight: 600; font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.job-dept.dept-ops { background: var(--c-primary); }
.job-dept.dept-people { background: var(--c-accent); }
.job-dept.dept-eng { background: var(--c-sage); }

.job-body { min-width: 0; }
.job-dept-label {
    display: inline-block;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--c-text-muted);
    margin-bottom: 6px;
}
.job-title {
    font-family: var(--f-display);
    font-size: 24px; font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
    color: var(--c-text);
}
.job-summary { font-size: 14.5px; color: var(--c-text-muted); line-height: 1.5; margin-bottom: 12px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: var(--c-text-muted); }
.job-tag { display: inline-flex; align-items: center; gap: 6px; }
.job-tag::before {
    content: ''; width: 4px; height: 4px;
    border-radius: 50%; background: var(--c-border);
    display: inline-block;
}
.job-tag:first-child::before { display: none; }
.job-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 100px;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 10px;
}
.job-status-badge.open {
    background: rgba(47, 143, 110, 0.10);
    color: var(--c-success);
}
.job-status-badge.open::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--c-success);
    animation: live-pulse 2s infinite;
}
.job-status-badge.soon {
    background: rgba(15, 76, 92, 0.07);
    color: var(--c-text-muted);
}

.job-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--c-bg-alt);
    color: var(--c-text);
    display: grid; place-items: center;
    font-size: 18px; font-weight: 600;
    flex-shrink: 0;
    transition: all 0.25s;
}

.jobs-fallback-note {
    margin-top: 40px;
    padding: 28px 32px;
    border: 1px dashed var(--c-border);
    border-radius: var(--radius);
    text-align: center;
    color: var(--c-text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.jobs-fallback-note strong { color: var(--c-text); font-weight: 600; }

/* ==========================================================================
   JOB PLACEHOLDER PAGE
   ========================================================================== */
.job-placeholder { padding: 70px 0 100px; }
.job-placeholder-back {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--c-text-muted);
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.2s;
}
.job-placeholder-back:hover { color: var(--c-primary); }

.job-placeholder-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
.job-placeholder-header { margin-bottom: 36px; }
.job-placeholder-eyebrow {
    font-size: 13px; font-weight: 600;
    color: var(--c-accent-dark);
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 12px;
}
.job-placeholder-title {
    font-family: var(--f-display);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 16px;
}
.job-placeholder-title em { font-style: italic; color: var(--c-primary); font-weight: 400; }
.job-placeholder-lede {
    font-size: 18px; color: var(--c-text-muted); line-height: 1.55;
    margin-bottom: 32px;
}

.job-placeholder-content h3 {
    font-family: var(--f-display);
    font-size: 22px; font-weight: 600;
    letter-spacing: -0.01em;
    margin: 28px 0 12px;
}
.job-placeholder-content h3:first-child { margin-top: 0; }
.job-placeholder-content p { font-size: 16px; color: var(--c-text); line-height: 1.65; margin-bottom: 14px; }
.job-placeholder-content ul { padding-left: 18px; margin-bottom: 18px; }
.job-placeholder-content li { font-size: 16px; color: var(--c-text); line-height: 1.6; margin-bottom: 8px; }

.job-placeholder-side {
    position: sticky; top: 100px;
}
.job-facts-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}
.job-facts-card h4 {
    font-family: var(--f-body);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--c-accent-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.job-facts-row {
    display: flex; justify-content: space-between; align-items: start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--c-border);
    font-size: 14.5px;
}
.job-facts-row:last-child { border-bottom: none; padding-bottom: 0; }
.job-facts-row .label { color: var(--c-text-muted); flex-shrink: 0; }
.job-facts-row .value { font-weight: 600; color: var(--c-text); text-align: right; }

.job-interest-card {
    background: var(--c-primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.job-interest-card::before {
    content: ''; position: absolute;
    bottom: -80px; right: -80px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(227, 111, 76, 0.3) 0%, transparent 70%);
}
.job-interest-card > * { position: relative; z-index: 1; }
.job-interest-card h4 {
    font-family: var(--f-display);
    font-size: 22px; font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.job-interest-card p {
    color: rgba(255,255,255,0.78);
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 18px;
}
.job-interest-card a {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--c-accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}
.job-interest-card a:hover {
    background: var(--c-accent-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-hero { padding: 80px 0 60px; }
.about-hero h1 {
    font-family: var(--f-display);
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.0;
    margin-bottom: 28px;
    max-width: 880px;
}
.about-hero h1 em { font-style: italic; color: var(--c-primary); font-weight: 400; }
.about-hero .lede {
    font-size: 20px;
    color: var(--c-text-muted);
    max-width: 680px;
    line-height: 1.55;
}

.about-story { padding: 60px 0 80px; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-story-text h2 {
    font-family: var(--f-display);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.about-story-text h2 em { font-style: italic; color: var(--c-primary); }
.about-story-text p {
    font-size: 17px;
    color: var(--c-text);
    line-height: 1.65;
    margin-bottom: 18px;
}
.about-story-callout {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}
.about-story-callout h3 {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.about-story-callout-list { list-style: none; padding: 0; margin: 0; }
.about-story-callout-list li {
    display: grid; grid-template-columns: 28px 1fr; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-border);
    font-size: 14.5px;
    color: var(--c-text);
    line-height: 1.5;
}
.about-story-callout-list li:last-child { border-bottom: none; }
.about-story-callout-list .check {
    width: 22px; height: 22px; border-radius: 6px;
    background: rgba(47, 143, 110, 0.10); color: var(--c-success);
    display: grid; place-items: center;
    margin-top: 2px;
}
.about-story-callout-list .check svg { width: 12px; height: 12px; }

.about-values { background: var(--c-bg-alt); padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 36px 28px;
}
.value-numeral {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: 48px;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 22px;
    letter-spacing: -0.04em;
}
.value-card h3 {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.value-card p {
    color: var(--c-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.about-stats { padding: 100px 0; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.about-stat { text-align: center; }
.about-stat-num {
    font-family: var(--f-display);
    font-size: 56px;
    font-weight: 500;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
    font-variation-settings: 'opsz' 144;
}
.about-stat-label {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-hero { padding: 80px 0 40px; }
.contact-hero h1 {
    font-family: var(--f-display);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 20px;
}
.contact-hero h1 em { font-style: italic; color: var(--c-primary); font-weight: 400; }
.contact-hero .lede {
    font-size: 18px;
    color: var(--c-text-muted);
    max-width: 560px;
    line-height: 1.55;
}

.contact-section { padding: 40px 0 100px; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.contact-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.25s;
}
.contact-card:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.contact-icon {
    width: 44px; height: 44px; border-radius: 11px;
    background: rgba(15, 76, 92, 0.08); color: var(--c-primary);
    display: grid; place-items: center;
    margin-bottom: 22px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card h3 {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.contact-card .sub {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}
.contact-card .value {
    font-size: 17px;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    word-break: break-word;
}
.contact-card a.value:hover { color: var(--c-primary); }
.contact-card .hours {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.contact-address {
    margin-top: 40px;
    padding: 32px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
}
.contact-address-label {
    font-family: var(--f-body);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--c-accent-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.contact-address-text {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.contact-address-note {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-top: 8px;
}

/* ==========================================================================
   GET A QUOTE PAGE
   ========================================================================== */
.quote-hero { padding: 80px 0 40px; }
.quote-hero h1 {
    font-family: var(--f-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 18px;
    max-width: 800px;
}
.quote-hero h1 em { font-style: italic; color: var(--c-primary); font-weight: 400; }
.quote-hero .lede {
    font-size: 18px;
    color: var(--c-text-muted);
    max-width: 620px;
    line-height: 1.55;
}

.quote-section { padding: 30px 0 100px; }
.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
.quote-info {
    position: sticky;
    top: 100px;
}
.quote-info h3 {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.quote-info p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.quote-checklist { list-style: none; padding: 0; margin: 0; }
.quote-checklist li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-border);
    font-size: 14.5px;
    color: var(--c-text);
    line-height: 1.5;
}
.quote-checklist li:last-child { border-bottom: none; }
.quote-checklist .check {
    width: 22px; height: 22px; border-radius: 6px;
    background: rgba(47, 143, 110, 0.10); color: var(--c-success);
    display: grid; place-items: center;
    margin-top: 2px;
}
.quote-checklist .check svg { width: 12px; height: 12px; }

.quote-form-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 40px 36px;
}

.quote-form-card .field-group { margin-bottom: 22px; }
.quote-form-card .field-group label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--c-text); margin-bottom: 8px;
}
.quote-form-card .field-group .hint {
    font-size: 13px; color: var(--c-text-muted); margin-top: 6px; line-height: 1.4;
}
.quote-form-card input[type="text"],
.quote-form-card input[type="email"],
.quote-form-card input[type="tel"],
.quote-form-card input[type="url"],
.quote-form-card select,
.quote-form-card textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--c-border); border-radius: 10px;
    font-family: var(--f-body); font-size: 15px;
    color: var(--c-text); background: var(--c-bg);
    transition: all 0.2s;
}
.quote-form-card input:focus,
.quote-form-card select:focus,
.quote-form-card textarea:focus {
    outline: none; border-color: var(--c-primary); background: var(--c-bg-card);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.08);
}
.quote-form-card textarea { resize: vertical; min-height: 100px; }
.quote-form-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form-card .field-group.has-error input,
.quote-form-card .field-group.has-error select,
.quote-form-card .field-group.has-error textarea {
    border-color: #C8552F; background: rgba(227, 111, 76, 0.04);
}
.quote-form-card .field-error {
    color: #C8552F; font-size: 13px; margin-top: 6px;
    font-weight: 500; display: none;
}
.quote-form-card .field-group.has-error .field-error { display: block; }

.quote-form-actions {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    padding-top: 12px;
    margin-top: 10px;
}
.quote-form-actions .privacy {
    font-size: 12.5px;
    color: var(--c-text-muted);
    display: flex; align-items: center; gap: 6px;
}
.quote-form-actions .privacy svg { width: 14px; height: 14px; }

.quote-form-error {
    margin-bottom: 20px;
    padding: 14px 18px;
    background: rgba(227, 111, 76, 0.08);
    border: 1px solid rgba(227, 111, 76, 0.3);
    border-radius: 10px;
    color: var(--c-accent-dark);
    font-size: 14px;
    display: none;
}
.quote-form-error.active { display: block; }

.quote-form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.quote-form-success.active { display: block; }
.quote-form-success .success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(47, 143, 110, 0.10); color: var(--c-success);
    display: grid; place-items: center; margin: 0 auto 22px;
}
.quote-form-success .success-icon svg { width: 28px; height: 28px; }
.quote-form-success h3 {
    font-family: var(--f-display);
    font-size: 28px; font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.quote-form-success h3 em { font-style: italic; color: var(--c-primary); }
.quote-form-success p { color: var(--c-text-muted); font-size: 15px; line-height: 1.55; }

/* ==========================================================================
   GENERIC LEGAL PAGE (Privacy / Terms)
   ========================================================================== */
.legal-page { padding: 70px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 {
    font-family: var(--f-display);
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
}
.legal-page .updated {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border);
}
.legal-page h2 {
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 36px 0 14px;
}
.legal-page h3 {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px;
}
.legal-page p {
    font-size: 16px;
    color: var(--c-text);
    line-height: 1.7;
    margin-bottom: 14px;
}
.legal-page ul, .legal-page ol { padding-left: 20px; margin-bottom: 16px; }
.legal-page li { font-size: 16px; color: var(--c-text); line-height: 1.65; margin-bottom: 6px; }
.legal-page a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--c-accent-dark); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px) {
    .jobs-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .job-card { grid-template-columns: auto 1fr; padding: 22px 24px; }
    .job-card .job-arrow { display: none; }
    .job-placeholder-grid { grid-template-columns: 1fr; gap: 40px; }
    .job-placeholder-side { position: static; }
    .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-story-callout { position: static; }
    .values-grid { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-address { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
    .quote-grid { grid-template-columns: 1fr; gap: 32px; }
    .quote-info { position: static; }
    .quote-form-card { padding: 28px 22px; }
    .quote-form-card .field-row { grid-template-columns: 1fr; }
}
