.bg-ai-section {
    padding: 52px 0 34px;
    background: #f7f9f5;
}

.bg-ai-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 22px;
    align-items: stretch;
}

.bg-ai-panel {
    background: #fff;
    border: 1px solid #dde5d8;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(27, 77, 62, 0.08);
    padding: 26px;
}

.bg-ai-panel--intro {
    background: linear-gradient(135deg, #173d31 0%, #245742 100%);
    color: #fff;
}

.bg-ai-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b8ee8f;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.bg-ai-panel h2,
.bg-ai-panel h3 {
    margin: 0;
    color: inherit;
}

.bg-ai-panel h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    max-width: 620px;
}

.bg-ai-panel h3 {
    font-size: 22px;
    line-height: 1.2;
    color: #173d31;
}

.bg-ai-panel p {
    margin: 10px 0 0;
    line-height: 1.55;
}

.bg-ai-panel--intro p {
    color: rgba(255,255,255,0.84);
    max-width: 640px;
}

.bg-ai-request-head p {
    color: #66736b;
    font-size: 14px;
    margin-bottom: 18px;
}

.bg-ai-search-form {
    margin-top: 24px;
}

.bg-ai-search-row {
    display: flex;
    gap: 10px;
}

.bg-ai-label {
    display: block;
    color: #43524a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.bg-ai-panel--intro .bg-ai-label {
    color: rgba(255,255,255,0.78);
}

.bg-ai-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #ccd8c7;
    border-radius: 6px;
    background: #fff;
    color: #1d2722;
    font-size: 15px;
    padding: 10px 12px;
    box-shadow: none;
}

.bg-ai-input:focus {
    outline: none;
    border-color: #6fb900;
    box-shadow: 0 0 0 3px rgba(111, 185, 0, 0.14);
}

.bg-ai-textarea {
    min-height: 88px;
    resize: vertical;
}

.bg-ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: #1b4d3e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 18px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bg-ai-btn:hover,
.bg-ai-btn:focus {
    background: #14392e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(27, 77, 62, 0.18);
}

.bg-ai-btn--primary {
    background: #ff7a28;
    min-width: 142px;
}

.bg-ai-btn--primary:hover,
.bg-ai-btn--primary:focus {
    background: #e76818;
}

.bg-ai-btn--full {
    width: 100%;
    margin-top: 14px;
}

.bg-ai-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bg-ai-quick-actions button {
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 6px;
    background: rgba(255,255,255,0.11);
    color: #fff;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.bg-ai-quick-actions button:hover,
.bg-ai-quick-actions button:focus {
    background: rgba(255,255,255,0.2);
}

.bg-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bg-ai-field--wide {
    grid-column: 1 / -1;
}

.bg-ai-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #34443b;
    font-size: 14px;
    line-height: 1.35;
}

.bg-ai-check input {
    margin-top: 2px;
}

.bg-ai-check a {
    color: #1b4d3e;
    font-weight: 700;
}

.bg-ai-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.bg-ai-results-wrap {
    margin-top: 22px;
}

.bg-ai-message {
    border: 1px solid #d8e1d2;
    border-radius: 8px;
    background: #fff;
    color: #3d4b43;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 15px;
}

.bg-ai-message--success {
    border-color: #b7d6a1;
    background: #f4fbef;
    color: #1d4a2f;
}

.bg-ai-message--error {
    border-color: #edc6c0;
    background: #fff5f4;
    color: #8a251b;
}

.bg-ai-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bg-ai-club-card {
    background: #fff;
    border: 1px solid #dde5d8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(27, 77, 62, 0.08);
}

.bg-ai-club-image {
    aspect-ratio: 16 / 9;
    background: #dfe7d8;
    overflow: hidden;
}

.bg-ai-club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bg-ai-club-body {
    padding: 15px;
}

.bg-ai-select {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1b4d3e;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.bg-ai-club-card h4 {
    margin: 0 0 6px;
    color: #18231d;
    font-size: 18px;
    line-height: 1.25;
}

.bg-ai-club-location,
.bg-ai-club-reason,
.bg-ai-club-meta {
    margin: 0 0 8px;
    color: #5e6b63;
    font-size: 14px;
    line-height: 1.4;
}

.bg-ai-club-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bg-ai-club-meta span {
    border: 1px solid #e1e8dd;
    border-radius: 6px;
    padding: 4px 7px;
    color: #38483f;
    background: #f8faf6;
}

.bg-ai-hotel-list {
    border-top: 1px solid #eef2eb;
    margin-top: 10px;
    padding-top: 10px;
}

.bg-ai-hotel-list strong {
    display: block;
    color: #173d31;
    font-size: 13px;
    margin-bottom: 6px;
}

.bg-ai-hotel-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bg-ai-hotel-list li {
    color: #59665e;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 5px;
}

.bg-ai-club-actions {
    padding: 0 15px 15px;
}

.bg-ai-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1b4d3e;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.bg-ai-link:hover {
    color: #ff7a28;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .bg-ai-shell {
        grid-template-columns: 1fr;
    }

    .bg-ai-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .bg-ai-section {
        padding: 34px 0 24px;
    }

    .bg-ai-panel {
        padding: 18px;
    }

    .bg-ai-panel h2 {
        font-size: 27px;
    }

    .bg-ai-search-row {
        flex-direction: column;
    }

    .bg-ai-btn--primary {
        width: 100%;
    }

    .bg-ai-grid,
    .bg-ai-results {
        grid-template-columns: 1fr;
    }
}
