

/* Start:/bitrix/templates/bonus_plus_portal/assets/css/moysklad-integration.css?179248443633953*/
/* ==========================================================================
   Moysklad Integration Page Styles (BonusPlus Portal Design System)
   ========================================================================== */

.bp-moysklad-page {
    --ms-bg: var(--background-primary, #0A1515);
    --ms-bg2: var(--background-secondary, #141D1D);
    --ms-yellow: var(--primary-default, #FFD400);
    --ms-yellow-hover: var(--primary-hover, #FFDF33);
    --ms-cyan: var(--secondary-default, #4ECCCD);
    --ms-cyan-hover: var(--secondary-hover, #5DF1F3);
    --ms-text: var(--text-primary, #FFFFFF);
    --ms-text-muted: var(--text-secondary, #CACACA);
    --ms-text-disabled: var(--text-disabled, rgba(255, 255, 255, 0.42));
    --ms-border: var(--border-subtle, rgba(255, 255, 255, 0.16));
    --ms-border-soft: rgba(255, 255, 255, 0.08);
    --ms-max: var(--pc-width, 1200px);

    background-color: var(--ms-bg);
    color: var(--ms-text);
    font-family: var(--font-family-base, 'Manrope', sans-serif);
    line-height: 1.45;
    position: relative;
    overflow-x: hidden;
}

.bp-moysklad-page * {
    box-sizing: border-box;
}

/* Container */
.bp-moysklad-page .container {
    width: min(calc(100% - 40px), var(--ms-max));
    margin: 0 auto;
}

/* Sections */
.bp-moysklad-page .section {
    position: relative;
    padding: 100px 0;
}

.bp-moysklad-page .section.alt {
    background-color: var(--ms-bg2);
}

/* Typography & Utilities */
.bp-moysklad-page .eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    color: var(--ms-cyan-hover);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.bp-moysklad-page .eyebrow:before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--ms-cyan);
}

.bp-moysklad-page .h1 {
    margin: 0;
    font-size: clamp(24px, 5.8vw, 56px);
    line-height: 1.14;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--ms-text);
    word-break: break-word;
}

.bp-moysklad-page .h2 {
    margin: 0;
    font-size: clamp(22px, 3.8vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: var(--ms-text);
    word-break: break-word;
}

.bp-moysklad-page .neon-cyan {
    color: var(--ms-cyan-hover);
    text-shadow: 0 0 14px rgba(93, 241, 243, 0.22);
}

.bp-moysklad-page .neon-yellow {
    color: var(--ms-yellow);
    text-shadow: 0 0 14px rgba(255, 212, 0, 0.18);
}

.bp-moysklad-page .lead {
    margin: 18px 0 0;
    max-width: 690px;
    color: var(--ms-text-muted);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    word-break: break-word;
}

.bp-moysklad-page .body {
    color: var(--ms-text-muted);
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.65;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.bp-moysklad-page .hero {
    overflow: hidden;
    padding: 30px 0 70px;
}

.bp-moysklad-page .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
}

.bp-moysklad-page .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    width: 100%;
    padding: 0 40px;
}

@media (min-width: 1300px) {
    .bp-moysklad-page .hero-copy {
        padding: 0 60px;
    }
}

.bp-moysklad-page .hero .bread-crumbs {
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.bp-moysklad-page .hero:before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -250px;
    top: -290px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 204, 205, 0.13), rgba(78, 204, 205, 0) 67%);
    pointer-events: none;
}

.bp-moysklad-page .hero:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -300px;
    bottom: -360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.08), rgba(255, 212, 0, 0) 68%);
    pointer-events: none;
}

.bp-moysklad-page .hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12em;
    width: 100%;
}

.bp-moysklad-page .hero-title-line {
    display: block;
    width: 100%;
    word-break: break-word;
}

.bp-moysklad-page .hero-title-combo {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
}

.bp-moysklad-page .hero-title-text {
    display: inline;
    white-space: normal;
}

.bp-moysklad-page .moysklad-wordmark {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    flex: 0 0 auto;
    transform: translateY(0.06em);
    max-width: 100%;
    margin-left: 0.12em;
}

.bp-moysklad-page .moysklad-wordmark img {
    display: block;
    height: 1.3em;
    width: auto;
    max-width: 405px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(78, 204, 205, 0.16));
}

.bp-moysklad-page .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
    align-items: center;
}

.bp-moysklad-page .hero-meta {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--ms-border-soft);
    color: var(--ms-text-disabled);
    font-size: 13px;
    max-width: 900px;
}

.bp-moysklad-page .hero-meta strong {
    color: #fff;
    font-weight: 700;
}

/* ==========================================================================
   VALUE RAIL & PROOF LINE
   ========================================================================== */
.bp-moysklad-page .value-rail {
    display: block;
    border-top: 1px dashed var(--ms-border);
    border-bottom: 1px dashed var(--ms-border);
    padding: 10px 0;
}

.bp-moysklad-page .value {
    display: grid;
    grid-template-columns: 54px minmax(190px, 260px) 1fr;
    gap: 22px;
    align-items: baseline;
    padding: 18px 0;
}

.bp-moysklad-page .value + .value {
    border-top: 0;
}

.bp-moysklad-page .value span {
    display: block;
    color: var(--ms-cyan-hover);
    font-size: 12px;
    font-weight: 700;
}

.bp-moysklad-page .value strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: var(--ms-text);
}

.bp-moysklad-page .value p {
    margin: 0;
    color: var(--ms-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.bp-moysklad-page .proof-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    padding: 24px 20px 28px;
    text-align: center;
    color: var(--ms-text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.bp-moysklad-page .proof-line strong {
    color: var(--ms-yellow);
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.bp-moysklad-page .proof-line b {
    color: #fff;
    font-weight: 700;
}

/* ==========================================================================
   STORY / SCREENSHOT GALLERIES (Order & Cash)
   ========================================================================== */
.bp-moysklad-page .story-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 38px;
}

.bp-moysklad-page .story-copy--compact {
    display: block;
    max-width: 760px;
    margin-bottom: 28px;
}

.bp-moysklad-page .story-copy--compact h2 {
    max-width: 680px;
    margin-bottom: 12px;
}

.bp-moysklad-page .story-copy--compact p {
    margin: 0;
    color: var(--ms-text-muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 760px;
}

.bp-moysklad-page .gallery {
    --spot-border: rgba(0, 210, 211, 0.95);
    --spot-glow: rgba(0, 210, 211, 0.40);
    min-width: 0;
    width: 100%;
}

.bp-moysklad-page .gallery.cash {
    --spot-border: rgba(255, 190, 11, 0.95);
    --spot-glow: rgba(255, 190, 11, 0.38);
}

.bp-moysklad-page .gallery-card {
    overflow: hidden;
    border: 1px solid var(--ms-border);
    border-radius: 20px;
    background: var(--ms-bg2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.bp-moysklad-page .gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 24px 16px;
    background: linear-gradient(180deg, rgba(20, 29, 29, 0.98), rgba(15, 24, 24, 0.98));
    border-bottom: 1px solid var(--ms-border-soft);
}

.bp-moysklad-page .gallery-caption {
    min-height: 0;
    margin: 0;
    max-width: 780px;
    flex: 1 1 auto;
}

.bp-moysklad-page .gallery-caption-item {
    display: none;
}

.bp-moysklad-page .gallery-caption-item.active {
    display: block;
    animation: bpCaptionIn 0.16s ease;
}

@keyframes bpCaptionIn {
    from { opacity: 0.35; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

.bp-moysklad-page .gallery-caption-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #fff;
}

.bp-moysklad-page .gallery-caption-title:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ms-cyan-hover);
    box-shadow: 0 0 14px rgba(93, 241, 243, 0.28);
    flex: 0 0 auto;
}

.bp-moysklad-page .gallery.cash .gallery-caption-title:before {
    background: var(--ms-yellow);
    box-shadow: 0 0 14px rgba(255, 212, 0, 0.22);
}

.bp-moysklad-page .gallery-caption-text {
    color: var(--ms-text-muted);
    font-size: 14px;
    line-height: 1.5;
    max-width: 760px;
}

.bp-moysklad-page .gallery-indicators {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
    flex: 0 0 auto;
}

.bp-moysklad-page .gallery-indicator {
    appearance: none;
    width: 34px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bp-moysklad-page .gallery-indicator:hover {
    background: rgba(93, 241, 243, 0.42);
}

.bp-moysklad-page .gallery-indicator.active {
    width: 52px;
    background: var(--ms-cyan-hover);
    box-shadow: 0 0 18px rgba(78, 204, 205, 0.28);
}

.bp-moysklad-page .gallery.cash .gallery-indicator:hover {
    background: rgba(255, 223, 51, 0.4);
}

.bp-moysklad-page .gallery.cash .gallery-indicator.active {
    width: 52px;
    background: var(--ms-yellow);
    box-shadow: 0 0 18px rgba(255, 212, 0, 0.24);
}

.bp-moysklad-page .shot-frame {
    position: relative;
    overflow: hidden;
    background: #101c1c;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.bp-moysklad-page .shot-frame.order {
    aspect-ratio: 1092 / 768;
}

.bp-moysklad-page .shot-frame.cash {
    aspect-ratio: 1012 / 600;
}

.bp-moysklad-page .shot-frame .swiper-wrapper {
    display: flex !important;
    box-sizing: content-box !important;
    align-items: stretch !important;
    height: 100% !important;
}

.bp-moysklad-page .ms-scenario-slide {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 0 0 20px 20px !important;
    line-height: 0 !important;
    background: #fff !important;
}

.bp-moysklad-page .ms-scenario-slide .gallery-shot {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: none !important;
}

.bp-moysklad-page .shot-frame.order .ms-scenario-slide .gallery-shot {
    object-position: center top !important;
}

.bp-moysklad-page .shot-frame.cash .ms-scenario-slide .gallery-shot {
    object-position: center center !important;
}

.bp-moysklad-page .ms-scenario-slide .gallery-spotlight {
    position: absolute !important;
    opacity: 1 !important;
    display: block !important;
    pointer-events: none !important;
    z-index: 4 !important;
    border: 2.5px solid var(--spot-border, #00d2d3) !important;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10), 0 0 22px var(--spot-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.35) !important;
    background: rgba(0, 210, 211, 0.05) !important;
}

.bp-moysklad-page .gallery.cash .ms-scenario-slide .gallery-spotlight {
    background: rgba(255, 190, 11, 0.05) !important;
}

/* Edge navigation zones & neon arrows */
.bp-moysklad-page .gallery-zones {
    position: absolute !important;
    inset: 0 !important;
    z-index: 14 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    pointer-events: none !important;
}

.bp-moysklad-page .gallery-zones::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 14% !important;
    min-width: 60px !important;
    max-width: 140px !important;
    background: linear-gradient(90deg, rgba(8, 19, 19, 0.22), transparent) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.bp-moysklad-page .gallery-zones::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 14% !important;
    min-width: 60px !important;
    max-width: 140px !important;
    background: linear-gradient(270deg, rgba(8, 19, 19, 0.22), transparent) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.bp-moysklad-page .gallery-zones button {
    position: relative !important;
    z-index: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 8px 10px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--cyan2, #4ECCCD) !important;
    opacity: .92 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: opacity .25s ease, transform .22s ease !important;
}

.bp-moysklad-page .gallery-zones button:first-child,
.bp-moysklad-page .gallery-zones .gallery-zone-prev,
.bp-moysklad-page .gallery-zones button:last-child,
.bp-moysklad-page .gallery-zones .gallery-zone-next {
    background: transparent !important;
}

.bp-moysklad-page .gallery-zones button:hover,
.bp-moysklad-page .gallery-zones button:focus-visible {
    opacity: 1 !important;
    outline: none !important;
    background: transparent !important;
}

.bp-moysklad-page .gallery-zones button.swiper-button-disabled {
    opacity: .25 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.bp-moysklad-page .gallery-arrow-icon {
    display: block !important;
    width: auto !important;
    height: 76px !important;
    max-height: 92px !important;
    overflow: visible !important;
    color: var(--cyan2, #4ECCCD) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 6px rgba(78, 204, 205, 0.65))
            drop-shadow(0 0 14px rgba(78, 204, 205, 0.35)) !important;
    transition: transform 0.22s ease, color 0.22s ease !important;
    pointer-events: none !important;
}

.bp-moysklad-page .gallery-zones button:hover .gallery-arrow-icon,
.bp-moysklad-page .gallery-zones button:focus-visible .gallery-arrow-icon {
    color: #fff !important;
    transform: scale(1.08) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 6px rgba(78, 204, 205, 0.65))
            drop-shadow(0 0 14px rgba(78, 204, 205, 0.35)) !important;
}

.bp-moysklad-page .gallery.cash .gallery-zones button {
    color: var(--ms-yellow, #ffd400) !important;
}

.bp-moysklad-page .gallery.cash .gallery-arrow-icon {
    color: var(--ms-yellow, #ffd400) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 6px rgba(255, 212, 0, 0.65))
            drop-shadow(0 0 14px rgba(255, 212, 0, 0.35)) !important;
}

.bp-moysklad-page .gallery.cash .gallery-zones button:hover .gallery-arrow-icon,
.bp-moysklad-page .gallery.cash .gallery-zones button:focus-visible .gallery-arrow-icon {
    color: #fff !important;
    transform: scale(1.08) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 6px rgba(255, 212, 0, 0.65))
            drop-shadow(0 0 14px rgba(255, 212, 0, 0.35)) !important;
}

.bp-moysklad-page .gallery-arrow-icon path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    vector-effect: non-scaling-stroke !important;
}

@media(max-width: 760px) {
    .bp-moysklad-page .gallery-zones {
        padding: 0 8px !important;
    }
    .bp-moysklad-page .gallery-zones button {
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 6px 8px !important;
        opacity: .92 !important;
    }
    .bp-moysklad-page .gallery-arrow-icon {
        height: 52px !important;
        min-height: 44px !important;
        max-height: 60px !important;
    }
}

/* ==========================================================================
   CAPABILITY SUMMARY & EXPANDABLE FACTS
   ========================================================================== */
.bp-moysklad-page .summary-head {
    max-width: 760px;
    margin-bottom: 36px;
}

.bp-moysklad-page .summary-lines {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 1120px;
}

.bp-moysklad-page .summary-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ms-text);
}

.bp-moysklad-page .summary-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.bp-moysklad-page .summary-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ms-cyan-hover);
    box-shadow: 0 0 14px rgba(93, 241, 243, 0.28);
    flex: 0 0 auto;
}

.bp-moysklad-page .summary-dot.yellow {
    background: var(--ms-yellow);
    box-shadow: 0 0 14px rgba(255, 212, 0, 0.22);
}

.bp-moysklad-page .full-capabilities {
    margin-top: 40px;
    border-top: 1px dashed var(--ms-border);
    border-bottom: 1px dashed var(--ms-border);
}

.bp-moysklad-page .full-capabilities summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 18px 22px 0;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.bp-moysklad-page .full-capabilities summary::-webkit-details-marker {
    display: none;
}

.bp-moysklad-page .full-capabilities-summary-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bp-moysklad-page .full-capabilities-summary-text small {
    color: var(--ms-text-disabled);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.bp-moysklad-page .full-capabilities-icon {
    width: 28px;
    height: 28px;
    align-self: center;
    display: grid;
    place-items: center;
    color: rgba(93, 241, 243, 0.62);
    font-size: 29px;
    line-height: 1;
    font-weight: 300;
    transition: transform 0.2s ease, color 0.2s ease;
    flex: 0 0 auto;
}

.bp-moysklad-page .full-capabilities summary:hover .full-capabilities-icon {
    color: var(--ms-cyan-hover);
}

.bp-moysklad-page .full-capabilities[open] .full-capabilities-icon {
    transform: rotate(45deg);
    color: var(--ms-cyan-hover);
}

.bp-moysklad-page .full-capabilities-body {
    padding: 8px 0 34px;
}

.bp-moysklad-page .full-capabilities-intro {
    margin: 0 0 30px;
    max-width: 820px;
    color: var(--ms-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.bp-moysklad-page .capability-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
    row-gap: 34px;
}

.bp-moysklad-page .capability-fact h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.015em;
    font-weight: 700;
}

.bp-moysklad-page .capability-fact p {
    margin: 0 0 10px;
    color: var(--ms-text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.bp-moysklad-page .capability-fact p:last-child {
    margin-bottom: 0;
}

.bp-moysklad-page .capability-fact strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

/* ==========================================================================
   CONNECT FLOW SECTION
   ========================================================================== */
.bp-moysklad-page .connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 78px;
    align-items: center;
}

.bp-moysklad-page .connect-grid .lead {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 20px;
    max-width: 620px;
}

.bp-moysklad-page .connect-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ms-cyan-hover);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(93, 241, 243, 0.28);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.bp-moysklad-page .connect-doc-link:hover {
    color: var(--ms-cyan);
    border-bottom-color: var(--ms-cyan);
}

.bp-moysklad-page .connect-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 10px 0;
}

.bp-moysklad-page .connect-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
    color: var(--ms-text);
}

.bp-moysklad-page .connect-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ms-cyan-hover);
    box-shadow: 0 0 14px rgba(93, 241, 243, 0.24);
    flex: 0 0 auto;
}

.bp-moysklad-page .connect-arrow {
    color: var(--ms-text-disabled);
    font-size: 20px;
    line-height: 1;
    flex: 0 0 auto;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.bp-moysklad-page .faq-wrap {
    max-width: 900px;
}

.bp-moysklad-page .faq-head {
    margin-bottom: 28px;
}

.bp-moysklad-page .faq-item {
    border-bottom: 1px dashed var(--ms-border);
}

.bp-moysklad-page .faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.bp-moysklad-page .faq-plus {
    font-size: 24px;
    color: var(--ms-text-disabled);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.bp-moysklad-page .faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.24s ease;
}

.bp-moysklad-page .faq-a > div {
    overflow: hidden;
}

.bp-moysklad-page .faq-a p {
    margin: 0;
    padding: 0 0 22px;
    max-width: 760px;
    color: var(--ms-text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.bp-moysklad-page .faq-item.active .faq-a {
    grid-template-rows: 1fr;
}

.bp-moysklad-page .faq-item.active .faq-plus {
    transform: rotate(45deg);
    color: var(--ms-cyan-hover);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.bp-moysklad-page .final {
    padding: 70px 0 90px;
}

.bp-moysklad-page .final-box {
    position: relative;
    overflow: hidden;
    padding: 58px 62px;
    border: 1px solid var(--ms-border);
    border-radius: 22px;
    background: var(--ms-bg2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.bp-moysklad-page .final-box:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.13), rgba(255, 212, 0, 0) 65%);
    pointer-events: none;
}

.bp-moysklad-page .final-box h2 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 16px;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.bp-moysklad-page .final-box p {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--ms-text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.bp-moysklad-page .final-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.bp-moysklad-page .lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    background: rgba(2, 8, 8, 0.92);
    padding: 32px;
    backdrop-filter: blur(8px);
}

.bp-moysklad-page .lightbox.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-moysklad-page .lightbox-inner {
    position: relative;
    max-width: min(94vw, 1500px);
    max-height: 92vh;
    overflow: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

.bp-moysklad-page .lightbox img {
    width: auto;
    max-width: none;
    height: auto;
    min-width: min(1400px, 92vw);
    display: block;
}

.bp-moysklad-page .lightbox-close {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 10;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(10, 21, 21, 0.85);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.bp-moysklad-page .lightbox-close svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    pointer-events: none;
}

.bp-moysklad-page .lightbox-close:hover {
    background: rgba(20, 35, 35, 1);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.05);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop / Tablet / Mobile)
   ========================================================================== */
@media (max-width: 1050px) {
    .bp-moysklad-page .story-copy {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
        max-width: none;
    }
    .bp-moysklad-page .connect-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .bp-moysklad-page .section {
        padding: 50px 0;
    }
    .bp-moysklad-page .hero {
        padding: 16px 0 44px;
    }
    .bp-moysklad-page .container {
        width: min(calc(100% - 28px), var(--ms-max));
    }
    
    /* Hero Mobile */
    .bp-moysklad-page .hero-copy {
        padding: 0;
    }
    .bp-moysklad-page .hero-title {
        gap: 0.18em;
    }
    .bp-moysklad-page .hero-title-combo {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 10px;
    }
    .bp-moysklad-page .moysklad-wordmark img {
        height: 1.05em;
        max-width: 170px;
    }
    .bp-moysklad-page .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        margin-top: 24px;
    }
    .bp-moysklad-page .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 15px;
        padding: 12px 16px;
    }
    .bp-moysklad-page .hero-meta {
        margin-top: 24px;
        padding-top: 16px;
        gap: 12px;
        font-size: 12px;
    }
    
    /* Value Rail Mobile */
    .bp-moysklad-page .value {
        grid-template-columns: 34px 1fr;
        gap: 6px 14px;
        padding: 18px 0;
    }
    .bp-moysklad-page .value strong {
        font-size: 16px;
    }
    .bp-moysklad-page .value p {
        grid-column: 2;
        margin-top: 2px;
    }

    /* Gallery Mobile */
    .bp-moysklad-page .gallery-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 15px 16px 14px;
    }
    .bp-moysklad-page .gallery-head .gallery-indicators {
        justify-content: flex-start;
    }
    .bp-moysklad-page .gallery-head .gallery-caption-text {
        font-size: 13px;
        line-height: 1.5;
    }
    .bp-moysklad-page .gallery-card {
        border-radius: 16px;
    }
    .bp-moysklad-page .gallery-nav {
        width: 32%;
        min-width: 72px;
        opacity: 0.10;
    }
    .bp-moysklad-page .gallery-nav-prev {
        padding-left: 10px;
    }
    .bp-moysklad-page .gallery-nav-next {
        padding-right: 10px;
    }
    .bp-moysklad-page .gallery-nav-icon {
        height: 29%;
        min-height: 72px;
        max-height: 132px;
    }

    /* Capabilities Facts Mobile */
    .bp-moysklad-page .summary-head {
        margin-bottom: 24px;
    }
    .bp-moysklad-page .summary-lines {
        gap: 14px;
    }
    .bp-moysklad-page .summary-line {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        font-size: 17px;
    }
    .bp-moysklad-page .summary-item {
        white-space: normal;
    }
    .bp-moysklad-page .proof-line {
        display: block;
        padding: 20px 20px 24px;
        font-size: 14px;
    }
    .bp-moysklad-page .proof-line strong {
        display: block;
        margin-bottom: 7px;
        font-size: 24px;
    }
    .bp-moysklad-page .full-capabilities {
        margin-top: 32px;
    }
    .bp-moysklad-page .full-capabilities summary {
        padding: 18px 0;
    }
    .bp-moysklad-page .full-capabilities-summary-text small {
        font-size: 12px;
    }
    .bp-moysklad-page .capability-facts {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    /* Mobile Connect Flow: calm vertical sequence */
    .bp-moysklad-page #connect .connect-grid {
        gap: 24px;
    }
    .bp-moysklad-page #connect .connect-grid .lead {
        margin-bottom: 20px;
    }
    .bp-moysklad-page #connect .connect-flow {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 0 0;
        margin-top: 0;
    }
    .bp-moysklad-page #connect .connect-arrow {
        display: none;
    }
    .bp-moysklad-page #connect .connect-step {
        position: relative;
        display: block;
        width: 100%;
        padding: 0 0 24px 30px;
        font-size: 17px;
        line-height: 1.45;
    }
    .bp-moysklad-page #connect .connect-step:last-child {
        padding-bottom: 0;
    }
    .bp-moysklad-page #connect .connect-step-dot {
        position: absolute;
        left: 2px;
        top: 0.55em;
        width: 8px;
        height: 8px;
    }
    .bp-moysklad-page #connect .connect-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 5px;
        top: calc(0.55em + 12px);
        bottom: 6px;
        width: 1px;
        background: linear-gradient(180deg, rgba(93, 241, 243, 0.42), rgba(93, 241, 243, 0.10));
    }

    /* Final CTA Mobile */
    .bp-moysklad-page .final-box {
        padding: 38px 24px;
        border-radius: 18px;
    }

    /* Lightbox Mobile */
    .bp-moysklad-page .lightbox {
        padding: 14px;
    }
    .bp-moysklad-page .lightbox img {
        min-width: 1100px;
    }
    .bp-moysklad-page .lightbox-close {
        top: 12px;
        right: 12px;
    }
}

/* End */


/* Start:/local/components/bonusplus.common/faq/templates/.default/style.css?17840141151357*/
/* =========================== */
/* FAQ                         */
/* =========================== */
.faq-container {
    margin: 0 10% 0 10%;
}

@media (max-width: 1200px) {
    .faq-container {
        margin: 12px;
    }
}

.faq-item {
    border-bottom: var(--border-settings);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    text-align: start;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
    padding: 0 5% 0 0%;
    overflow: hidden;
    min-height: 0;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    border-bottom: 1px solid var(--surface-default);
}

.faq-answer p {
    padding-bottom: 32px;
    color: var(--text-secondary);
    margin: 0;
}

.faq-btn,
.faq-icon {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-btn {
    min-width: 32px;
    min-height: 32px;
    border: var(--border-settings);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}
/* End */


/* Start:/local/components/bonusplus.integrations/cta/templates/.default/style.css?17908346101913*/
/* ==========================================================================
   FINAL CTA SECTION (BonusPlus Integrations Design System - MoySklad style)
   ========================================================================== */

.final.bp-int-cta,
.bp-int-cta {
    padding: 70px 0 90px;
}

.bp-int-cta .final-box {
    position: relative;
    overflow: hidden;
    padding: 58px 62px;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.16));
    border-radius: 22px;
    background: var(--background-secondary, #141D1D);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.bp-int-cta .final-box:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.13), rgba(255, 212, 0, 0) 65%);
    pointer-events: none;
}

.bp-int-cta .final-box h2 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 16px;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--text-primary, #FFFFFF);
    text-align: left;
}

.bp-int-cta .final-box p {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--text-secondary, #CACACA);
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
}

.bp-int-cta .final-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .final.bp-int-cta,
    .bp-int-cta {
        padding: 50px 0 70px;
    }

    .bp-int-cta .final-box {
        padding: 38px 24px;
        border-radius: 18px;
    }

    .bp-int-cta .final-box h2 {
        font-size: 32px;
    }

    .bp-int-cta .final-actions .btn {
        width: 100%;
    }
}

/* End */
/* /bitrix/templates/bonus_plus_portal/assets/css/moysklad-integration.css?179248443633953 */
/* /local/components/bonusplus.common/faq/templates/.default/style.css?17840141151357 */
/* /local/components/bonusplus.integrations/cta/templates/.default/style.css?17908346101913 */
