/* Non-typical 1C updates page */

.updates-hero h1 {
    max-width: 1220px;
}

.updates-intro {
    align-items: stretch;
}

.updates-intro .intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.updates-side {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 40px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(253, 91, 3, 0.6), transparent 28%),
        radial-gradient(circle at 96% 78%, rgba(40, 223, 255, 0.28), transparent 28%),
        linear-gradient(135deg, #390894 0%, #18091d 100%);
}

.updates-side__content {
    position: relative;
    z-index: 3;
    width: min(520px, 68%);
}

.updates-side__content small {
    display: inline-flex;
    align-items: center;
    height: 36px;
    margin-bottom: 28px;
    padding: 0 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.updates-side__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.4;
}

.updates-orbit {
    position: absolute;
    right: 28px;
    bottom: 24px;
    z-index: 1;
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.updates-orbit::before,
.updates-orbit::after {
    position: absolute;
    inset: 18px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.updates-orbit::after {
    inset: 38px;
}

.updates-orbit span {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--orange);
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.updates-orbit i {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.updates-orbit i:nth-child(2) {
    top: 10px;
    left: 55px;
}

.updates-orbit i:nth-child(3) {
    right: 12px;
    top: 55px;
    background: var(--cyan);
}

.updates-orbit i:nth-child(4) {
    bottom: 10px;
    left: 55px;
    background: var(--violet);
}

.updates-orbit i:nth-child(5) {
    left: 12px;
    top: 55px;
}

.updates-risk {
    width: var(--wide);
    margin: 88px auto 0;
    padding: 64px 80px;
    color: #fff;
    background: var(--brand-gradient-panel);
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
}

.updates-risk small,
.updates-price-notice small,
.updates-guarantee small {
    display: block;
    margin-bottom: 16px;
    color: var(--wide);
    font-size: 16px;
    font-weight: 800;
}

.updates-risk h2,
.updates-price-notice h2,
.updates-guarantee h2 {
    margin: 0;
    font-size: 54px;
    line-height: 0.96;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.updates-risk p,
.updates-price-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 22px;
    line-height: 1.3;
}

.updates-benefits {
    width: var(--container);
    margin: 88px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.updates-benefits article {
    min-height: 300px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.updates-benefits article:hover {
    color: #fff;
    background:
        radial-gradient(circle at 72% 18%, rgba(253, 91, 3, 0.72), transparent 28%),
        linear-gradient(135deg, #390894 0%, #18091d 100%);
    border-color: transparent;
    box-shadow: 0 24px 48px rgba(127, 10, 173, .18);
    transform: translateY(-2px);
}

.updates-benefits small {
    color: var(--orange);
    font-size: 16px;
    font-weight: 800;
}

.updates-benefits h2 {
    margin: auto 0 16px;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.updates-benefits p {
    margin: 0;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.35;
}

.updates-benefits article:hover small,
.updates-benefits article:hover p {
    color: rgba(255, 255, 255, 0.82);
}

.updates-services .site-service-card p {
    max-width: 94%;
}

.updates-compare {
    width: var(--wide);
    margin: 92px auto 0;
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 16px;
    align-items: stretch;
}

.updates-compare__card {
    min-height: 300px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #fff;
}

.updates-compare__card small {
    display: inline-flex;
    height: 36px;
    align-items: center;
    padding: 0 16px;
    color: var(--grey);
    background: #f7f7f7;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.updates-compare__card h3 {
    margin: 80px 0 18px;
    color: var(--black);
    font-size: 40px;
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.updates-compare__card p {
    margin: 0;
    color: var(--grey);
    font-size: 18px;
    line-height: 1.35;
}

.updates-compare__card.is-good {
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(253, 91, 3, 0.72), transparent 28%),
        linear-gradient(135deg, #390894 0%, #18091d 100%);
    border-color: transparent;
}

.updates-compare__card.is-good small {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.updates-compare__card.is-good h3,
.updates-compare__card.is-good p {
    color: #fff;
}

.updates-compare__center {
    display: grid;
    place-items: center;
}

.updates-compare__center span {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--orange);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
}

.updates-price-notice {
    width: var(--wide);
    margin: 92px auto 0;
    padding: 64px 80px;
    color: #fff;
    background: var(--brand-gradient-panel);
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
}

.updates-process {
    margin-top: 92px;
}

.updates-price-section,
.updates-safety {
    width: var(--container);
    margin: 96px auto 0;
}

.updates-table {
    width: 100%;
    margin-top: 32px;
    overflow-x: auto;
    border-top: 1px solid rgba(127, 117, 130, 0.18);
    border-left: 1px solid rgba(127, 117, 130, 0.18);
    background: rgba(255, 255, 255, 0.2);
}

.updates-table table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.updates-table th,
.updates-table td {
    padding: 20px;
    border-right: 1px solid rgba(127, 117, 130, 0.18);
    border-bottom: 1px solid rgba(127, 117, 130, 0.18);
    color: #000;
    background: transparent;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.4;
}

.updates-table th {
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.updates-table td:first-child {
    color: var(--violet);
    font-weight: 500;
}

.updates-safety-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.updates-safety-grid article {
    position: relative;
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
}

.updates-safety-grid article::after {
    position: absolute;
    right: -36px;
    bottom: -42px;
    width: 128px;
    height: 128px;
    content: "";
    border: 26px solid rgba(253, 91, 3, 0.1);
    border-radius: 50%;
}

.updates-safety-grid h3 {
    margin: 46px 0 16px;
    color: var(--black);
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.updates-safety-grid p {
    margin: 0;
    color: var(--grey);
    font-size: 16px;
    line-height: 1.35;
}

.updates-guarantee {
    width: var(--wide);
    margin: 92px auto 0;
    padding: 80px;
    border-radius: 32px;
    background: #fff;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 96px;
    align-items: start;
}

.updates-guarantee h2 {
    color: var(--black);
}

.updates-guarantee__list {
    display: grid;
    gap: 12px;
}

.updates-guarantee__list p {
    position: relative;
    margin: 0;
    padding: 24px 28px 24px 58px;
    color: var(--black);
    background: #f7f7f7;
    border: 1px solid var(--line);
    border-radius: 18px;
    font-size: 18px;
    line-height: 1.35;
}

.updates-guarantee__list p::before {
    position: absolute;
    left: 28px;
    top: 30px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--orange);
    border-radius: 50%;
}

@media (max-width: 1279px) {
    .updates-side {
        min-height: 360px;
    }

    .updates-side__content {
        width: 72%;
    }

    .updates-orbit {
        width: 170px;
        height: 170px;
    }

    .updates-risk,
    .updates-compare,
    .updates-price-notice,
    .updates-guarantee {
        width: var(--container);
    }

    .updates-risk,
    .updates-price-notice,
    .updates-guarantee {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px;
    }

    .updates-benefits,
    .updates-safety-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .updates-benefits {
        margin-top: 64px;
    }

    .updates-compare {
        grid-template-columns: 1fr;
    }

    .updates-compare__center {
        min-height: 80px;
    }

    .updates-risk h2,
    .updates-price-notice h2,
    .updates-guarantee h2 {
        font-size: 42px;
    }

    .updates-risk p,
    .updates-price-notice p {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .updates-side {
        min-height: 460px;
        padding: 26px 22px;
    }

    .updates-side__content {
        width: 100%;
    }

    .updates-orbit {
        right: 24px;
        bottom: 24px;
        width: 150px;
        height: 150px;
    }

    .updates-orbit span {
        width: 68px;
        height: 68px;
        border-radius: 22px;
        font-size: 23px;
    }

    .updates-risk,
    .updates-price-notice,
    .updates-guarantee,
    .updates-compare {
        width: var(--container);
        margin-top: 56px;
    }

    .updates-risk,
    .updates-price-notice,
    .updates-guarantee {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .updates-risk h2,
    .updates-price-notice h2,
    .updates-guarantee h2 {
        font-size: 32px;
    }

    .updates-risk p,
    .updates-price-notice p {
        font-size: 16px;
    }

    .updates-benefits {
        width: var(--container);
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 56px;
    }

    .updates-benefits article {
        min-height: 220px;
        padding: 22px;
        border-radius: 18px;
    }

    .updates-benefits h2 {
        font-size: 24px;
    }

    .updates-benefits p {
        font-size: 15px;
    }

    .updates-compare__card {
        min-height: 240px;
        padding: 24px;
        border-radius: 22px;
    }

    .updates-compare__card h3 {
        margin-top: 48px;
        font-size: 30px;
    }

    .updates-process {
        margin-top: 56px;
    }

    .updates-price-section,
    .updates-safety {
        width: var(--container);
        margin-top: 56px;
    }

    .updates-table {
        margin: 24px -12px 0;
        padding: 0 12px 8px;
        overflow-x: auto;
    }

    .updates-table table {
        min-width: 860px;
    }

    .updates-table th,
    .updates-table td {
        padding: 20px;
        font-size: 16px;
    }

    .updates-safety-grid {
        margin-top: 36px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .updates-safety-grid article {
        min-height: 220px;
        padding: 22px;
        border-radius: 18px;
    }

    .updates-safety-grid h3 {
        margin-top: 34px;
        font-size: 24px;
    }

    .updates-guarantee__list p {
        padding: 20px 20px 20px 44px;
        font-size: 15px;
    }

    .updates-guarantee__list p::before {
        left: 22px;
        top: 26px;
    }
}
