.tax-dd-hero,
.tax-dd-hero * {
    box-sizing: border-box;
}

.tax-dd-hero {
    --dd-navy: #103657;
    --dd-blue: #087eaf;
    --dd-menu: var(--tax-dd-menu-color, #174a78);
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    color: var(--dd-navy);
    background-color: #dfeef9;
    background-image: url("../../dogovora/dogovor-model/fon-dogovor.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.tax-dd-hero :where(h1, h2, h3, p, ul) {
    margin: 0 !important;
    padding: 0;
}

.tax-dd-hero a {
    text-decoration: none;
}

.tax-dd-hero__ambient {
    display: none;
}

.tax-dd-hero__inner,
.tax-dd-hero__benefits-inner {
    width: min(1540px, calc(100% - 40px));
    margin-inline: auto;
}

.tax-dd-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
    align-items: center;
    gap: clamp(35px, 4vw, 76px);
    padding: 86px 0 99px;
}

.tax-dd-hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.tax-dd-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #17658a;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.tax-dd-hero__eyebrow::before {
    content: "";
    flex: 0 0 28px;
    width: 28px;
    height: 2px;
    background: currentColor;
}

.tax-dd-hero__title {
    max-width: 770px;
    margin: 23px 0 25px !important;
    color: #103352;
    font-size: clamp(49px, 4.9vw, 77px);
    font-weight: 700;
    letter-spacing: -.037em;
    line-height: 1.08;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .56);
}

.tax-dd-hero__title span {
    display: block;
    color: #057ead;
}

.tax-dd-hero__lead {
    max-width: 695px;
    color: #183b57;
    font-size: clamp(18px, 1.48vw, 22px);
    font-weight: 500;
    line-height: 1.55;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .56);
}

.tax-dd-hero__points {
    display: grid;
    gap: 15px;
    margin-top: 29px !important;
    list-style: none;
}

.tax-dd-hero__points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #173750;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .6);
}

.tax-dd-hero__check {
    display: grid;
    flex: 0 0 23px;
    place-items: center;
    width: 23px;
    height: 23px;
    margin-top: 1px;
    border: 1px solid #0b91c0;
    border-radius: 50%;
    color: #067daf;
    background: rgba(250, 254, 255, .88);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 3px 9px rgba(19, 85, 130, .1);
}

.tax-dd-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.tax-dd-hero__actions .tax-dd-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 61px;
    padding: 15px 23px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    text-decoration: none;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tax-dd-hero__button > span:last-child {
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

.tax-dd-hero__actions .tax-dd-hero__button--primary {
    border: 1px solid #2471bd;
    background: linear-gradient(120deg, #2268b8, #287fc9);
    box-shadow: 0 12px 26px rgba(17, 66, 109, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.tax-dd-hero__actions .tax-dd-hero__button--primary:hover,
.tax-dd-hero__actions .tax-dd-hero__button--primary:focus-visible {
    color: #fff;
    border-color: #1d62a5;
    background: linear-gradient(120deg, #287dce, #1d65b0);
    box-shadow: 0 16px 34px rgba(17, 66, 109, .28);
    transform: translateY(-2px);
}

.tax-dd-hero__actions .tax-dd-hero__button--outline {
    border: 1px solid rgba(248, 72, 33, .8);
    background: linear-gradient(110deg, #ff6b26 0%, #ff4e20 58%, #ff371e 100%);
    box-shadow: 0 12px 24px rgba(198, 66, 34, .24), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.tax-dd-hero__actions .tax-dd-hero__button--outline:hover,
.tax-dd-hero__actions .tax-dd-hero__button--outline:focus-visible {
    color: #fff;
    border-color: #e63c1e;
    background: linear-gradient(110deg, #ff772c 0%, #ff581d 55%, #f72f22 100%);
    box-shadow: 0 17px 33px rgba(198, 66, 34, .32);
    transform: translateY(-2px);
}

.tax-dd-hero__actions .tax-dd-hero__button:focus-visible {
    outline: 3px solid rgba(12, 104, 162, .33);
    outline-offset: 4px;
}

.tax-dd-hero__visual {
    position: relative;
    height: 520px;
    min-width: 0;
    isolation: isolate;
}

.tax-dd-hero__orbit {
    position: absolute;
    z-index: -1;
    inset: 1% -2%;
    border: 1px solid rgba(31, 104, 161, .16);
    border-radius: 50%;
    transform: rotate(17deg) scale(.96, .85);
    pointer-events: none;
}

.tax-dd-hero__orbit--two {
    inset: 9% 2%;
    transform: rotate(-18deg) scale(.91, .91);
}

.tax-dd-hero__report {
    position: absolute;
    z-index: 1;
    left: 6%;
    top: 4%;
    display: flex;
    flex-direction: column;
    width: 82%;
    min-height: 437px;
    padding: 28px 29px 23px;
    border: 1px solid rgba(163, 202, 226, .94);
    border-radius: 15px;
    color: #103657;
    background: linear-gradient(145deg, #fff 0%, #f4faff 53%, #eaf4fb 100%);
    box-shadow: 0 33px 67px rgba(23, 62, 96, .27), 0 9px 23px rgba(15, 57, 91, .14), inset 0 1px 0 #fff;
    transform: none;
}

.tax-dd-hero__report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
    padding-bottom: 17px;
    border-bottom: 1px solid #d4e5f1;
    color: #397197;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .025em;
}

.tax-dd-hero__report-head strong {
    color: #1a628c;
    font-weight: 700;
}

.tax-dd-hero__report-head span:empty {
    display: none;
}

.tax-dd-hero__report-title {
    margin: 28px 0 17px !important;
    color: #103152;
    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 700;
    letter-spacing: -.016em;
    line-height: 1.18;
}

.tax-dd-hero__report-rows {
    display: grid;
}

.tax-dd-hero__report-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 61px;
    border-top: 1px solid #dae7f0;
    font-size: 14px;
    line-height: 1.28;
}

.tax-dd-hero__row-number {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #276b9c;
    background: #dcebf6;
    font-size: 11px;
    font-weight: 700;
}

.tax-dd-hero__row-name {
    flex: 1;
    min-width: 0;
    color: #183c5d;
    font-size: 14px;
    font-weight: 700;
}

.tax-dd-hero__status {
    display: inline-block;
    flex: none;
    padding: 7px 9px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.tax-dd-hero__status--high {
    color: #a7473d;
    background: #f9e3df;
}

.tax-dd-hero__status--medium {
    color: #8e5e22;
    background: #faedd6;
}

.tax-dd-hero__status--low {
    color: #23765b;
    background: #dff0e6;
}

.tax-dd-hero__report-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 17px;
    color: #6688a1;
    font-size: 10px;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.tax-dd-hero__badge {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    width: 228px;
    min-height: 128px;
    padding: 21px 23px;
    border: 1px solid rgba(181, 222, 248, .7);
    border-radius: 13px;
    background: linear-gradient(140deg, #2375b3, var(--dd-menu) 84%);
    box-shadow: 0 23px 45px rgba(20, 55, 81, .33), 0 7px 15px rgba(9, 45, 73, .13), inset 0 1px 0 rgba(255, 255, 255, .22);
    transform: none;
}

.tax-dd-hero__badge span {
    color: #d3edff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tax-dd-hero__badge strong {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.tax-dd-hero__benefits {
    padding: 31px 0 39px;
    color: #0b2b4b;
    background: linear-gradient(180deg, #eef5fa, #f7fbfe);
}

.tax-dd-hero__benefits-label {
    margin-bottom: 25px !important;
    color: #6487a8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.tax-dd-hero__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tax-dd-hero__benefit {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    min-width: 0;
    padding: 20px 18px;
    border: 1px solid #d4e3ef;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #f5fafe);
    box-shadow: 0 14px 30px rgba(18, 59, 92, .09), 0 3px 8px rgba(18, 59, 92, .05), inset 0 1px 0 rgba(255, 255, 255, .95);
    transition: transform .22s ease, box-shadow .22s ease;
}

.tax-dd-hero__benefit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(18, 59, 92, .14), 0 5px 12px rgba(18, 59, 92, .06);
}

.tax-dd-hero__benefit-number {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #d1e2f0;
    border-radius: 10px;
    color: #367abc;
    background: linear-gradient(155deg, #f1f9ff, #dcecf9);
    box-shadow: 0 5px 12px rgba(16, 68, 113, .08);
    font-size: 18px;
    font-weight: 700;
}

.tax-dd-hero__benefit h3 {
    margin-bottom: 7px !important;
    color: #112f4e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.tax-dd-hero__benefit p {
    color: #53708a;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1140px) {
    .tax-dd-hero__main {
        grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
        gap: 24px;
    }

    .tax-dd-hero__report {
        left: 2%;
        width: 88%;
        padding-inline: 23px;
    }

    .tax-dd-hero__report-title {
        font-size: 29px;
    }

    .tax-dd-hero__badge {
        right: -1%;
    }
}

@media (max-width: 900px) {
    .tax-dd-hero__inner,
    .tax-dd-hero__benefits-inner {
        width: min(100% - 32px, 1540px);
    }

    .tax-dd-hero__main {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 65px 0 46px;
    }

    .tax-dd-hero__copy {
        max-width: 740px;
    }

    .tax-dd-hero__title {
        font-size: clamp(43px, 7vw, 70px);
    }

    .tax-dd-hero__visual {
        width: min(520px, 100%);
        height: 520px;
        margin: 0 auto;
    }

    .tax-dd-hero__report {
        left: 5%;
        width: 82%;
    }

    .tax-dd-hero__badge {
        right: 0;
    }

    .tax-dd-hero__benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 580px) {
    .tax-dd-hero__inner,
    .tax-dd-hero__benefits-inner {
        width: min(100% - 24px, 1540px);
    }

    .tax-dd-hero__main {
        gap: 29px;
        padding: 52px 0 40px;
    }

    .tax-dd-hero__eyebrow {
        font-size: 10px;
        letter-spacing: .095em;
    }

    .tax-dd-hero__title {
        margin: 18px 0 !important;
        font-size: clamp(37px, 9.5vw, 53px);
        letter-spacing: -.035em;
    }

    .tax-dd-hero__lead {
        font-size: 17px;
        line-height: 1.52;
    }

    .tax-dd-hero__points {
        gap: 13px;
        margin-top: 24px !important;
    }

    .tax-dd-hero__points li {
        gap: 10px;
        font-size: 14px;
    }

    .tax-dd-hero__check {
        flex-basis: 21px;
        width: 21px;
        height: 21px;
    }

    .tax-dd-hero__actions {
        display: grid;
        gap: 11px;
        margin-top: 28px;
    }

    .tax-dd-hero__actions .tax-dd-hero__button {
        width: 100%;
        min-height: 56px;
        padding: 14px 17px;
        font-size: 15px;
    }

    .tax-dd-hero__visual {
        height: 390px;
        max-width: 390px;
    }

    .tax-dd-hero__report {
        left: 2%;
        top: 3%;
        width: 92%;
        min-height: 328px;
        padding: 19px 17px 16px;
        border-radius: 11px;
    }

    .tax-dd-hero__report-head {
        min-height: 32px;
        padding-bottom: 9px;
        font-size: 10px;
    }

    .tax-dd-hero__report-title {
        margin: 15px 0 10px !important;
        font-size: clamp(21px, 5.8vw, 25px);
    }

    .tax-dd-hero__report-row {
        min-height: 47px;
        gap: 7px;
    }

    .tax-dd-hero__row-number {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 9px;
    }

    .tax-dd-hero__row-name {
        font-size: 12px;
    }

    .tax-dd-hero__status {
        padding: 5px 6px;
        font-size: 8px;
    }

    .tax-dd-hero__report-foot {
        padding-top: 9px;
        font-size: 8px;
    }

    .tax-dd-hero__badge {
        right: 0;
        bottom: 0;
        width: 166px;
        min-height: 95px;
        padding: 13px 15px;
        border-radius: 10px;
    }

    .tax-dd-hero__badge span {
        font-size: 8px;
        line-height: 1.35;
    }

    .tax-dd-hero__badge strong {
        font-size: 16px;
    }

    .tax-dd-hero__benefits {
        padding: 26px 0;
    }

    .tax-dd-hero__benefits-label {
        margin-bottom: 17px !important;
        font-size: 10px;
        line-height: 1.5;
    }

    .tax-dd-hero__benefit {
        padding: 16px;
    }

    .tax-dd-hero__benefit-number {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .tax-dd-hero__benefit h3 {
        font-size: 16px;
    }

    .tax-dd-hero__benefit p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tax-dd-hero__button,
    .tax-dd-hero__benefit {
        transition: none;
    }
}


.tax-dd-hero__points {
    gap: 13px;
    max-width: 760px;
    margin-top: 29px !important;
}

.tax-dd-hero__points li {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(16px, 1.1vw, 17px);
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    text-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.tax-dd-hero__points li > span:last-child {
    display: inline;
    color: #fff;
    background: linear-gradient(105deg, rgba(11, 50, 80, .88), rgba(25, 82, 120, .78));
    padding: 5px 10px 6px;
    border-radius: 5px;
    box-shadow: 0 5px 14px rgba(13, 45, 73, .16);
    text-shadow: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.tax-dd-hero__check {
    display: grid;
    flex: 0 0 25px;
    place-items: center;
    width: 25px;
    height: 25px;
    margin-top: 0;
    border: 1px solid rgba(184, 235, 255, .94);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #18a9dc, #087cbe);
    box-shadow: 0 4px 11px rgba(0, 17, 34, .22), inset 0 1px 0 rgba(255, 255, 255, .27);
    font-size: 14px;
    line-height: 1;
    text-shadow: none;
}

@media (max-width: 580px) {
    .tax-dd-hero__points {
        gap: 10px;
        margin-top: 24px !important;
    }

    .tax-dd-hero__points li {
        gap: 10px;
        font-size: 15px;
    }

    .tax-dd-hero__points li > span:last-child {
        padding: 4px 8px 5px;
        border-radius: 4px;
    }

    .tax-dd-hero__check {
        flex-basis: 23px;
        width: 23px;
        height: 23px;
        font-size: 13px;
    }
}
