/* Стили для страницы «Обмен с доплатой» (Trade-in) */

.trade-in-page {
    background-color: #fff;
    padding: 60px 0;
}

.trade-in-page-container {
    max-width: 1300px !important;
    margin: 0 auto;
    text-align: center;
}

/* Hero Section */
.trade-in-hero {
    margin-bottom: 50px;
}

.trade-in-subtitle {
    display: block;
    font-family: var(--font-main);
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.trade-in-hero h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-main);
    line-height: 1.3;
}

/* Middle Section */
.trade-in-section {
    margin-bottom: 60px;
}

.trade-in-section h2,
.trade-in-form-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.trade-in-divider {
    width: 60px;
    height: 2px;
    background-color: #ddd;
    margin: 0 auto 20px;
}

.trade-in-desc {
    font-family: var(--font-main);
    color: #777;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trade-in-image-wrap {
    margin-top: 40px;
}

.trade-in-image-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Steps Grid */
.trade-in-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.trade-in-step-card {
    background: #ebebeb;
    /* Light grey */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
    /* Very subtle inner effect like on screenshot */
    border: 1px solid #e0e0e0;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 auto 20px;
}

.trade-in-step-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 15px;
    line-height: 1.4;
}

.trade-in-step-card p {
    font-family: var(--font-main);
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Form Action Section */
.trade-in-form-section {
    max-width: 800px;
    margin: 0 auto 40px;
}

.trade-in-action {
    margin-top: 30px;
}

.trade-in-btn {
    display: inline-block;
    background-color: #555;
    /* Match screenshot dark grey button */
    color: #fff;
    font-family: var(--font-main);
    font-weight: 400;
    text-transform: none;
    padding: 10px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 16px;
}

.trade-in-btn:hover {
    background-color: #333;
    color: #fff;
}

.trade-in-form-title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .trade-in-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trade-in-steps {
        grid-template-columns: 1fr;
    }

    .trade-in-hero h1 {
        font-size: 28px;
    }

    .trade-in-section h2,
    .trade-in-form-section h2 {
        font-size: 24px;
    }

    .trade-in-page-container {
        padding: 40px 20px;
    }
}