*, ::before, ::after { box-sizing: border-box; }
body, html { overflow-x: hidden; width: 100%; }

.home-layout-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.directory-search { background: var(--surface, #ffffff); padding: 16px; border-radius: var(--radius, 8px); border: 1px solid var(--border-color, #e2e8f0); display: flex; gap: 12px; margin-bottom: 24px; box-shadow: var(--shadow); }
.directory-search input, .directory-search select { flex: 1; padding: 10px 14px; border: 1px solid var(--border-color, #cbd5e1); border-radius: 6px; font-size: 0.9rem; outline: none; }
.directory-search input:focus, .directory-search select:focus { border-color: var(--accent, #d97706); }
.directory-search-btn { padding: 10px 20px; background-color: var(--accent, #d97706); color: var(--surface, #ffffff); border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.directory-search-btn:hover { background-color: var(--accent-hover, #b45309); }
.listing-section-header { margin-bottom: 20px; }
.listing-section-header h1 { font-size: 1.75rem; margin-bottom: 4px; color: var(--primary, #0f172a); }
.listing-section-header p { color: var(--text-muted, #64748b); font-size: 0.95rem; }

.provider-card { background: var(--surface, #ffffff); border: 1px solid var(--border-color, #e2e8f0); border-radius: var(--radius, 8px); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow); }
.card-header { background: var(--primary, #0f172a); color: var(--surface, #ffffff); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.card-header-left { display: flex; align-items: center; gap: 14px; }
.card-thumb { width: 60px; height: 60px; border-radius: var(--radius, 8px); object-fit: cover; border: 2px solid var(--accent, #d97706); background-color: #1e293b; flex-shrink: 0; }
.card-rank { background: var(--accent, #d97706); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; color: var(--surface, #ffffff); }
.card-title { margin: 4px 0 0 0; font-size: 20px; color: var(--surface, #ffffff); }
.card-area { margin: 0; font-size: 12px; color: #94a3b8; }
.card-header-right { text-align: right; }
.card-rating { color: #f59e0b; font-weight: 700; font-size: 15px; }
.card-reviews { font-size: 11px; color: #94a3b8; display: block; }
.card-body { padding: 20px; }
.card-description { font-size: 14px; color: var(--text-main, #334155); line-height: 1.5; margin-bottom: 16px; }
.feature-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tag { background: #f1f5f9; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--text-main, #334155); }
.tag.geo-tag { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.fleet-table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; border-radius: 6px; border: 1px solid var(--border-color, #e2e8f0); }
.fleet-table { width: 100%; min-width: 480px; border-collapse: collapse; margin-bottom: 0; font-size: 13px; text-align: left; }
.fleet-table th { background: var(--bg-light, #f8fafc); padding: 8px; border-bottom: 2px solid var(--border-color, #e2e8f0); color: #475569; }
.fleet-table td { padding: 8px; border-bottom: 1px solid #f1f5f9; }
.card-vehicle-preview { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 240px; border-radius: var(--radius, 8px); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--border-color, #e2e8f0); background: var(--primary, #0f172a); }
.vehicle-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.3s ease; }
.card-vehicle-preview:hover .vehicle-banner-img { transform: scale(1.03); }
.vehicle-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(15,23,42,0.85); color: var(--surface, #ffffff); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; backdrop-filter: blur(4px); }
.card-cta-bar { display: flex; justify-content: space-between; align-items: center; background: var(--bg-light, #f8fafc); padding: 12px; border-radius: 6px; border: 1px solid var(--border-color, #e2e8f0); gap: 10px; flex-wrap: wrap; }
.cta-group-left { display: flex; gap: 12px; align-items: center; }
.cta-group-right { display: flex; gap: 8px; }
.card-link { color: var(--primary, #0f172a); font-weight: 600; text-decoration: underline; font-size: 13px; cursor: pointer; }
.card-link:hover { color: var(--accent, #d97706); }
.btn-secondary-card { background: var(--surface, #ffffff); color: var(--primary, #0f172a); border: 1px solid var(--border-color, #cbd5e1); padding: 8px 14px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; transition: all 0.2s; display: inline-block; }
.btn-secondary-card:hover { background: #f1f5f9; border-color: var(--primary, #0f172a); }
.book-btn { background: var(--accent, #d97706); color: var(--surface, #ffffff); padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background 0.2s; display: inline-block; }
.book-btn:hover { background: var(--accent-hover, #b45309); }

.sidebar-widget { background: var(--surface, #ffffff); border: 1px solid var(--border-color, #e2e8f0); border-radius: var(--radius, 8px); padding: 18px; margin-bottom: 20px; box-shadow: var(--shadow); }
.sidebar-widget.dark { background: var(--primary, #0f172a); color: var(--surface, #ffffff); }
.sidebar-widget.dashed { background: var(--bg-light, #f8fafc); border: 2px dashed #cbd5e1; text-align: center; }
.sidebar-widget h4 { margin: 0 0 10px 0; font-size: 15px; }
.sidebar-widget p { font-size: 12px; color: var(--text-muted, #64748b); margin-bottom: 12px; line-height: 1.4; }
.rate-list { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 2; }
.rate-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border-color, #e2e8f0); padding-bottom: 2px; }
.rate-price { color: var(--accent, #d97706); font-weight: 700; }
.trust-list { list-style: none; padding: 0; margin: 0; font-size: 12px; color: #cbd5e1; line-height: 1.8; }
.trust-badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.trust-badge { background: #1e293b; border: 1px solid #334155; border-radius: 6px; padding: 8px; text-align: center; font-size: 11px; color: #38bdf8; font-weight: 600; }

.seo-discovery-section { background: var(--surface, #ffffff); border: 1px solid var(--border-color, #e2e8f0); border-radius: var(--radius, 8px); padding: 24px; margin-top: 30px; margin-bottom: 30px; box-shadow: var(--shadow); }
.seo-banner { display: flex; justify-content: space-between; align-items: center; background: var(--bg-light, #f8fafc); border: 1px dashed #cbd5e1; border-radius: 6px; padding: 14px 20px; margin-bottom: 24px; }
.seo-banner h4 { margin: 0; font-size: 15px; color: var(--primary, #0f172a); }
.seo-banner p { margin: 0; font-size: 12px; color: var(--text-muted, #64748b); }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seo-column h5 { font-size: 14px; font-weight: 700; color: var(--primary, #0f172a); margin: 0 0 12px 0; border-bottom: 2px solid var(--accent, #d97706); padding-bottom: 4px; display: inline-block; }
.seo-chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chip { background: var(--bg-light, #f8fafc); color: var(--text-main, #334155); border: 1px solid var(--border-color, #cbd5e1); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.seo-chip:hover { background: var(--primary, #0f172a); color: var(--surface, #ffffff); border-color: var(--primary, #0f172a); }

@media (max-width: 992px) { .home-layout-grid { grid-template-columns: 1fr; } .directory-search { flex-direction: column; } .directory-search input, .directory-search select, .directory-search-btn { width: 100%; } .seo-grid { grid-template-columns: 1fr; } .seo-banner { flex-direction: column; text-align: center; gap: 12px; } }
@media (max-width: 768px) { .card-header { flex-direction: column; align-items: flex-start; gap: 10px; } .card-header-right { text-align: left; } .card-vehicle-preview { max-height: 180px; } .card-cta-bar { flex-direction: column; align-items: stretch; text-align: center; } .cta-group-left, .cta-group-right { flex-direction: column; width: 100%; } .card-link, .btn-secondary-card, .book-btn { width: 100%; text-align: center; box-sizing: border-box; } }