/* =========================
   BASE / RESET FOR SECTION
========================= */
.expert-cta-section,
.expert-cta-section * {
    box-sizing: border-box;
    font-family: 'Gilroy', Arial, sans-serif;
    scroll-margin-top: 100px;
}

#expert-cta-section2 {
    scroll-margin-top: 100px;
}

/* =========================
   EXPERT CTA SECTION
========================= */
.expert-cta-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    max-width: 1180px;
    margin: 70px auto;
    padding: 48px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    align-items: center;
}

/* Верхний акцент */
.expert-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e70000, #ff3b3b);
    border-radius: 16px 16px 0 0;
}

/* =========================
   LEFT SIDE — PHOTO
========================= */
.expert-visual-side {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f2f4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Фото — без воздуха */
.expert-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Оверлей с именем */
.expert-tag-overlay {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 4px solid #e70000;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.expert-tag-overlay span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #666;
    font-weight: 600;
    margin-bottom: 4px;
}

.expert-tag-overlay b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #e70000;
    line-height: 1.1;
}

/* =========================
   RIGHT SIDE — CONTENT
========================= */
.expert-content {
    padding-right: 10px;
}

.expert-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin-bottom: 20px;
}

.expert-content p {
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 32px;
}

.expert-content p b {
    color: #e70000;
    font-weight: 700;
}

/* =========================
   FORM
========================= */
.bid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-box {
    display: flex;
    flex-direction: column;
}

.input-box.full-field {
    grid-column: 1 / -1;
}

.input-box label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.input-box label::after {
    content: '*';
    color: #e70000;
    margin-left: 4px;
}

.bid-form input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    transition: 0.25s ease;
}

.bid-form input::placeholder {
    color: #999;
}

.bid-form input:focus {
    outline: none;
    border-color: #e70000;
    box-shadow: 0 0 0 3px rgba(231, 0, 0, 0.12);
}

/* =========================
   BUTTON — АДЕКВАТНЫЙ
========================= */
.bid-button-red {
    grid-column: 1 / -1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #e70000, #c90000);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.bid-button-red2 {
    grid-column: 1 / -1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #e70000, #c90000);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bid-button-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(231, 0, 0, 0.3);
}

.bid-button-red2:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(231, 0, 0, 0.3);
}

.bid-button-red:active {
    transform: translateY(0);
}

.bid-button-red2:active {
    transform: translateY(0);
}

/* =========================
   FOOTER NOTE
========================= */
.footer-note {
    margin-top: 26px;
    padding: 18px 20px;
    background: #f8f9fb;
    border-radius: 10px;
    border-left: 4px solid #e70000;
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .expert-cta-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        display: flex;
        flex-direction: column;
    }

    .expert-content {
        padding-right: 0;
        order: 1;
    }

    .expert-content h2,
    .expert-content p {
        text-align: center;
    }

    .expert-visual-side {
        order: 2;
        /* Потом фотография */
        max-width: 400px;
        /* Ограничиваем ширину */
        margin: 0 auto;
        /* Центрируем */
    }

    .expert-content h2,
    .expert-content p {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .expert-cta-section {
        padding: 30px 22px;
        margin: 40px 15px;
    }

    .bid-form {
        grid-template-columns: 1fr;
    }

    .expert-content h2 {
        font-size: 26px;
    }

    .expert-tag-overlay b {
        font-size: 18px;
    }
}