.section-platform-select {
    overflow: visible;
}

.section-platform-select .container {
    overflow: visible;
}

.section-platform-select .content {
    overflow: visible;
}

.section-platform-select .platform-site-types {
    position: relative;
    display: grid;
    gap: 0;
    width: 100%;
    isolation: isolate;
}

.section-platform-select .platform-site-types__decor {
    position: absolute;
    bottom: -44px;
    z-index: -1;
    pointer-events: none;
}

.section-platform-select .platform-site-types__decor--left {
    left: clamp(-260px, -15vw, -140px);
}

.section-platform-select .platform-site-types__decor--right {
    right: clamp(-260px, -15vw, -140px);
}

.section-platform-select .platform-site-types__decor-image,
.section-platform-select .platform-site-types__decor svg {
    display: block;
    width: clamp(210px, 18vw, 360px);
    height: auto;
    object-fit: contain;
}

.section-platform-select .platform-site-types__header {
    margin-bottom: 56px;
}

.section-platform-select .platform-site-types__tabs {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    justify-self: center;
    gap: 0;
    margin-bottom: 34px;
    padding: 4px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.section-platform-select .platform-site-types__tabs::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    z-index: 2;
    width: 1px;
    background: var(--color-primary);
    pointer-events: none;
    transform: translateX(-0.5px);
}

.section-platform-select .platform-site-types__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 32px;
    border: 0;
    border-radius: 14px;
    color: var(--color-muted-foreground);
    background: transparent;
    font: inherit;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.section-platform-select .platform-site-types__tab:hover,
.section-platform-select .platform-site-types__tab:focus-visible {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.section-platform-select .platform-site-types__tab.is-active {
    color: var(--color-foreground);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.section-platform-select .platform-site-types__tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: currentColor;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.section-platform-select .platform-site-types__tab.is-active .platform-site-types__tab-icon {
    filter: none;
    opacity: 1;
}

.section-platform-select .platform-site-types__tab-icon svg,
.section-platform-select .platform-site-types__tab-icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.section-platform-select .platform-site-types__panel[hidden] {
    display: none;
}

.section-platform-select .platform-site-card {
    min-height: 640px;
}

.platform-site-types__footer {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.platform-site-types__footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-site-types__footer-item[hidden] {
    display: none;
}

.platform-site-types__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.platform-site-types__button-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.platform-site-types__button-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.platform-site-types__button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease;
}

.platform-site-types__button:hover .platform-site-types__button-arrow {
    transform: translateX(4px);
}

.platform-site-types__caption {
    max-width: 620px;
    margin: 14px auto 0;
    color: rgba(31, 41, 55, 0.72);
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 1090px) {
    .section-platform-select .platform-site-card {
        min-height: 0;
    }

    .section-platform-select .platform-site-types__decor {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-platform-select .platform-site-types {
        gap: 0;
    }

    .section-platform-select .platform-site-types__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-bottom: 26px;
    }

    .section-platform-select .platform-site-types__tabs::before {
        top: 12px;
        right: auto;
        bottom: 12px;
        left: 50%;
        width: 1px;
        height: auto;
        transform: translateX(-0.5px);
    }

    .section-platform-select .platform-site-types__tab {
        justify-content: center;
        width: 100%;
        min-height: 52px;
        padding: 12px 12px;
        font-size: 16px;
    }

    .section-platform-select .platform-site-types__decor {
        display: none;
    }
}
