.bfp-page {
    --bfp-red: #df0f0f;
    --bfp-red-dark: #9f0808;
    --bfp-panel: #ffffff;
    --bfp-panel-soft: #f8f8f8;
    --bfp-border: rgba(0, 0, 0, 0.1);
    --bfp-line: #dddddd;
    --bfp-text: #101010;
    --bfp-muted: #6b6f76;
    background: #ffffff;
    color: var(--bfp-text);
    font-family: Arial, Helvetica, sans-serif;
    padding: 22px 0 34px;
}

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

.bfp-top-banner {
    min-height: 190px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 30px 20px 34px;
    color: #fff;
    background:
        radial-gradient(circle at 4px 4px, rgba(223, 15, 15, 0.45) 0 3px, transparent 4px) 0 0 / 28px 28px,
        radial-gradient(circle at 35% 50%, rgba(223, 15, 15, 0.18), transparent 32%),
        linear-gradient(100deg, #130000 0%, #030303 34%, #050505 68%, #180000 100%);
    border-bottom: 1px solid rgba(223, 15, 15, 0.35);
}

.bfp-top-banner::before,
.bfp-top-banner::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.bfp-top-banner::before {
    width: 54%;
    height: 190%;
    right: -7%;
    top: -45%;
    background:
        linear-gradient(158deg, transparent 36%, rgba(255, 24, 24, 0.92) 37%, rgba(255, 24, 24, 0.92) 38%, transparent 40%),
        linear-gradient(156deg, transparent 44%, rgba(223, 15, 15, 0.7) 45%, rgba(223, 15, 15, 0.7) 46%, transparent 48%),
        linear-gradient(153deg, transparent 52%, rgba(255, 76, 32, 0.45) 53%, rgba(255, 76, 32, 0.45) 54%, transparent 56%);
    filter: drop-shadow(0 0 12px rgba(223, 15, 15, 0.65));
    transform: skewX(-16deg);
}

.bfp-top-banner::after {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent 30%, transparent 60%, rgba(223, 15, 15, 0.14)),
        radial-gradient(circle at 78% 0%, rgba(255, 49, 49, 0.35), transparent 24%);
}

.bfp-top-banner__content {
    width: min(640px, 100%);
    position: relative;
    z-index: 1;
    text-align: center;
}

.bfp-top-banner h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(34px, 4.4vw, 55px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.bfp-top-banner h1 span {
    color: var(--bfp-red);
}

.bfp-top-banner p {
    margin: 0 auto;
    color: #efefef;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.bfp-plans,
.bfp-contact {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

.bfp-plans {
    padding-top: 28px;
}

.bfp-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 22px;
    text-align: center;
}

.bfp-section-title span {
    width: 50px;
    height: 2px;
    background: var(--bfp-red);
}

.bfp-section-title h2 {
    margin: 0;
    color: #111;
    font-size: 18px;
    line-height: 1.25;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0;
}

.bfp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 24px;
}

.bfp-plan-card {
    min-height: 318px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    color: #111;
    border: 1px solid var(--bfp-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.bfp-plan-card::after {
    content: none;
}

.bfp-plan-card__top,
.bfp-feature-list,
.bfp-validity {
    position: relative;
    z-index: 1;
}

.bfp-plan-card__top {
    min-height: 72px;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background:
        linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.05) 39%, transparent 44%),
        #070707;
}

.bfp-price {
    min-width: 136px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    background: linear-gradient(180deg, #f01b1b, #c50909);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.bfp-plan-heading {
    min-width: 0;
    display: grid;
    align-content: center;
    padding: 0 16px;
}

.bfp-plan-card--featured .bfp-plan-heading {
    padding-right: 54px;
}

.bfp-plan-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0;
}

.bfp-plan-heading p {
    margin: 5px 0 0;
    color: var(--bfp-red);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.bfp-ribbon {
    width: 100px;
    height: 32px;
    position: absolute;
    top: 15px;
    right: -26px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--bfp-red);
    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.22);
}

.bfp-feature-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 20px 24px 22px;
}

.bfp-feature-list li {
    display: grid;
    grid-template-columns: 22px minmax(112px, 1fr) minmax(92px, auto);
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 6px 0;
    border-bottom: 1px solid var(--bfp-line);
    color: #111;
    font-size: 13px;
}

.bfp-feature-list i {
    color: var(--bfp-red);
    font-size: 15px;
    line-height: 1;
    text-align: center;
}

.bfp-feature-list strong {
    color: #111;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-align: right;
    white-space: normal;
}

.bfp-validity {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    color: #111;
    background: #fafafa;
    border-top: 1px solid #e4e4e4;
    font-size: 12px;
    font-weight: 700;
}

.bfp-validity i {
    color: var(--bfp-red);
}

.bfp-contact {
    display: grid;
    grid-template-columns: 0.95fr 1.95fr;
    gap: 32px;
    margin-top: 24px;
    padding: 28px 40px 34px;
    border: 1px solid var(--bfp-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bfp-contact__intro {
    display: grid;
    align-content: start;
    gap: 28px;
    padding-right: 34px;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.bfp-contact__heading {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.bfp-headset {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #ef1a1a, #bf0b0b);
    color: #fff;
    font-size: 34px;
}

.bfp-contact__intro h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
}

.bfp-contact__intro p {
    margin: 0;
    max-width: 330px;
    color: #222;
    font-size: 12px;
    line-height: 1.55;
}

.bfp-contact__intro ul {
    display: grid;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0 0 0 10px;
}

.bfp-contact__intro li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.bfp-contact__intro li span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(223, 15, 15, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bfp-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 36px;
    align-items: start;
}

.bfp-form-alert {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.bfp-form-alert--success {
    color: #126426;
    background: #eaf8ee;
    border: 1px solid #bfe8ca;
}

.bfp-form-alert--error {
    color: #a20707;
    background: #fff0f0;
    border: 1px solid #f2b8b8;
}

.bfp-form label {
    display: grid;
    gap: 7px;
    color: #111;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.bfp-form label span {
    color: var(--bfp-red);
}

.bfp-form input,
.bfp-form textarea {
    width: 100%;
    color: #111;
    border: 1px solid #cfd4db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-weight: 400;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bfp-form input {
    height: 40px;
    padding: 0 14px;
}

.bfp-form textarea {
    min-height: 119px;
    padding: 13px 14px;
    resize: vertical;
}

.bfp-form input:focus,
.bfp-form textarea:focus {
    border-color: var(--bfp-red);
    box-shadow: 0 0 0 3px rgba(223, 15, 15, 0.22);
}

.bfp-form input::placeholder,
.bfp-form textarea::placeholder {
    color: #8a8f98;
}

.bfp-form__message {
    grid-row: span 2;
}

.bfp-form button {
    width: 196px;
    height: 44px;
    justify-self: center;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(180deg, #ef1a1a, #c40909);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.bfp-form button:hover,
.bfp-form button:focus {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ff2424, #a90606);
}

@media (max-width: 1180px) {
    .bfp-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bfp-contact {
        grid-template-columns: 1fr;
    }

    .bfp-contact__intro {
        padding-right: 0;
        padding-bottom: 26px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 760px) {
    .bfp-page {
        padding-top: 18px;
    }

    .bfp-plans,
    .bfp-contact {
        width: min(100% - 24px, 1320px);
    }

    .bfp-section-title {
        gap: 12px;
    }

    .bfp-section-title span {
        width: 26px;
    }

    .bfp-section-title h2 {
        font-size: 15px;
    }

    .bfp-top-banner {
        min-height: 230px;
        padding: 34px 18px 38px;
    }

    .bfp-top-banner::before {
        width: 72%;
        right: -24%;
        opacity: 0.62;
    }

    .bfp-top-banner p {
        font-size: 12px;
    }

    .bfp-card-grid,
    .bfp-form {
        grid-template-columns: 1fr;
    }

    .bfp-plan-card__top {
        min-height: 68px;
    }

    .bfp-price {
        min-width: 128px;
        padding: 0 18px;
        font-size: 22px;
    }

    .bfp-plan-heading {
        padding-inline: 12px;
    }

    .bfp-plan-heading h2 {
        font-size: 12px;
    }

    .bfp-plan-card--featured .bfp-plan-heading {
        padding-right: 54px;
    }

    .bfp-feature-list {
        padding-inline: 18px;
    }

    .bfp-feature-list li {
        grid-template-columns: 20px minmax(96px, 1fr) minmax(86px, auto);
    }

    .bfp-feature-list strong {
        white-space: normal;
    }

    .bfp-contact {
        padding: 24px 18px;
    }

    .bfp-contact__heading {
        grid-template-columns: 1fr;
    }

    .bfp-contact__intro ul {
        padding-left: 0;
    }

    .bfp-form__message {
        grid-row: auto;
    }

    .bfp-form button {
        width: 100%;
    }
}
