/* ===== Цены /tseny — стили страницы ===== */

.tsy-hero {
    position: relative;
    padding: 70px 0 60px;
    background: radial-gradient(1200px 500px at 20% -10%, rgba(46, 123, 255, .16), transparent 60%),
        radial-gradient(900px 400px at 90% 10%, rgba(109, 143, 255, .10), transparent 55%),
        linear-gradient(180deg, var(--bg-section) 0%, var(--black) 100%);
}

.tsy-hero h1 {
    font-family: var(--font-head);
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
    margin: 14px 0 26px;
    text-wrap: balance;
}

.tsy-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin-bottom: 18px;
}

.tsy-price__value {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(92deg, var(--white) 20%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.tsy-price__unit {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 420px;
}

.tsy-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 820px;
    margin-bottom: 14px;
}

.tsy-date {
    font-size: 13px;
    color: var(--text-muted);
    opacity: .8;
    margin-bottom: 30px;
}

/* ---- Кнопки ---- */

.tsy-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.tsy-btn-row--center {
    justify-content: center;
}

.tsy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: var(--btn-radius);
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--btn-ease), box-shadow .2s var(--btn-ease), border-color .2s, background-color .2s;
}

.tsy-btn--primary {
    background: var(--blue);
    color: var(--white);
    border: 1px solid var(--blue);
    box-shadow: var(--btn-shadow-action);
}

.tsy-btn--primary:hover {
    transform: translateY(-2px);
    background: var(--blue-light);
    border-color: var(--blue-light);
}

.tsy-btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--glass-border);
}

.tsy-btn--ghost:hover {
    border-color: rgba(46, 123, 255, .55);
    transform: translateY(-2px);
}

/* ---- Секции ---- */

.tsy-section {
    padding: 80px 0;
}

.tsy-section--alt {
    background: linear-gradient(180deg, var(--black) 0, var(--bg-section) 50%, var(--black) 100%);
}

.tsy-section .section-title {
    margin-bottom: 16px;
}

.tsy-intro {
    margin-bottom: 28px;
    max-width: 900px;
}

.tsy-intro-strong {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    margin: 6px 0 14px;
}

.tsy-h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.3px;
    margin: 30px 0 10px;
    color: var(--white);
}

.tsy-h3 + p {
    max-width: 900px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 6px;
}

/* ---- Таблицы ---- */

.tsy-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    background: var(--glass-bg);
    margin-bottom: 18px;
}

.tsy-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.tsy-table th {
    text-align: left;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--blue-light);
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}

.tsy-table td {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.tsy-table tbody tr:last-child td {
    border-bottom: none;
}

.tsy-table tbody tr:hover td {
    background: rgba(46, 123, 255, .04);
}

.tsy-table td:first-child {
    color: var(--white);
    font-weight: 600;
}

.tsy-table a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, .35);
    transition: color .2s, border-color .2s;
}

.tsy-table a:hover {
    color: var(--blue-light);
    border-bottom-color: var(--blue-light);
}

.tsy-table__price {
    color: var(--warm);
    font-family: var(--font-head);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tsy-note {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
    border-left: 3px solid var(--blue);
    padding-left: 16px;
    margin: 18px 0 22px;
    max-width: 900px;
}

/* ---- Списки ---- */

.tsy-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    max-width: 900px;
}

.tsy-list li {
    position: relative;
    padding: 12px 0 12px 34px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.tsy-list li:last-child {
    border-bottom: none;
}

.tsy-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 18px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--blue);
    border-bottom: 2.5px solid var(--blue);
    transform: rotate(-45deg);
}

.tsy-steps {
    margin: 0 0 24px;
    padding-left: 0;
    list-style: none;
    counter-step: tsy;
    max-width: 900px;
}

.tsy-steps li {
    counter-increment: tsy;
    position: relative;
    padding: 10px 0 10px 52px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.tsy-steps li::before {
    content: counter(tsy);
    position: absolute;
    left: 0;
    top: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    background: rgba(46, 123, 255, .16);
    border: 1px solid rgba(46, 123, 255, .4);
    border-radius: 50%;
}

/* ---- Финальный CTA ---- */

.tsy-cta {
    padding: 80px 0;
    background: radial-gradient(900px 400px at 50% 0%, rgba(46, 123, 255, .16), transparent 65%),
        linear-gradient(180deg, var(--bg-section) 0%, var(--black) 100%);
    text-align: center;
}

.tsy-cta .section-title {
    max-width: 760px;
    margin: 0 auto 16px;
}

.tsy-cta__text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 28px;
}

.tsy-cta .contact-cards-row {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Адаптив ---- */

@media (max-width: 768.98px) {
    .tsy-hero {
        padding: 46px 0 40px;
    }

    .tsy-hero h1 {
        letter-spacing: -1px;
    }

    .tsy-lead {
        font-size: 16px;
    }

    .tsy-section {
        padding: 56px 0;
    }

    .tsy-btn {
        width: 100%;
    }

    .tsy-table {
        min-width: 560px;
    }

    .tsy-table th,
    .tsy-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .tsy-cta {
        padding: 56px 0;
    }
}
