.approach-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 13, 20, 0.55);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.approach-modal-overlay.open,
.approach-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.approach-modal {
    background: linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
    border-radius: 26px;
    padding: 26px 28px 24px;
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(124, 108, 255, 0.22);
    width: min(620px, 100%);
    max-height: calc(100vh - 56px);
    overflow: auto;
    position: relative;
}

.approach-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 12% 8%, rgba(124, 108, 255, 0.16), transparent 52%);
}

.approach-modal-overlay.active .approach-modal {
    animation: approachModalIn 0.3s ease both;
}

@keyframes approachModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.approach-modal-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(124, 108, 255, 0.14);
}

.approach-modal-head-content {
    display: grid;
    gap: 8px;
}

.approach-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 108, 255, 0.12);
    color: #5b4eff;
    box-shadow: inset 0 0 0 1px rgba(124, 108, 255, 0.25);
    flex-shrink: 0;
}

.approach-modal-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.approach-modal-kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5b4eff;
    background: rgba(124, 108, 255, 0.12);
    border: 1px solid rgba(124, 108, 255, 0.2);
    padding: 6px 10px;
    border-radius: 999px;
    width: fit-content;
}

.approach-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1b1b23;
}

.approach-modal-body {
    font-size: 15px;
    line-height: 1.65;
    color: #4f4f63;
}

.approach-modal-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

@media (min-width: 720px) {
    .approach-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.approach-block {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(124, 108, 255, 0.06);
    border: 1px solid rgba(124, 108, 255, 0.12);
}

.approach-block-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a5be9;
    font-weight: 600;
}

.approach-block ul {
    margin: 0;
    padding-left: 18px;
    color: #4f4f63;
    display: grid;
    gap: 6px;
}


.approach-modal-lead {
    margin: 0 0 12px;
    color: #1f1f2b;
    font-size: 16px;
}

.approach-modal-list {
    margin: 0;
    padding-left: 0;
    display: grid;
    gap: 8px;
    color: #2c233a;
    list-style: none;
}

.approach-modal-overlay.active .approach-modal-list li {
    animation: modalItemIn 0.32s ease both;
}

.approach-modal-overlay.active .approach-modal-list li:nth-child(2) { animation-delay: 40ms; }
.approach-modal-overlay.active .approach-modal-list li:nth-child(3) { animation-delay: 80ms; }


.approach-modal-body p {
    margin: 0 0 10px;
}

.approach-modal-body ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.approach-modal-body li {
    margin-bottom: 0;
    padding-left: 0;
    position: static;
}

.approach-example {
    margin-top: 14px;
    border-top: 1px solid rgba(124, 108, 255, 0.12);
    padding-top: 14px;
}

.approach-example-summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #2c233a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.approach-example-summary::marker {
    content: "";
}

.approach-example-summary::before {
    content: "+";
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 108, 255, 0.12);
    color: #5b4eff;
    font-size: 14px;
    line-height: 1;
}

.approach-example[open] .approach-example-summary::before {
    content: "–";
}

.approach-example-body {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.approach-example-body h4 {
    margin: 0;
    font-size: 16px;
    color: #1f1f2b;
}

.approach-example-body ol {
    margin: 0;
    padding-left: 18px;
    color: #4f4f63;
    display: grid;
    gap: 6px;
}

.approach-example-body li {
    line-height: 1.55;
}

.approach-example-footnote {
    margin: 0;
    color: #4f4f63;
}

.approach-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: rgba(124, 108, 255, 0.14);
    color: #5b4eff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
}

.approach-modal-close:hover {
    background: rgba(124, 108, 255, 0.28);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .approach-modal-overlay {
        padding: 16px;
        align-items: center;
    }

    .approach-modal {
        width: 100%;
        max-height: calc(100vh - 32px);
        border-radius: 20px;
    }
}

/* ===== pricing modal ===== */
.pricing-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 20, 0.55);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.pricing-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pricing-modal {
    background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 100%);
    border-radius: 28px;
    padding: 0;
    width: min(860px, 100%);
    max-height: calc(100vh - 56px);
    overflow: auto;
    border: 1px solid rgba(124, 108, 255, 0.2);
    box-shadow: 0 36px 90px rgba(40, 26, 76, 0.28);
    position: relative;
    animation: pricingModalPop 0.45s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes pricingModalPop {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pricing-modal-head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 26px 30px 18px;
    border-bottom: 1px solid rgba(124, 108, 255, 0.16);
    background: linear-gradient(120deg, rgba(124, 108, 255, 0.12), rgba(255, 207, 146, 0.18));
    border-radius: 28px 28px 18px 18px;
    text-align: center;
}

.pricing-modal-kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pricing-modal-title {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.01em;
}

.pricing-modal-sub {
    margin: 0;
    color: #3f3455;
    line-height: 1.9;
}

.pricing-modal-body {
    padding: 0 30px 8px;
}

.pricing-modal-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 18px;
}

.pricing-modal-card {
    border: 1px solid rgba(124, 108, 255, 0.16);
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 255, 0.92));
    box-shadow: 0 10px 24px rgba(40, 26, 76, 0.08);
}

.pricing-modal-card span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5a4a7a;
    margin-bottom: 6px;
    font-weight: 600;
    text-align: center;
}

.pricing-modal-card p {
    margin: 0;
    line-height: 1.85;
    color: #231b33;
    text-align: center;
}

.pricing-modal-grid-support {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
}

.pricing-modal-card-wide {
    grid-column: 1 / -1;
}

.pricing-modal-card-wide p {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.pricing-modal-overlay.active .pricing-modal-card {
    animation: none;
}

.pricing-modal-steps h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.pricing-modal-steps ol {
    margin: 0;
    padding-left: 18px;
    line-height: 1.9;
}

.pricing-modal-prices {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 8px 0 18px;
}

.pricing-modal-price {
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(124, 108, 255, 0.18);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    color: #2c233a;
    text-align: center;
}

@keyframes modalItemIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .approach-modal-overlay.active .approach-modal-list li,
    .pricing-modal-overlay.active .pricing-modal-card {
        animation: none;
    }
    .pricing-modal-overlay.active .pricing-modal-head,
    .pricing-modal-overlay.active .pricing-modal-prices,
    .pricing-modal-overlay.active .pricing-modal-steps,
    .pricing-modal-overlay.active .pricing-modal-actions {
        animation: none;
    }
}

.pricing-modal-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 30px 24px;
    border-top: 1px solid rgba(124, 108, 255, 0.16);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 28px 28px;
    justify-content: center;
}

.pricing-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    color: #3c2b57;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 20px rgba(40, 26, 76, 0.12);
}

.pricing-modal-close:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .pricing-modal-overlay {
        padding: 16px;
    }

    .pricing-modal {
        padding: 0;
        border-radius: 20px;
    }

    .pricing-modal-head {
        padding: 20px 20px 16px;
        border-radius: 20px 20px 16px 16px;
    }

    .pricing-modal-body {
        padding: 0 20px 6px;
    }

    .pricing-modal-actions {
        padding: 16px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 0 0 20px 20px;
    }

    .pricing-modal-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-modal-grid-support {
        grid-template-columns: 1fr;
    }
}
.cursor-hover {
    z-index: 1000000 !important;
}

.cursor-trail {
    z-index: 999999 !important;
}
.approach-item {
    cursor: none !important; /* скрываем системный курсор */
}

/* ===== УСЛУГИ ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-free {
    background: #faf7ff;
}

.service-top h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.price-list div {
    margin-bottom: 6px;
}

.service-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}


/* ===== МОДАЛКА УСЛУГ ===== */

.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 30, 0.65);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.service-modal-overlay.active {
    display: flex;
}

.service-modal {
    background: #ffffff;
    padding: 40px;
    border-radius: 22px;
    width: min(750px, 92%);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.service-modal-overlay.active .service-modal {
    animation: modalPop 0.35s ease backward;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-modal-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.service-highlight-item {
    background: rgba(124, 108, 255, 0.09);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(124, 108, 255, 0.2);
    min-height: 100px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-highlight-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
    margin-bottom: 6px;
}

.service-highlight-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #1f1f2c;
}

.service-highlight-item:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 108, 255, 0.35);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.service-modal-close {
    position: absolute;
    right: 16px;
    top: 14px;
    background: none;
    border: none;
    font-size: 34px;
    cursor: pointer;
    color: var(--text-muted);
}

.service-modal-title {
    font-size: 28px;
    margin-bottom: 18px;
}

.service-modal-body p,
.service-modal-body ul {
    margin-bottom: 14px;
    line-height: 1.55;
}

.service-modal-body ul {
    padding-left: 22px;
}

.services-section {
    padding: 140px 0 60px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 38px 45px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15,23,42,0.08);
    cursor: pointer;
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 70px rgba(15,23,42,0.12);
}

.service-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-desc {
    color: #6b6b7a;
    font-size: 15px;
    max-width: 420px;
}

.service-price {
    margin-top: 12px;
    font-size: 17px;
    font-weight: 500;
}

.service-btn {
    margin-top: 18px;
    padding: 8px 20px;
    background: #f2f0ff;
    color: #6a58ff;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s ease;
}

.service-btn:hover {
    background: #e5e1ff;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9999;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    max-width: 760px;
    width: 100%;
    max-height: 82vh;
    overflow: auto;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    position: relative;
    animation: modalIn .25s ease;
}


@keyframes modalIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.07);
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-body p {
    margin-bottom: 10px;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}
.geo-subtitle {
    margin-top: 10px;
    font-size: 17px;
    color: var(--text-muted);
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.payments-block {
    margin-top: 40px;
    text-align: center;
}

.payments-block h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 18px;
}

.payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pay-item {
    padding: 10px 18px;
    background: #ffffff;
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-main);
    box-shadow: var(--shadow-subtle);
    transition: 0.25s ease;
}

.pay-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 108, 255, 0.08);
    transform: translateY(-2px);
}
.payments-section {
    margin-top: 50px;
    text-align: center;
}

.payments-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
}

.payments-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.payment-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 260px;
    text-align: left;
    transition: 0.25s ease;
}

.payment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124,108,255,0.12);
    border-color: rgba(124,108,255,0.25);
}

.payment-icon {
    font-size: 26px;
}

.payment-text {
    font-size: 15px;
    line-height: 1.35;
    color: var(--text-main);
}
.hero-buttons .btn {
    transform: translateY(0);
    transition: transform .2s ease, box-shadow .25s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(124,108,255,0.28);
}
/* === EMOTIONAL FLOW — премиальная новая секция === */
/* ===== PREMIUM PILLARS SECTION (clean version) ===== */

#pillars {
    padding: 140px 0;
    background: #f7f5fb; /* чистый мягкий фон без ореолов */
    position: relative;
}

.pillars-flow-wrapper {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
}

.pillars-flow-item {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 40px 48px;
    text-align: center;
    border: 1px solid rgba(150,150,170,0.22);

    box-shadow: 0 22px 50px rgba(110,95,255,0.12);

    opacity: 0;
    transform: translateY(60px);
    animation: pillarsFadeUp 0.9s ease forwards;
    animation-delay: calc(var(--i) * 0.25s);
}

.pillars-flow-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2a2a35;
}

.pillars-flow-item p {
    font-size: 16px;
    color: #5e5e6d;
    line-height: 1.5;
}

/* ==== анимация ==== */
@keyframes pillarsFadeUp {
    from {
        opacity: 0;
        transform: translateY(70px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===========================
   FADE SCROLL TEXT BLOCK
   =========================== */
/* SECTION */
.fade-section {
    position: relative;
    padding: 180px 0 220px;
    text-align: center;
    min-height: 90vh;
}

/* TEXT */
.fade-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.18,.89,.32,1.28);
    font-size: 38px;
    line-height: 1.45;
    font-weight: 600;
    color: #30303d;
    width: 80%;
    margin: 0 auto;
}

.fade-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FLOATING TAGS */
.fade-floating {
    position: absolute;
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,0.55);
    border: 1px dashed rgba(124,108,255,0.45);
    backdrop-filter: blur(8px);
    pointer-events: none;
    transition: transform 0.15s ease-out;
}

/* positions */
.word-1 { top: 18%; left: 22%; }
.word-2 { top: 14%; right: 20%; }
.word-3 { bottom: 26%; left: 18%; }
.word-4 { bottom: 18%; right: 18%; }
.word-5 { top: 50%; right: 43%; }

/* disable custom cursor inside block */
.no-cursor * {
    cursor: default !important;
}
.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-bot-link {
    font-size: 14px;
    color: var(--accent-dark);
    opacity: 0.8;
    transition: 0.2s;
}

.header-bot-link:hover {
    opacity: 1;
}
.logo {
    cursor: pointer;
}

.logo:hover .logo-name {
    opacity: 0.85;
    transition: 0.25s;
}
/* ===== кнопка "бот поддержки" — hover ===== */
.nav-support-btn {
    background: rgba(124, 108, 255, 0.12);
    color: #5a4dd0;
    transition: all 0.25s ease;
    border: 1px solid rgba(124,108,255,0.2);
}

.nav-support-btn:hover {
    background: rgba(124,108,255,0.22);
    color: #3f34b8;
    border-color: rgba(124,108,255,0.35);
    box-shadow: 0 4px 15px rgba(124,108,255,0.25);
}

/* ===== header — light button hover ===== */

.btn-header-light {
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(124, 108, 255, 0.10);
    color: #6b6b7a;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-header-light:hover {
    background: rgba(124, 108, 255, 0.22);
    color: #5a4dd0;
}
.header-bot-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-dark);
    background: rgba(124,108,255,0.12);
    transition: 0.25s ease;
}

.header-bot-link:hover {
    background: rgba(124,108,255,0.25);
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(124,108,255,0.25);
}

/* ===== hero photo slider ===== */

.photo-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 22px;
    overflow: hidden;
}

.photo-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}

.photo-slider img.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 14px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: .3s ease;
    z-index: 10;
}

.photo-slider:hover .slider-arrow {
    opacity: 0.7;
}

.slider-arrow.left { left: 12px; }
.slider-arrow.right { right: 12px; }

.slider-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
.hero-symbol {
    width: 333px !important;     /* можешь увеличить/уменьшить */
    height: auto !important;
    opacity: 0.22 !important;   /* мягкое, красивое присутствие */
    border: none !important;
    background: transparent !important;
    display: block;
}

.hero-symbol {
    position: absolute;
    /* общий стиль для обоих значков */
    width: 260px;          /* можешь подрегулировать размер */
    opacity: 0.16;
    user-select: none;
    pointer-events: none;

    /* первый значок — справа снизу в пустом поле */
    bottom: -40px;
    right: 80px;
}

/* второй значок — выше, ближе к центру/сердцу */
.hero-symbol.right-symbol {
    top: 340px;            /* подгони по вкусу */
    right: -170px;
    width: 220px;          /* можно сделать чуть меньше */
    opacity: 0.13;
}
.top-left-symbol {
    position: absolute;
    top: 40px;        /* регулируешь позицию сверху */
    left: 635px;       /* регулируешь позицию слева */
    width: 120px;     /* размер — подогоним если хочешь */
    opacity: 0.10;    /* красивое прозрачное декоративное */
    pointer-events: none;
    user-select: none;
}

.hero img.hero-decor,
.hero img.hero-symbol {
    position: absolute !important;
    height: auto !important;
    pointer-events: none;
    opacity: 0.75;
    z-index: 1 !important;
}


/* правый символ */
.decor-right {
    right: -40px !important;      /* двигаешь вправо */
    top: 120px !important;        /* двигаешь вверх/вниз */
}

/* верхний левый */
.top-left-symbol {
    left: 40px !important;
    top: -20px !important;
}

/* ПРАВАЯ картинка */
.decor-right {
    width: 120px !important;    /* регулируй здесь */
    right: -40px !important;
    top: 120px !important;
}

/* ЛЕВАЯ ВЕРХНЯЯ картинка */
.top-left-symbol {
    width: 180px !important;    /* регулируй отдельно */
    left: 799px !important;
    top: -12px !important;
}

/* hero — заголовок и подзаголовок */
.hero-main {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #1d1d1d;
    margin-bottom: 16px;
    max-width: 720px;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    color: #2b2b2b;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: #4b4b55;
    max-width: 520px;
    margin-bottom: 20px;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -40px; /* можно менять */
    width: 100%;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(
        rgba(245,240,255,0.3),
        rgba(249,247,255,0)
    );
}
/* ====== ГЛОБАЛЬНЫЙ ФОН НА ВСЮ СТРАНИЦУ ====== */
body {
    background: linear-gradient(
        180deg,
        #faf8ff 0%,
        #f5f2ff 35%,
        #f0edff 70%,
        #ece8ff 100%
    );
    background-attachment: fixed;
}


/* левый мягкий градиент — длинное красивое свечение */
body::before {
    content: "";
    position: fixed;
    top: -250px;
    left: -250px;
    width: 900px;
    height: 900px;
    background: radial-gradient(
        circle,
        rgba(197, 176, 255, 0.40),
        rgba(197, 176, 255, 0) 70%
    );
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

/* второе свечение (очень лёгкое) снизу — можно убрать если не нужно */
body::after {
    content: "";
    position: fixed;
    bottom: -250px;
    right: -250px;
    width: 900px;
    height: 900px;
    background: radial-gradient(
        circle,
        rgba(180, 160, 255, 0.25),
        rgba(180, 160, 255, 0) 70%
    );
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
}

/* убираем фон у hero — он больше не нужен */
.hero {
    background: transparent !important;
}
/* убираем радиусы, чтобы не было полос */
.section-accent,
.contact-section,
.footer {
    border-radius: 0 !important;
}
.hero-buttons .btn-primary {
    padding: 18px 32px !important;
    font-size: 18px !important;
}
.reviews-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.reviews-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

/* отзывы-плашки */
.fade-floating.review {
    position: absolute;
    font-size: 20px;
    opacity: 0.0;
    color: rgba(40, 40, 40, 0.55);
    font-weight: 400;
    max-width: 420px;
    animation: floatReview 14s ease-in-out infinite;
}

.review.r1 { top: 8%; left: 12%; animation-delay: 0s; }
.review.r2 { top: 35%; right: 15%; animation-delay: 2s; }
.review.r3 { top: 60%; left: 20%; animation-delay: 4s; }
.review.r4 { top: 25%; left: 55%; animation-delay: 6s; }
.review.r5 { top: 75%; right: 25%; animation-delay: 8s; }

@keyframes floatReview {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.7; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(-10px); }
    80% { opacity: 0.7; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

.reviews-title {
    position: relative;
    margin-top: 200px;
    text-align: center;
    z-index: 5;
}

.reviews-title span {
    font-size: 18px;
    color: #6e6e6e;
    font-weight: 400;
}
.reviews-center-title {
    position: relative;
    z-index: 5;
    text-align: center;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 80px;
    color: rgba(20, 20, 20, 0.9);
    letter-spacing: -0.5px;
}
/* ===== scroll progress bar (force) ===== */
#progress-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 3px !important;
    width: 0%;
    background: #7c6cff !important;
    z-index: 1000000 !important;
    pointer-events: none !important;
}
/* ===== GLOBAL SCROLL PROGRESS BAR ===== */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;

    height: 3px;
    width: 0%;

    background: #7c6cff;
    z-index: 999999;

    pointer-events: none;
}
/* === COMPETENCIES CAROUSEL — FINAL FIX === */

.comp-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.comp-carousel-content {
    overflow: hidden;
    max-width: 1040px; /* 3 карточки */
    margin: 0;
}

@media (max-width: 1100px) {
    .comp-carousel-content { max-width: 700px; }
}
@media (max-width: 760px) {
    .comp-carousel-content { max-width: 360px; }
}

.comp-track {
    display: flex;
    gap: 20px;
    padding: 20px;
    transition: transform 0.35s ease;
    justify-content: flex-start; /* КРИТИЧНО */
}

.comp-card {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

.modal-window {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    z-index: 2;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

.modal-body p,
.modal-body li {
    font-size: 15px;
    line-height: 1.6;
}

.modal-body ul {
    padding-left: 20px;
    margin: 12px 0 20px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
.approach-modal-body h4 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
}

.approach-modal-body ul {
    padding-left: 18px;
    margin: 8px 0 16px;
}

.approach-modal-body li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.modal-note {
    margin-top: 14px;
    font-size: 13px;
    color: #6b6b7a;
}
/* ===== SERVICE MODAL PAGE ===== */

.service-page {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 36px;
}

.service-left h3 {
    font-size: 16px;
    margin: 22px 0 10px;
}

.service-left p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff5ca8;
    font-weight: 600;
}

.check-list.muted li::before {
    color: #bbb;
}

.service-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: #f6f5ff;
    border-radius: 18px;
    padding: 18px;
}

.info-card.soft {
    background: #faf9ff;
}

.info-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.info-card ul {
    padding-left: 18px;
    margin: 0;
}

.info-card li {
    font-size: 14px;
    margin-bottom: 6px;
}

.price {
    font-size: 20px;
    font-weight: 600;
}
.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 30, 0.65);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.service-modal-overlay.active {
    display: flex;
}

.service-modal {
    max-width: 980px; /* БЫЛО меньше — делаем как у нее */
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.service-modal-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .service-modal-content {
        grid-template-columns: 1fr;
    }
}


.service-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 26px;
    border: none;
    background: none;
    cursor: pointer;
}



.service-box {
    background: #f7f6ff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.service-box .label {
    font-size: 12px;
    color: #6b6b7a;
    text-transform: uppercase;
}
body.modal-open {
    overflow: hidden;
    height: 100vh;
    padding-right: var(--scrollbar-width, 0px);
}
/* ===== SERVICE MODAL FIX ===== */

.service-modal {
    max-width: 960px;
}

.service-modal-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    max-height: 80vh;
}

.service-modal-main {
    overflow-y: auto;
    padding-right: 6px;
}

.service-modal-main::-webkit-scrollbar {
    width: 6px;
}
.service-modal-main::-webkit-scrollbar-thumb {
    background: rgba(124,108,255,0.35);
    border-radius: 6px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h4 {
    margin-bottom: 8px;
    font-size: 15px;
}

.modal-section ul {
    padding-left: 18px;
    color: #5b5b68;
    font-size: 14px;
}



.modal-section p {
    font-size: 14px;
    color: #444;
}

.modal-hint {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(124,108,255,0.08);
    font-size: 13px;
    color: #4b4b55;
}
/* ===== FIX: кликабельность service-card ===== */

.services-grid {
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

/* если поверх есть декоративные слои */
.section-soft::before,
.section-soft::after,
.section::before,
.section::after {
    pointer-events: none !important;
}
.service-actions {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 4;
}
/* ===== SERVICE MODAL LAYOUT FIX ===== */

.service-modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    max-height: 80vh;
    align-items: start;
}

.service-modal-main {
    overflow-y: auto;
    padding-right: 12px;
}

.service-modal-aside {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-box-cta .btn {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
}

.service-hint {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 10px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .service-modal-content {
        grid-template-columns: 1fr;
    }

    .service-modal-aside {
        position: static;
        order: -1;
    }
}

/* ===== SERVICE MODAL OVERRIDES ===== */
.service-modal {
    width: min(980px, 94%);
    max-height: 90vh;
    padding: 28px;
    border-radius: 24px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.service-modal-content {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    flex: 1;
    min-height: 0;
}

.service-modal-main {
    overflow: visible;
    padding-right: 10px;
    min-height: 0;
}

.service-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, 0.12);
    transition: background 180ms ease, transform 180ms ease;
}

.service-modal-close:hover {
    background: rgba(148, 163, 184, 0.22);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .service-modal {
        width: min(720px, 96%);
        padding: 22px;
        max-height: 92vh;
    }

    .service-modal-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-modal-main {
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .service-modal {
        padding: 18px;
        border-radius: 20px;
    }
}

.price-row {
    flex-wrap: wrap;
    align-items: center;
}

.price-row .value {
    white-space: normal;
    font-size: 13px;
    line-height: 1.4;
}

#service-notes {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: #4b4b55;
    font-size: 13px;
    line-height: 1.5;
}

#service-notes li {
    position: relative;
    padding-left: 18px;
}

#service-notes li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(124, 108, 255, 0.9);
    font-size: 12px;
}

.service-modal-overlay.active .modal-section,
.service-modal-overlay.active .service-highlight-item,
.service-modal-overlay.active .service-box,
.service-modal-overlay.active .modal-hint {
    opacity: 0;
    transform: translateY(8px);
    animation: modalFadeUp 420ms ease forwards;
}

.service-modal-overlay.active .modal-section:nth-child(1) { animation-delay: 40ms; }
.service-modal-overlay.active .modal-section:nth-child(2) { animation-delay: 120ms; }
.service-modal-overlay.active .modal-section:nth-child(3) { animation-delay: 200ms; }
.service-modal-overlay.active .modal-section:nth-child(4) { animation-delay: 280ms; }
.service-modal-overlay.active .modal-section:nth-child(5) { animation-delay: 360ms; }
.service-modal-overlay.active .service-highlight-item:nth-child(1) { animation-delay: 120ms; }
.service-modal-overlay.active .service-highlight-item:nth-child(2) { animation-delay: 200ms; }
.service-modal-overlay.active .service-highlight-item:nth-child(3) { animation-delay: 280ms; }
.service-modal-overlay.active .service-box:nth-child(1) { animation-delay: 80ms; }
.service-modal-overlay.active .service-box:nth-child(2) { animation-delay: 140ms; }
.service-modal-overlay.active .service-box:nth-child(3) { animation-delay: 200ms; }
.service-modal-overlay.active .modal-hint { animation-delay: 320ms; }

@keyframes modalFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .service-modal-overlay.active .modal-section,
    .service-modal-overlay.active .service-highlight-item,
    .service-modal-overlay.active .service-box,
    .service-modal-overlay.active .modal-hint {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
