.ds-page {
    --ds-red: #d70707;
    --ds-black: #070707;
    --ds-text: #101010;
    --ds-line: #dddddd;
    background: #ffffff;
    color: var(--ds-text);
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 42px;
}

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

.ds-hero {
    min-height: 190px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 34px 20px 38px;
    color: #fff;
    background:
        radial-gradient(circle at 4px 4px, rgba(215, 7, 7, 0.58) 0 3px, transparent 4px) 0 0 / 28px 28px,
        linear-gradient(100deg, #230000 0%, #090909 38%, #070707 70%, #210000 100%);
    border-bottom: 1px solid rgba(215, 7, 7, 0.35);
}

.ds-hero::before,
.ds-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.ds-hero::before {
    width: 58%;
    height: 210%;
    right: -5%;
    top: -58%;
    background:
        linear-gradient(158deg, transparent 35%, rgba(255, 18, 18, 0.92) 36%, rgba(255, 18, 18, 0.92) 38%, transparent 40%),
        linear-gradient(156deg, transparent 43%, rgba(223, 15, 15, 0.72) 44%, rgba(223, 15, 15, 0.72) 46%, transparent 48%),
        linear-gradient(153deg, transparent 51%, rgba(255, 78, 34, 0.38) 52%, rgba(255, 78, 34, 0.38) 54%, transparent 56%),
        linear-gradient(151deg, transparent 60%, rgba(215, 7, 7, 0.24) 61%, rgba(215, 7, 7, 0.24) 63%, transparent 65%);
    filter: drop-shadow(0 0 16px rgba(215, 7, 7, 0.75));
    transform: skewX(-14deg);
}

.ds-hero::after {
    inset: 0;
    background:
        radial-gradient(circle at 78% 0%, rgba(255, 42, 42, 0.38), transparent 24%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 36%, rgba(215, 7, 7, 0.12));
}

.ds-hero__content {
    width: min(720px, 100%);
    position: relative;
    z-index: 1;
    text-align: center;
}

.ds-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.ds-hero h1 span {
    color: var(--ds-red);
}

.ds-hero p {
    margin: 0 auto;
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

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

.ds-plans {
    padding-top: 34px;
}

.ds-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 28px;
    text-align: center;
}

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

.ds-section-title h2 {
    margin: 0;
    color: #111;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

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

.ds-plan-card {
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.ds-plan-heading small {
    margin-top: 4px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.ds-feature-list {
    list-style: none;
    margin: 0;
    padding: 22px 24px 24px;
}

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

.ds-feature-list li:last-child {
    border-bottom: 0;
}

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

.ds-feature-list strong {
    color: #111;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-align: right;
}

.ds-contact {
    display: grid;
    grid-template-columns: 0.78fr 1.42fr;
    gap: 30px;
    margin-top: 28px;
    padding: 28px 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

.ds-headset {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #ee1515, #b80404);
    color: #fff;
    font-size: 32px;
}

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

.ds-contact__intro p {
    margin: 0;
    color: #222;
    font-size: 11px;
    line-height: 1.7;
}

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

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

.ds-contact__intro li span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #ce1010, #9e0606);
}

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

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

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

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

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

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

.ds-form input,
.ds-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;
}

.ds-form input {
    height: 39px;
    padding: 0 14px;
}

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

.ds-form input:focus,
.ds-form textarea:focus {
    border-color: var(--ds-red);
    box-shadow: 0 0 0 3px rgba(215, 7, 7, 0.14);
}

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

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

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

.ds-form button:hover,
.ds-form button:focus {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #f51d1d, #930404);
}

@media (max-width: 980px) {
    .ds-plans,
    .ds-contact {
        width: min(100% - 28px, 1320px);
    }

    .ds-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 640px) {
    .ds-section-title {
        gap: 12px;
    }

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

    .ds-section-title h2 {
        font-size: 18px;
    }

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

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

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

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

    .ds-feature-list {
        padding: 18px;
    }

    .ds-feature-list li {
        grid-template-columns: 22px minmax(96px, 1fr) minmax(76px, auto);
    }

    .ds-hero p {
        font-size: 12px;
    }

    .ds-hero {
        min-height: 230px;
        padding: 34px 18px 38px;
    }

    .ds-hero::before {
        width: 78%;
        right: -28%;
        opacity: 0.68;
    }

    .ds-hero h1 {
        font-size: 38px;
    }

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

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

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

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