* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

header {
    background-color: #6a3cb5;
    padding: 18px 40px;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-right: auto;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 1;
    color: #fff;
}

.hero {
    padding: 80px 0 40px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-left {
    flex: 1;
    min-width: 280px;
}

.hero-left h1 {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.1;
    color: #000;
}

.hero-right {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.hero-right p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
    max-width: 450px;
}

.btn-primary {
    background-color: #6a3cb5;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #542e94;
}

.hero-image-wrapper {
    width: 100%;
    height: 100vh;
    padding: 40px 35px 60px;
    box-sizing: border-box;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 16px 16px 0 0;
    display: block;
    object-fit: cover;
}

.advantages {
    padding: 60px 0 80px 0;
}

.advantages h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
}

.advantages .desc {
    font-size: 15px;
    color: #444;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.items-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 50px;
}

.item-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.item-circle .circle-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    object-fit: cover;
    margin-bottom: 10px;
}

.item-circle span {
    font-weight: 600;
    font-size: 15px;
}

.how-it-works {
    background-color: #6a3cb5;
    padding: 70px 20px 90px 20px;
}

.how-it-works .container {
    max-width: 1000px;
}

.how-it-works h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;
}

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

.card-step {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-step .num {
    border: 1px solid #111;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.card-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-step p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.card-step.last {
    grid-column: 1 / 2;
}

.support {
    padding: 70px 20px 80px 20px;
    background-color: #fff;
}

.support h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
}

.support .desc {
    font-size: 15px;
    color: #444;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    max-width: 650px;
    width: 100%;
}

.logo-item img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.divider {
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
}

.contacts {
    padding: 70px 20px 80px 20px;
}

.contacts h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
}

.contacts .desc {
    font-size: 15px;
    color: #444;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.contacts-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.contact-info .info-phone {
    font-size: 22px;
    font-weight: 400;
}

.contact-info .info-email {
    font-size: 16px;
    color: #444;
}

.contact-info .info-address {
    font-size: 14px;
    color: #555;
}

.contact-form-wrapper {
    flex: 1.5;
    min-width: 280px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-2 {
    display: flex;
    gap: 15px;
}

.form-row-2 input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6a3cb5;
}

.contact-form textarea {
    resize: vertical;
    height: 100px;
}

.contact-form .btn-submit {
    background-color: #6a3cb5;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 5px;
}

.contact-form .btn-submit:hover {
    background-color: #542e94;
}

@media (max-width: 850px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .card-step.last {
        grid-column: auto;
    }
    .hero-left h1 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .logo {
        margin-right: 0;
    }
    nav {
        flex: none;
        width: 100%;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        flex-direction: column;
    }
    .logos-row {
        flex-direction: column;
        gap: 20px;
    }
    .divider {
        width: 80%;
        height: 1px;
    }
}