/*
 * SERP Expert 2.0.18 — блок «Стоимость наших услуг».
 * Геометрия снята с утверждённого макета 1536 px: внутренняя область 1382 px,
 * вкладки 87 px, строки 72 px с шагом 81 px, кнопки 64 px.
 */

.se-prices {
    --sp-ink: #080c1f;
    --sp-text: #4f5670;
    --sp-muted: #7d869a;
    --sp-blue: #2d66fc;
    --sp-violet: #9474fc;
    --sp-font: var(--font-main, "Manrope", system-ui, sans-serif);
    position: relative;
    overflow: hidden;
    padding: 36px 20px 31px;
    background:
        radial-gradient(900px 420px at 88% 38%, rgba(214, 216, 255, .35), transparent 70%),
        radial-gradient(700px 500px at 8% 95%, rgba(206, 224, 255, .45), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fe 35%, #f0f5fd 100%);
    color: var(--sp-ink);
    font-family: var(--sp-font);
    isolation: isolate;
}
.se-prices *,
.se-prices *::before,
.se-prices *::after { box-sizing: border-box; }
.se-prices [hidden] { display: none !important; }

/* ---------- Декор ---------- */

.se-prices__dots {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #b8bdf8 0 2px, transparent 2.4px);
}
.se-prices__dots--top { left: 32px; top: 83px; width: 116px; height: 96px; background-size: 23.25px 24px; }
.se-prices__dots--bottom { right: 34px; bottom: 41px; width: 126px; height: 89px; background-size: 21px 22.3px; opacity: .85; }
.se-prices__wave--left {
    position: absolute;
    z-index: 0;
    left: -150px;
    top: 590px;
    width: 250px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(190, 186, 252, .75), rgba(214, 222, 255, .35) 60%, transparent);
    pointer-events: none;
}
.se-prices__lines {
    position: absolute;
    z-index: 0;
    right: 0;
    top: 680px;
    width: 120px;
    height: 160px;
    fill: none;
    stroke: #dfe5f7;
    stroke-width: 1;
    pointer-events: none;
}

.se-prices__inner {
    position: relative;
    z-index: 1;
    max-width: 1382px;
    margin: 0 auto;
}

.se-prices__art {
    position: absolute;
    z-index: 0;
    left: 1191px;
    top: 0;
    width: 260px;
    height: 240px;
    pointer-events: none;
}
.se-prices__hand {
    position: absolute;
    left: 22px;
    top: 34px;
    display: block;
    color: #6c7690;
    font: 500 19px/21px "Caveat", "Segoe Script", "Comic Sans MS", cursive;
    transform: rotate(-14deg);
    transform-origin: left top;
    white-space: nowrap;
}
.se-prices__hand-arrow {
    position: absolute;
    left: 0;
    top: 113px;
    width: 26px;
    height: 68px;
    fill: none;
    stroke: #8e97ab;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.se-prices__glass {
    position: absolute;
    display: block;
    border-radius: 28px;
}
.se-prices__glass--back {
    left: 170px;
    top: 86px;
    width: 92px;
    height: 92px;
    background: linear-gradient(145deg, rgba(229, 232, 255, .85), rgba(206, 214, 252, .45));
    transform: rotate(-18deg);
    filter: blur(.3px);
}
.se-prices__glass--front {
    left: 127px;
    top: 118px;
    width: 110px;
    height: 118px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 0 0 32px 4px;
    background: linear-gradient(160deg, #ffffff 0%, #f1f4fe 55%, #dfe6fb 100%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 22px 40px rgba(76, 102, 200, .18), inset 0 1px 0 #fff;
    transform: rotate(12deg);
}
.se-prices__glass--front i {
    display: block;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #7e9cf7, #3564f0);
}
.se-prices__glass--front i:nth-child(1) { height: 12px; opacity: .8; }
.se-prices__glass--front i:nth-child(2) { height: 22px; opacity: .9; }
.se-prices__glass--front i:nth-child(3) { height: 34px; }

/* ---------- Заголовок ---------- */

.se-prices__head {
    position: relative;
    z-index: 1;
    text-align: center;
}
.se-prices .se-prices__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin: 0;
    color: #8b93a7;
    font: 600 11.5px/14px var(--sp-font);
    letter-spacing: .38em;
    text-transform: uppercase;
}
.se-prices__eyebrow::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8e5bfa, #2d66fc);
}
.se-prices .se-prices__title {
    margin: 10px 0 0;
    padding: 0;
    color: var(--sp-ink);
    font-family: var(--sp-font);
    font-size: 66px;
    line-height: 74px;
    font-weight: 800;
    letter-spacing: -2.4px;
    text-transform: none;
}
.se-prices__accent {
    color: var(--sp-blue);
    background: linear-gradient(90deg, #2d6dfd 0%, #4e66fd 45%, #7c5afc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.se-prices .se-prices__subtitle {
    margin: 0 auto;
    max-width: 720px;
    color: var(--sp-muted);
    font: 400 18.5px/27px var(--sp-font);
    letter-spacing: 0;
}

/* ---------- Вкладки ---------- */

.se-prices__tabs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    margin: 27px 19px 0 20px;
}
.se-prices .se-prices__tab {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    height: 87px;
    margin: 0;
    padding: 0 26px 0 29px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(243, 246, 253, .95), rgba(236, 242, 251, .9));
    box-shadow: 0 6px 18px rgba(40, 70, 140, .04);
    color: var(--sp-ink);
    font-family: var(--sp-font);
    text-align: left;
    cursor: pointer;
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.se-prices .se-prices__tab:hover { background: linear-gradient(180deg, #f6f8fe, #eaf0fc); }
.se-prices .se-prices__tab:focus-visible { outline: 3px solid rgba(45, 102, 252, .45); outline-offset: 2px; }
.se-prices__tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #e8eefc;
    color: #1d2f6b;
    transition: background .25s ease, color .25s ease;
}
.se-prices__tab-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.se-prices__tab-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.se-prices__tab-title { font: 700 16.5px/20px var(--sp-font); color: var(--sp-ink); white-space: nowrap; }
.se-prices__tab-sub { font: 400 13.5px/17px var(--sp-font); color: #69738a; white-space: nowrap; }

.se-prices .se-prices__tab.is-active {
    border-color: transparent;
    background: linear-gradient(90deg, #9474fc 0%, #6b6ffc 45%, #3668fc 100%);
    box-shadow: 0 16px 32px rgba(60, 100, 250, .32);
}
.se-prices__tab.is-active .se-prices__tab-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.se-prices__tab.is-active .se-prices__tab-title { color: #fff; }
.se-prices__tab.is-active .se-prices__tab-sub { color: rgba(255, 255, 255, .86); }

/* ---------- Карточка ---------- */

.se-prices__card {
    position: relative;
    z-index: 1;
    margin-top: 1px;
    padding: 34px 35px 30px;
    border: 1px solid #eef2fa;
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 30px 70px rgba(40, 70, 140, .07);
    overflow: hidden;
}
.se-prices__card::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 30px;
    top: -60px;
    width: 420px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(226, 226, 255, .8), rgba(240, 240, 255, .35) 70%, transparent);
    pointer-events: none;
}

.se-prices__panel.is-active { animation: se-prices-in .3s ease; }
@keyframes se-prices-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.se-prices__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 0 4px 0 12px;
}
.se-prices .se-prices__heading {
    margin: 0;
    padding: 0;
    color: #070b1e;
    font-family: var(--sp-font);
    font-size: 32px;
    line-height: 38px;
    font-weight: 800;
    letter-spacing: -0.6px;
    text-transform: none;
}
.se-prices .se-prices__desc {
    margin: 12px 0 0;
    color: #7e88a0;
    font: 400 17px/23px var(--sp-font);
    letter-spacing: 0;
}
.se-prices__badge {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 0 0 auto;
    min-width: 236px;
    min-height: 92px;
    margin: 0 0 0 auto;
    padding: 16px 26px 16px 28px;
    border: 1px solid #fff;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 36px rgba(40, 70, 140, .12);
    color: #1e2640;
    font: 500 12.5px/19px var(--sp-font);
    transform: rotate(-3deg);
}
.se-prices__badge-icon { width: 30px; height: 30px; color: #2c4fe0; stroke-width: 2; flex: 0 0 30px; }

/* ---------- Строки ---------- */

.se-prices .se-prices__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.se-prices .se-prices__row {
    display: grid;
    grid-template-columns: 54px 290px minmax(0, 1fr) 1px 20px 220px 174px;
    column-gap: 24px;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e9eef8;
    border-radius: 16px;
    background: #fff;
    list-style: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.se-prices .se-prices__row::before { content: none; display: none; }
.se-prices .se-prices__row:hover { border-color: #dbe4f8; box-shadow: 0 10px 24px rgba(40, 70, 140, .06); }

.se-prices__row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
}
.se-prices__row-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.se-ptone--purple { background: #efecfd; color: #7755f3; }
.se-ptone--blue { background: #eaf2fe; color: #2f6cf5; }

.se-prices__name { color: #0b1026; font: 700 17px/22px var(--sp-font); }
.se-prices__text { color: var(--sp-text); font: 400 14.5px/21px var(--sp-font); }
.se-prices__sep { width: 1px; height: 30px; background: #e3e7f2; }
.se-prices__period { display: flex; color: #9aa3b6; }
.se-prices__period svg { width: 20px; height: 20px; stroke-width: 1.7; }
.se-prices__price { color: #0b1026; font: 800 21px/26px var(--sp-font); letter-spacing: -0.3px; white-space: nowrap; }
.se-prices__from { font-size: 18px; font-weight: 700; letter-spacing: 0; }

.se-prices .se-prices__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 174px;
    height: 50px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #eef3fd;
    color: #1e2640;
    font: 500 14.5px/1 var(--sp-font);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.se-prices .se-prices__more svg { width: 20px; height: 20px; color: #2449f2; stroke-width: 2; transition: transform .2s ease; }
.se-prices .se-prices__more:hover { background: #e2eafc; color: #0b1026; }
.se-prices .se-prices__more:hover svg { transform: translateX(3px); }
.se-prices .se-prices__more:focus-visible { outline: 3px solid rgba(45, 102, 252, .45); outline-offset: 2px; }

.se-prices .se-prices__empty {
    margin: 24px 0 0;
    padding: 26px 28px;
    border: 1px dashed #d9e2f5;
    border-radius: 16px;
    background: #fbfcff;
    color: var(--sp-text);
    font: 400 16px/24px var(--sp-font);
    text-align: center;
}

/* ---------- Кнопки ---------- */

.se-prices__actions {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 27px;
    margin-top: 23px;
}
.se-prices__action { display: flex; flex-direction: column; align-items: center; }
.se-prices .se-prices__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    margin: 0;
    padding: 0 40px;
    border-radius: 32px;
    font: 700 17px/1 var(--sp-font);
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.se-prices__btn-icon { width: 24px; height: 24px; stroke-width: 1.7; }
.se-prices__btn-arrow { width: 22px; height: 22px; stroke-width: 2; margin-left: 22px; transition: transform .2s ease; }
.se-prices__btn span { margin-left: 30px; }
.se-prices .se-prices__btn--primary {
    width: 389px;
    border: 0;
    background: linear-gradient(90deg, #a980fe 0%, #6f74fd 48%, #2a67fc 100%);
    box-shadow: 0 16px 32px rgba(70, 100, 250, .28);
    color: #fff;
}
.se-prices .se-prices__btn--secondary {
    width: 341px;
    border: 1px solid #dde6f8;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 26px rgba(40, 70, 140, .06);
    color: #0b1026;
}
.se-prices__btn--secondary .se-prices__btn-icon { color: #1c2f73; }
.se-prices__btn--secondary span { margin-left: 26px; }
.se-prices__btn--secondary .se-prices__btn-arrow { color: #2449f2; }
.se-prices .se-prices__btn:hover { transform: translateY(-1px); }
.se-prices .se-prices__btn:hover .se-prices__btn-arrow { transform: translateX(3px); }
.se-prices .se-prices__btn--primary:hover { filter: brightness(1.05); box-shadow: 0 20px 38px rgba(70, 100, 250, .36); }
.se-prices .se-prices__btn--secondary:hover { border-color: #c9d7f6; }
.se-prices .se-prices__btn:focus-visible { outline: 3px solid rgba(45, 102, 252, .45); outline-offset: 3px; }
.se-prices .se-prices__note {
    margin: 17px 0 0;
    color: #6f7890;
    font: 400 12.5px/16px var(--sp-font);
    text-align: center;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1480px) {
    .se-prices__art { left: auto; right: -70px; }
}

@media (max-width: 1360px) {
    .se-prices__art { display: none; }
    .se-prices .se-prices__row { grid-template-columns: 54px 240px minmax(0, 1fr) 1px 20px 190px 160px; column-gap: 18px; }
    .se-prices .se-prices__more { width: 160px; gap: 16px; }
    .se-prices .se-prices__tab { padding: 0 18px 0 20px; gap: 12px; }
    .se-prices__tab-title { font-size: 15.5px; }
}

@media (max-width: 1180px) {
    .se-prices .se-prices__title { font-size: 54px; line-height: 60px; letter-spacing: -1.8px; }
    .se-prices__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; }
    .se-prices__card { margin-top: 14px; padding: 30px 24px 28px; }
    .se-prices__panel-head { padding: 0 4px; }
    .se-prices .se-prices__row {
        grid-template-columns: 54px minmax(0, 1fr) auto auto 160px;
        grid-template-areas:
            "icon name period price more"
            "icon text text text more";
        column-gap: 16px;
        row-gap: 4px;
        padding: 12px;
    }
    .se-prices__row-icon { grid-area: icon; align-self: start; }
    .se-prices__name { grid-area: name; }
    .se-prices__text { grid-area: text; }
    .se-prices__sep { display: none; }
    .se-prices__period { grid-area: period; }
    .se-prices__price { grid-area: price; }
    .se-prices .se-prices__more { grid-area: more; }
}

@media (max-width: 900px) {
    .se-prices__badge { display: none; }
    .se-prices__dots--top, .se-prices__dots--bottom, .se-prices__lines { display: none; }
}

@media (max-width: 700px) {
    .se-prices { padding: 32px 16px 28px; }
    .se-prices .se-prices__eyebrow { font-size: 10.5px; gap: 12px; }
    .se-prices .se-prices__title { font-size: 36px; line-height: 41px; letter-spacing: -1px; }
    .se-prices .se-prices__subtitle { font-size: 15.5px; line-height: 23px; margin-top: 8px; }
    .se-prices__subtitle br { display: none; }
    .se-prices__tabs { gap: 8px; }
    .se-prices .se-prices__tab { height: auto; min-height: 64px; padding: 10px 12px; gap: 10px; border-radius: 16px; }
    .se-prices__tab-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 11px; }
    .se-prices__tab-icon svg { width: 21px; height: 21px; }
    .se-prices__tab-title { font-size: 13.5px; line-height: 17px; white-space: normal; }
    .se-prices__tab-sub { display: none; }
    .se-prices__card { padding: 24px 14px 24px; border-radius: 20px; }
    .se-prices .se-prices__heading { font-size: 25px; line-height: 30px; }
    .se-prices .se-prices__desc { font-size: 15px; line-height: 22px; }
    .se-prices__desc br { display: none; }
    .se-prices .se-prices__row {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas:
            "icon name name"
            "text text text"
            "period price price"
            "more more more";
        column-gap: 12px;
        row-gap: 10px;
    }
    .se-prices__row-icon { width: 46px; height: 46px; align-self: center; }
    .se-prices__period { justify-content: center; }
    .se-prices__row-icon svg { width: 22px; height: 22px; }
    .se-prices__text br { display: none; }
    .se-prices .se-prices__more { width: 100%; justify-content: space-between; padding: 0 18px; }
    .se-prices__actions { flex-direction: column; align-items: stretch; gap: 18px; }
    .se-prices .se-prices__btn,
    .se-prices .se-prices__btn--primary,
    .se-prices .se-prices__btn--secondary { width: 100%; padding: 0 22px; font-size: 16px; }
    .se-prices__btn span { margin-left: 16px; }
    .se-prices__note { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .se-prices__panel.is-active { animation: none; }
    .se-prices .se-prices__tab,
    .se-prices .se-prices__btn,
    .se-prices .se-prices__more svg { transition: none; }
}
