/* ================================================================
   resources-supplier.css
   Mercury Integrated Manufacturing — Supplier Resources Page
   Theme: #454646 primary · #b0ce5a accent · #dcdfdf light · #0c0a0c dark
   ================================================================ */


/* ── Eyebrow label ──────────────────────────────────────────────── */
.sr-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #b0ce5a;
    margin-bottom: 12px;
}


/* ════════════════════════════════════════════════════════════════
   INTRO SECTION
════════════════════════════════════════════════════════════════ */
.sr-intro {
    background: #fff;
    padding: 80px 0 60px;
}

.sr-intro p {
    color: #555;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 0;
}

/* Stats strip */
.sr-intro-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 52px;
    border-top: 1px solid #dcdfdf;
    border-bottom: 1px solid #dcdfdf;
    flex-wrap: wrap;
}

.sr-stat {
    text-align: center;
    padding: 30px 40px;
    border-right: 1px solid #dcdfdf;
    flex: 1;
    min-width: 160px;
}

.sr-stat:last-child {
    border-right: none;
}

.sr-stat__num {
    font-size: 34px;
    font-weight: 900;
    color: #b0ce5a;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.sr-stat__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #454646;
    display: block;
    line-height: 1.5;
}


/* ════════════════════════════════════════════════════════════════
   REQUIREMENTS + DOWNLOADS SECTION
════════════════════════════════════════════════════════════════ */
.sr-content-section {
    background: #f5f5f5;
    padding: 80px 0 90px;
}

/* Section micro-label */
.sr-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: #b0ce5a;
    margin-bottom: 6px;
}

/* Section title — span colour is handled by .highlight in mercury-override */
.sr-section-title {
    font-size: 26px;
    font-weight: 700 !important;
    color: #0c0a0c !important;
    margin-bottom: 32px;
    line-height: 1.25;
}


/* ── Requirement items ──────────────────────────────────────── */
.sr-req-item {
    display: flex;
    gap: 20px;
    padding: 24px 26px;
    background: #fff;
    border-left: 4px solid #b0ce5a;
    margin-bottom: 10px;
    transition: box-shadow 0.22s, transform 0.22s;
}

.sr-req-item:hover {
    box-shadow: 0 6px 26px rgba(0,0,0,0.07);
    transform: translateX(4px);
}

.sr-req-item__num {
    font-size: 24px;
    font-weight: 900;
    color: #b0ce5a;
    opacity: 0.5;
    min-width: 34px;
    line-height: 1.1;
    flex-shrink: 0;
    padding-top: 2px;
}

.sr-req-item h4 {
    font-weight: 700 !important;
    color: #454646 !important;
    margin-bottom: 6px;
    font-size: 15px;
}

.sr-req-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}


/* ── Document cards ─────────────────────────────────────────── */
.sr-doc-card {
    background: #fff;
    border: 1px solid #dcdfdf;
    border-top: 4px solid #b0ce5a;
    padding: 22px 24px 20px;
    margin-bottom: 14px;
    transition: box-shadow 0.22s;
}

.sr-doc-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}

.sr-doc-card__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.sr-doc-card__icon {
    font-size: 28px;
    color: #b0ce5a;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}

.sr-doc-card__name {
    font-weight: 700;
    color: #454646;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 4px;
}

.sr-doc-card__desc {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.sr-doc-card__btn {
    display: block;
    width: 100%;
    background: #454646;
    color: #fff !important;
    text-align: center;
    padding: 11px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

.sr-doc-card__btn:hover {
    background: #b0ce5a;
    color: #454646 !important;
    text-decoration: none !important;
}

.sr-doc-card__btn i {
    margin-right: 6px;
    font-size: 14px;
    vertical-align: -1px;
}

/* document published but the PDF is not posted yet — non-interactive label */
.sr-doc-card__btn--muted {
    background: #ededeb;
    color: #5f6060 !important;
    cursor: default;
}
.sr-doc-card__btn--muted:hover {
    background: #ededeb;
    color: #5f6060 !important;
}


/* ── Approved Supplier CTA box ──────────────────────────────── */
.sr-cta-box {
    background: #454646;
    padding: 32px 28px 28px;
    margin-top: 6px;
    border-top: 4px solid #b0ce5a;
}

.sr-cta-box h4 {
    color: #b0ce5a !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    font-size: 17px;
}

.sr-cta-box p {
    color: rgba(255,255,255,0.70);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.sr-cta-box .ht-btn--default {
    display: block !important;
    text-align: center !important;
}


/* ════════════════════════════════════════════════════════════════
   HOW TO BECOME AN APPROVED SUPPLIER — PROCESS SECTION
════════════════════════════════════════════════════════════════ */
.sr-process-section {
    background: #fff;
    padding: 80px 0 90px;
}

.sr-process-header {
    margin-bottom: 60px;
}

.sr-process-step {
    text-align: center;
    padding: 0 24px;
    position: relative;
}

/* Arrow connector between steps on desktop */
.sr-process-step + .sr-process-step::before {
    content: '→';
    position: absolute;
    left: -10px;
    top: 22px;
    font-size: 20px;
    color: #b0ce5a;
    font-weight: 900;
    line-height: 1;
}

.sr-process-step__circle {
    width: 72px;
    height: 72px;
    background: #b0ce5a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: background 0.2s, transform 0.2s;
}

.sr-process-step:hover .sr-process-step__circle {
    background: #454646;
    transform: translateY(-4px);
}

.sr-process-step__circle i {
    font-size: 28px;
    color: #454646;
    transition: color 0.2s;
}

.sr-process-step:hover .sr-process-step__circle i {
    color: #b0ce5a;
}

.sr-process-step__num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #b0ce5a;
    margin-bottom: 8px;
    display: block;
}

.sr-process-step h4 {
    font-size: 17px;
    font-weight: 700 !important;
    color: #454646 !important;
    margin-bottom: 10px;
}

.sr-process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    max-width: 280px;
    margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════════
   CONTACT / PORTAL STRIP  (dark background)
════════════════════════════════════════════════════════════════ */
/* Sits on the supplier banner — the delivery fleet shot, which is
   the closest match in the set for a supplier portal. Washed in
   brand grey rather than black so the strip keeps the weight it has
   today between the sections either side of it. */
.sr-portal-strip {
    background:
        linear-gradient(
            rgba(69, 70, 70, 0.88),
            rgba(69, 70, 70, 0.88)
        ),
        url('../img/backgrounds/supplier-banner.webp') center center / cover no-repeat,
        #454646;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

/* Left green accent bar — matches ph-hero pattern */
.sr-portal-strip::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #b0ce5a 30%, #b0ce5a 70%, transparent);
}

.sr-portal-strip__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #b0ce5a;
    display: block;
    margin-bottom: 10px;
}

.sr-portal-strip h2 {
    font-size: 34px;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 16px;
    line-height: 1.18;
}

.sr-portal-strip h2 .highlight {
    color: #b0ce5a !important;
}

.sr-portal-strip p {
    color: rgba(255,255,255,0.62);
    font-size: 15px;
    line-height: 1.85;
    max-width: 560px;
    margin-bottom: 0;
}

/* CTA column alignment */
.sr-portal-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding-top: 24px;
}

.sr-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #b0ce5a;
    color: #454646 !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 32px;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 14px;
    white-space: nowrap;
}

.sr-portal-btn:hover {
    background: #fff;
    color: #454646 !important;
    text-decoration: none !important;
}

.sr-portal-btn i {
    font-size: 18px;
}

.sr-portal-contact {
    font-size: 13px;
    color: rgba(255,255,255,0.42);
    display: block;
}

.sr-portal-contact a {
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    transition: color 0.2s;
}

.sr-portal-contact a:hover {
    color: #b0ce5a;
    text-decoration: none;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .sr-intro          { padding: 60px 0 40px; }
    .sr-content-section{ padding: 60px 0 70px; }
    .sr-process-section{ padding: 60px 0 70px; }
    .sr-portal-strip   { padding: 60px 0; }

    .sr-intro-stats    { gap: 0; }
    .sr-stat           { padding: 24px 28px; }

    /* Hide arrow connectors on mobile — steps stack */
    .sr-process-step + .sr-process-step::before { display: none; }
    .sr-process-step   { margin-bottom: 40px; padding: 0 16px; }
    .sr-process-header { margin-bottom: 40px; }

    .sr-portal-cta     { padding-top: 36px; }
}

@media (max-width: 767px) {
    .sr-intro h2,
    .sr-process-header h2,
    .sr-portal-strip h2 { font-size: 26px; }

    .sr-stat           { min-width: 140px; }
    .sr-stat__num      { font-size: 28px; }

    .sr-req-item       { padding: 18px 18px; gap: 16px; }
    .sr-req-item__num  { font-size: 20px; }

    .sr-portal-strip   { padding: 50px 0; }
    .sr-portal-btn     { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .sr-stat           { min-width: 50%; border-right: none; border-bottom: 1px solid #dcdfdf; }
    .sr-stat:nth-child(odd) { border-right: 1px solid #dcdfdf; }
}


/* form listed but the PDF is not posted yet — non-interactive label */
.sr-portal-btn--muted {
    background: #ededeb;
    color: #5f6060 !important;
    cursor: default;
}
.sr-portal-btn--muted:hover {
    background: #ededeb;
    color: #5f6060 !important;
}
