/* manufacturing.css */

/* Manufacturing Page Styles - Following index.html aesthetics */

/* Hero Section */
.mfg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mfg-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mfg-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.85) 0%, rgba(10, 14, 23, 0.65) 100%);
    z-index: 1;
}

.mfg-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.mfg-hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.mfg-hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--bw-accent);
}

.mfg-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 600px;
}

/* Overview Stats Card (right column) */
.mfg-stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--bw-border);
}

.mfg-stat-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--bw-border);
}

.mfg-stat-item:last-child {
    border-bottom: none;
}

.mfg-stat-num {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--bw-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.mfg-stat-label {
    font-size: 0.95rem;
    color: var(--bw-muted);
    line-height: 1.6;
}

/* (Legacy) Case Cards - kept for compatibility */
.mfg-case-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--bw-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mfg-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(10, 14, 23, 0.12);
    border-color: rgba(249, 95, 14, 0.25);
}

.mfg-case-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(249, 95, 14, 0.10);
    color: var(--bw-accent);
    font-size: 24px;
    margin-bottom: 16px;
}

.mfg-case-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bw-ink);
    margin-bottom: 12px;
    line-height: 1.4;
}

.mfg-case-desc {
    font-size: 0.95rem;
    color: var(--bw-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.mfg-case-outcomes {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bw-border);
}

.mfg-outcome-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bw-ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.mfg-outcome-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mfg-outcome-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--bw-ink);
}

.mfg-outcome-list i {
    color: var(--bw-accent);
    margin-top: 2px;
    font-size: 1rem;
}

/* (Legacy) Q&A Cards - kept for compatibility */
.mfg-qa-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--bw-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.mfg-qa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 14, 23, 0.1);
}

.mfg-qa-q {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bw-ink);
    margin-bottom: 14px;
    line-height: 1.5;
}

.mfg-qa-a {
    font-size: 0.95rem;
    color: var(--bw-muted);
    line-height: 1.8;
}

.mfg-qa-a strong {
    color: var(--bw-accent);
}

/* ---------------- Added styles for merged sections (from sample) ---------------- */

/* Story cards */
.mfg-story-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(10, 14, 23, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mfg-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 75px rgba(10, 14, 23, 0.12);
}

.mfg-story-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.mfg-story-title {
    font-size: 20px;
    font-weight: 300;
    color: var(--bw-ink);
    line-height: 1.25;
    margin-bottom: 0;
}

.mfg-story-outcomes-title {
    font-size: 13px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--bw-accent);
    margin-bottom: 10px;
}

.mfg-story-list {
    padding-left: 18px;
    margin-bottom: 18px;
    color: var(--bw-muted);
    font-size: 14px;
}

.mfg-btn-soft {
    border-color: rgba(0, 0, 0, 0.18);
}

/* Connect mini cards */
.mfg-mini-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: var(--bw-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.mfg-mini-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--bw-accent);
}

.mfg-mini-card__title {
    font-size: 15px;
    font-weight: 500;
    color: var(--bw-ink);
}

.mfg-mini-card__text {
    font-size: 14px;
    color: var(--bw-muted);
}

/* Contact card + form controls */
.mfg-contact-card {
    border-radius: 16px;
    padding: 22px;
    background: var(--bw-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.mfg-contact-card__badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(249, 95, 14, 0.12);
    border: 1px solid rgba(249, 95, 14, 0.25);
    color: rgba(255, 255, 255, 0.90);
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.mfg-contact-card__title {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 6px;
}

.mfg-contact-card__text {
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
}

.mfg-label {
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    letter-spacing: 0.02em;
}

/* Make inputs readable on dark background */
.mfg-control.form-control,
.mfg-control.form-select {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.mfg-control.form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Fix dropdown option readability (most browsers use a light menu) */
.mfg-control.form-select option {
    color: #111;
    background: #fff;
}

.mfg-control.form-control:focus,
.mfg-control.form-select:focus {
    border-color: rgba(249, 95, 14, 0.55) !important;
    box-shadow: 0 0 0 0.25rem rgba(249, 95, 14, 0.18) !important;
}

.mfg-contact-card__fineprint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

/* 03 Things cards (renamed to avoid conflict with overview .mfg-stat-card) */
.mfg-signal-card {
    border-radius: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 60px rgba(10, 14, 23, 0.06);
    height: 100%;
}

.mfg-stat-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mfg-stat-index {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.mfg-stat-value {
    font-size: 44px;
    line-height: 1;
    font-weight: 300;
    color: var(--bw-accent);
}

.mfg-stat-text {
    color: var(--bw-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.mfg-stat-source {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 12px;
}

/* FAQ accordion */
.mfg-accordion .accordion-item {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 45px rgba(10, 14, 23, 0.06);
    margin-bottom: 14px;
}

.mfg-accordion .accordion-button {
    font-weight: 300;
    padding: 18px;
}

.mfg-accordion .accordion-button:not(.collapsed) {
    color: var(--bw-ink);
    background: rgba(249, 95, 14, 0.08);
    box-shadow: none;
}

.mfg-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(249, 95, 14, 0.18);
}

.mfg-accordion .accordion-body {
    color: var(--bw-muted);
    line-height: 1.8;
    font-size: 14px;
}

/* Insights cards */
.mfg-insight-card {
    border-radius: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 60px rgba(10, 14, 23, 0.06);
}

.mfg-insight-meta {
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 10px;
}

.mfg-insight-title {
    font-size: 18px;
    font-weight: 300;
    color: var(--bw-ink);
    line-height: 1.3;
}

/* Resources */
.mfg-resource-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.mfg-resource-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--bw-ink);
}

.mfg-resource-sub {
    font-size: 14px;
    color: var(--bw-muted);
}

.mfg-resource-card {
    border-radius: 16px;
    padding: 22px;
    background: var(--bw-dark);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.mfg-resource-card__kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
}

.mfg-resource-card__title {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 300;
}

.mfg-resource-card__link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
}

.mfg-resource-card__link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* CTA spacing */
.mfg-cta {
    padding: 70px 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .mfg-hero {
        min-height: 100vh;
    }

    .mfg-hero-title {
        font-size: 2.5rem;
    }

    .mfg-hero-desc {
        font-size: 1rem;
    }

    .mfg-stat-num {
        font-size: 2rem;
    }

    .mfg-case-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .mfg-hero-title {
        font-size: 2rem;
    }

    .mfg-hero-content {
        padding: 60px 0;
    }

    .mfg-stat-card {
        padding: 24px;
    }

    .mfg-case-card,
    .mfg-qa-card {
        padding: 20px;
    }
}
