.vat-page {
    --vat-red: #d70707;
    --vat-red-dark: #980000;
    --vat-black: #111;
    --vat-text: #111;
    --vat-line: #dedede;
    background: #fff;
    color: var(--vat-text);
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 56px;
}

.vat-page * {
    box-sizing: border-box;
}

.vat-hero {
    min-height: 170px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 47%, rgba(255, 255, 255, 0.55) 63%, rgba(255, 238, 236, 0.14) 100%),
        repeating-linear-gradient(24deg, rgba(155, 0, 0, 0.18) 0 16px, rgba(238, 180, 168, 0.18) 17px 34px),
        linear-gradient(120deg, #f6eded, #ffffff 44%, #d9b0a8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vat-hero__angle {
    width: 190px;
    height: 240px;
    position: absolute;
    left: -38px;
    top: -46px;
    background: linear-gradient(140deg, #ee0505 0 46%, #ffffff 46% 48%, #8d0000 48% 100%);
    clip-path: polygon(0 0, 72% 0, 38% 50%, 72% 100%, 0 100%);
}

.vat-hero__content {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-left: clamp(64px, 8vw, 118px);
}

.vat-hero h1 {
    margin: 0 0 12px;
    color: #060606;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.vat-hero p {
    margin: 0;
    color: #222;
    font-size: clamp(17px, 2vw, 27px);
    line-height: 1.15;
    font-weight: 500;
}

.vat-hero__notes {
    width: min(620px, 46vw);
    height: 170px;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.82;
    filter: saturate(1.05);
}

.vat-hero__notes span {
    width: 360px;
    height: 86px;
    position: absolute;
    right: -22px;
    top: 10px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 72% 45%, rgba(141, 0, 0, 0.42), transparent 19%),
        linear-gradient(90deg, rgba(160, 46, 40, 0.18), rgba(238, 210, 196, 0.86) 42%, rgba(187, 43, 38, 0.45));
    border: 1px solid rgba(145, 0, 0, 0.18);
    transform: rotate(14deg);
    box-shadow: 0 12px 22px rgba(116, 36, 36, 0.13);
}

.vat-hero__notes span:nth-child(2) {
    right: 145px;
    top: 50px;
    transform: rotate(12deg);
    opacity: 0.72;
}

.vat-hero__notes span:nth-child(3) {
    right: -76px;
    top: 92px;
    transform: rotate(16deg);
    opacity: 0.62;
}

.vat-guide,
.vat-plans {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.vat-guide {
    padding-top: 34px;
}

.vat-guide h2 {
    margin: 0;
    color: #101010;
    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: 0;
}

.vat-guide h2 span {
    color: var(--vat-red);
    font-weight: 900;
}

.vat-guide__rule {
    width: 50px;
    height: 3px;
    margin: 11px 0 18px;
    background: var(--vat-red);
}

.vat-guide p {
    margin: 0 0 14px;
    color: #111;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 500;
}

.vat-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.vat-plan-card {
    min-height: 476px;
    display: grid;
    grid-template-rows: auto auto 1fr;
    position: relative;
    border: 2px solid var(--vat-red);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.vat-plan-card__badge {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    position: absolute;
    left: 50%;
    top: -40px;
    transform: translateX(-50%);
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #f20b0b, #a80000);
    box-shadow: 0 8px 18px rgba(170, 0, 0, 0.28);
    font-size: 37px;
    z-index: 2;
}

.vat-plan-card__head {
    min-height: 104px;
    display: grid;
    align-content: end;
    justify-items: center;
    padding: 48px 16px 14px;
    border-radius: 9px 9px 0 0;
    color: #fff;
    background: linear-gradient(180deg, #222, #090909);
    text-align: center;
}

.vat-plan-card__head span {
    font-size: 17px;
    line-height: 1.1;
    font-weight: 700;
}

.vat-plan-card__head h3 {
    margin: 7px 0 0;
    color: var(--vat-red);
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.vat-plan-card__price {
    min-height: 74px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    color: #fff;
    background: linear-gradient(180deg, #f00, #b40000);
    text-align: center;
}

.vat-plan-card__price strong {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.vat-plan-card__price span {
    color: #fff;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
}

.vat-plan-card__price small {
    flex-basis: 100%;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.vat-plan-card ul {
    list-style: none;
    display: grid;
    align-content: start;
    margin: 0;
    padding: 12px 18px 18px;
}

.vat-plan-card li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 54px;
    border-bottom: 1px solid #d8d8d8;
    color: #111;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.vat-plan-card li:last-child {
    border-bottom: 0;
}

.vat-plan-card li i {
    color: var(--vat-red);
    font-size: 24px;
}

@media (max-width: 1180px) {
    .vat-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 52px 26px;
    }
}

@media (max-width: 760px) {
    .vat-hero {
        min-height: 190px;
    }

    .vat-hero__angle {
        width: 120px;
    }

    .vat-hero__content {
        padding-left: 44px;
    }

    .vat-hero__notes {
        right: -140px;
        width: 360px;
        opacity: 0.38;
    }

    .vat-guide {
        padding-top: 26px;
    }

    .vat-guide p {
        font-size: 13px;
    }

    .vat-plans {
        grid-template-columns: 1fr;
        gap: 52px;
        margin-top: 48px;
    }

    .vat-plan-card {
        min-height: 0;
    }
}
