/* ============================================
   BUSINESS-REG PAGE - Уникальные стили страницы
   ============================================ */

/* Hero Section - Internal Page */
.hero {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-size: 64px;
    line-height: 1.2;
    color: #4d4d4d;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-banner-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(650px, 48vw);
    max-width: 100%;
    aspect-ratio: 650 / 520;
    height: auto;
    border-radius: 40px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.hero-banner {
    position: relative;
    background: #4d4d4d;
    border-radius: 40px;
    height: 408px;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 40px;
}

/* Hide mobile hero image on desktop */
.hero-mobile-image {
    display: none;
}

.decorative-circles {
    position: absolute;
    bottom: -63px;
    left: 0;
    width: 670px;
    height: 280px;
    pointer-events: none;
    z-index: 2;
}

.decorative-circles img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text {
    position: absolute;
    left: 41px;
    top: 61px;
    max-width: 694px;
    z-index: 4;
}

.hero-subtitle {
    font-size: 24px;
    line-height: 1.3;
    color: white;
    margin-bottom: 27px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    /* Figma: 5 cards ~270px, keep 1 row but allow gentle shrink on 1366/1280 */
    grid-template-columns: repeat(5, minmax(0, 270px));
    justify-content: space-between;
    gap: 8px;
}

.benefit-card {
    background: white;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    height: 260px;
}

.benefits-title-break {
    display: inline;
}

.benefit-icon {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.benefit-icon-shadow {
    position: absolute;
    width: 39px;
    height: 36px;
    left: 4.5px;
    top: 17px;
    background: #f7d59e;
    filter: blur(15px);
}

.benefit-icon-box {
    position: absolute;
    inset: 0;
    background: #f7d59e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #4d4d4d;
    margin: 0;
}

.benefit-text {
    font-size: 16px;
    line-height: 1.3;
    color: #4d4d4d;
    margin: 0;
}

.benefit-text strong {
    font-weight: 600;
}

.benefit-stats {
    display: flex;
    gap: 24px;
    margin: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #4d4d4d;
    margin: 0;
}

.stat-label {
    font-size: 16px;
    line-height: 1.3;
    color: #4d4d4d;
    margin: 0;
}

/* Costs Section - Сколько это стоит */
.costs-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.costs-wrapper {
    background: white;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.costs-wrapper .section-title {
    margin-bottom: 40px;
}

.costs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.cost-card {
    height: 460px;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
}

.cost-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cost-card-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cost-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.cost-card-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.cost-card-list {
    list-style: disc;
    margin: 0;
    padding-left: 27px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cost-card-list li,
.cost-card-list p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.cost-card-price {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* Светлая карточка (бежевая) */
.cost-card-light {
    background: #f7d59e;
}

.cost-card-light .cost-card-title,
.cost-card-light .cost-card-intro,
.cost-card-light .cost-card-list li,
.cost-card-light .cost-card-list p,
.cost-card-light .cost-card-price {
    color: #4d4d4d;
}

/* Темная карточка */
.cost-card-dark {
    background: #4d4d4d;
}

.cost-card-dark .cost-card-title,
.cost-card-dark .cost-card-intro,
.cost-card-dark .cost-card-list li,
.cost-card-dark .cost-card-list p,
.cost-card-dark .cost-card-price {
    color: white;
}

/* Двойная цена для карточки */
.cost-card-dual-price {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-price-item {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.cost-price-label {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.cost-price-value {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.cost-card-dark .cost-price-label,
.cost-card-dark .cost-price-value {
    color: white;
}

/* Прозрачная/белая карточка */
.cost-card-transparent {
    background: white;
}

.cost-card-transparent .cost-card-title {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #4d4d4d;
}

/* Декоративные элементы */
.costs-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 494px;
    height: 361px;
    z-index: 2;
    pointer-events: none;
}

.costs-ellipse {
    position: absolute;
    bottom: -150px;
    right: -65px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: #f7d59e;
    opacity: 0.5;
}

.costs-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 494px;
    height: 361px;
    object-fit: contain;
}

/* ============================================
   RESPONSIVE DESIGN - Business-Reg Page Specific
   ============================================ */
@media (max-width: 1440px) {
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        height: auto;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-banner {
        height: auto;
        min-height: 400px;
    }

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

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

/* ============================================
   MOBILE STYLES - До 480px (Business-Reg Page)
   ============================================ */
@media (max-width: 480px) {
    /* Hero Section Mobile */
    .hero {
        padding: 20px 0 40px;
    }

    .hero-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 12px;
    }

    .hero-banner-bg {
        display: none;
    }

    .hero-banner {
        position: relative;
        height: 582px;
        border-radius: 40px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .hero-text {
        position: relative;
        left: auto;
        top: auto;
        padding: 20px;
        max-width: 100%;
        z-index: 4;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .hero .btn-large {
        width: 100%;
        justify-content: space-between;
    }

    .hero-mobile-image {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 304px;
        object-fit: cover;
        object-position: center bottom;
        z-index: 1;
    }

    /* Benefits (horizontal scroll like in Figma) */
    .benefits {
        padding: 40px 0;
    }

    .benefits .section-title-center {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .benefits-title-break {
        display: block;
    }

    .benefits-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        height: auto;
        width: 100%;
        margin-right: -16px;
        padding-right: 16px;
        justify-content: flex-start;
    }

    .benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .benefit-card {
        min-width: 280px;
        width: 280px;
        height: 260px;
        flex-shrink: 0;
        padding: 20px;
    }

    .benefit-title {
        font-size: 20px;
    }

    .benefit-text {
        font-size: 16px;
    }

    .benefit-stats {
        flex-direction: row;
        gap: 24px;
    }

    /* Costs */
    .costs-section {
        padding: 40px 0;
    }

    .costs-wrapper {
        padding: 40px 20px 330px;
        border-radius: 40px;
    }

    .costs-wrapper .section-title {
        margin-bottom: 30px;
    }

    .costs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cost-card {
        height: auto;
        padding: 30px 20px;
    }

    .cost-card-content {
        height: auto;
        justify-content: flex-start;
        gap: 30px;
    }

    .cost-card-title {
        font-size: 20px;
    }

    .cost-card-intro {
        font-size: 16px;
    }

    .cost-card-list {
        padding-left: 24px;
    }

    .cost-card-list li,
    .cost-card-list p {
        font-size: 16px;
    }

    .cost-price-label {
        font-size: 14px;
    }

    .costs-decoration {
        width: 398px;
        height: 291px;
        right: -3px;
        bottom: -5px;
        z-index: 0;
    }

    .costs-ellipse {
        width: 425px;
        height: 425px;
        right: -67px;
        bottom: -136px;
    }

    .costs-image {
        width: 398px;
        height: 291px;
        right: -3px;
        bottom: -5px;
    }
}

/* Desktop: reduce excessive gap between hero and benefits */
@media (min-width: 769px) {
    .hero {
        padding-bottom: 20px;
    }

    .hero + .benefits {
        padding-top: 20px;
    }
}
