/* Hero v2 */
.hero-v2 {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
    padding: 40px 0 48px;
    overflow: hidden;
}

.hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(0, 186, 119, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(0, 186, 119, 0.055) 1px, transparent 1px),
        repeating-linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.022) 0,
            rgba(15, 23, 42, 0.022) 1px,
            transparent 1px,
            transparent 14px
        );
    background-size: 56px 56px, 56px 56px, auto;
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.hero-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 52% 42% at 88% 14%, rgba(0, 186, 119, 0.1), transparent 62%),
        radial-gradient(ellipse 38% 32% at 12% 88%, rgba(56, 189, 248, 0.06), transparent 58%);
}

.hero-v2 > .container {
    position: relative;
    z-index: 1;
}
.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 32px;
    align-items: center;
}
.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 999px;
    margin: 0 0 16px;
}
.hero-v2-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}
.hero-v2-title {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-v2-title-line { display: block; }
.hero-v2-accent { color: var(--primary); }
.hero-v2-lead {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 520px;
}
.hero-v2-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 4px 4px 4px 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    position: relative;
    margin-bottom: 16px;
}
.hero-v2-search:focus-within { border-color: var(--primary); }
.hero-v2-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 4px;
}
.hero-v2-search-icon { color: var(--muted); flex-shrink: 0; }
.hero-v2-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    padding: 12px 10px;
    min-width: 0;
    outline: none;
}
.hero-v2-search-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}
.hero-v2-search-city {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: #f1f5f9;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
}
.hero-v2-search-city:hover { background: #e2e8f0; }
.hero-v2-search-submit {
    display: none;
}
.hero-v2-mobile-intro { display: none; }
.hero-v2-desktop-intro { display: block; }
.hero-v2-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.hero-v2-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--muted);
}
.hero-v2-check { color: var(--primary); font-weight: 700; margin-right: 4px; }

.hero-animate {
    opacity: 0;
    transform: translateY(12px);
    animation: hero-fade-up 0.6s ease forwards;
    animation-delay: var(--d, 0ms);
}
@keyframes hero-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.hero-cards { display: flex; flex-direction: column; gap: 12px; }
.hero-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.hero-card-kind {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.hero-card-kind--goods {
    background: #ecfdf5;
    color: #047857;
}
.hero-card-kind--services {
    background: #eff6ff;
    color: #1d4ed8;
}
.hero-card-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; padding-right: 56px; }
.hero-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.hero-card-avatar-purple { background: #8b5cf6; }
.hero-card-avatar-teal { background: #14b8a6; }
.hero-card-avatar-blue { background: #3b82f6; }
.hero-card-avatar-emerald { background: #10b981; }
.hero-card-title-wrap { flex: 1; min-width: 0; }
.hero-card-title-row { display: flex; align-items: center; gap: 6px; }
.hero-card-verified {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    display: grid;
    place-items: center;
}
.hero-card-sub { display: block; font-size: 12px; color: var(--muted); }
.hero-card-sub-green { color: var(--primary-dark); }
.hero-card-rating { font-size: 13px; margin-bottom: 8px; }
.hero-card-rating span { color: var(--muted); }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-card-tags span {
    font-size: 11px;
    padding: 3px 8px;
    background: #f1f5f9;
    border-radius: 6px;
}
.hero-card-2 { margin-left: 24px; }
.hero-card-3 { margin-left: 12px; }

/* Sections */
.section { padding: 48px 0; }
.section-muted { background: var(--bg); }
.section-head { margin-bottom: 24px; }
.section-head h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); }
.section-head p { margin: 0; color: var(--muted); }
.link-more { color: var(--primary); font-weight: 700; font-size: 14px; }
.geo-grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.geo-region {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.geo-region h3 { margin: 0 0 10px; font-size: 16px; }
.geo-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-city-link {
    font-size: 13px;
    color: var(--muted);
    padding: 4px 10px;
    background: #f8fafc;
    border-radius: 8px;
}
.geo-city-link:hover { color: var(--primary); background: #ecfdf5; }
.geo-more { font-size: 12px; color: var(--muted); }
.blog-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

/* Providers promo block */
.home-providers-promo {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
}

.home-providers-promo__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-providers-promo__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
}

.home-providers-promo__glow--1 {
    top: -60px;
    right: 8%;
    width: 280px;
    height: 280px;
    background: rgba(0, 186, 119, .26);
}

.home-providers-promo__glow--2 {
    bottom: -100px;
    left: -40px;
    width: 320px;
    height: 320px;
    background: rgba(56, 189, 248, .14);
}

.home-providers-promo__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
}

.home-providers-promo .container {
    position: relative;
    z-index: 1;
}

.home-providers-promo__grid {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 320px);
    gap: 40px;
    align-items: center;
}
.home-providers-promo__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #6ee7b7;
    background: rgba(0, 186, 119, 0.14);
    border: 1px solid rgba(110, 231, 183, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.home-providers-promo__title {
    margin: 0 0 28px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    color: #f8fafc;
    letter-spacing: -0.02em;
}
.home-providers-promo__title-accent { color: #6ee7b7; }
.home-providers-promo__features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.home-providers-promo__features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.home-providers-promo__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-top: 2px;
    box-shadow: 0 6px 18px rgba(0, 186, 119, .28);
}
.home-providers-promo__features strong {
    display: block;
    color: #f8fafc;
    font-size: 16px;
    margin-bottom: 4px;
}
.home-providers-promo__features p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(203, 213, 225, .88);
}
.home-providers-promo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.home-providers-promo__actions .btn-primary {
    box-shadow: 0 8px 24px rgba(0, 186, 119, .35);
}
.home-providers-promo__actions .btn-outline-light {
    border-color: rgba(255, 255, 255, .24);
    color: #f8fafc;
    background: rgba(255, 255, 255, .04);
}
.home-providers-promo__actions .btn-outline-light:hover {
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.home-providers-promo__stats {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px;
}
.home-providers-promo__stat-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}
.home-providers-promo__stat-value {
    display: block;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 8px;
}
.home-providers-promo__stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

@media (max-width: 992px) {
    .hero-v2 {
        padding: 24px 0 36px;
        background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 28%, #fff 100%);
    }

    .hero-v2::before {
        background-size: 40px 40px, 40px 40px, auto;
        opacity: 0.85;
    }

    .hero-v2-grid,
    .home-providers-promo__grid {
        grid-template-columns: 1fr;
    }

    .hero-v2-visual {
        display: none !important;
    }

    .hero-v2-mobile-intro {
        display: block;
        text-align: center;
        margin-bottom: 24px;
    }

    .hero-v2-desktop-intro {
        display: none;
    }

    .hero-v2-mobile-logo {
        display: inline-block;
        line-height: 0;
        margin-bottom: 14px;
    }

    .hero-v2-mobile-logo img {
        height: 42px;
        width: auto;
        max-width: min(180px, 70vw);
        object-fit: contain;
    }

    .hero-v2-mobile-desc {
        margin: 0 auto;
        max-width: 360px;
        font-size: 15px;
        line-height: 1.55;
        color: #64748b;
    }

    .hero-v2-search {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 18px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
        margin-bottom: 0;
    }

    .hero-v2-search:focus-within {
        border-color: var(--primary);
        box-shadow: 0 10px 36px rgba(0, 186, 119, 0.12);
    }

    .hero-v2-search-field {
        width: 100%;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        border-radius: 12px;
        padding: 2px 12px;
        transition: border-color 0.2s, background 0.2s;
    }

    .hero-v2-search-field:focus-within {
        background: #fff;
        border-color: var(--primary);
    }

    .hero-v2-search-divider {
        display: none;
    }

    .hero-v2-search-city {
        width: 100%;
        justify-content: center;
        padding: 13px 16px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        color: var(--primary);
        font-size: 15px;
    }

    .hero-v2-search-city:hover {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

    .hero-v2-search-submit {
        display: block;
        width: 100%;
        margin: 2px 0 0;
        padding: 14px 20px;
        border: none;
        border-radius: 12px;
        background: var(--primary);
        color: #fff;
        font: inherit;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(0, 186, 119, 0.35);
        transition: background 0.2s, transform 0.15s;
    }

    .hero-v2-search-submit:hover {
        background: var(--primary-dark);
    }

    .hero-v2-search-submit:active {
        transform: scale(0.98);
    }

    .hero-v2-trust {
        justify-content: center;
        gap: 12px 20px;
        margin-top: 18px;
        font-size: 13px;
    }

    .hero-card-2,
    .hero-card-3 { margin-left: 0; }

    .home-providers-promo__stats {
        flex-direction: row;
    }

    .home-providers-promo__stat-card { flex: 1; }
}

@media (max-width: 600px) {
    .home-providers-promo__stats { flex-direction: column; }
    .home-providers-promo__actions { flex-direction: column; }
    .home-providers-promo__actions .btn { width: 100%; text-align: center; }
}

/* Homepage region picker */
.geo-picker-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 22px 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.geo-picker-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f6;
}

.geo-picker-tab {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.geo-picker-tab:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.geo-picker-tab.is-active {
    border-color: var(--primary);
    background: #ecfdf5;
    color: #047857;
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.1);
}

.geo-picker-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.geo-picker-city {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.geo-picker-city:hover {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: var(--primary-dark);
}

.geo-picker-city.is-active {
    border-color: var(--primary);
    background: #ecfdf5;
    color: #047857;
    box-shadow: inset 0 0 0 1px rgba(0, 186, 119, 0.15);
}

@media (max-width: 1100px) {
    .geo-picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .geo-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .geo-picker-shell { padding: 16px; }

    .geo-picker-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .geo-picker-tabs::-webkit-scrollbar { display: none; }

    .geo-picker-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .geo-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage community block (after providers promo) */
.home-community {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-top: 1px solid #eef2f6;
}

.home-community-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.home-community-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.home-community-stat-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.home-community-stat-label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.home-community-reviews {
    margin-bottom: 36px;
}

.home-community-reviews .blog-carousel-slide {
    flex: 0 0 min(360px, calc(100% - 48px));
    max-width: min(360px, calc(100% - 48px));
}

.home-review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.home-review-card:hover {
    border-color: #bbf7d0;
    box-shadow: 0 14px 32px rgba(0, 186, 119, 0.1);
    transform: translateY(-2px);
}

.home-review-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.home-review-card-author {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.home-review-card-stars {
    display: inline-flex;
    gap: 1px;
    flex-shrink: 0;
}

.home-review-card-star {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1;
}

.home-review-card-star.is-filled {
    color: #f59e0b;
}

.home-review-card-body {
    flex: 1;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.home-review-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
}

.home-review-card-link:hover {
    color: var(--primary);
}

.home-community-categories {
    margin-bottom: 28px;
}

.home-community-categories-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.home-community-categories-head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.home-community-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.home-community-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.home-community-category:hover {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: var(--primary-dark);
}

.home-community-category-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.home-community-category-count {
    flex-shrink: 0;
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
}

.home-community-category:hover .home-community-category-count {
    background: #dcfce7;
    color: #047857;
}

.home-community-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-community-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.home-community-trust-item:hover {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #047857;
}

.home-community-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 1100px) {
    .home-community-categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .home-community-categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .home-community {
        padding: 40px 0 48px;
    }

    .home-community-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .home-community-stat {
        min-width: 0;
    }

    .home-community-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-community-trust {
        flex-direction: column;
        align-items: stretch;
    }

    .home-community-trust-item {
        justify-content: center;
    }
}

/* Featured companies on home */
.home-featured-companies {
    position: relative;
    overflow: hidden;
    padding: 56px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
}

.home-featured-companies-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-featured-companies-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
}

.home-featured-companies-glow--1 {
    top: -80px;
    right: -40px;
    width: 320px;
    height: 320px;
    background: rgba(0, 186, 119, .28);
}

.home-featured-companies-glow--2 {
    bottom: -120px;
    left: -60px;
    width: 360px;
    height: 360px;
    background: rgba(56, 189, 248, .16);
}

.home-featured-companies-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
}

.home-featured-companies-inner {
    position: relative;
    z-index: 1;
}

.home-featured-companies-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.home-featured-companies-intro {
    min-width: 0;
}

.home-featured-companies-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: rgba(226, 232, 240, .92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-featured-companies-intro h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3.2vw, 36px);
    line-height: 1.12;
    letter-spacing: -.02em;
    color: #f8fafc;
}

.home-featured-companies-intro p {
    margin: 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(203, 213, 225, .88);
}

.home-featured-companies-more {
    flex-shrink: 0;
    color: #6ee7b7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}

.home-featured-companies-more:hover {
    color: #a7f3d0;
}

.home-featured-companies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.home-featured-companies .company-card {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 18px;
    box-shadow:
        0 14px 36px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(255, 255, 255, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-featured-companies .company-card:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 183, .55);
    box-shadow:
        0 22px 44px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(110, 231, 183, .18);
}

.home-featured-companies .company-card-link {
    padding: 16px;
}

.home-featured-companies .company-card-head .listing-contact-logo,
.home-featured-companies .company-card-head .listing-contact-avatar {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}

.home-featured-companies .company-card-head .listing-contact-logo {
    background: #e2e8f0;
    border: none;
    overflow: hidden;
}

.home-featured-companies .company-card-head .listing-contact-logo img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    border-radius: 0;
}

.home-featured-companies .company-card-title {
    font-size: 16px;
}

.home-featured-companies .company-card-rating-score {
    color: #0f172a;
}

.home-featured-companies .company-card-tag--category {
    background: #ecfdf5;
}

.home-featured-companies-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(18px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 16px 40px rgba(0, 0, 0, .18);
}

.home-featured-companies-cta-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.home-featured-companies-cta-text strong {
    font-size: 16px;
    color: #f8fafc;
}

.home-featured-companies-cta-text span {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(203, 213, 225, .86);
}

.home-featured-companies-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.home-featured-companies-cta .btn-primary {
    box-shadow: 0 8px 24px rgba(0, 186, 119, .35);
}

.home-featured-companies-cta-outline {
    border-color: rgba(255, 255, 255, .24);
    color: #f8fafc;
    background: rgba(255, 255, 255, .04);
}

.home-featured-companies-cta-outline:hover {
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

@media (max-width: 960px) {
    .home-featured-companies {
        padding: 44px 0 48px;
    }

    .home-featured-companies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-featured-companies-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .home-featured-companies-cta-actions {
        flex-direction: column;
    }

    .home-featured-companies-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .home-featured-companies-grid {
        grid-template-columns: 1fr;
    }

    .home-featured-companies-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
