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

@font-face {
    font-family: "Heading";
    src: url("./fonts/Practice-font-Mono.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Body";
    src: url("./fonts/Practice-font-Mono.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #131313;
    --surface-color: #0d0d0f;
    --text-color: #f3f3f5;
    --muted-color: #d2d2d8;
    --primary-color: #786cdc;
    --primary-gradient: linear-gradient(90deg, #786cdc 0%, #1800cb 100%);
    --stroke-color: rgba(255, 255, 255, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: "Raleway", "Body", "Inter", "Segoe UI", sans-serif;
    line-height: 1.35;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.page-wrap {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.home {
    background: var(--bg-color);
    min-height: 100vh;
    padding: 36px 62px 74px;
    position: relative;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
}

.logo-mark {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    background: var(--primary-gradient);
    transform: skew(-14deg) rotate(45deg);
}

.logo-text {
    font-family: "Raleway", "Body", "Inter", "Segoe UI", sans-serif;
    font-size: 45px;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    line-height: 0.8;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.nav-link-active {
    color: var(--primary-color);
}

.hero {
    margin-top: 52px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.hero-content {
    max-width: 1000px;
    padding-top: 108px;
}

.hero-title,
.numbers-title {
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    margin-top: 18px;
    font-size: 35px;
    color: var(--muted-color);
}

.hero-button {
    margin-top: 28px;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    background: var(--primary-gradient);
    padding: 18px 42px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    width: fit-content;
    display: block;
    text-decoration: none;
}

.hero-button:hover {
    filter: brightness(1.08) saturate(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(120, 108, 220, 0.42);
}

.hero-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(120, 108, 220, 0.34);
}

.hero-button:focus-visible {
    outline: 2px solid rgba(120, 108, 220, 0.9);
    outline-offset: 3px;
}

.hero-visual {
    position: relative;
    width: min(640px, 48vw);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.numbers {
    margin-top: 62px;
}

.numbers-title {
    text-align: center;
    font-size: 2.5rem;
}

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

.numbers-card {
    border: 1px solid var(--stroke-color);
    border-radius: 44px;
    padding: 30px 20px;
    text-align: center;
}

.numbers-value {
    font-size: 3rem;
    line-height: 1;
    font-weight: 400;
}

.numbers-label {
    margin-top: 12px;
    color: var(--muted-color);
    font-size: 34px;
}

.about {
    margin-top: 90px;
    padding: 68px 76px 92px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1250px;
    width: 680px;
    height: 680px;
    background: url("./images/grad1.png") no-repeat center / contain;
    pointer-events: none;
}

.about-title {
    position: relative;
    z-index: 1;
    text-align: center;
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    text-transform: lowercase;
}

.about-text {
    position: relative;
    z-index: 1;
    margin: 52px auto 0;
    max-width: 1140px;
    display: grid;
    gap: 26px;
}

.about-text p {
    font-family: "Raleway", "Body", "Inter", "Segoe UI", sans-serif;
    font-size: 1.75rem;
    line-height: 1.22;
    color: #f2f2f5;
}

.accent {
    color: #786cdc;
    font-weight: 700;
}

.trust {
    position: relative;
    margin-top: 60px;
    padding: 18px 0 40px;
}

.trust-title {
    text-align: center;
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    text-transform: lowercase;
}

.trust-item {
    position: relative;
    margin: 30px auto 0;
    border-radius: 36px;
}

.trust-item-card {
    max-width: 1460px;
    background: #1800cb;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.trust-item-plain {
    max-width: 1500px;
    padding: 24px 40px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.trust-copy {
    padding: 38px 28px;
}

.trust-copy h3 {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
}

.trust-copy p {
    margin-top: 22px;
    font-size: 1.75rem;
    line-height: 1.14;
    color: rgba(244, 244, 248, 0.95);
}

.trust-icon {
    justify-self: center;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.trust-icon-strategies {
    max-width: 330px;
}

.trust-icon-approach {
    max-width: 390px;
}

.trust-button {
    width: fit-content;
    display: block;
    text-decoration: none;
    margin: 52px auto 0;
    border: none;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #fff;
    padding: 16px 44px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.trust-button:hover {
    filter: brightness(1.08) saturate(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 0, 203, 0.4);
}

.trust-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(24, 0, 203, 0.34);
}

.trust-button:focus-visible {
    outline: 2px solid rgba(120, 108, 220, 0.9);
    outline-offset: 3px;
}

.process {
    margin-top: 86px;
    padding: 62px 0 74px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    overflow: hidden;
}

.process-title {
    position: relative;
    z-index: 1;
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    text-transform: lowercase;
    line-height: 1;
}

.process-accordion {
    position: relative;
    z-index: 1;
}

.process-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.process-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    border: none;
    background: transparent;
    color: #f5f5f7;
    text-align: left;
    cursor: pointer;
    padding: 24px 0;
    font-family: "Heading", "Raleway", "Sora", sans-serif;
}

.process-index {
    font-size: 1.25rem;
    line-height: 1;
}

.process-label {
    font-size: 2.5rem;
    line-height: 0.95;
    text-transform: lowercase;
}

.process-panel {
    padding: 0 0 22px 58px;
}

.process-panel p {
    max-width: 640px;
    font-size: 1.25rem;
    line-height: 1.32;
    color: rgba(242, 242, 246, 0.9);
}

.process-item.is-active .process-trigger,
.process-item.is-active .process-index,
.process-item.is-active .process-label {
    color: #786cdc;
}

.cta {
    position: relative;
    margin-top: 86px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.btn-center {
    margin: 30px auto 0;
}

.big-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    padding: 120px 0 130px;
    text-align: center;
}

.cta-title {
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 0.96;
    text-transform: lowercase;
}

.cta-text {
    margin-top: 26px;
    font-size: 1.25rem;
    line-height: 1.25;
    color: rgba(243, 243, 246, 0.95);
}

.cta-form {
    margin: 32px auto 0;
    max-width: 780px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
}

.cta-input {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 16px;
    color: #202020;
    background: #ffffff;
}

.cta-input::placeholder {
    color: #8d8d92;
}

.cta-button {
    border: none;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cta-button:hover {
    filter: brightness(1.08) saturate(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(120, 108, 220, 0.45);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(120, 108, 220, 0.34);
}

.cta-button:focus-visible {
    outline: 2px solid rgba(120, 108, 220, 0.9);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer {
    margin-top: 74px;
    padding: 54px 0 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 34px;
    align-items: start;
    overflow: hidden;
}

.footer>* {
    position: relative;
    z-index: 1;
}

.footer-logo .logo-text {
    font-size: 3.5rem;
}

.footer-tagline {
    margin-top: 8px;
    font-size: clamp(18px, 1vw, 21px);
    color: rgba(230, 230, 236, 0.9);
}

.footer h3 {
    font-size: clamp(42px, 2.6vw, 52px);
    font-weight: 700;
}

.footer-nav-group,
.footer-contact-group,
.footer-social-group {
    display: grid;
    gap: 10px;
}

.footer-nav-group a,
.footer-contact-group a,
.footer-contact-group p {
    font-size: clamp(24px, 1.5vw, 31px);
    color: rgba(239, 239, 243, 0.95);
    text-decoration: none;
}

.footer-nav-group a:hover,
.footer-contact-group a:hover {
    color: #786cdc;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-socials a {
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #786cdc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(245, 245, 249, 0.96);
}

.services-page {
    padding-top: 28px;
}

.services-showcase {
    margin-top: 34px;
    padding: 0 0 30px;
}

.services-kicker {
    text-align: center;
    color: #786cdc;
    font-size: clamp(20px, 1.3vw, 26px);
}

.services-title {
    margin-top: 2px;
    text-align: center;
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-size: clamp(64px, 5.4vw, 94px);
    font-weight: 400;
    text-transform: lowercase;
    line-height: 1;
}

.services-grid {
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
}

.service-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #131313;
    padding: 50px 30px;
    min-height: 224px;
}

.service-card-accent {
    background: #1800cb;
}

.service-card h3 {
    max-width: 82%;
    font-size: clamp(24px, 1.6vw, 34px);
    line-height: 1.1;
    font-weight: 700;
}

.service-card p {
    margin-top: 20px;
    max-width: 96%;
    font-size: clamp(16px, 1vw, 20px);
    line-height: 1.22;
    color: rgba(243, 243, 247, 0.92);
}

.service-card-link {
    display: inline-block;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 7px;
    padding: 10px 14px;
    background: transparent;
    color: #f8f8fb;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.service-card-accent .service-card-link {
    background: rgba(10, 10, 18, 0.15);
}

.service-card-link:hover {
    transform: translateY(-1px);
    border-color: rgba(120, 108, 220, 0.95);
    background: rgba(120, 108, 220, 0.12);
    box-shadow: 0 7px 16px rgba(120, 108, 220, 0.24);
}

.service-card-link:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(120, 108, 220, 0.2);
}

.service-card-accent .service-card-link:hover {
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 7px 16px rgba(10, 8, 58, 0.36);
}

.service-card-link:focus-visible {
    outline: 2px solid rgba(120, 108, 220, 0.9);
    outline-offset: 2px;
}

.service-card img {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.contact-page .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form-section {
    max-width: 100%;
    margin: 48px auto 0;
    padding-bottom: 48px;
}

.contact-kicker {
    text-align: center;
    color: #786cdc;
    font-size: clamp(24px, 1.5vw, 32px);
}

.contact-title {
    margin-top: 2px;
    text-align: center;
    font-family: "Heading", "Raleway", "Sora", sans-serif;
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 400;
    text-transform: lowercase;
}

.contact-form {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field label {
    text-transform: uppercase;
    font-size: clamp(26px, 1.5vw, 32px);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    background: #343434;
    color: #ffffff;
    font-size: clamp(28px, 1.6vw, 34px);
    padding: 14px 18px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.26);
}

.contact-field select {
    appearance: auto;
}

.contact-field-message {
    grid-column: 1 / -1;
}

.contact-field-message textarea {
    min-height: 330px;
    resize: vertical;
}

.contact-send-button {
    justify-self: end;
    border: none;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: #fff;
    min-width: 210px;
    min-height: 58px;
    font-size: 23px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.contact-send-button:hover {
    filter: brightness(1.08) saturate(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(120, 108, 220, 0.45);
}

.contact-send-button:active {
    transform: translateY(0);
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.burger span {
    display: block;
    width: 30px;
    height: 2px;
    background: #ffffff;
    border-radius: 10px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-active span:nth-child(2) {
    opacity: 0;
}

.burger-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1050px) {
    .home {
        padding: 30px 30px 56px;
    }

    .hero {
        align-items: center;
    }

    .hero-content {
        padding-top: 36px;
    }

    .about {
        padding: 52px 26px 70px;
    }

    .about::before {
        left: 0;
        bottom: -210px;
        width: 560px;
        height: 560px;
    }

    .trust {
        margin-top: 0;
    }

    .trust-item-card {
        padding: 10px;
        grid-template-columns: 1fr;
    }

    .trust-item-plain {
        padding: 20px 18px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .trust-icon {
        max-width: 300px;
    }

    .process {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 42px 0 54px;
    }

    .process-panel {
        padding-left: 44px;
    }

    .cta-inner {
        padding: 88px 0 96px;
    }

    .cta-form {
        max-width: 620px;
    }

    .footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

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

    .service-card {
        min-height: 192px;
    }

    .contact-form {
        gap: 14px 18px;
    }

    .contact-field label {
        font-size: clamp(22px, 2vw, 28px);
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: clamp(20px, 2.4vw, 28px);
    }
}

@media (max-width: 860px) {
    .header {
        position: relative;
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .burger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 16px);
        right: 0;
        left: 0;
        z-index: 20;

        display: grid;
        gap: 18px;

        padding: 22px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 18px;
        background: rgba(13, 13, 15, 0.96);
        backdrop-filter: blur(12px);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav.nav-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 18px;
    }

    .hero {
        flex-direction: column;
    }

    .hero-content {
        max-width: none;
        padding-top: 10px;
    }

    .hero-visual {
        width: min(520px, 100%);
        margin: 0 auto;
    }

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

    .about {
        margin-top: 74px;
        padding: 46px 10px 62px;
    }

    .about-text {
        margin-top: 34px;
        gap: 20px;
    }

    .about::before {
        left: 0;
        bottom: -180px;
        width: 430px;
        height: 430px;
        opacity: 0.14;
    }

    .trust-title {
        font-size: 2.5rem;
    }

    .trust-item {
        margin-top: 24px;
        border-radius: 26px;
    }

    .trust-item-card {
        padding: 0;
        gap: 20px;
    }

    .trust-item-plain {
        padding: 14px 6px;
    }

    .trust-button {
        margin-top: 36px;
    }

    .trust-icon {
        max-width: 240px;
    }

    .process {
        padding: 32px 0 42px;
    }

    .process-trigger {
        gap: 12px;
        padding: 18px 0;
    }

    .process-panel {
        padding: 0 0 14px 0;
    }

    .cta {
        margin-top: 64px;
    }

    .cta-inner {
        padding: 64px 0 72px;
    }

    .cta-text {
        margin-top: 18px;
    }

    .cta-form {
        margin-top: 22px;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .cta-input,
    .cta-button {
        min-height: 50px;
    }

    .footer {
        margin-top: 58px;
        padding: 38px 0 24px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-logo .logo-text {
        font-size: 3.5rem;
    }

    .footer h3 {
        font-size: clamp(32px, 9vw, 44px);
    }

    .footer-nav-group a,
    .footer-contact-group a,
    .footer-contact-group p {
        font-size: clamp(20px, 6vw, 28px);
    }

    .services-showcase {
        margin-top: 20px;
    }

    .services-title {
        font-size: clamp(48px, 12vw, 64px);
    }

    .service-card {
        padding: 18px 16px 20px;
    }

    .service-card h3 {
        max-width: 90%;
        font-size: clamp(22px, 7vw, 32px);
    }

    .service-card p {
        font-size: clamp(14px, 4.5vw, 18px);
    }

    .contact-form-section {
        margin-top: 24px;
        padding-bottom: 34px;
    }

    .contact-title {
        font-size: clamp(56px, 16vw, 84px);
    }

    .contact-form {
        margin-top: 28px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-field label {
        font-size: clamp(18px, 5vw, 24px);
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: clamp(18px, 5vw, 23px);
        padding: 12px 14px;
    }

    .contact-field-message textarea {
        min-height: 210px;
    }

    .contact-send-button {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        font-size: 20px;
    }
}