/* ===== Ð¡Ð»Ð°Ð¹Ð´ 4: ÑÐ¾ÑÑ‚Ð°Ð² ===== */
.hero-iso__panel-comp {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s cubic-bezier(.22,.61,.36,1), visibility 0s linear .5s;
}
.hero-iso.is-stage-4 .hero-iso__panel-comp {
    opacity: 1;
    visibility: visible;
    transition: opacity .5s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s;
}

/* ÐºÐ¾Ð»Ð¾Ð½ÐºÐ¸ â€” Ñ€Ð°Ð²Ð½Ð¾Ð¼ÐµÑ€Ð½Ð¾ Ð¿Ð¾ Ð²ÐµÑ€Ñ‚Ð¸ÐºÐ°Ð»Ð¸ (Ð”Ð•Ð¡ÐšÐ¢ÐžÐŸ) */
.hero-iso__comp-col {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-5);
    width: min(28vw, 320px);
}
.hero-iso__comp-col--left  { left: 3%;  align-items: flex-end; }
.hero-iso__comp-col--right { right: 3%; align-items: flex-start; }

/* Ð¿Ð»Ð°ÑˆÐºÐ° */
.hero-iso__comp-item {
    position: relative;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s cubic-bezier(.22,.61,.36,1),
                transform .5s cubic-bezier(.22,.61,.36,1);
    width: 100%;
}
.hero-iso.is-stage-4 .hero-iso__comp-item {
    opacity: 1;
    transform: translateY(0);
}
.hero-iso.is-stage-4 .hero-iso__comp-item:nth-child(1) { transition-delay: .05s; }
.hero-iso.is-stage-4 .hero-iso__comp-item:nth-child(2) { transition-delay: .12s; }
.hero-iso.is-stage-4 .hero-iso__comp-item:nth-child(3) { transition-delay: .19s; }
.hero-iso.is-stage-4 .hero-iso__comp-item:nth-child(4) { transition-delay: .26s; }
.hero-iso.is-stage-4 .hero-iso__comp-item:nth-child(5) { transition-delay: .33s; }

/* ---- ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° (glass-Ð¿Ð°Ñ‚Ñ‚ÐµÑ€Ð½ UI-kit) ---- */
.hero-iso__comp-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
    min-height: 84px;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
}
[data-theme="dark"] .hero-iso__comp-card {
    background: rgba(30, 30, 30, .6);
    border-color: rgba(255, 255, 255, .1);
}

.hero-iso__comp-col--left .hero-iso__comp-card {
    flex-direction: row-reverse;
    text-align: right;
}

/* Ð±ÐµÐ¹Ð´Ð¶-ÐºÐ²Ð°Ð´Ñ€Ð°Ñ‚ Ñ Ð¾Ð±Ð¾Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸ÐµÐ¼ */
.hero-iso__comp-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--flavor-accent, var(--accent)) 22%, transparent);
    border: 1.5px solid var(--flavor-accent, var(--accent));
    color: var(--flavor-accent, var(--accent));
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
}
[data-theme="dark"] .hero-iso__comp-badge {
    color: #fff;
}

/* Ñ‚ÐµÐºÑÑ‚Ð¾Ð²Ð°Ñ Ñ‡Ð°ÑÑ‚ÑŒ */
.hero-iso__comp-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hero-iso__comp-label {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: var(--lh-tight);
}
.hero-iso__comp-value {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--flavor-accent, var(--accent));
    line-height: var(--lh-tight);
}

/* ===== Ð›Ð¸Ð½Ð¸Ñ Ðº Ð±ÑƒÑ‚Ñ‹Ð»ÐºÐµ (Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð´ÐµÑÐºÑ‚Ð¾Ð¿) ===== */
.hero-iso__comp-line {
    position: absolute;
    top: 50%;
    height: 1.5px;
    width: clamp(24px, 5vw, 70px);
    background: linear-gradient(to var(--dir, right),
                var(--flavor-accent, var(--accent)), transparent);
    opacity: .55;
    transform: scaleX(0);
    transition: transform .5s cubic-bezier(.22,.61,.36,1) .25s;
}
.hero-iso__comp-col--left .hero-iso__comp-line {
    left: 100%; margin-left: 8px;
    transform-origin: left center;
    --dir: right;
}
.hero-iso__comp-col--right .hero-iso__comp-line {
    right: 100%; margin-right: 8px;
    transform-origin: right center;
    --dir: left;
}
.hero-iso.is-stage-4 .hero-iso__comp-line { transform: scaleX(1); }

.hero-iso__comp-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--flavor-accent, var(--accent));
    transform: translateY(-50%);
    box-shadow: 0 0 12px var(--flavor-accent, var(--accent));
}
.hero-iso__comp-col--left  .hero-iso__comp-line::after { right: -3px; }
.hero-iso__comp-col--right .hero-iso__comp-line::after { left:  -3px; }


/* =========================================================
   ÐœÐžÐ‘Ð˜Ð›Ð¬ÐÐÐ¯ Ð’ÐÐ Ð¡Ð¢ÐšÐ (â‰¤1024)
   Ð’Ð¼ÐµÑÑ‚Ð¾ Ð´Ð²ÑƒÑ… ÐºÐ¾Ð»Ð¾Ð½Ð¾Ðº, Ð¿Ñ€Ð¸Ð¶Ð°Ñ‚Ñ‹Ñ… Ðº ÐºÑ€Ð°ÑÐ¼ ÑÐºÑ€Ð°Ð½Ð° (ÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ðµ Ð»ÐµÐ·Ð»Ð¸
   Ð¿Ð¾Ð²ÐµÑ€Ñ… Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ°/Ð±ÑƒÑ‚Ñ‹Ð»ÐºÐ¸/Ð±Ð°Ñ€Ð°), â€” ÐµÐ´Ð¸Ð½Ñ‹Ð¹ Ñ†ÐµÐ½Ñ‚Ñ€Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ð¹ Ð±Ð»Ð¾Ðº
   Ñ Ð³Ð¾Ñ€Ð¸Ð·Ð¾Ð½Ñ‚Ð°Ð»ÑŒÐ½Ñ‹Ð¼Ð¸ ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½Ñ‹Ð¼Ð¸ "Ñ‡Ð¸Ð¿Ð°Ð¼Ð¸", Ñ€Ð°Ð·Ð¼ÐµÑ‰Ñ‘Ð½Ð½Ñ‹Ð¹ Ð²
   ÑÐ²Ð¾Ð±Ð¾Ð´Ð½Ð¾Ð¹ Ð·Ð¾Ð½Ðµ Ð¼ÐµÐ¶Ð´Ñƒ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð¼ Ð¸ Ð½Ð¸Ð¶Ð½Ð¸Ð¼ Ð±Ð°Ñ€Ð¾Ð¼.
   ========================================================= */
@media (max-width: 1024px) {

    .hero-iso__comp-line { display: none !important; }

    .hero-iso__panel-comp {
        display: flex;
        align-items: center;
        justify-content: center;
        /* ÑÐ²ÐµÑ€Ñ…Ñƒ Ð¾ÑÐ²Ð¾Ð±Ð¾Ð¶Ð´Ð°ÐµÐ¼ Ð¼ÐµÑÑ‚Ð¾ Ð¿Ð¾Ð´ Ð¿Ð¾Ð´Ð½ÑÑ‚Ñ‹Ð¹ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº,
           ÑÐ½Ð¸Ð·Ñƒ â€” Ð¿Ð¾Ð´ Ñ„Ð¸ÐºÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ð¹ Ð±Ð°Ñ€ Ð²ÐºÑƒÑÐ¾Ð²/ÐºÐ½Ð¾Ð¿Ð¾Ðº */
        padding: 3dvh 16px 128px;
        /* overflow-y: auto; */
        -webkit-overflow-scrolling: touch;
    }
    .hero-iso.is-stage-4 .hero-iso__panel-comp {
        pointer-events: auto;
    }

    .hero-iso__comp-col {
        position: static;
        transform: none;
        top: auto;
        width: 100%;
        max-width: 420px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: var(--space-2);
    }
    .hero-iso__comp-col--left,
    .hero-iso__comp-col--right {
        left: auto;
        right: auto;
        align-items: center;
    }

    .hero-iso__comp-item { width: auto; }

    /* ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ°-Ñ‡Ð¸Ð¿: ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½Ð°Ñ, Ð² ÑÑ‚Ñ€Ð¾ÐºÑƒ */
    .hero-iso__comp-col--left .hero-iso__comp-card,
    .hero-iso__comp-col--right .hero-iso__comp-card {
        flex-direction: row !important;
        text-align: left !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2);
        width: auto;
        max-width: none;
        min-width: 185px;
        min-height: auto;
        padding: 8px 14px 8px 8px;
        border-radius: var(--radius-lg);
    }

    .hero-iso__comp-col--left .hero-iso__comp-badge,
    .hero-iso__comp-col--right .hero-iso__comp-badge {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 50%;
        margin: 0;
        flex-shrink: 0;
    }

    .hero-iso__comp-col--left .hero-iso__comp-info,
    .hero-iso__comp-col--right .hero-iso__comp-info {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }
    .hero-iso__comp-col--left .hero-iso__comp-label,
    .hero-iso__comp-col--right .hero-iso__comp-label {
        font-size: 13px;
        white-space: nowrap;
    }
    .hero-iso__comp-col--left .hero-iso__comp-value,
    .hero-iso__comp-col--right .hero-iso__comp-value {
        font-size: 12px;
        white-space: nowrap;
        opacity: .85;
    }
}

/* Ð¢ÐµÐ»ÐµÑ„Ð¾Ð½Ñ‹ â€” Ñ‡ÑƒÑ‚ÑŒ ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½ÐµÐµ Ñ‡Ð¸Ð¿Ñ‹ */
@media (max-width: 600px) {
    .hero-iso__panel-comp {
        padding: 3dvh 65px 116px;
    }
    .hero-iso__comp-col--left .hero-iso__comp-card,
    .hero-iso__comp-col--right .hero-iso__comp-card {
        padding: 7px 12px 7px 7px;
        min-width: 170px;
    }
    .hero-iso__comp-col--left .hero-iso__comp-badge,
    .hero-iso__comp-col--right .hero-iso__comp-badge {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .hero-iso__comp-col--left .hero-iso__comp-label,
    .hero-iso__comp-col--right .hero-iso__comp-label { font-size: 12px; }
    .hero-iso__comp-col--left .hero-iso__comp-value,
    .hero-iso__comp-col--right .hero-iso__comp-value { font-size: 11px; }
}

@media (max-width: 400px) {
    .hero-iso__comp-col--left .hero-iso__comp-info,
    .hero-iso__comp-col--right .hero-iso__comp-info {
        flex-direction: column;
        align-items: end;
    }

    .hero-iso__panel-comp {
        padding: 6dvh 65px 108px;
    }
    .hero-iso__comp-col { gap: 6px; }
    .hero-iso__comp-col--left .hero-iso__comp-card,
    .hero-iso__comp-col--right .hero-iso__comp-card {
        padding: 6px 10px 6px 6px;
        min-width: 110px;
    }
    .hero-iso__comp-col--left .hero-iso__comp-badge,
    .hero-iso__comp-col--right .hero-iso__comp-badge {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .hero-iso__comp-col--left .hero-iso__comp-label,
    .hero-iso__comp-col--right .hero-iso__comp-label { font-size: 11px; }
    .hero-iso__comp-col--left .hero-iso__comp-value,
    .hero-iso__comp-col--right .hero-iso__comp-value { font-size: 10px; }
}

@media (max-height: 560px) and (orientation: landscape) {
    .hero-iso__panel-comp {
        padding: 12dvh 12px 90px;
    }
}
