﻿.hp-bg-canvas {
    position: relative;
    isolation: isolate;
}

    .hp-bg-canvas::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--bg-height, 900px);
        background-image: var(--hero-bg-image);
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        z-index: -1;
        -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    }

.if-services {
    background: #EDEEEF;
    color: #111111;
    max-width: none;
    padding: clamp(64px, 10vh, 130px) clamp(20px, 4.5vw, 72px) clamp(72px, 11vh, 140px);
}

.sa-services {
    max-width: 1400px;
    margin: 0 auto;
}

.if-services__title-container {
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.if-services__title {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.042em;
    color: var(--color-brand);
}

.if-services__head {
    text-align: left;
    max-width: 1000px;
    margin: clamp(22px, 3vh, 36px) auto 0;
    border-radius: 20px;
    border: 1px solid rgba(87, 28, 42, 0.16);
    background: #ffffff;
    overflow: hidden;
}

.dep-info__toggle-all {
    width: 100%;
    background: none;
    border: 0;
    padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.8vw, 32px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    font-family: inherit;
}

.dep-info__toggle-all-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: var(--color-brand);
}

.dep-info__toggle-all-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: rgba(87, 28, 42, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: none;
}

    .dep-info__toggle-all-icon svg {
        width: 16px;
        height: 16px;
    }

.dep-info__toggle-all[aria-expanded="true"] .dep-info__toggle-all-icon {
    transform: rotate(180deg);
}

.dep-info__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(.16, 1, .3, 1);
}

.dep-info__body-inner {
    padding: clamp(4px, 1vw, 8px) clamp(20px, 2.8vw, 32px) clamp(20px, 2.6vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.72;
    color: rgba(17, 17, 17, 0.7);
}

    .dep-info__body-inner p {
        margin: 0;
        font-size: 14.5px;
        line-height: 1.72;
        color: rgba(17, 17, 17, .7);
        text-wrap: pretty;
    }

.dep-info__divider {
    display: block;
    height: 1px;
    background: rgba(87, 28, 42, 0.14);
    margin: 6px 0;
}

.dep-info__subheading {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: -.012em;
    color: var(--color-brand) !important;
}

.dep-info__body-inner ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    counter-reset: dep-info-counter;
}

    .dep-info__body-inner ol li {
        counter-increment: dep-info-counter;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        align-items: baseline;
        padding: 11px 0;
        border-top: 1px solid rgba(87, 28, 42, .14);
        font-size: 14.5px;
        line-height: 1.6;
        color: rgba(17, 17, 17, .78);
    }

        .dep-info__body-inner ol li::before {
            content: counter(dep-info-counter, decimal-leading-zero);
            font-size: 11px;
            font-weight: 500;
            letter-spacing: .12em;
            color: rgba(87, 28, 42, .65);
        }

/* ── Results wrap ── */
.dep-results {
    margin-top: clamp(18px, 2.6vh, 28px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.4vw, 16px);
}

.dep-row {
    display: grid;
    grid-template-columns: 44px minmax(0px, 1.5fr) minmax(0px, 1fr) minmax(0px, 0.8fr) minmax(0px, 1.1fr) minmax(0px, 0.7fr) 26px auto;
    gap: 0px clamp(12px, 1.8vw, 26px);
    align-items: center;
    border-radius: 18px;
    border: 1px solid rgba(87, 28, 42, 0.32);
    background: #ffffff;
    padding: clamp(14px, 1.6vw, 20px) clamp(16px, 2vw, 26px);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: none
}

    .dep-row:hover {
        border-color: rgba(87, 28, 42, 0.55);
        box-shadow: 0 14px 34px -18px rgba(87, 28, 42, 0.28);
    }

.dep-row__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    padding: 4px;
    border-radius: 9px;
    background: rgba(87, 28, 42, 0.06);
    box-sizing: border-box;
}

    .dep-row__logo-box img {
        display: block;
        max-width: 36px;
        max-height: 30px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.dep-row__bank-info {
    min-width: 0;
}

.dep-row__bank-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.014em;
    color: var(--color-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dep-row__bank-type {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 450;
    color: rgba(87, 28, 42, 0.78);
}

.dep-row__col {
    min-width: 0;
}

.dep-row__col-label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-brand);
}

.dep-row__col-value {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 450;
    color: rgba(87, 28, 42, 0.78);
}

.dep-row__details-btn.hp-btn {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(87, 28, 42, 0.42);
    border-radius: 999px;
    background: #ffffff;
    padding: 11px 24px;
    min-height: 44px;
    font-size: 13.5px;
    font-weight: 450;
    color: var(--color-brand);
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s, transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
    transform: none;
    grid-column: auto;
}

    .dep-row__details-btn.hp-btn:hover {
        background: rgba(87, 28, 42, 0.06);
    }

    .dep-row__details-btn.hp-btn:active {
        transform: scale(0.97);
    }

.dep-empty {
    margin-top: clamp(18px, 2.6vh, 28px);
    border-radius: 22px;
    border: 1px dashed rgba(87, 28, 42, 0.3);
    background: rgba(87, 28, 42, 0.03);
    padding: clamp(28px, 4vw, 52px);
    text-align: center;
}

.dep-empty__title {
    margin: 0;
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 600;
    letter-spacing: -0.024em;
    color: var(--color-brand);
}

.dep-more-btn.hp-btn {
    align-self: center;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-brand);
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 14px 38px;
    min-height: 48px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}

    .dep-more-btn.hp-btn:hover {
        background: #4a1723;
    }

.dep-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 32px 0;
}

    .dep-loader[hidden] {
        display: none;
    }

.dep-loader__spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(87, 28, 42, 0.15);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: dep-spin 0.7s linear infinite;
}

.dep-info-icon {
    position: relative;
    justify-self: center;
}

.dep-info-icon__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-brand);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

    .dep-info-icon__btn:hover {
        transform: scale(1.1);
    }

.dep-info-icon__tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: -8px;
    width: min(300px, 72vw);
    background: #ffffff;
    border: 1px solid rgba(87, 28, 42, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: rgba(17, 17, 17, 0.5) 0px 24px 54px -26px;
    z-index: 40;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .78);
}

    .dep-info-icon__tooltip p {
        margin: 0;
        font-size: 12.5px;
        line-height: 1.6;
        color: rgba(17, 17, 17, 0.78);
    }

.dep-info-icon:hover .dep-info-icon__tooltip,
.dep-info-icon.active .dep-info-icon__tooltip,
.dep-info-icon__btn:focus-visible ~ .dep-info-icon__tooltip {
    display: block;
    animation: dp-fade 0.25s ease both;
}

/* ── Details modal ── */
.dep-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
}

    .dep-modal[hidden] {
        display: none;
    }

.dep-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 10, 16, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.dep-modal__panel {
    position: relative;
    background: #ffffff;
    color: #111111;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 90px -40px rgba(17, 17, 17, 0.6);
    animation: dp-pop 0.3s cubic-bezier(.16, 1, .3, 1) both;
}

.dep-modal__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.dep-modal__header {
    padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) clamp(18px, 2.2vw, 24px);
}

.dep-modal__logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(87, 28, 42, 0.07);
    box-sizing: border-box;
}

    .dep-modal__logo-box .dep-modal__bank-logo {
        display: block;
        max-width: 78px;
        max-height: 36px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.dep-modal__bank-name {
    margin: 18px 0 0;
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--color-brand);
}

.dep-modal__deposit-name {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 450;
    color: rgba(87, 28, 42, 0.8);
}

.dep-modal__body a {
    color: var(--color-brand);
}

.dep-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    color: rgba(17, 17, 17, 0.6);
    border-radius: 50%;
}

    .dep-modal__close:hover {
        color: #000;
        background: rgba(87, 28, 42, 0.06);
    }

.dep-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    border-top: 1px solid rgba(87, 28, 42, 0.12);
    padding: clamp(20px, 2.6vw, 26px) clamp(24px, 3vw, 32px);
}

.dep-details__attr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.dep-details__attr-label {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-brand);
}

.dep-details__attr-value {
    margin: 0;
    font-size: 14.5px;
    text-align: right;
    color: rgba(87, 28, 42, 0.85);
    overflow-wrap: anywhere;
}

.dep-details__attr--block {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

    .dep-details__attr--block .dep-details__attr-value {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }

.dep-details__choices {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.dep-details__choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dep-details__radio {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border: 1.5px solid rgba(87, 28, 42, 0.4);
    border-radius: 50%;
}

.dep-details__choice--on .dep-details__radio {
    border-color: var(--color-brand);
    background: var(--color-brand);
    box-shadow: inset 0 0 0 3px #fff;
}

.dep-details__choice--on .dep-details__choice-name {
    color: rgba(87, 28, 42, 0.85);
}

.dep-details__choice-name {
    font-size: 13.5px;
    font-weight: 450;
    color: rgba(87, 28, 42, 0.55);
}

.dep-details__source {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 14px;
    color: var(--color-brand);
    border-bottom: 1px solid rgba(87, 28, 42, 0.45);
    text-decoration: none;
}

body.dep-modal-open {
    overflow: hidden;
}

.services-note {
    margin: clamp(20px, 2.8vh, 30px) 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .55);
    text-wrap: pretty;
}

@keyframes dp-pop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dp-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dep-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1080px) {
    .dep-row {
        grid-template-columns: 44px minmax(0px, 1.4fr) minmax(0px, 1fr) minmax(0px, 0.8fr) minmax(0px, 1.1fr) minmax(0px, 0.7fr) 26px;
        gap: 14px clamp(12px, 1.8vw, 26px);
    }

    .dep-row__details-btn.hp-btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .dep-row {
        grid-template-columns: 44px minmax(0px, 1fr);
        gap: 14px clamp(12px, 1.8vw, 26px);
    }

    .dep-row__col {
        grid-column: span 2;
    }

    .dep-row__details-btn.hp-btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .dep-info-icon__tooltip {
        right: auto;
    }
}