/**
 * section-on-yourself — работайте на себя (Водителям).
 * Desktop / tablet / phone — по макету Figma.
 */

.section-on-yourself {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3.125rem;
    width: 100%;
    max-width: 81.25rem;
    margin: 0 auto;
    padding: 0 0 var(--site-section-gap);
    box-sizing: border-box;
    height: fit-content;
}

.section-on-yourself .order-card-image {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 45rem;
    height: 22.5rem;
    background-color: var(--site-surface);
    background-image: var(--on-yourself-img-org);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1.25rem;
    box-shadow: inset 0 0 0 0.0625rem var(--site-epd-card-soft-ring);
}

.section-on-yourself:has(.tag-2 input:checked) .order-card-image {
    background-image: var(--on-yourself-img-driver);
}

.section-on-yourself .section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.875rem;
    width: 31.25rem;
    max-width: 100%;
    height: fit-content;
    flex-shrink: 1;
    min-width: 0;
}

.section-on-yourself .tag-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    height: fit-content;
}

.section-on-yourself .tag,
.section-on-yourself .tag-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    box-sizing: border-box;
    width: fit-content;
    height: 2.5rem;
    padding: 0.625rem 1rem;
    margin: 0;
    cursor: pointer;
    border-radius: 3.125rem;
    background: transparent;
    box-shadow: inset 0 0 0 0.0844rem var(--site-badge-bg);
}

.section-on-yourself .tag-2 {
    padding: 0.625rem 1.25rem;
}

.section-on-yourself .tag:has(input:checked),
.section-on-yourself .tag-2:has(input:checked) {
    background: var(--site-badge-bg);
    box-shadow: inset 0 0 0 0.0844rem var(--site-accent);
}

.section-on-yourself .description,
.section-on-yourself .description-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    color: var(--site-accent);
    white-space: nowrap;
}

.section-on-yourself .heading {
    width: 33.9375rem;
    max-width: 100%;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--site-text);
}

.section-on-yourself .description-3 {
    align-self: stretch;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: normal;
    color: var(--site-text-body);
}

.section-on-yourself .button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8419rem;
    box-sizing: border-box;
    width: fit-content;
    height: 2.5rem;
    padding: 0 1.25rem;
    margin: 0;
    border: none;
    cursor: pointer;
    background: var(--site-accent);
    border-radius: 0.625rem;
    box-shadow: inset 0 0 0 0.0844rem var(--site-accent);
}

.section-on-yourself .podklyuchit-svoyu-kompaniyu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    color: var(--site-on-accent);
    white-space: nowrap;
}

@media (max-width: 63.9375rem) {
    .section-on-yourself {
        flex-direction: column;
        align-items: stretch;
        gap: 3.125rem;
    }

    .section-on-yourself .order-card-image {
        width: auto;
        align-self: stretch;
        height: 19.625rem;
        aspect-ratio: 2;
    }

    .section-on-yourself .section-content {
        width: auto;
        align-self: stretch;
    }

    .section-on-yourself .heading {
        width: auto;
    }
}

@media (max-width: 47.9375rem) {
    .section-on-yourself {
        gap: 1.25rem;
    }

    .section-on-yourself .order-card-image {
        height: 10.4688rem;
        border-radius: 0.625rem;
    }

    .section-on-yourself .tag,
    .section-on-yourself .tag-2 {
        height: fit-content;
        padding: 0.5rem 0.75rem;
    }

    .section-on-yourself .description,
    .section-on-yourself .description-2 {
        font-size: 0.75rem;
        white-space: pre;
    }

    .section-on-yourself .heading {
        font-size: 1.875rem;
    }

    .section-on-yourself .description-3 {
        font-size: 0.875rem;
    }
}
