﻿
/* =========================================================================
   BASE SECTION RHYTHM
   ========================================================================= */
.im-section {
    padding: 88px 0;
    background: #f1f1f1;
    overflow: hidden;
}

.im-section--alt {
    background: var(--lightgrey);
}

.im-section-head {
    margin-bottom: 28px;
}

.im-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--im-accent-dark);
    margin-bottom: 12px;
    position: relative;
    padding-left: 22px;
}

    .im-eyebrow::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 2px;
        background: var(--grey);
    }

.im-eyebrow--light {
    color: var(--burgundy);
}

.im-h2 {
    font-weight: 700;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    color: var(--im-heading-text);
    line-height: 1.45;
    margin-bottom: 18px;
}

.im-h2--light {
    color: #ffffff;
}

.im-h5 {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--im-heading-text);
    margin-bottom: 14px;
}

.im-rule {
    width: 64px;
    height: 4px;
    background: var(--burgundy);
    opacity: 1;
    border: 0;
    border-radius: 2px;
    margin: 0 0 14px 0;
}

.im-rule--center {
    margin-left: auto;
    margin-right: auto;
}

.im-lead {
    font-size: 15px;
    font-weight: 500;
    color: #767676;
    line-height: 24px;
    margin-bottom: 8px;
}

.im-lead--light {
    color: rgba(255,255,255,0.92);
}

.im-body {
    font-size: 15px;
    line-height: 24px;
    color: #767676;
    margin-bottom: 16px;
}

.im-body--light {
    color: rgba(255,255,255,0.78);
}

/* =========================================================================
   SECTION 5 — What is TReDS: inline callout + flow card
   ========================================================================= */
.im-inline-callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--lightgrey);
    border-left: 4px solid var(--burgundy);
    border-radius: 0 10px 10px 0;
    padding: 18px 20px;
    margin: 22px 0;
}

    .im-inline-callout i {
        font-size: 1.3rem;
        color: var(--burgundy);
        margin-top: 3px;
    }

    .im-inline-callout p {
        margin: 0;
        font-size: 15px;
        color: var(--im-heading-text);
    }

.im-flow-card {
    background: var(--burgundy);
    background-image: linear-gradient(160deg, var(--burgundy) 0%, var(--im-blue) 100%);
    border-radius: 10px;
    padding: 36px 30px;
    box-shadow: var(--im-shadow);
}

.im-flow-step {
    display: flex;
    align-items: center;
    gap: 18px;
}

.im-flow-num {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.im-flow-step--final .im-flow-num {
    background: #fff;
    border-color: #fff;
    color: var(--burgundy);
}

.im-flow-label {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.im-flow-sub {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.62);
}

.im-flow-connector {
    width: 2px;
    height: 26px;
    background: rgba(255,255,255,0.18);
    margin-left: 20px;
}

/* =========================================================================
   SECTION 6 — Stakeholder cards
   ========================================================================= */
.im-party-card {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-top: 4px solid var(--burgundy);
    border-bottom: 4px solid var(--burgundy);
    border-radius: 10px;
    padding: 34px 28px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .im-party-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    }

.im-party-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--burgundy), var(--im-blue));
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.im-step-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0 0 18px 0;
}

    .im-step-list li {
        counter-increment: step;
        position: relative;
        padding-left: 34px;
        margin-bottom: 14px;
        font-size: 0.94rem;
        line-height: 1.55;
        color:#767676;
    }

        .im-step-list li::before {
            content: counter(step);
            position: absolute;
            left: 0;
            top: 0;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--lightgrey);
            border: 1.5px solid var(--burgundy);
            color: var(--burgundy);
            font-weight: 700;
            font-size: 0.72rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.im-party-footnote {
    border-top: 1px dashed var(--charcoal);
    padding-top: 16px;
    font-size: 0.9rem;
    color: var(--im-heading-text);
}

    .im-party-footnote strong {
        color: var(--burgundy);
    }

/* =========================================================================
   SECTION 7 — Factoring vs TReDS: image + text stacked, VS divider
   Mobile-first: single column, stacked blocks, horizontal VS divider.
   Desktop: two columns side by side with a vertical VS divider between.
   ========================================================================= */
#differs-from-factoring{
    background:#f3f2f2;
}
.im-vs-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.im-vs-tag--accent {
    color: var(--burgundy);
}

.im-vs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .im-vs-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.94rem;
        margin-bottom: 12px;
        color: #767676;
    }

    .im-vs-list i {
        margin-top: 4px;
        flex: 0 0 auto;
    }

.im-compare-block:first-child .im-vs-list i {
    color: #1a1a1a;
}

.im-compare-block:last-child .im-vs-list i {
    color: var(--burgundy);
}

.im-compare-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.im-compare-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 0 32px;
}

.im-compare-img-frame {
    width: 100%;
    max-width: 360px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 22px;
}

.im-compare-img-frame--accent {
    border: 1px solid rgba(140,42,66,0.35);
    box-shadow: 0 10px 30px rgba(140,42,66,0.14);
}

.im-compare-img {
    display: block;
    width: 100%;
    height: auto;
}

.im-compare-text {
    max-width: 380px;
}

    .im-compare-text .im-vs-tag {
        display: block;
        margin-bottom: 14px;
    }

    .im-compare-text .im-vs-list {
        text-align: left;
        display: inline-block;
    }

.im-compare-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 4px 0 28px;
}

    .im-compare-divider::before,
    .im-compare-divider::after {
        content: "";
        height: 1px;
        width: 60px;
        background: #bcbcbc;
    }

    .im-compare-divider span {
        flex: 0 0 auto;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: var(--burgundy);
        color: #ffffff;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.03em;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--im-shadow);
    }

@media (min-width: 768px) {
    .im-compare-wrap {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
    }

    .im-compare-block {
        flex: 1 1 0;
        padding: 8px 12px 0;
    }

    .im-compare-divider {
        flex-direction: column;
        padding: 40px 0 0;
        align-self: stretch;
    }

        .im-compare-divider::before,
        .im-compare-divider::after {
            width: 1px;
            height: 70px;
        }
}

/* =========================================================================
   SECTION 8 — Registration mandate cards + strip
   ========================================================================= */
.im-mandate-card {
    background: #fff;
    border: 1px solid var(--lightburgundy);
    border-radius: 10px;
    padding: 32px 28px;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    ;
}

.im-mandate-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(140,42,66,0.14);
    color: var(--charcoal);
    
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
}

.im-mandate-icon {
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 16px;
    display: block;
}

.im-mandate-card p {
    margin: 0;
    font-size: 0.94rem;
    color:#767676;
    line-height: 1.65;
}

.im-register-strip {
    margin-top: 44px;
    background: var(--burgundy);
    background-image: linear-gradient(120deg, var(--burgundy) 0%, var(--burgundy) 100%);
    border-radius: 10px;
    padding: 34px 38px;
    color: #fff;
}

    .im-register-strip h4 {
        color: #fff;
    }

    .im-register-strip p {
        color: rgba(255,255,255,0.8);
    }

/* =========================================================================
   SECTION 9 — CTA: Real cost of waiting
   ========================================================================= */
.im-section--cta {
    background: var(--burgundy);
    background-image: radial-gradient(circle at 85% 20%, rgba(140,42,66,0.14), transparent 45%), linear-gradient(180deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
    color: #fff;
}

.im-city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

    .im-city-chips span {
        font-size: 0.82rem;
        font-weight: 500;
        color: rgba(255,255,255,0.85);
        border: 1px solid rgba(255,255,255,0.22);
        border-radius: 20px;
        padding: 6px 14px;
    }

.im-cta-panel {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    border-radius: var(--im-radius);
    padding: 40px 34px;
    text-align: center;
}

.im-cta-icon {
    font-size: 2.2rem;
    color: var(--burgundy);
    margin-bottom: 18px;
}

.im-cta-copy {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* =========================================================================
   BUTTONS & LINKS — match primary site's CTA language
   ========================================================================= */
.im-btn-primary {
    background: var(--lightburgundy);
    border: none;
    color: #fff;
    
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 26px;
    border-radius: 30px;
    transition: background .2s ease, transform .2s ease;
}

    .im-btn-primary:hover {
        background: var(--charcoal);
        color: #fff;
        transform: translateY(-2px);
    }

.im-btn-accent {
    background: #fff;
    border: none;
    color: var(--burgundy);
    
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 30px;
    transition: background .2s ease, transform .2s ease;
}

    .im-btn-accent:hover {
        background: var(--charcoal);
        transform: translateY(-2px);
        color: #fff;
    }

.im-link-help {
    display: inline-block;
    margin-left: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

    .im-link-help:hover {
        color: var(--grey);
    }

.im-link-help--light {
    color: rgba(255,255,255,0.85);
    margin-left: 0;
}

    .im-link-help--light:hover {
        color: var(--burgundy);
    }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991.98px) {
    .im-section {
        padding: 64px 0;
    }

    .im-register-strip .text-lg-end {
        text-align: left !important;
        margin-top: 18px;
    }

    .im-link-help {
        margin-left: 0;
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .im-vs-col {
        flex-basis: 100%;
    }
}
