.tax-baner-modal {
    position: fixed;
    top: 183px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: none;
    justify-content: center;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.65);
}

.tax-baner-inner {
    --tax-right: 137px;
    position: relative;
    width: min(calc(100vw - 24px), 1920px);
    height: min(calc(100vh - 183px - 12px), 896px);
    max-height: 896px;
    background-color: transparent;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}

.tax-baner-content {
    position: absolute;
    right: var(--tax-right);
    top: clamp(28px, 5.6vh, 64px);
    bottom: clamp(22px, 5.2vh, 59px);
    width: min(896px, calc(100% - var(--tax-right) - 24px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: clamp(8px, 1.2vh, 12px);
}

.tax-baner-close {
    position: relative;
    top: auto;
    right: auto;
    width: clamp(40px, 3.6vw, 70px);
    height: clamp(42px, 3.9vw, 75px);
    margin: 0 0 auto 0;
    align-self: flex-end;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 4;
}

.tax-baner-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tax-baner-graphic {
    position: relative;
    width: clamp(320px, 31vw, 532px);
    height: auto;
    max-width: 100%;
    max-height: 120px;
    aspect-ratio: 532 / 256;
    z-index: 3;
    margin-bottom: 4px;
    flex: 1 1 auto;
    min-height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.tax-baner-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.tax-baner-title {
    position: relative;
    width: min(604px, 100%);
    margin: 0;
    left: auto;
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 2.55vw, 49px);
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: right;
    color: #fff;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.55);
    z-index: 3;
    flex: 0 0 auto;
}

.tax-baner-krs {
    position: relative;
    width: min(896px, 100%);
    margin: 0;
    left: auto;
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 5.55vw, 107px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-align: right;
    color: #fff;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.52);
    z-index: 3;
    flex: 0 0 auto;
}

.tax-baner-krs span {
    font: inherit;
}

.tax-baner-cta {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: clamp(220px, 20vw, 339px);
    height: auto;
    aspect-ratio: 339 / 103;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 3;
    flex: 0 0 auto;
}

.tax-baner-cta img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tax-baner-cta-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, #e7c15a 0%, #d1a83d 100%);
    color: #000;
    font-family: "Jost", sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 1400px) {
    .tax-baner-inner { border-radius: 8px; }
    .tax-baner-inner { --tax-right: 56px; }

    .tax-baner-close {
        width: 52px;
        height: 56px;
        margin-bottom: 4px;
    }

    .tax-baner-content {
        right: var(--tax-right);
        top: clamp(20px, 4vh, 34px);
        bottom: clamp(18px, 4.2vh, 36px);
        width: min(860px, calc(100% - var(--tax-right) - 20px));
        gap: 8px;
    }

    .tax-baner-graphic {
        width: min(440px, 100%);
        max-height: 120px;
    }

    .tax-baner-title {
        width: min(45vw, 560px);
        text-align: right;
    }

    .tax-baner-krs {
        width: min(62vw, 860px);
        text-align: right;
    }

    .tax-baner-cta {
        width: min(28vw, 320px);
        height: auto;
        aspect-ratio: 339 / 103;
    }
}

@media (min-width: 1200px) and (min-height: 980px) {
    .tax-baner-content {
        top: 48px;
        bottom: 46px;
    }

    .tax-baner-graphic {
        width: 532px;
        max-height: 120px;
    }

    .tax-baner-cta {
        width: 339px;
    }
}

@media (max-width: 1500px) and (max-height: 760px) and (min-width: 993px) {
    .tax-baner-content {
        top: 18px;
        bottom: 24px;
    }

    .tax-baner-close {
        width: 42px;
        height: 44px;
    }
}

@media (max-height: 690px) and (min-width: 993px) {
    .tax-baner-content {
        top: 12px;
        bottom: 14px;
        gap: 6px;
    }

    .tax-baner-close {
        width: 34px;
        height: 36px;
    }

    .tax-baner-graphic {
        max-height: 120px;
        min-height: 48px;
    }

    .tax-baner-title {
        font-size: clamp(24px, 2.2vw, 34px);
    }

    .tax-baner-krs {
        font-size: clamp(40px, 4.7vw, 68px);
    }
}

@media (max-width: 992px) {
    .tax-baner-modal {
        top: 86px;
        z-index: 3;
    }

    .tax-baner-inner {
        width: min(calc(100vw - 16px), 720px);
        height: min(calc(100vh - 86px - 10px), 860px);
        padding: 24px 20px 28px;
        background-position: 25% center;
    }

    .tax-baner-content {
        right: 20px;
        top: 20px;
        bottom: 22px;
        width: min(620px, calc(100% - 40px));
        gap: 10px;
    }

    .tax-baner-close {
        width: 44px;
        height: 46px;
        margin-bottom: 4px;
    }

    .tax-baner-graphic {
        width: min(420px, 100%);
        max-height: 120px;
        min-height: 70px;
        margin-top: 6px;
    }

    .tax-baner-title {
        width: min(100%, 520px);
        font-size: clamp(24px, 5.8vw, 42px);
        text-align: right;
    }

    .tax-baner-krs {
        width: min(100%, 620px);
        font-size: clamp(36px, 8.5vw, 78px);
        text-align: right;
        letter-spacing: -0.03em;
    }

    .tax-baner-cta {
        width: min(82vw, 320px);
        height: auto;
    }
}

@media (max-width: 480px) {
    .tax-baner-close {
        width: 34px;
        height: 36px;
        margin-bottom: 2px;
    }

    .tax-baner-cta {
        width: min(70vw, 250px);
    }

    .tax-baner-cta-text {
        font-size: 24px;
    }
}

@media (max-height: 860px) and (min-width: 993px) {
    .tax-baner-content { gap: 8px; }

    .tax-baner-graphic {
        max-height: 120px;
        min-height: 60px;
    }
}
