/* =============================================================
   manufacturing-pillar.css — Shared styles for manufacturing pillar pages
   Loaded on: /industries/ai-readiness/ and all pillar sub-pages.
   Depends on: manufacturing.css (timeline, FAQ, tabs, dark-section overrides)
   ============================================================= */

/* ══════════════════════════════════════════════════════════════
   SECTION 1 — Hero
   ══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,28,72,0.92) 0%, rgba(3,28,72,0.75) 50%, rgba(220,20,60,0.45) 100%);
    z-index: 1;
}
.hero-section .container-xl { position: relative; z-index: 2; }

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-section .col-lg-7 { width: 78.333333%; }
}

.hero-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    max-width: 100%;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 100%;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-section .eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-section .eyebrow .text-brand { color: var(--color-brand-red); font-size: 1rem; line-height: 0; }
.hero-desc strong { color: #FFFFFF; font-weight: 700; }

.hero-section .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
}
.hero-section .btn-primary {
    background-color: var(--color-brand-red);
    color: #FFFFFF;
}
.hero-section .btn-primary:hover {
    background-color: #B91130;
    transform: translateY(-2px);
}
.hero-section .btn-outline {
    background-color: #fff;
    border-color: rgba(255,255,255,0.4);
    color: #000 !important;
}
.hero-section .btn-outline:hover {
    background-color: #fff;
    border-color: #000;
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.footer-note {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-brand-red);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 — Role Tabs (extends manufacturing.css tab styles)
   =========================================================== */
.section-text-center {
    text-align: center;
    max-width: 54rem;
    margin: 0 auto 4rem;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 3 — Readiness Cards (6 Questions)
   ══════════════════════════════════════════════════════════════ */
.readiness-card__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.25rem;
}

.readiness-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.readiness-card__num {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(220,20,60,0.4);
    line-height: 1;
}

.readiness-card__icon {
    color: var(--color-brand-red);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.card:hover .readiness-card__icon { transform: scale(1.15) rotate(5deg); }
.readiness-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-alert {
    background-color: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-left: 4px solid var(--color-brand-red);
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    margin: 3rem auto 0;
    max-width: 52rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 300ms ease;
}
.info-alert:hover { transform: translateY(-2px); }
.info-alert__icon {
    color: var(--color-brand-red);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.info-alert__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin: 0;
}
.info-alert__text strong { color: var(--color-navy); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   SECTION 4 — Failure Cards
   ══════════════════════════════════════════════════════════════ */
.failure-cards-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.failure-card {
    background: #FFFFFF;
    border: 1px solid var(--color-gray-200);
    border-left: 3px solid var(--color-brand-red);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.failure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(3,28,72,0.08);
    border-color: var(--color-gray-300);
    border-left-color: var(--color-brand-red);
}

.failure-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.failure-card__num {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(220,20,60,0.4);
    line-height: 1;
    margin-top: 0.125rem;
    transition: color 300ms ease;
}
.failure-card:hover .failure-card__num { color: var(--color-brand-red); }

.failure-card__icon {
    color: var(--color-brand-red);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: transform 300ms ease;
}
.failure-card:hover .failure-card__icon { transform: scale(1.1) rotate(-5deg); }
.failure-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.failure-card__title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.failure-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.3;
}

.failure-card__badge {
    background-color: rgba(220,20,60,0.08);
    color: var(--color-brand-red);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
}

.failure-quote {
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.failure-quote__text {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.failure-quote__author {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.failure-quote__author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--color-brand-red);
}

.failure-card__desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.65;
    margin: 0;
}

.failure-fix {
    background-color: rgba(3,28,72,0.04);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.failure-fix__icon {
    color: var(--color-navy);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.failure-fix__text {
    font-size: 0.9375rem;
    color: var(--color-gray-700);
    line-height: 1.6;
    margin: 0;
}
.failure-fix__text strong { color: var(--color-navy); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   SECTION 5 — 6 Dimensions Assessment
   ══════════════════════════════════════════════════════════════ */
.assessment-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 0 auto 4rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.assessment-summary__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(220,20,60,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-red);
    flex-shrink: 0;
}
.assessment-summary__icon svg { width: 32px; height: 32px; }

.assessment-summary__content { flex: 1; }

.assessment-summary__text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 1rem;
}

.assessment-summary__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin: 0;
    padding: 0;
}
.assessment-summary__list li {
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.assessment-summary__list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-brand-red);
}

.assessment-summary__action { flex-shrink: 0; }

.dimension-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dimension-card__num {
    font-size: 1.75rem;
    font-weight: 800;
    color: rgba(220,20,60,0.2);
    line-height: 1;
    transition: color 300ms ease;
}
.card:hover .dimension-card__num { color: var(--color-brand-red); }

.dimension-card__icon {
    color: var(--color-brand-red);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.card:hover .dimension-card__icon { transform: scale(1.15) translateY(-2px); }
.dimension-card__icon:hover { transform: scale(1.15); }
.dimension-card__icon svg { width: 100%; height: 100%; }

.score-box-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-100);
}

.score-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    width: 85px;
}

.score-badge--low {
    background-color: var(--color-gray-100);
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-200);
}

.score-badge--high {
    background-color: rgba(3,28,72,0.05);
    color: var(--color-navy);
    border: 1px solid rgba(3,28,72,0.1);
}

.score-desc {
    font-size: 0.875rem;
    color: var(--color-gray-700);
    line-height: 1.5;
    margin: 0;
    margin-top: 0.125rem;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 6 — Before/After Table + AI Use Cases
   ══════════════════════════════════════════════════════════════ */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    background: var(--color-white);
}

.mfg-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: left;
}
.mfg-table th {
    background-color: var(--color-navy);
    color: #FFFFFF;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}
.mfg-table th:last-child { border-right: none; }
.mfg-table td {
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    border-right: 1px solid var(--color-gray-200);
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    vertical-align: top;
    line-height: 1.6;
    transition: background-color 150ms ease;
}
.mfg-table td:last-child
.mfg-table tbody tr:last-child td { border-bottom: none; }
.mfg-table tbody tr:hover td { background-color: var(--color-gray-50); }
.mfg-table th:nth-child(1) { width: 20%; }
.mfg-table th:nth-child(2) { width: 40%; }
.mfg-table th:nth-child(3) { width: 40%; } { border-right: none; }
.mfg-table tbody tr:last-child td { border-bottom: none; }

.td-dim {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.td-dim__icon {
    color: var(--color-brand-red);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.td-dim__icon svg { width: 100%; height: 100%; }
.td-dim__content { display: flex; flex-direction: column; }
.td-dim__sub {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-top: 0.25rem;
}
.td-dim__title {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 0.9375rem;
}

.td-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}
.td-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.td-item--negative svg {
    color: var(--color-brand-red);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    stroke-width: 3;
}
.td-item--negative svg { color: var(--color-brand-red); }
.td-item--positive svg {
    color: #10B981;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    stroke-width: 3;
}
.td-item--positive svg { color: #10B981; }

.use-case-icon {
    color: var(--color-brand-red);
    width:  32px;
    height:  32px;
    margin-bottom: 0.75rem;
}
.use-case-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.card:hover .use-case-icon { transform: scale(1.15) translateY(-2px); }

/* ══════════════════════════════════════════════════════════════
   SECTION 7 — Phase Cards (dark alt, different from manufacturing.css)
   ══════════════════════════════════════════════════════════════ */
.phases-container .card {
    background-color: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 2.5rem;
    border-radius: var(--radius-lg, 1rem);
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    transition: transform 300ms ease, border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.phases-container .card:hover {
    background-color: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -8px rgba(0,0,0,0.25);
}

.phases-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.phase-card {
    border-left: 3px solid var(--color-brand-red);
}

.phase-card__label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand-red);
    margin-bottom: 0.75rem;
    display: block;
}

.phase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: border-color 300ms ease;
}
.phase-card:hover .phase-grid { border-color: rgba(255,255,255,0.3); }
@media (min-width: 768px) {
    .phase-grid { grid-template-columns: repeat(3, 1fr); }
}

.phase-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phase-col__heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
    display: block;
}

.phase-col__text {
    font-size:  0.9375rem;
    color:  rgba(255,255,255,0.8);
    line-height: 1.55;
    margin: 0;
}

.text-white { color: #FFFFFF !important; }

.section-dark .section-heading {
    color: #FFFFFF;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 8 — Business Outcomes
   ══════════════════════════════════════════════════════════════ */
.outcome-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom:  0.25rem;
}

.outcome-icon {
    color: var(--color-brand-red);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.card:hover .outcome-icon { transform: scale(1.15) rotate(-5deg); }
.outcome-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.outcome-label {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #10B981;
}

.outcome-role {
    font-size: 0.7rem;
    color: var(--color-gray-500);
    margin-top: 0.4rem;
    font-style: italic;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-brand-red);
}

.return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
    text-decoration: none;
    margin-top: 3rem;
    transition: color 150ms ease;
}
.return-link:hover { color: var(--color-navy); }
.return-link span { color: var(--color-brand-red); font-weight: 700; }
.return-link:hover span { color: var(--color-navy); }
.return-link:hover { color: var(--color-brand-red); }
.return-link span { color: var(--color-navy); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   SECTION 10 — FAQ (extends manufacturing.css generic faq)
   ══════════════════════════════════════════════════════════════ */
.faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 1rem;
    color: var(--color-brand-red);
    transition: transform 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-chevron svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-item.active .faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 1rem;
    color: var(--color-brand-red);
    transition: transform 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-chevron svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }

/* ══════════════════════════════════════════════════════════════
   SECTION 11 — Final CTA
   ══════════════════════════════════════════════════════════════ */
.cta-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
}

.cta-section .section-heading {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin: 0 auto 2rem;
    max-width: 54rem;
}

.cta-section .section-subtitle {
    line-height: 1.7;
    max-width: 52rem;
    margin: 0 auto 1.5rem;
}
.cta-section .section-subtitle strong {
    color: #FFFFFF;
    font-weight: 700;
}

.cta-section .btn-primary {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.cta-section .btn:hover svg {
    transform: translateX(4px);
}

.cta-buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.secondary-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-footer-info {
    margin-top: 5rem;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════
   Shared utilities
   ══════════════════════════════════════════════════════════════ */
.mb-5 { margin-bottom: 4rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-4 { margin-top: 2rem; }

.card-flex-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.icon-accent {
    color: var(--color-brand-red);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}
.icon-accent svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-footer-text {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-100);
}

.solution-icon {
    color: var(--color-brand-red);
    width: 28px;
    height: 28px;
    margin-bottom: 0.75rem;
}
.solution-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .assessment-summary {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .assessment-summary__list { justify-content: center; }
}
@media (max-width: 768px) {
    .cta-section { padding: 6rem 0; }
    .hero-section { min-height: 60vh; padding: 5rem 0; }
    .hero-section h1 { font-size: clamp(2rem, 6vw, 2.5rem); }
    .assessment-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 0 auto 4rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}
    .cta-buttons-wrapper { gap: 1rem; }
}

@media (max-width: 768px) {
    .section-dark { padding: var(--section-padding-y) 0; }
}

@media (max-width: 640px) {
    .cta-buttons-wrapper { margin-top: 2.5rem; width: 100%; }
    .secondary-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .btn { width: 100%; }
    .cta-footer-info { margin-top: 3.5rem; }
    .failure-card { padding: 1.5rem; }
    .failure-quote { padding: 1.25rem; }
    .failure-fix { padding: 1rem; flex-direction: column; gap: 0.5rem; }
    .failure-fix__icon { display: none; }
    .score-row { flex-direction: column; gap: 0.5rem; }
    .assessment-summary { padding: 1.5rem; }
    .assessment-summary__list { flex-direction: column; align-items: center; gap: 0.75rem; }
    .assessment-summary__list li::before { display: none; }
    .phase-card { padding: 1.5rem; }
}

/* Timeline step CTA buttons */
.timeline-step .btn-primary { margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════════
   Pillar 3-6 extensions — Hero Glass Card + Form Separator
   ══════════════════════════════════════════════════════════════ */
.glass-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.diagnostic-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.diagnostic-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
.diagnostic-list li::before {
    content: '●';
    color: var(--color-brand-red);
    font-weight: 700;
    font-size: 0.6rem;
    line-height: 1;
    margin-top: 6px;
    flex-shrink: 0;
}
.diagnostic-list li strong { color: var(--color-white); }

.diagnostic-footer {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}
.diagnostic-footer strong { color: var(--color-white); }

.form-separator {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}
.form-separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.form-separator span {
    background: var(--color-navy);
    padding: 0 1rem;
    position: relative;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════
   Pillar page base utilities (for raw-HTML pages in DB)
   Shared across all 5 pillar pages. Mirrors the inline <style>
   block in the UI prototypes so styles work without it.
   ══════════════════════════════════════════════════════════════ */
:root {
    --ink:    #0A1628;
    --ink2:   #1A2E4A;
    --ink3:   #243D5C;
    --slate:  #3D5475;
    --steel:  #5B7FA6;
    --mist:   #A8C0D8;
    --pale:   #EBF2FA;
    --off:    #F5F7FA;
    --g1:     #E8ECF2;
    --g2:     #B8C4D4;
    --g3:     #7A8FA6;
    --g4:     #4A5E72;
    --red:    #C8102E;
    --red2:   #A50D25;
    --red-bg: rgba(200,16,46,0.08);
    --amber:  #E87722;
    --green:  #1A7A4A;
    --fh: 'DM Serif Display', serif;
    --fb: 'DM Sans', sans-serif;
    --r: 8px;
    --rl: 14px;
}
.sec {
    padding: 5.5rem 1.5rem;
}
.w {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.eye {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .55rem;
}
.quick-answer {
    background: rgba(255,255,255,.06);
    border-left: 4px solid var(--red);
    border-radius: 0 var(--rl) var(--rl) 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    max-width: 720px;
}
.cta-strip {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 16px rgba(200,16,46,.3);
}
.btn-red:hover {
    background: var(--red2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,16,46,.4);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,.07);
}
.btn-lg {
    padding: .92rem 2rem;
    font-size: 1rem;
}
.h2 {
    font-family: var(--fh);
    font-size: clamp(1.85rem, 3.5vw, 2.7rem);
    color: var(--ink);
    line-height: 1.12;
    font-weight: 400;
    margin-bottom: .9rem;
    letter-spacing: -.01em;
}
.h2 em { font-style: italic; color: var(--red); }
.h2-light { color: #fff; }
.h2-light em { color: #FFAAB8; }
.h2-c { text-align: center; }
.h3 {
    font-family: var(--fb);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: .35rem;
}
.lead {
    font-size: 1.08rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.lead strong { color: var(--ink); font-weight: 600; }
.lead-light { color: rgba(255,255,255,.72); }
.lead-light strong { color: #fff; }

/* Pillar page hero overrides for DB-stored content that uses
   non-BEM class names inside .mfg-hero */
.mfg-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
}
.mfg-hero .hero-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.mfg-hero .hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}
.mfg-hero .btn-outline {
    background: #fff;
    color: #000;
    border-color: rgba(255,255,255,.4);
}
.mfg-hero .btn-outline:hover {
    background: #fff;
    border-color: #000;
}

/* .card-link hover — keep visible on dark bg */
.service-card:hover .card-link,
.timeline-step .card-link:hover {
    color: var(--color-brand-red-bright);
}
