/* RetailLife Solutions — shared theme + unique layouts */

.rlf-page.inv-page {
    --rlf-blue: #0068ce;
    --rlf-blue-deep: #0052a3;
    --rlf-blue-soft: #e1f2fa;
    --rlf-ink: #111827;
    --rlf-muted: #555555;
    --rlf-line: rgba(0, 104, 206, 0.14);
    background-color: #f5f8fc;
}

.rlf-page .inv-card-icon {
    background-color: var(--rlf-blue-soft);
    color: var(--rlf-blue);
}

.rlf-page .inv-card-icon--square {
    background-color: var(--rlf-blue);
    color: #ffffff;
}

.rlf-page .inv-cta-title-gradient {
    background: linear-gradient(90deg, #0052a3 0%, #0068ce 42%, #3b8fe0 78%, #7ab8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.rlf-page .inv-cta-btn-primary {
    background: var(--rlf-blue);
    border-color: var(--rlf-blue);
}

.rlf-page .inv-cta-btn-primary:hover {
    background: var(--rlf-blue-deep);
    border-color: var(--rlf-blue-deep);
}

.rlf-page .inv-cta-btn-outline {
    color: var(--rlf-blue);
    border-color: rgba(0, 104, 206, 0.35);
}

.rlf-page .inv-cta-btn-outline:hover {
    background: var(--rlf-blue-soft);
    border-color: var(--rlf-blue);
    color: var(--rlf-blue-deep);
}

.rlf-page .inv-feature-badge {
    color: var(--rlf-blue);
}

.rlf-page .inv-sync-item-icon,
.rlf-page .inv-feature-block .inv-feature-icon-wrap {
    color: var(--rlf-blue);
}

.rlf-page .inv-cta-node-icon--teal,
.rlf-page .inv-cta-node-icon--green,
.rlf-page .inv-cta-node-icon--mint {
    background: rgba(0, 104, 206, 0.12);
    color: var(--rlf-blue);
}

/* ---------- Shared media frame ---------- */

.rlf-media {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.rlf-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Feature layouts (no left/right splits) ---------- */

.rlf-spotlight {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.rlf-spotlight__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rlf-blue);
    margin-bottom: 0.65rem;
}

.rlf-spotlight__title {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: var(--rlf-ink);
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.rlf-spotlight__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--rlf-muted);
    margin: 0 auto 1.5rem;
    max-width: 40rem;
}

.rlf-spotlight__media {
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.08);
    background: #fff;
}

.rlf-spotlight__media img {
    display: block;
    width: 100%;
    height: auto;
}

.rlf-cover {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    isolation: isolate;
    min-height: 22rem;
    display: flex;
    align-items: flex-end;
    background: #0b1f36;
}

.rlf-cover__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.rlf-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 31, 54, 0.05) 20%, rgba(11, 31, 54, 0.82) 100%);
}

.rlf-cover__body {
    position: relative;
    z-index: 2;
    padding: 1.75rem 1.5rem 1.85rem;
    color: #fff;
    max-width: 40rem;
}

.rlf-cover__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ec9f5;
    margin-bottom: 0.55rem;
}

.rlf-cover__title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 0.55rem;
    line-height: 1.25;
}

.rlf-cover__text {
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.rlf-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.rlf-poster {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rlf-poster__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef3f8;
}

.rlf-poster__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rlf-poster__body {
    padding: 1.25rem 1.3rem 1.4rem;
    flex: 1;
}

.rlf-poster__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rlf-blue);
    margin-bottom: 0.45rem;
}

.rlf-poster__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rlf-ink);
    margin: 0 0 0.45rem;
    line-height: 1.3;
}

.rlf-poster__text {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--rlf-muted);
}

.rlf-poster__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .rlf-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .rlf-gallery--trio {
        grid-template-columns: repeat(3, 1fr);
    }

    .rlf-cover {
        min-height: 26rem;
    }

    .rlf-cover__body {
        padding: 2.25rem 2rem 2.35rem;
    }
}

@media (min-width: 992px) {
    .rlf-gallery--dense {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- POS page: capability cards + payment stage ---------- */

.rlf-pos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.rlf-pos-card {
    --pos-card-accent: var(--rlf-blue, #0068ce);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.rlf-pos-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pos-card-accent);
    opacity: 0;
    z-index: 2;
}

.rlf-pos-card:hover::before {
    opacity: 1;
}

.rlf-pos-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf3f9;
}

.rlf-pos-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.rlf-pos-card:hover .rlf-pos-card__media img {
    transform: scale(1.05);
}

.rlf-pos-card__index {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 0 0.4rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--pos-card-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.rlf-pos-card__body {
    padding: 1rem 1.05rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.rlf-pos-card__eyebrow {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pos-card-accent);
    margin-bottom: 0.4rem;
}

.rlf-pos-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 0.45rem;
}

.rlf-pos-card__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
}

.rlf-pay-stage {
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 104, 206, 0.18), transparent 60%),
        linear-gradient(165deg, #0a1c33 0%, #123a66 48%, #0d2847 100%);
    border-radius: 1.75rem;
    padding: 2rem 1.35rem 1.75rem;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.rlf-pay-stage::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    top: -60px;
    right: -40px;
    pointer-events: none;
}

.rlf-pay-stage__intro {
    text-align: center;
    max-width: 50rem;
    margin: 0 auto 1.75rem;
    position: relative;
    z-index: 1;
}

.rlf-pay-stage__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ec9f5;
    margin-bottom: 0.65rem;
}

.rlf-pay-stage__title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.rlf-pay-stage__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.rlf-pay-stage__rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 44rem;
    margin: 0 auto 1.75rem;
    position: relative;
    z-index: 1;
}

.rlf-pay-stage__method {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.1rem;
    align-items: center;
    padding: 0.95rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.rlf-pay-stage__method.is-active {
    background: rgba(0, 104, 206, 0.45);
    border-color: rgba(158, 201, 245, 0.45);
    transform: translateY(-2px);
}

.rlf-pay-stage__icon {
    grid-row: 1 / span 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    color: #fff;
}

.rlf-pay-stage__method strong {
    font-size: 0.975rem;
    font-weight: 700;
}

.rlf-pay-stage__method > span:last-child {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.rlf-pay-stage__screen {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: 0 auto;
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.rlf-pay-stage__screen img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .rlf-pos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.15rem;
    }

    .rlf-pay-stage {
        padding: 2.75rem 2.25rem 2.25rem;
    }

    .rlf-pay-stage__rail {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .rlf-pay-stage__method {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 1.15rem 1rem;
    }

    .rlf-pay-stage__icon {
        grid-row: auto;
        margin-bottom: 0.35rem;
    }
}

@media (min-width: 1200px) {
    .rlf-pos-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .rlf-pos-card__title {
        font-size: 0.975rem;
    }

    .rlf-pos-card__text {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .rlf-pos-card__body {
        padding: 0.95rem 0.95rem 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rlf-pos-card,
    .rlf-pos-card__media img,
    .rlf-pay-stage__method {
        transition: none;
    }

    .rlf-pos-card:hover {
        transform: none;
    }

    .rlf-pos-card:hover .rlf-pos-card__media img {
        transform: none;
    }
}

/* ---------- POS: Checkout runway ---------- */

.rlf-runway {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rlf-runway__step {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.rlf-runway__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--rlf-blue);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.rlf-runway__step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--rlf-ink);
}

.rlf-runway__step p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rlf-muted);
}

.rlf-pay-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.rlf-pay-tile {
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-radius: 0.85rem;
    background: var(--rlf-blue-soft);
    color: var(--rlf-blue-deep);
    font-size: 0.8125rem;
    font-weight: 700;
}

.rlf-device-dock {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.rlf-device-dock__frame {
    background: linear-gradient(160deg, #0b3d73 0%, #0068ce 55%, #3b8fe0 100%);
    border-radius: 1.35rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.rlf-device-dock__frame::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -50px;
    right: -40px;
}

.rlf-device-dock__frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.rlf-device-dock__panel {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .rlf-runway {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* ---------- CRM: Loyalty ladder ---------- */

.rlf-ladder-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

.rlf-ladder-layout__media {
    position: relative;
    border-radius: 1.35rem;
    overflow: hidden;
    background: linear-gradient(160deg, #0b3d73 0%, #0068ce 55%, #3b8fe0 100%);
    min-height: 18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.rlf-ladder-layout__media::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -50px;
    right: -40px;
    pointer-events: none;
}

.rlf-ladder-layout__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 0.85rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.rlf-ladder {
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.35rem;
    padding: 0.35rem 1.25rem;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
    height: 100%;
}

.rlf-ladder__rung {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.rlf-ladder__rung:last-child {
    border-bottom: none;
}

.rlf-ladder__index {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--rlf-blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.rlf-ladder__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: var(--rlf-ink);
}

.rlf-ladder__body p {
    margin: 0;
    color: var(--rlf-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.rlf-history-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.rlf-history-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.15rem;
    padding: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

.rlf-history-card img {
    width: 100%;
    border-radius: 0.75rem;
}

.rlf-history-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.rlf-history-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--rlf-muted);
    line-height: 1.55;
}

/* ---------- CRM: Campaign signal desk ---------- */

.rlf-campaign-desk {
    --desk-ink: #e8eef6;
    --desk-muted: rgba(232, 238, 246, 0.72);
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    padding: 2rem 1.25rem 1.75rem;
    background:
        linear-gradient(165deg, #071527 0%, #0c2a4d 42%, #0a3a6e 100%);
    color: var(--desk-ink);
    isolation: isolate;
}

.rlf-campaign-desk__glow {
    position: absolute;
    inset: -20% auto auto 20%;
    width: 60%;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(0, 104, 206, 0.35), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.rlf-campaign-desk__header {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.rlf-campaign-desk__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #86efac;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.rlf-campaign-desk__pulse {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: rlf-campaign-pulse 1.8s ease-out infinite;
}

@keyframes rlf-campaign-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.rlf-campaign-desk__title {
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.7rem;
    letter-spacing: -0.02em;
}

.rlf-campaign-desk__lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--desk-muted);
}

.rlf-campaign-desk__signals {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.rlf-campaign-desk__signal {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.95rem 1.05rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.rlf-campaign-desk__signal:hover,
.rlf-campaign-desk__signal.is-hot {
    background: rgba(0, 104, 206, 0.22);
    border-color: rgba(158, 201, 245, 0.35);
}

.rlf-campaign-desk__signal.is-hot {
    transform: translateY(-2px);
}

.rlf-campaign-desk__signal-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.rlf-campaign-desk__signal strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.rlf-campaign-desk__signal span {
    font-size: 0.78rem;
    color: var(--desk-muted);
}

.rlf-campaign-desk__bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 1.35rem;
}

.rlf-campaign-desk__bars i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: rgba(158, 201, 245, 0.85);
}

.rlf-campaign-desk__bars i:nth-child(1) { height: 35%; }
.rlf-campaign-desk__bars i:nth-child(2) { height: 55%; }
.rlf-campaign-desk__bars i:nth-child(3) { height: 70%; }
.rlf-campaign-desk__bars i:nth-child(4) { height: 45%; }
.rlf-campaign-desk__bars i:nth-child(5) { height: 90%; }

.rlf-campaign-desk__signal.is-hot .rlf-campaign-desk__bars i {
    background: #7dd3fc;
}

.rlf-campaign-desk__flow {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 auto 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(232, 238, 246, 0.55);
}

.rlf-campaign-desk__arrow {
    width: 1.75rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 201, 245, 0.7), transparent);
    position: relative;
}

.rlf-campaign-desk__arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: 1px solid rgba(158, 201, 245, 0.8);
    border-top: 1px solid rgba(158, 201, 245, 0.8);
    transform: translateY(-50%) rotate(45deg);
}

.rlf-campaign-desk__stage {
    position: relative;
    z-index: 1;
    max-width: 56rem;
    margin: 0 auto;
    padding-top: 0.5rem;
}

.rlf-campaign-desk__screen {
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 0 1px rgba(0, 104, 206, 0.15),
        0 30px 70px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.rlf-campaign-desk__screen img {
    display: block;
    width: 100%;
    height: auto;
}

.rlf-campaign-desk__float {
    display: none;
    position: absolute;
    z-index: 2;
    width: min(220px, 42%);
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.rlf-campaign-desk__float small {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0068ce;
    margin-bottom: 0.3rem;
}

.rlf-campaign-desk__float p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #334155;
    font-weight: 600;
}

.rlf-campaign-desk__float--a {
    top: 8%;
    left: -0.5rem;
    transform: rotate(-3deg);
}

.rlf-campaign-desk__float--b {
    bottom: 12%;
    right: -0.5rem;
    transform: rotate(2.5deg);
}

@media (min-width: 768px) {
    .rlf-campaign-desk {
        padding: 2.5rem 2rem 2.15rem;
    }

    .rlf-campaign-desk__signals {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.9rem;
    }

    .rlf-campaign-desk__signal {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 0.65rem;
    }

    .rlf-campaign-desk__bars {
        justify-self: start;
    }
}

@media (min-width: 992px) {
    .rlf-campaign-desk {
        padding: 2.75rem 2.5rem 2.5rem;
    }

    .rlf-campaign-desk__stage {
        padding: 1.25rem 2.5rem 0.5rem;
    }

    .rlf-campaign-desk__float {
        display: block;
    }

    .rlf-campaign-desk__float--a {
        left: 0;
        animation: rlf-float-a 5s ease-in-out infinite;
    }

    .rlf-campaign-desk__float--b {
        right: 0;
        animation: rlf-float-b 5.5s ease-in-out infinite;
    }
}

@keyframes rlf-float-a {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-6px); }
}

@keyframes rlf-float-b {
    0%, 100% { transform: rotate(2.5deg) translateY(0); }
    50% { transform: rotate(2.5deg) translateY(7px); }
}

@media (prefers-reduced-motion: reduce) {
    .rlf-campaign-desk__pulse,
    .rlf-campaign-desk__float--a,
    .rlf-campaign-desk__float--b {
        animation: none;
    }

    .rlf-campaign-desk__signal {
        transition: none;
    }
}

/* CRM purchase insight */
.rlf-crm-insight {
    display: grid;
    gap: 1.25rem;
}

.rlf-crm-insight__banner {
    background: linear-gradient(135deg, #0a1c33 0%, #0d4a8c 55%, #0068ce 100%);
    border-radius: 1.35rem;
    padding: 1.75rem 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.rlf-crm-insight__banner::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    right: -40px;
    bottom: -50px;
    pointer-events: none;
}

.rlf-crm-insight__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ec9f5;
    margin-bottom: 0.55rem;
}

.rlf-crm-insight__title {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 700;
    margin: 0 0 0.55rem;
    line-height: 1.25;
}

.rlf-crm-insight__text {
    margin: 0 0 1.25rem;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.rlf-crm-insight__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}

.rlf-crm-insight__chip {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 600;
}

.rlf-crm-insight__media {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
    background: #fff;
}

.rlf-crm-insight__media img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .rlf-history-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .rlf-crm-insight__banner {
        padding: 2.15rem 2.25rem;
    }
}

@media (min-width: 992px) {
    .rlf-ladder-layout {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 2rem;
        align-items: stretch;
    }

    .rlf-ladder-layout__media {
        min-height: 100%;
        position: sticky;
        top: 6rem;
    }
}

/* ---------- Barcode: Label studio ---------- */

.rlf-studio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    background: #0b1f36;
    color: #e8eef6;
    border-radius: 1.5rem;
    padding: 1.5rem;
    overflow: hidden;
}

.rlf-studio__canvas {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 1.1rem;
    padding: 1.25rem;
    text-align: center;
}

.rlf-studio__canvas img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 0.75rem;
}

.rlf-studio__toggle {
    display: inline-flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.rlf-studio__toggle span {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.rlf-studio__toggle span.is-on {
    background: var(--rlf-blue);
    color: #fff;
}

.rlf-studio__rail {
    display: grid;
    gap: 0.85rem;
}

.rlf-studio__job {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
}

.rlf-studio__job strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.rlf-studio__job p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(232, 238, 246, 0.72);
    line-height: 1.5;
}

@media (min-width: 992px) {
    .rlf-studio {
        grid-template-columns: 1.2fr 0.8fr;
        padding: 1.75rem;
        gap: 1.5rem;
    }
}

/* ---------- Stock: Variant matrix wall ---------- */

.rlf-matrix {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
}

.rlf-matrix__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.45rem;
    margin: 1rem 0 0;
}

.rlf-matrix__table th,
.rlf-matrix__table td {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.65rem 0.4rem;
    border-radius: 0.55rem;
}

.rlf-matrix__table th {
    color: var(--rlf-muted);
    font-weight: 700;
}

.rlf-matrix__table td {
    background: var(--rlf-blue-soft);
    color: var(--rlf-blue-deep);
}

.rlf-matrix__table td.is-low {
    background: #fff1e8;
    color: #c2410c;
}

.rlf-matrix__table td.is-ok {
    background: #e8f7ee;
    color: #15803d;
}

.rlf-matrix__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--rlf-muted);
}

.rlf-matrix__dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.rlf-transfer-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.rlf-transfer-node {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    position: relative;
}

.rlf-transfer-node__step {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rlf-blue);
    margin-bottom: 0.4rem;
}

.rlf-transfer-node h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.rlf-transfer-node p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--rlf-muted);
    line-height: 1.55;
}

@media (min-width: 768px) {
    .rlf-transfer-rail {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* ---------- Accounting: interactive ledger deck ---------- */

.rlf-ledger-deck {
    max-width: 36rem;
    margin: 0 auto;
}

.rlf-ledger-deck__stage {
    position: relative;
    min-height: 17.5rem;
    margin-bottom: 1.35rem;
}

.rlf-ledger-deck__card {
    --deck-offset: 0;
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    min-height: 15.5rem;
    padding: 1.5rem 1.45rem 1.4rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.15rem;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
    cursor: pointer;
    transform-origin: 50% 100%;
    transform:
        translateY(calc(var(--deck-offset) * 10px))
        translateX(calc(var(--deck-offset) * 8px))
        scale(calc(1 - (var(--deck-offset) * 0.045)))
        rotate(calc(var(--deck-offset) * 1.1deg));
    opacity: calc(1 - (var(--deck-offset) * 0.22));
    z-index: calc(10 - var(--deck-offset));
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rlf-ledger-deck__card.is-active {
    box-shadow: 0 22px 50px rgba(0, 104, 206, 0.14);
    border-color: rgba(0, 104, 206, 0.22);
    cursor: default;
}

.rlf-ledger-deck__card[style*="--deck-offset: 3"],
.rlf-ledger-deck__card[style*="--deck-offset:3"] {
    pointer-events: none;
}

.rlf-ledger-deck__label {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rlf-blue, #0068ce);
    background: rgba(0, 104, 206, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.85rem;
}

.rlf-ledger-deck__card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.55rem;
    line-height: 1.25;
}

.rlf-ledger-deck__card > p {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.rlf-ledger-deck__meta {
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rlf-ledger-deck__meta li {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0052a3;
    background: #e8f2fb;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
}

.rlf-ledger-deck__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.rlf-ledger-deck__nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 104, 206, 0.22);
    background: #fff;
    color: #0068ce;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rlf-ledger-deck__nav:hover {
    background: #0068ce;
    color: #fff;
    border-color: #0068ce;
}

.rlf-ledger-deck__dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.rlf-ledger-deck__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(0, 104, 206, 0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.rlf-ledger-deck__dot.is-active {
    width: 1.35rem;
    background: #0068ce;
}

@media (min-width: 768px) {
    .rlf-ledger-deck__stage {
        min-height: 18.5rem;
    }

    .rlf-ledger-deck__card {
        min-height: 16.5rem;
        padding: 1.75rem 1.7rem 1.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rlf-ledger-deck__card,
    .rlf-ledger-deck__dot {
        transition: none;
    }
}

/* legacy static ledger kept for safety */
.rlf-ledger {
    position: relative;
    min-height: 280px;
    margin: 0 auto 2rem;
    max-width: 34rem;
}

.rlf-ledger__sheet {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.rlf-ledger__sheet--back {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    transform: translate(12px, 12px) rotate(1.5deg);
    opacity: 0.55;
    z-index: 0;
}

.rlf-ledger__sheet--mid {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    transform: translate(6px, 6px) rotate(-1deg);
    opacity: 0.75;
    z-index: 1;
}

.rlf-ledger__sheet--front {
    position: relative;
    z-index: 2;
}

.rlf-ledger__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rlf-blue);
    margin-bottom: 0.55rem;
}

.rlf-ledger__sheet h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rlf-ledger__sheet p {
    margin: 0;
    color: var(--rlf-muted);
    font-size: 0.925rem;
    line-height: 1.55;
}

.rlf-coa-tree {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.rlf-coa-tree li {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.85rem;
    padding: 0.95rem 1.1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}

.rlf-coa-tree__branch {
    width: 0.55rem;
    height: 100%;
    min-height: 2.5rem;
    border-radius: 999px;
    background: var(--rlf-blue);
}

.rlf-coa-tree__branch--expense { background: #f59e0b; }
.rlf-coa-tree__branch--asset { background: #10b981; }
.rlf-coa-tree__branch--liability { background: #0f766e; }

.rlf-coa-tree h4 {
    font-size: 0.975rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.rlf-coa-tree p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--rlf-muted);
    line-height: 1.5;
}

.rlf-voucher-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ---------- Website: Omnichannel trilogy ---------- */

.rlf-constellation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 0;
}

.rlf-constellation__node {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.1rem;
    padding: 1.15rem 1.2rem;
    text-align: center;
}

.rlf-constellation__node strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--rlf-ink);
}

.rlf-constellation__node span {
    font-size: 0.8rem;
    color: var(--rlf-muted);
}

/* ---------- Omnichannel stepper: Website → Delivery → Payment ---------- */

.rlf-omni-stepper {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.6rem;
    padding: 1.35rem 1.15rem 1.25rem;
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.rlf-omni-stepper__nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.rlf-omni-stepper__rail {
    display: none;
}

.rlf-omni-stepper__tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f7fafc;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rlf-omni-stepper__tab:hover {
    border-color: rgba(0, 104, 206, 0.28);
}

.rlf-omni-stepper__tab.is-active {
    background: #e8f2fb;
    border-color: rgba(0, 104, 206, 0.35);
    box-shadow: 0 4px 2px rgba(0, 104, 206, 0.1);
}

.rlf-omni-stepper__tab.is-done .rlf-omni-stepper__index {
    background: #16a34a;
}

.rlf-omni-stepper__index {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #0068ce;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.rlf-omni-stepper__tab:not(.is-active):not(.is-done) .rlf-omni-stepper__index {
    background: #94a3b8;
}

.rlf-omni-stepper__tab-copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.rlf-omni-stepper__tab-copy strong {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.rlf-omni-stepper__tab-copy small {
    font-size: 0.75rem;
    color: #64748b;
}

.rlf-omni-stepper__panels {
    position: relative;
}

.rlf-omni-stepper__panel {
    display: none;
    gap: 1.25rem;
    align-items: center;
    animation: rlf-omni-fade 0.35s ease;
}

.rlf-omni-stepper__panel.is-active {
    display: grid;
}

@keyframes rlf-omni-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.rlf-omni-stepper__body {
    min-width: 0;
}

.rlf-omni-stepper__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0068ce;
    margin-bottom: 0.55rem;
}

.rlf-omni-stepper__body h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.55rem;
    line-height: 1.2;
}

.rlf-omni-stepper__body > p {
    margin: 0 0 0.95rem;
    font-size: 0.975rem;
    line-height: 1.65;
    color: #64748b;
}

.rlf-omni-stepper__list {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.rlf-omni-stepper__list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

.rlf-omni-stepper__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #0068ce;
}

.rlf-omni-stepper__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
}

.rlf-omni-stepper__chips span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0052a3;
    background: #e8f2fb;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
}

.rlf-omni-stepper__media {
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #edf3f9;
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
}

.rlf-omni-stepper__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
}

.rlf-omni-stepper__footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.rlf-omni-stepper__progress {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.rlf-omni-stepper__progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0068ce, #3b8fe0);
    border-radius: inherit;
    transition: width 0.35s ease;
}

.rlf-omni-stepper__ctrl {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(0, 104, 206, 0.22);
    background: #fff;
    color: #0068ce;
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.rlf-omni-stepper__ctrl:hover:not(:disabled) {
    background: #0068ce;
    color: #fff;
    border-color: #0068ce;
}

.rlf-omni-stepper__ctrl:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rlf-omni-stepper__ctrl--next {
    background: #0068ce;
    color: #fff;
    border-color: #0068ce;
}

.rlf-omni-stepper__ctrl--next:hover:not(:disabled) {
    background: #0052a3;
}

@media (min-width: 768px) {
    .rlf-omni-stepper {
        padding: 1.75rem 1.75rem 1.5rem;
    }

    .rlf-omni-stepper__nav {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
        gap: 0.5rem;
    }

    .rlf-omni-stepper__rail {
        display: block;
        height: 2px;
        background: linear-gradient(90deg, rgba(0, 104, 206, 0.15), rgba(0, 104, 206, 0.45), rgba(0, 104, 206, 0.15));
        border-radius: 999px;
        min-width: 1.25rem;
    }

    .rlf-omni-stepper__panel.is-active {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 1.75rem;
    }

    .rlf-omni-stepper__media {
        margin: 0;
        max-width: none;
        min-height: 14rem;
    }

    .rlf-omni-stepper__media img {
        max-height: 260px;
    }
}

@media (min-width: 992px) {
    .rlf-omni-stepper {
        padding: 2rem 2.15rem 1.65rem;
    }

    .rlf-omni-stepper__media img {
        max-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rlf-omni-stepper__panel,
    .rlf-omni-stepper__progress span,
    .rlf-omni-stepper__tab {
        animation: none;
        transition: none;
    }
}

@media (min-width: 768px) {
    .rlf-constellation {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Booking Management ---------- */

.rlf-book-pay-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rlf-blue-soft);
    color: var(--rlf-blue);
    margin-bottom: 1rem;
}

.rlf-book-pay-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.rlf-book-desk {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

@media (min-width: 992px) {
    .rlf-book-desk {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 0;
    }
}

.rlf-book-desk__media {
    background: linear-gradient(145deg, #e1f2fa 0%, #cfe7f7 100%);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 16rem;
}

.rlf-book-desk__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 16px 36px rgba(0, 104, 206, 0.18);
    background: #fff;
}

.rlf-book-desk__copy {
    padding: 1.75rem 1.35rem 1.85rem;
}

@media (min-width: 992px) {
    .rlf-book-desk__copy {
        padding: 2.25rem 2rem 2.35rem;
    }
}

.rlf-book-desk__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    color: var(--rlf-ink);
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.rlf-book-desk__lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rlf-muted);
    margin: 0 0 1.35rem;
}

.rlf-book-desk__list {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .rlf-book-desk__list {
        grid-template-columns: 1fr 1fr;
    }
}

.rlf-book-desk__list article {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #f5f8fc;
    border: 1px solid rgba(0, 104, 206, 0.08);
}

.rlf-book-desk__list h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--rlf-ink);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.rlf-book-desk__list p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--rlf-muted);
}

.rlf-book-journey {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.rlf-book-journey__tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 576px) {
    .rlf-book-journey__tabs {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .rlf-book-journey__tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .rlf-book-journey__tabs {
        grid-template-columns: repeat(6, 1fr);
    }
}

.rlf-book-journey__tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    text-align: left;
    width: 100%;
    border: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8fafc;
    padding: 1rem 0.95rem 1.05rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}

.rlf-book-journey__tab:hover {
    background: #fff;
}

.rlf-book-journey__tab.is-active {
    background: #fff;
}

.rlf-book-journey__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rlf-blue-deep), var(--rlf-blue));
}

.rlf-book-journey__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(0, 104, 206, 0.12);
    color: var(--rlf-blue-deep);
    font-size: 0.75rem;
    font-weight: 800;
}

.rlf-book-journey__tab.is-active .rlf-book-journey__num {
    background: var(--rlf-blue);
    color: #fff;
}

.rlf-book-journey__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--rlf-ink);
    line-height: 1.35;
}

.rlf-book-journey__panels {
    position: relative;
    min-height: 9.5rem;
    padding: 1.75rem 1.35rem 1.9rem;
}

@media (min-width: 768px) {
    .rlf-book-journey__panels {
        padding: 2.15rem 2rem 2.25rem;
        min-height: 8.5rem;
    }
}

.rlf-book-journey__panel {
    display: none;
    animation: rlf-book-fade 0.35s ease;
}

.rlf-book-journey__panel.is-active {
    display: block;
}

.rlf-book-journey__panel h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 700;
    color: var(--rlf-ink);
    margin: 0 0 0.65rem;
}

.rlf-book-journey__panel p {
    margin: 0;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rlf-muted);
}

@keyframes rlf-book-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .rlf-book-journey__panel,
    .rlf-book-journey__tab {
        animation: none;
        transition: none;
    }
}

@media (min-width: 992px) {
    .rlf-history-strip.rlf-history-strip--trio {
        grid-template-columns: repeat(3, 1fr);
    }
}
