:root {
    --bg: #070a12;
    --bg-soft: #0d1222;
    --panel: rgba(19, 23, 41, .72);
    --panel-strong: rgba(23, 28, 50, .9);
    --line: rgba(233, 228, 216, .12);
    --line-strong: rgba(201, 164, 92, .28);
    --text: #e9e4d8;
    --muted: #aaa2b4;
    --faint: #777083;
    --accent: #c9a45c;
    --accent-soft: rgba(201, 164, 92, .15);
    --violet: #2a1b3d;
    --indigo: #10162a;
    --shadow: 0 24px 80px rgba(0, 0, 0, .38);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --max: 1180px;
    --header-height: 84px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    background: radial-gradient(circle at 14% 4%, rgba(65, 40, 93, .35), transparent 32rem), radial-gradient(circle at 88% 14%, rgba(201, 164, 92, .13), transparent 28rem), linear-gradient(180deg, #070a12 0%, #0b0f1d 42%, #070a12 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden
}

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

p {
    margin: 0
}

h1, h2, h3 {
    margin: 0
}

h1, h2 {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.04;
    max-width: 940px
}

h2 {
    font-size: clamp(1.9rem, 3.2vw, 3.25rem);
    line-height: 1.12
}

h3 {
    font-size: 1.08rem;
    line-height: 1.22
}

button, input, textarea {
    font: inherit
}

.page-glow {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .4;
    z-index: -1
}

.page-glow--one {
    width: 380px;
    height: 380px;
    left: -120px;
    top: 120px;
    background: rgba(79, 49, 122, .5)
}

.page-glow--two {
    width: 500px;
    height: 500px;
    right: -160px;
    top: 38%;
    background: rgba(201, 164, 92, .12)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: var(--header-height);
    padding: 18px clamp(18px, 4vw, 44px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(7, 10, 18, .68);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(233, 228, 216, .08);
    transition: background .2s ease, border-color .2s ease
}

.site-header.is-scrolled {
    background: rgba(7, 10, 18, .9);
    border-color: rgba(201, 164, 92, .18)
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px
}

.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-block;
    background: radial-gradient(circle, rgba(233, 228, 216, .9) 0 10%, transparent 11%), radial-gradient(circle, transparent 45%, rgba(201, 164, 92, .9) 46% 48%, transparent 49%), radial-gradient(circle, rgba(201, 164, 92, .18), rgba(42, 27, 61, .35));
    box-shadow: 0 0 34px rgba(201, 164, 92, .18);
    border: 1px solid rgba(201, 164, 92, .35)
}

.brand__text {
    display: grid;
    gap: 2px
}

.brand__text strong {
    font-size: .98rem;
    letter-spacing: .01em
}

.brand__text small {
    color: var(--muted);
    font-size: .78rem
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: .94rem
}

.site-nav a {
    transition: color .2s ease
}

.site-nav a:hover {
    color: var(--text)
}

.nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text) !important;
    background: rgba(201, 164, 92, .08)
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    cursor: pointer
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 2px
}

.section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0
}

.hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 72px;
}

.hero__content {
    display: grid;
    grid-template-columns:minmax(0, .85fr) minmax(0, 1fr);
    gap: 34px 48px;
    align-items: start;
    max-width: none;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 92% 18%, rgba(201, 164, 92, .1), transparent 18rem), linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    box-shadow: var(--shadow)
}

.hero__content .disclaimer {
    grid-column: 1 / -1
}

.eyebrow, .section-label {
    color: var(--accent);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 18px
}

.hero__lead {
    max-width: 780px;
    margin-top: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: rgba(233, 228, 216, .88)
}

.hero__note {
    max-width: 720px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.02rem
}

.hero__actions, .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .2s ease
}

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

.button--primary {
    background: linear-gradient(135deg, #d9bc76, #a77b35);
    color: #15100a;
    box-shadow: 0 14px 40px rgba(201, 164, 92, .2)
}

.button--ghost {
    border-color: var(--line-strong);
    background: rgba(233, 228, 216, .04);
    color: var(--text)
}

.disclaimer {
    max-width: 760px;
    margin-top: 22px;
    color: var(--faint);
    font-size: .88rem
}

.split {
    display: grid;
    grid-template-columns:.8fr 1.2fr;
    gap: 56px;
    align-items: start
}

.rich-text {
    color: var(--muted);
    font-size: 1.08rem
}

.rich-text p + p {
    margin-top: 18px
}

blockquote {
    margin: 28px 0 0;
    padding: 24px 26px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(201, 164, 92, .08);
    color: var(--text);
    font-weight: 600
}

.section-head {
    max-width: 820px;
    margin-bottom: 34px
}

.section-head--with-action {
    max-width: none;
    display: grid;
    grid-template-columns:minmax(0, 820px) auto;
    align-items: end;
    justify-content: space-between;
    gap: 28px
}

.section-head__action {
    margin-bottom: 4px;
    white-space: nowrap
}

.section-head p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.08rem
}

.section-actions {
    margin-top: 28px
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 700;
    border-bottom: 1px solid rgba(201, 164, 92, .42)
}

.page-hero {
    padding-bottom: 54px
}

.page-hero h1 {
    max-width: 820px
}

.page-hero p {
    max-width: 760px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem)
}

.page-hero__action {
    width: auto
}

.process-line {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, .025);
    box-shadow: var(--shadow)
}

.process-line__item {
    padding: 28px;
    min-height: 240px;
    border-right: 1px solid var(--line)
}

.process-line__item:last-child {
    border-right: 0
}

.process-line__item span, .step span {
    color: var(--accent);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .12em
}

.process-line__item strong {
    display: block;
    margin-top: 18px;
    font-size: 1.15rem
}

.process-line__item p {
    margin-top: 12px;
    color: var(--muted)
}

.feature__card, .soft-panel, .contacts__panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 58px);
    background: radial-gradient(circle at 80% 20%, rgba(201, 164, 92, .12), transparent 18rem), linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
    box-shadow: var(--shadow)
}

.feature__card {
    max-width: 960px;
    margin: 0 auto
}

.feature__card h2, .deep-card h2, .contacts__panel h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.75rem)
}

.feature__card p, .soft-panel p, .deep-card p, .specialist__content p, .contacts__panel p {
    color: var(--muted);
    font-size: 1.06rem
}

.feature__card p {
    max-width: 860px;
    margin-top: 20px
}

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

.card, .step, .review, .deep-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    background: rgba(255, 255, 255, .035);
    transition: transform .2s ease, border-color .2s ease, background .2s ease
}

.card:hover, .step:hover, .deep-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .052)
}

.card h3, .step h3 {
    margin-top: 0
}

.card p, .step p, .review p, .review__text {
    margin-top: 12px;
    color: var(--muted)
}

.review__text {
    margin-top: 0
}

.review__text p + p {
    margin-top: 12px
}

.review__text iframe, .review__text video, .review__text audio {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-sm)
}

.two-columns {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 22px
}

.dependency__grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 22px
}

.deep-card {
    min-height: 390px;
    padding: 34px
}

.deep-card p {
    margin-top: 18px
}

.regression-soft .soft-panel {
    max-width: 940px
}

.soft-panel p + p {
    margin-top: 18px
}

.fit-grid {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, .025);
    box-shadow: var(--shadow)
}

.fit-item {
    padding: 26px 22px;
    min-height: 300px;
    border-right: 1px solid var(--line)
}

.fit-item:last-child {
    border-right: 0
}

.fit-item span {
    color: var(--accent);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .12em
}

.fit-item h3 {
    margin-top: 18px
}

.fit-item p {
    margin-top: 12px;
    color: var(--muted)
}

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

.step span {
    display: inline-block;
    margin-bottom: 18px
}

.notice {
    margin-top: 24px;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 164, 92, .22);
    background: rgba(201, 164, 92, .08);
    color: rgba(233, 228, 216, .86)
}

.specialist {
    display: grid;
    grid-template-columns:380px 1fr;
    gap: 42px;
    align-items: center
}

.specialist--intro {
    padding-top: clamp(48px, 7vh, 74px);
    padding-bottom: 58px
}

.specialist--intro .specialist__content {
    max-width: 760px
}

.specialist--intro h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 4.5vw, 4.1rem)
}

.portrait-placeholder {
    min-height: 480px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    background: rgba(255, 255, 255, .025);
    box-shadow: var(--shadow)
}

.portrait-placeholder img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: contain;
    object-position: center top
}

.specialist__content p + p {
    margin-top: 18px
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 12px
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(233, 228, 216, .9)
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(201, 164, 92, .45)
}

.reviews-grid {
    display: grid;
    grid-template-columns:1fr 1fr 1.1fr;
    gap: 18px
}

.reviews-page {
    padding-top: 0
}

.reviews-list {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px
}

.review {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.review--empty {
    grid-column: 1 / -1
}

.review--wide {
    min-height: auto
}

.pagination {
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted)
}

.pagination a {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 1px solid rgba(201, 164, 92, .42)
}

.review span {
    margin-top: 18px;
    color: var(--accent);
    font-size: .9rem
}

.video-placeholder {
    min-height: 160px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(233, 228, 216, .2);
    border-radius: var(--radius-sm);
    color: var(--muted);
    background: rgba(0, 0, 0, .18)
}

.faq-list {
    display: grid;
    gap: 12px
}

details {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .035);
    overflow: hidden
}

summary {
    cursor: pointer;
    padding: 22px 24px;
    font-weight: 700;
    color: var(--text);
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

details p {
    padding: 0 24px 22px;
    color: var(--muted)
}

.contacts__panel {
    display: grid;
    grid-template-columns:1fr;
    gap: 24px
}

.contact-list {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px
}

.contact-list div {
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .16)
}

.contact-list span {
    display: block;
    color: var(--faint);
    font-size: .82rem;
    margin-bottom: 6px
}

.contact-list a, .contact-list strong {
    color: var(--text);
    font-size: .95rem
}

.site-footer {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0 52px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: .9rem
}

.site-footer p:last-child {
    max-width: 560px;
    text-align: right
}

.site-footer small {
    color: rgba(119, 112, 131, .82);
    font-size: .78rem
}

@media (max-width: 1080px) {
    .split, .specialist {
        grid-template-columns:1fr
    }

    .cards-grid, .process-line, .contact-list {
        grid-template-columns:repeat(2, 1fr)
    }

    .process-line__item:nth-child(2) {
        border-right: 0
    }

    .process-line__item:nth-child(1), .process-line__item:nth-child(2) {
        border-bottom: 1px solid var(--line)
    }

    .dependency__grid, .steps, .reviews-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .fit-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .fit-item {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        min-height: 230px
    }

    .fit-item:nth-child(2n) {
        border-right: 0
    }

    .fit-item:last-child {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 0
    }

    .specialist {
        gap: 28px
    }

    .portrait-placeholder {
        min-height: 360px
    }

    .portrait-placeholder img {
        height: 360px
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 72px
    }

    .site-header {
        padding: 14px 18px
    }

    .brand__text small {
        display: none
    }

    .nav-toggle {
        display: inline-block
    }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 14px auto 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(7, 10, 18, .97);
        box-shadow: var(--shadow)
    }

    .site-nav.is-open {
        display: flex
    }

    .site-nav a {
        padding: 13px 14px;
        border-radius: 12px
    }

    .nav-cta {
        margin-top: 6px;
        text-align: center
    }

    .section {
        width: min(100% - 28px, var(--max));
        padding: 54px 0
    }

    .section-head--with-action {
        grid-template-columns:1fr;
        align-items: start
    }

    .hero {
        min-height: auto;
        padding-top: 26px;
    }

    .hero__content {
        grid-template-columns:1fr
    }

    .hero__actions, .contact-actions {
        flex-direction: column
    }

    .button {
        width: 100%
    }

    .section-head__action {
        width: auto
    }

    .cards-grid, .process-line, .dependency__grid, .steps, .two-columns, .reviews-grid, .reviews-list, .contact-list {
        grid-template-columns:1fr
    }

    .fit-grid {
        grid-template-columns:1fr
    }

    .fit-item {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .fit-item:last-child {
        grid-column: auto;
        border-bottom: 0
    }

    .process-line__item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        min-height: auto
    }

    .process-line__item:last-child {
        border-bottom: 0
    }

    .deep-card {
        min-height: auto;
        padding: 26px
    }

    .site-footer {
        flex-direction: column
    }

    .site-footer p:last-child {
        text-align: left
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    .button, .card, .step, .deep-card {
        animation: none;
        transition: none
    }
}
