/* ============================================
   СпецТехника — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    --yellow:        #f5a623;
    --yellow-light:  #fef8ec;
    --yellow-glow:   rgba(245, 166, 35, 0.22);
    --dark-blue:     #0d1b2e;
    --mid-blue:      #1a3a5c;
    --blue:          #1a73e8;
    --text-main:     #1a1a2e;
    --text-muted:    #6b7280;
    --bg-soft:       #f7f8fc;
    --border:        #e5e7eb;

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    --shadow-xs:  0 1px 3px rgba(0,0,0,0.07);
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-yellow: 0 4px 20px rgba(245, 166, 35, 0.30);

    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(13, 27, 46, 0.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.6rem 0;
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.35) !important;
}
.navbar-brand {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.navbar-brand .brand-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--yellow), #e08e00);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(245,166,35,0.4);
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
    position: relative;
}
.nav-link:hover { background: rgba(255,255,255,0.07); }
.nav-link.active {
    color: var(--yellow) !important;
    background: rgba(245,166,35,0.08);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 16px; height: 2px;
    background: var(--yellow);
    border-radius: 2px;
}

/* Language switcher */
.lang-switcher { gap: 3px; }
.lang-switcher .btn {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    border-radius: 5px;
    padding: 3px 8px;
    transition: all var(--transition);
}
.lang-switcher .btn-warning { box-shadow: 0 2px 8px rgba(245,166,35,0.4); }

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
}
.dropdown-item {
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--transition);
}
.dropdown-item:hover { background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero-section {
    background: linear-gradient(135deg, #0d1b2e 0%, #0f2744 45%, #0d1b2e 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 65%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, transparent 65%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}
.stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: transform var(--transition), background var(--transition);
}
.stat-card:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-2px);
}

/* ---------- Section Headings ---------- */
.section-heading {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin-bottom: 0;
}
.section-heading-line {
    display: inline-block;
    width: 40px; height: 4px;
    background: linear-gradient(90deg, var(--yellow), #e08e00);
    border-radius: 2px;
    margin-top: 8px;
    margin-bottom: 28px;
}

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.btn-warning {
    background: linear-gradient(135deg, #f5a623 0%, #e08e00 100%);
    border: none;
    color: #1a1a2e !important;
    box-shadow: 0 2px 8px rgba(245,166,35,0.25);
}
.btn-warning:hover {
    background: linear-gradient(135deg, #fbb03b 0%, #f5a623 100%);
    box-shadow: var(--shadow-yellow);
    transform: translateY(-1px);
    color: #1a1a2e !important;
}
.btn-warning:active { transform: translateY(0); }
.btn-outline-warning {
    border-color: var(--yellow);
    color: var(--yellow);
    background: transparent;
}
.btn-outline-warning:hover {
    background: var(--yellow);
    color: #1a1a2e;
    box-shadow: var(--shadow-yellow);
}
.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-muted);
}
.btn-outline-secondary:hover {
    background: var(--bg-soft);
    border-color: #d1d5db;
    color: var(--text-main);
}

/* ---------- Equipment Cards ---------- */
.equipment-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition);
    overflow: hidden;
}
.equipment-card:hover {
    box-shadow: var(--shadow-lg) !important;
    border-color: #d0d5dd !important;
    transform: translateY(-5px);
}
.equipment-card .card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f1f3f7;
}
.equipment-card .card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.equipment-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Hover overlay on card image */
.equipment-card .card-img-overlay-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,27,46,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 16px;
}
.equipment-card:hover .card-img-overlay-hover { opacity: 1; }
.equipment-card .card-img-overlay-hover .btn-hover-view {
    font-size: 0.8rem;
    padding: 6px 18px;
    border-radius: 100px;
    transform: translateY(8px);
    transition: transform var(--transition);
    background: rgba(255,255,255,0.92);
    color: var(--dark-blue);
    border: none;
    font-weight: 700;
}
.equipment-card:hover .card-img-overlay-hover .btn-hover-view { transform: translateY(0); }

.equipment-card .card-body { padding: 16px 18px 18px; }

/* Status badge on card */
.card-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}
.card-featured-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--yellow), #e08e00);
    color: #1a1a2e;
}

.card-category-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 5px;
}
.card-title a {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}
.card-title a:hover { color: var(--blue); }
.card-brand {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.card-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: -0.3px;
}
.card-price .per { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

.price-tag-buy {
    background: linear-gradient(135deg, #fff9ec, #fef3d7);
    border: 1.5px solid #fde68a;
    border-radius: 10px;
    padding: 8px 12px;
}
.price-tag-buy .label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #92400e;
}
.price-tag-buy .amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #b45309;
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.price-tag-buy .unit { font-size: 0.75rem; color: #a16207; font-weight: 500; }

.price-tag-rent {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 8px 12px;
}
.price-tag-rent .label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1e40af;
}
.price-tag-rent .amount {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.price-tag-rent .unit { font-size: 0.75rem; color: #2563eb; font-weight: 500; }

.card-condition {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Detail page price boxes */
.price-box-detail {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
}
.price-box-detail .buy-side {
    background: linear-gradient(135deg, #fff9ec, #fef3d7);
    border-right: 1.5px solid #fde68a;
    padding: 20px 24px;
}
.price-box-detail .rent-side {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 20px 24px;
}
.price-box-detail .side-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.price-box-detail .side-amount {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.price-box-detail .side-unit {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 2px;
}

/* ---------- Category Cards ---------- */
.category-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    transition: all var(--transition);
    background: #fff;
    text-align: center;
    padding: 24px 16px !important;
}
.category-card:hover {
    border-color: var(--yellow) !important;
    background: var(--yellow-light) !important;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}
.category-icon {
    width: 60px; height: 60px;
    background: var(--yellow-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    transition: background var(--transition);
}
.category-card:hover .category-icon { background: rgba(245,166,35,0.2); }

/* ---------- AI Banner ---------- */
.ai-banner {
    background: linear-gradient(135deg, #0f2744 0%, #0d1b2e 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.ai-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: 10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- Sidebar / Filters ---------- */
.filter-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden;
}
.filter-card .card-header {
    background: var(--dark-blue) !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: none;
    letter-spacing: 0.3px;
}
.filter-card .card-body { padding: 18px; }
.filter-card .form-control,
.filter-card .form-select {
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    background: #fafafa;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-card .form-control:focus,
.filter-card .form-select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.filter-card .list-group-item {
    font-size: 0.83rem;
    padding: 8px 10px;
    border: none;
    border-radius: 7px !important;
    margin-bottom: 2px;
    transition: background var(--transition);
    color: var(--text-muted);
}
.filter-card .list-group-item:hover { background: var(--bg-soft); color: var(--text-main); }
.filter-card .list-group-item.active {
    background: var(--yellow-light) !important;
    color: #8a5e00 !important;
    font-weight: 600;
}

/* ---------- Form inputs (global) ---------- */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-size: 0.9rem;
    padding: 10px 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fafafa;
}
.form-control:focus, .form-select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
    background: #fff;
}
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }

/* ---------- Auth Cards ---------- */
.auth-card {
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
}
.auth-icon-wrap {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--yellow-light), #fde68a);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: #8a5e00;
    box-shadow: 0 4px 16px rgba(245,166,35,0.2);
}

/* ---------- Price Box ---------- */
.price-box {
    background: linear-gradient(135deg, #fff9ec, #fef3d7) !important;
    border: 1.5px solid #fde68a !important;
    border-radius: var(--radius-md) !important;
    padding: 20px 24px !important;
}

/* ---------- Detail Page ---------- */
.spec-table { border-radius: var(--radius-md); overflow: hidden; }
.spec-table td { padding: 10px 16px; font-size: 0.875rem; }

/* ---------- Badges ---------- */
.badge { font-weight: 600; letter-spacing: 0.2px; }

/* ---------- Chat Interface ---------- */
.chat-wrapper {
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--border) !important;
}
.chat-header {
    background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue)) !important;
    padding: 14px 20px;
    border-bottom: none !important;
}
.chat-container {
    height: 480px;
    overflow-y: auto;
    padding: 24px 20px;
    background: #f7f8fc;
}
.chat-container::-webkit-scrollbar { width: 5px; }
.chat-container::-webkit-scrollbar-track { background: transparent; }
.chat-container::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

.message-wrapper { margin-bottom: 18px; display: flex; }
.message-wrapper.message-user { justify-content: flex-end; }
.message-wrapper.message-assistant { justify-content: flex-start; align-items: flex-start; gap: 10px; }

.message-bubble {
    max-width: 78%;
    padding: 11px 16px;
    line-height: 1.6;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.message-user .message-bubble {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}
.message-assistant .message-bubble {
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: 18px 18px 18px 4px;
    box-shadow: var(--shadow-xs);
}
.avatar-bot {
    width: 36px; height: 36px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--yellow), #e08e00);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
    box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}

.typing-indicator { display: none; }
.typing-indicator .dot {
    width: 7px; height: 7px;
    background: #b0b7c3;
    border-radius: 50%; display: inline-block;
    animation: typingBounce 1.2s infinite ease-in-out;
    margin: 0 2px;
}
.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.chat-footer {
    background: #fff !important;
    padding: 14px 16px !important;
    border-top: 1px solid var(--border) !important;
}
.chat-input {
    border-radius: 12px !important;
    border: 1.5px solid var(--border) !important;
    resize: none;
    overflow: hidden;
    max-height: 120px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.chat-input:focus {
    border-color: var(--yellow) !important;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.12) !important;
}
.chat-send-btn {
    width: 44px; height: 44px;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--yellow), #e08e00) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(245,166,35,0.3);
    transition: all var(--transition);
    flex-shrink: 0;
}
.chat-send-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-yellow); }

.hint-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden;
}
.hint-card .card-header {
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 11px 16px;
}
.hint-btn {
    font-size: 0.82rem;
    padding: 9px 14px !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
    border-bottom: 1px solid var(--border) !important;
}
.hint-btn:last-child { border-bottom: none !important; }
.hint-btn:hover { background: var(--yellow-light) !important; color: #8a5e00 !important; }

/* ---------- Tables ---------- */
.table { font-size: 0.875rem; }
.table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    padding: 10px 14px;
}
.table tbody td { padding: 12px 14px; vertical-align: middle; }
.table-hover tbody tr { transition: background var(--transition); }

/* ---------- KPI Cards (Analytics) ---------- */
.kpi-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition);
    overflow: hidden;
}
.kpi-card:hover { box-shadow: var(--shadow-md) !important; transform: translateY(-2px); }
.kpi-card .kpi-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.kpi-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.kpi-label { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

/* ---------- Footer ---------- */
.footer {
    background: #0a1628;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-link {
    color: #8b9ab0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition);
    display: inline-block;
    margin-bottom: 6px;
}
.footer-link:hover { color: var(--yellow); }
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #8b9ab0;
    margin-bottom: 10px;
}
.footer-contact-item i {
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.07);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ---------- Alerts ---------- */
.alert {
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
}
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-danger  { background: #fef2f2; color: #991b1b; }
.alert-info    { background: #eff6ff; color: #1e40af; }
.alert-warning { background: #fffbeb; color: #92400e; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    font-size: 0.82rem;
    background: none;
    padding: 0;
}
.breadcrumb-item a { color: var(--blue); text-decoration: none; font-weight: 500; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: #cbd5e1; }

/* ---------- Pagination ---------- */
.pagination .page-link {
    border-radius: 8px !important;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 2px;
    padding: 7px 13px;
    transition: all var(--transition);
}
.pagination .page-link:hover { background: var(--yellow-light); border-color: var(--yellow); color: #8a5e00; }
.pagination .page-item.active .page-link {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}

/* ---------- Orders Table ---------- */
.orders-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden;
}

/* ---------- Empty State ---------- */
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state-icon {
    width: 80px; height: 80px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: #9ca3af;
    margin: 0 auto 20px;
}

/* ---------- Scroll to Top ---------- */
#scrollTopBtn {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--yellow), #e08e00);
    color: #1a1a2e;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: var(--shadow-yellow);
    cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform var(--transition);
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
#scrollTopBtn.show { opacity: 1; pointer-events: all; }
#scrollTopBtn:hover { transform: scale(1.1); }

/* ---------- Card grid equal height ---------- */
/* h-100 applied per-card via Bootstrap class where needed */

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0 50px; }
    .hero-section h1 { font-size: 1.8rem; }
    .section-heading { font-size: 1.4rem; }
    .chat-container { height: 380px; }
}
@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.5rem; }
    .equipment-card .card-img-wrap { height: 180px; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.45s ease both; }
.fade-in-up-d1 { animation-delay: 0.08s; }
.fade-in-up-d2 { animation-delay: 0.16s; }
.fade-in-up-d3 { animation-delay: 0.24s; }
