:root {
    --gh-primary: #0f4c81;
    --gh-primary-dark: #0a3559;
    --gh-accent: #1aa179;
    --gh-bg: #f4f7fb;
    --gh-card: #ffffff;
    --gh-text: #112133;
    --gh-muted: #607085;
    --gh-border: #dfe7f1;
}

body {
    background: linear-gradient(180deg, #f7fbff 0%, var(--gh-bg) 100%);
    color: var(--gh-text);
}

html,
body {
    min-height: 100%;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1 0 auto;
}

.site-nav,
.site-footer {
    background: linear-gradient(135deg, #0b2942 0%, #123f67 100%);
}

.site-footer {
    margin-top: auto;
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
}

.site-footer a,
.footer-links a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

.hero-section,
.page-header {
    background:
        radial-gradient(circle at top right, rgba(26, 161, 121, 0.15), transparent 30%),
        linear-gradient(180deg, #edf5fb 0%, rgba(244, 247, 251, 0.7) 100%);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gh-primary);
    font-weight: 700;
}

.trust-panel,
.cta-panel,
.category-tile,
.metric-card {
    background: var(--gh-card);
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
}

.trust-panel,
.cta-panel {
    padding: 2rem;
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.metric-card {
    padding: 1.25rem;
}

.metric-card strong {
    display: block;
    font-size: 1.8rem;
}

.metric-card span {
    color: var(--gh-muted);
}

.company-card,
.review-card,
.category-tile,
.mini-company {
    border-radius: 1rem;
}

.company-logo,
.company-hero-logo,
.mini-logo {
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 0.85rem;
}

.company-logo {
    width: 64px;
    height: 64px;
}

.company-hero-logo {
    width: 92px;
    height: 92px;
    padding: 0.75rem;
}

.mini-logo {
    width: 48px;
    height: 48px;
    padding: 0.5rem;
}

.icon-badge {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: rgba(15, 76, 129, 0.12);
    color: var(--gh-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-tile {
    display: block;
    padding: 1.75rem;
    height: 100%;
}

.review-side {
    border-radius: 0.85rem;
    padding: 1rem;
}

.review-pros {
    background: rgba(26, 161, 121, 0.08);
}

.review-cons {
    background: rgba(205, 92, 92, 0.09);
}

.admin-nav .list-group-item {
    border: 0;
    border-radius: 0.75rem;
}

.content-block {
    line-height: 1.8;
    color: #36485d;
}

.btn-primary,
.progress-bar {
    background-color: var(--gh-primary);
    border-color: var(--gh-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--gh-primary-dark);
    border-color: var(--gh-primary-dark);
}

.nav-search {
    min-width: 280px;
}

.trust-list {
    padding-left: 1rem;
    color: var(--gh-muted);
}

@media (max-width: 991px) {
    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-search {
        min-width: 100%;
        margin-top: 1rem;
    }
}
