.ai-estimator-section {
    padding: 0 0 120px;
}

.ai-estimator-copy {
    padding-right: 24px;
}

.ai-estimator-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    text-transform: uppercase;
}

.ai-estimator-copy h2 {
    margin-bottom: 18px;
}

.ai-estimator-copy p {
    margin-bottom: 18px;
}

.ai-estimator-points {
    margin: 0;
    padding-left: 20px;
}

.ai-estimator-points li + li {
    margin-top: 10px;
}

.ai-estimator-card {
    background: linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
    border: 1px solid #f0d8ca;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
    overflow: hidden;
}

.ai-estimator-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 28px 18px;
}

.ai-estimator-card__label {
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ai-estimator-card__top h3 {
    margin-bottom: 10px;
}

.ai-estimator-card__top p {
    margin-bottom: 0;
}

.ai-estimator-card__status {
    background: #111827;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    white-space: nowrap;
}

.ai-estimator-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 18px;
}

.ai-estimator-starter {
    border: 1px solid #e5c8b8;
    background: #ffffff;
    color: #7c2d12;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ai-estimator-starter:hover {
    background: #7c2d12;
    border-color: #7c2d12;
    color: #ffffff;
}

.ai-estimator-thread {
    background: #fffdfb;
    border-top: 1px solid #f3dfd3;
    border-bottom: 1px solid #f3dfd3;
    height: 420px;
    overflow-y: auto;
    padding: 20px 24px;
}

.ai-estimator-message {
    display: flex;
    margin-bottom: 12px;
}

.ai-estimator-message--user {
    justify-content: flex-end;
}

.ai-estimator-bubble {
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
    max-width: 85%;
    padding: 12px 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-estimator-message--bot .ai-estimator-bubble {
    background: #f4f4f5;
    color: #111827;
    border-bottom-left-radius: 6px;
}

.ai-estimator-message--user .ai-estimator-bubble {
    background: #111827;
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

.ai-estimator-bubble--typing {
    color: #6b7280;
    font-style: italic;
}

.ai-estimator-form {
    display: flex;
    gap: 10px;
    padding: 20px 24px 12px;
}

.ai-estimator-input {
    width: 100%;
    min-height: 48px;
    max-height: 120px;
    resize: vertical;
    border: 1px solid #d6d3d1;
    border-radius: 14px;
    font-size: 14px;
    outline: none;
    padding: 12px 14px;
}

.ai-estimator-input:focus {
    border-color: #9a3412;
}

.ai-estimator-send {
    border: none;
    background: #9a3412;
    color: #ffffff;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    min-width: 96px;
    padding: 12px 16px;
}

.ai-estimator-send:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.ai-estimator-note {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
    padding: 0 24px 24px;
}

@media (max-width: 991px) {
    .ai-estimator-section {
        padding-bottom: 90px;
    }

    .ai-estimator-copy {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 640px) {
    .ai-estimator-card__top,
    .ai-estimator-starters,
    .ai-estimator-form,
    .ai-estimator-note {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ai-estimator-card__top {
        flex-direction: column;
        padding-top: 22px;
    }

    .ai-estimator-thread {
        height: 360px;
        padding: 16px 18px;
    }

    .ai-estimator-form {
        flex-direction: column;
    }

    .ai-estimator-send {
        width: 100%;
    }

    .ai-estimator-bubble {
        max-width: 92%;
    }
}
