@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --dark: #0f172a;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e9f0;
    --soft: #f5f7fb;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --orange: #ff8500;
    --orange-dark: #f97316;
    --tg: #229ed9;
    --viber: #7360f2;
    --radius: 24px;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, .06);
    --shadow-card: 0 26px 80px rgba(15, 23, 42, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .06), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(255, 133, 0, .07), transparent 24%),
        #f5f7fb;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 10px 34px rgba(15, 23, 42, .045);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    width: auto;
    max-width: 96px;
    max-height: 72px;
    transition: transform .18s ease;
}

.logo:hover img {
    transform: translateY(-1px) scale(1.02);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.nav-item {
    position: relative;
    height: 78px;
    display: flex;
    align-items: center;
}

.nav-link {
    height: 78px;
    display: flex;
    align-items: center;
    color: #253044;
    font-size: 15px;
    font-weight: 600;
    transition: color .18s ease;
}

.nav-link:hover {
    color: var(--orange);
}

.has-dropdown > .nav-link::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -18px;
    width: 292px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #253044;
    font-size: 14px;
    font-weight: 600;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.dropdown a:hover {
    background: #fff4e6;
    color: var(--orange);
    transform: translateX(2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.header-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(255, 133, 0, .24);
    transition: transform .18s ease, box-shadow .18s ease;
}

.header-social {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
    transition: transform .18s ease, box-shadow .18s ease;
}

.header-social.tg {
    background: var(--tg);
}

.header-social.vb {
    background: var(--viber);
}

.header-social img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header-phone {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.header-phone:hover,
.header-cta:hover,
.header-social:hover {
    transform: translateY(-2px);
}

.mobile-menu-actions {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #111827;
    border-radius: 3px;
}

/* Hero */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 58px;
    background:
        radial-gradient(circle at 78% 18%, rgba(37, 99, 235, .20), transparent 27%),
        radial-gradient(circle at 20% 76%, rgba(255, 133, 0, .10), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    opacity: .55;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 420px;
    align-items: center;
    gap: 54px;
}

.hero-copy {
    max-width: 780px;
}

.hero-brand {
    position: relative;
    max-width: 760px;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.hero-brand::before {
    content: "Top-Price.by";
    position: absolute;
    left: -4px;
    top: -82px;
    z-index: -1;
    color: rgba(15, 23, 42, .045);
    font-size: clamp(72px, 8vw, 118px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.08em;
    white-space: nowrap;
    pointer-events: none;
}

.hero-brand::after {
    display: none;
}

.hero-brand-name {
    display: none;
}

.hero-brand-slogan {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 247, 237, .95);
    color: #ea580c;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(255, 133, 0, .10);
}

.hero-brand-note {
    display: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(219, 234, 254, .92);
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .10);
}

.hero-badge::before {
    content: "⚡";
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    font-size: 13px;
}

.page-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(42px, 4.8vw, 64px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.page-hero h1.hero-title-slider {
    width: min(760px, 100%);
    min-height: 2.12em;
    max-height: 2.12em;
    display: block;
    overflow: hidden;
    transition: opacity .26s ease, transform .26s ease, filter .26s ease;
}

.page-hero h1.hero-title-slider.is-changing {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
}

.page-hero p {
    max-width: 690px;
    margin: 22px 0 0;
    color: #475569;
    font-size: 20px;
    line-height: 1.58;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 25px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    box-shadow: 0 16px 32px rgba(255, 133, 0, .25);
}

.btn-primary:hover {
    box-shadow: 0 20px 46px rgba(255, 133, 0, .32);
}

.btn-secondary {
    background: rgba(255, 255, 255, .92);
    color: #111827;
    border: 1px solid #d8dde6;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}

.btn-secondary:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .12);
}

.hero-actions .icon-btn {
    min-width: 158px;
    padding: 0 18px;
}

.ico {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ico.tg {
    background: var(--tg);
}

.ico.vb {
    background: var(--viber);
}

.ico img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Calculator */
.calc-card {
    position: relative;
    padding: 32px;
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow:
        0 34px 110px rgba(15, 23, 42, .14),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.calc-card::before {
    content: "Ответим за 5 минут";
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
}

.calc-title {
    font-size: 35px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.05em;
}

.calc-text,
.calc-note {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
}

.calc-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid #d8dde6;
    border-radius: 16px;
    background: #fff;
    color: #111827;
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 46px;
    cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .11);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .20);
    transition: transform .18s ease, box-shadow .18s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(37, 99, 235, .26);
}

/* Blocks */
.quick-features {
    position: relative;
    padding: 36px 0 64px;
    background: linear-gradient(180deg, rgba(245,247,251,0), #f5f7fb 42%);
}

.quick-grid,
.stats-grid,
.steps-grid {
    display: grid;
    gap: 18px;
}

.quick-grid,
.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.quick-card,
.stat-card,
.item-card,
.content-card,
.lead-card {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.quick-card {
    position: relative;
    overflow: hidden;
    padding: 22px 22px 22px 76px;
    border-radius: 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-card::before {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 19px;
}

.quick-card:nth-child(1)::before {
    content: "⚡";
}

.quick-card:nth-child(2)::before {
    content: "₿";
    background: #fff7ed;
    color: #ea580c;
}

.quick-card:nth-child(3)::before {
    content: "✓";
    background: #ecfdf5;
    color: #16a34a;
}

.quick-card:nth-child(4)::before {
    content: "☎";
    background: #f5f3ff;
    color: var(--viber);
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 70px rgba(37, 99, 235, .12);
}

.quick-card b,
.quick-card span {
    display: block;
}

.quick-card b {
    font-size: 17px;
}

.quick-card span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.section-head {
    margin-bottom: 26px;
}

.section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.05em;
}

.section-head p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.compare-section,
.stats-section,
.steps-section,
.listing-section {
    padding: 0 0 70px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
}

.compare-headline {
    max-width: 760px;
}

.compare-cards {
    display: grid;
    grid-template-columns: 1.08fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.compare-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .07);
}

.compare-card::after {
    content: "";
    position: absolute;
    right: -44px;
    top: -44px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .08);
}

.compare-card-main {
    border-color: rgba(255, 133, 0, .35);
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 133, 0, .16), transparent 34%),
        radial-gradient(circle at 12% 90%, rgba(37, 99, 235, .12), transparent 34%),
        #fff;
    box-shadow: 0 30px 90px rgba(255, 133, 0, .14);
}

.compare-card-main::after {
    background: rgba(255, 133, 0, .16);
}

.compare-card {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .55s ease,
        transform .55s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.compare-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.compare-card.is-visible:nth-child(2) {
    transition-delay: .08s;
}

.compare-card.is-visible:nth-child(3) {
    transition-delay: .16s;
}

.compare-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .11);
}

.compare-card-main:hover {
    box-shadow: 0 34px 100px rgba(255, 133, 0, .18);
}

.compare-card-main .compare-list {
    margin-bottom: 0;
}


.compare-card-top {
    position: relative;
    z-index: 1;
}

.compare-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ff8500;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.compare-label-muted {
    background: #eff6ff;
    color: #2563eb;
}

.compare-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.05em;
}

.compare-card p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.compare-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.compare-list div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.compare-card-main .compare-list div {
    background: rgba(255,255,255,.72);
}

.compare-list span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.compare-list b {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.3;
}

.compare-action {
    position: relative;
    z-index: 1;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 0 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(255, 133, 0, .22);
    transition: transform .18s ease, box-shadow .18s ease;
}

.compare-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(255, 133, 0, .30);
}

.stats-section {
    position: relative;
}

.stats-headline {
    max-width: 720px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 28px 24px;
    border-radius: 28px;
    text-align: left;
    background:
        radial-gradient(circle at 88% 10%, rgba(37, 99, 235, .10), transparent 28%),
        rgba(255,255,255,.96);
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .55s ease,
        transform .55s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.stat-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card.is-visible:nth-child(2) {
    transition-delay: .08s;
}

.stat-card.is-visible:nth-child(3) {
    transition-delay: .16s;
}

.stat-card.is-visible:nth-child(4) {
    transition-delay: .24s;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 30px 90px rgba(37, 99, 235, .12);
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 18px;
    font-weight: 900;
}

.stat-card:nth-child(2) .stat-icon {
    background: #fff7ed;
    color: #ea580c;
}

.stat-card:nth-child(3) .stat-icon {
    background: #ecfdf5;
    color: #16a34a;
}

.stat-card:nth-child(4) .stat-icon {
    background: #f5f3ff;
    color: var(--viber);
}

.stat-card b {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--blue);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.06em;
    font-variant-numeric: tabular-nums;
}

.stat-card span {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.45;
    font-weight: 600;
}

.category-section {
    position: relative;
}

.category-headline {
    max-width: 760px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 176px;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(37, 99, 235, .10), transparent 30%),
        rgba(255,255,255,.96);
    border: 1px solid var(--line);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .065);
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .55s ease,
        transform .55s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.category-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.category-card.is-visible:nth-child(2) {
    transition-delay: .05s;
}

.category-card.is-visible:nth-child(3) {
    transition-delay: .10s;
}

.category-card.is-visible:nth-child(4) {
    transition-delay: .15s;
}

.category-card.is-visible:nth-child(5) {
    transition-delay: .20s;
}

.category-card.is-visible:nth-child(6) {
    transition-delay: .25s;
}

.category-card.is-visible:nth-child(7) {
    transition-delay: .30s;
}

.category-card.is-visible:nth-child(8) {
    transition-delay: .35s;
}

.category-card.is-visible:nth-child(9) {
    transition-delay: .40s;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 30px 90px rgba(37, 99, 235, .13);
}

.category-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / 3;
    border-radius: 22px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

.category-card:nth-child(1) .category-icon,
.category-card:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #ea580c;
}

.category-card:nth-child(6) .category-icon,
.category-card:nth-child(7) .category-icon {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: var(--viber);
}

.category-card:nth-child(8) .category-icon,
.category-card:nth-child(9) .category-icon {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #16a34a;
}

.category-content {
    min-width: 0;
}

.category-content strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -.035em;
}

.category-content small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.category-count {
    align-self: end;
    justify-self: start;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.item-card {
    min-height: 136px;
    padding: 24px;
    border-radius: 26px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 26px 76px rgba(37, 99, 235, .14);
}

.item-card span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.item-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 82% 18%, rgba(37, 99, 235, .22), transparent 34%),
        #111827;
    color: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .13);
}

.step-card b {
    display: block;
    margin-bottom: 26px;
    color: #ffb25c;
    font-size: 14px;
    font-weight: 900;
}

.step-card strong {
    display: block;
    font-size: 19px;
    line-height: 1.25;
}

.step-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.5;
}

.page-content {
    padding: 0 0 70px;
}

.content-card,
.lead-card {
    border-radius: 30px;
}

.content-card {
    padding: 44px;
    font-size: 17px;
    line-height: 1.78;
}

.content-card h1,
.content-card h2 {
    text-align: center;
    font-size: 34px;
    line-height: 1.18;
}

.lead-section {
    padding: 0 0 78px;
}

.lead-card {
    padding: 44px;
}

.lead-card h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 34px;
    letter-spacing: -.04em;
}

.lead-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

.lead-card form {
    display: grid;
    gap: 14px;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 54px 0;
    background:
        radial-gradient(circle at 84% 20%, rgba(37, 99, 235, .24), transparent 28%),
        #111827;
    color: #fff;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: .45;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;
    gap: 36px;
}

.footer-logo {
    width: 88px;
}

.footer-grid p {
    max-width: 320px;
    color: rgba(255,255,255,.68);
    line-height: 1.6;
}

.footer-nav,
.footer-contact {
    display: grid;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255,255,255,.72);
    transition: color .18s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-phone {
    font-size: 22px;
    font-weight: 900;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
}

.footer-social.tg {
    background: var(--tg);
}

.footer-social.vb {
    background: var(--viber);
}

.footer-social img {
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15,23,42,.58);
    backdrop-filter: blur(8px);
}

.modal-overlay.is-open {
    display: flex;
}

.lead-modal {
    position: relative;
    width: min(440px, 100%);
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 34px 110px rgba(15,23,42,.28);
    text-align: center;
}

.lead-modal h2 {
    margin: 0;
    font-size: 30px;
}

.lead-modal p {
    margin: 14px 0 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

.lead-modal a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    font-weight: 900;
}

.calc-modal {
    text-align: left;
}

.calc-modal h2,
.calc-modal p {
    text-align: left;
}

.modal-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

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


.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #111827;
    font-size: 24px;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .header-cta {
        display: none;
    }
}

@media (max-width: 1100px) {
    .header-inner {
        min-height: 72px;
        gap: 14px;
    }

    .logo img {
        max-width: 82px;
        max-height: 62px;
    }

    .nav-toggle {
        display: block;
        margin-left: 0;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 80px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 28px 90px rgba(15,23,42,.16);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link,
    .nav-item {
        height: auto;
    }

    .nav-link {
        padding: 14px 12px;
    }

    .nav-item {
        display: block;
    }

    .dropdown {
        position: static;
        width: 100%;
        display: grid;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        padding: 2px 0 10px 14px;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .dropdown a {
        padding: 10px 12px;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-actions .header-social,
    .header-actions .header-cta {
        display: none;
    }

    .mobile-menu-actions {
        display: grid;
        gap: 14px;
        padding: 14px 12px 4px;
    }

    .mobile-menu-actions .header-cta {
        display: inline-flex;
        width: 100%;
    }

    .mobile-social-row {
        display: flex;
        gap: 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .quick-grid,
    .stats-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .hero-brand {
        min-height: 0;
        padding: 22px 22px;
        border-radius: 24px;
    }

    .hero-brand-name {
        font-size: 30px;
    }

    .hero-brand-slogan {
        font-size: 16px;
    }

    .hero-brand-note {
        font-size: 12px;
    }

    .page-hero {
        padding: 34px 0 42px;
    }

    .page-hero h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .page-hero h1.hero-title-slider {
        min-height: 2.18em;
        max-height: 2.18em;
    }

    .page-hero p {
        font-size: 17px;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .cards-grid,
    .quick-grid,
    .stats-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .compare-box {
        overflow-x: auto;
    }

    .compare-row {
        min-width: 720px;
    }

    .content-card,
    .lead-card,
    .calc-card {
        padding: 24px;
        border-radius: 24px;
    }

    .calc-title {
        font-size: 30px;
    }

    .section-head h2 {
        font-size: 31px;
    }

    .content-card {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .header-phone {
        min-height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    .header-inner {
        gap: 10px;
    }

    .logo img {
        max-width: 76px;
        max-height: 58px;
    }

    .page-hero h1 {
        letter-spacing: -.05em;
    }
}

@media (max-width: 1100px) {
    .compare-cards {
        grid-template-columns: 1fr;
    }

    .compare-card {
        min-height: 0;
    }
}

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

@media (max-width: 760px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 150px;
        grid-template-columns: 56px 1fr;
        padding: 20px;
        border-radius: 24px;
    }

    .category-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 12px;
    }
}

/* Category cards visible fallback */
.category-card {
    opacity: 1;
    transform: none;
    animation: categoryFadeUp .55s ease both;
}

.category-card:nth-child(2) {
    animation-delay: .05s;
}

.category-card:nth-child(3) {
    animation-delay: .10s;
}

.category-card:nth-child(4) {
    animation-delay: .15s;
}

.category-card:nth-child(5) {
    animation-delay: .20s;
}

.category-card:nth-child(6) {
    animation-delay: .25s;
}

.category-card:nth-child(7) {
    animation-delay: .30s;
}

.category-card:nth-child(8) {
    animation-delay: .35s;
}

.category-card:nth-child(9) {
    animation-delay: .40s;
}

.category-card:hover {
    transform: translateY(-6px);
}

@keyframes categoryFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* category icons real svg */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 176px;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(37, 99, 235, .10), transparent 30%),
        rgba(255,255,255,.96);
    border: 1px solid #e5e9f0;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .065);
    opacity: 1;
    transform: none;
    animation: categoryFadeUp .55s ease both;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.category-card:nth-child(2) { animation-delay: .05s; }
.category-card:nth-child(3) { animation-delay: .10s; }
.category-card:nth-child(4) { animation-delay: .15s; }
.category-card:nth-child(5) { animation-delay: .20s; }
.category-card:nth-child(6) { animation-delay: .25s; }
.category-card:nth-child(7) { animation-delay: .30s; }
.category-card:nth-child(8) { animation-delay: .35s; }
.category-card:nth-child(9) { animation-delay: .40s; }

.category-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 30px 90px rgba(37, 99, 235, .13);
}

.category-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / 3;
    border-radius: 22px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    flex: 0 0 auto;
}

.category-card:nth-child(1) .category-icon,
.category-card:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.category-card:nth-child(6) .category-icon,
.category-card:nth-child(7) .category-icon {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}

.category-card:nth-child(8) .category-icon,
.category-card:nth-child(9) .category-icon {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.category-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.category-content strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -.035em;
}

.category-content small {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.category-count {
    align-self: end;
    justify-self: start;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

@keyframes categoryFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 760px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 150px;
        grid-template-columns: 56px 1fr;
        padding: 20px;
        border-radius: 24px;
    }

    .category-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .category-icon img {
        width: 30px;
        height: 30px;
    }
}

/* Category landing blocks */
.category-benefits,
.category-process,
.category-guarantees,
.category-compare {
    padding: 0 0 64px;
}

.category-benefits-grid,
.category-process-grid,
.category-guarantees-grid {
    display: grid;
    gap: 18px;
}

.category-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-benefit-card {
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e5e9f0;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .065);
}

.category-benefit-card span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #fff7ed;
    color: #ea580c;
    font-weight: 900;
}

.category-benefit-card strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

.category-benefit-card p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.category-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-process-grid div {
    padding: 26px;
    border-radius: 26px;
    background: #111827;
    color: #fff;
}

.category-process-grid b {
    display: block;
    margin-bottom: 22px;
    color: #ffb25c;
}

.category-process-grid strong {
    display: block;
    font-size: 18px;
}

.category-process-grid span {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    line-height: 1.5;
}

.category-guarantees-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-guarantees-grid div {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e5e9f0;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .055);
    font-weight: 800;
    line-height: 1.4;
}

.category-compare-box {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e5e9f0;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .07);
}

.category-compare-row {
    display: grid;
    grid-template-columns: 1.1fr repeat(3, 1fr);
}

.category-compare-row div {
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f7;
    line-height: 1.4;
}

.category-compare-row div:not(:first-child) {
    text-align: center;
}

.category-compare-head {
    background: #111827;
    color: #fff;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .category-benefits-grid,
    .category-process-grid,
    .category-guarantees-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .category-benefits-grid,
    .category-process-grid,
    .category-guarantees-grid {
        grid-template-columns: 1fr;
    }

    .category-compare-box {
        overflow-x: auto;
    }

    .category-compare-row {
        min-width: 760px;
    }
}

/* Home categories animation */
.home-categories-grid {
    perspective: 1200px;
}

.home-categories-grid .item-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e9f0;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, .08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .05);
    opacity: 0;
    transform: translateY(34px) scale(.985);
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.22, 1, .36, 1),
        box-shadow .22s ease,
        border-color .22s ease;
    transition-delay: var(--card-delay, 0ms);
    will-change: transform, opacity;
}

.home-categories-grid .item-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.72) 18%, transparent 36%);
    transform: translateX(-140%);
    transition: transform .85s ease;
    pointer-events: none;
}

.home-categories-grid .item-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-categories-grid .item-card.is-visible::before {
    transform: translateX(140%);
}

.home-categories-grid .item-card:hover {
    transform: translateY(-8px);
    border-color: #cfe0ff;
    box-shadow: 0 28px 70px rgba(37, 99, 235, .12);
}

.home-categories-grid .item-card:hover small,
.home-categories-grid .item-card:hover span,
.home-categories-grid .item-card:hover p {
    color: #475569;
}

.home-categories-grid .item-card b,
.home-categories-grid .item-card strong {
    transition: transform .22s ease;
}

.home-categories-grid .item-card:hover b,
.home-categories-grid .item-card:hover strong {
    transform: translateX(2px);
}

.home-categories-grid .item-card img,
.home-categories-grid .item-card svg {
    transition: transform .25s ease, filter .25s ease;
}

.home-categories-grid .item-card:hover img,
.home-categories-grid .item-card:hover svg {
    transform: scale(1.06);
    filter: saturate(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .home-categories-grid .item-card,
    .home-categories-grid .item-card::before,
    .home-categories-grid .item-card b,
    .home-categories-grid .item-card strong,
    .home-categories-grid .item-card img,
    .home-categories-grid .item-card svg {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Home category cards premium effects */
.category-card {
    --mx: 50%;
    --my: 50%;
    isolation: isolate;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(37, 99, 235, .16), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}

.category-card::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -70px;
    z-index: 0;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 133, 0, .12), transparent 66%);
    opacity: 0;
    transform: scale(.82);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none;
}

.category-card:hover::before,
.category-card.is-interactive::before {
    opacity: 1;
}

.category-card:hover::after,
.category-card.is-interactive::after {
    opacity: 1;
    transform: scale(1);
}

.category-icon,
.category-content,
.category-count {
    position: relative;
    z-index: 1;
}

.category-icon {
    transition: transform .24s ease, box-shadow .24s ease;
}

.category-icon img {
    transition: transform .24s ease;
}

.category-card:hover .category-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .14);
}

.category-card:hover .category-icon img {
    transform: scale(1.08) rotate(-2deg);
}

.category-content strong {
    transition: color .2s ease, transform .2s ease;
}

.category-card:hover .category-content strong {
    color: #1d4ed8;
    transform: translateX(2px);
}

.category-count {
    transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.category-card:hover .category-count {
    transform: translateY(-2px);
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
}

.category-card:active {
    transform: translateY(-3px) scale(.99);
}

@media (prefers-reduced-motion: reduce) {
    .category-card,
    .category-card::before,
    .category-card::after,
    .category-icon,
    .category-icon img,
    .category-content strong,
    .category-count {
        transition: none !important;
        animation: none !important;
    }
}

/* Scrollbar and scroll progress */
html {
    scrollbar-width: thin;
    scrollbar-color: #ff8500 #eef2f7;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: #eef2f7;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    border: 3px solid #eef2f7;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff8500, #2563eb);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f97316, #1d4ed8);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff8500, #2563eb, #7360f2);
    box-shadow: 0 0 18px rgba(37, 99, 235, .38);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

@media (max-width: 760px) {
    .scroll-progress {
        height: 4px;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    *::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
}
