/* FindCert / Companies Directory
   Выразительный каталог в визуальном языке главной: сеть, сигналы, графит и Onest. */

.main-content .fc-companies-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid #ededf0;
    background: #fff;
}

.main-content .fc-companies-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 83% 42%, rgba(63, 63, 70, .10), transparent 26%),
        radial-gradient(circle at 12% 86%, rgba(23, 23, 26, .04), transparent 24%),
        linear-gradient(rgba(23, 23, 26, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 23, 26, .035) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px, 32px 32px;
    mask-image: linear-gradient(90deg, transparent 0, #000 46%, #000 100%);
}

.main-content .fc-companies-hero::after {
    content: "DIRECTORY / 02";
    position: absolute;
    top: 48px;
    right: max(40px, calc((100vw - 1200px) / 2 + 40px));
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #17171a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    opacity: .18;
    pointer-events: none;
}

.fc-directory-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: 72px;
    align-items: center;
    max-width: 1200px;
    min-height: 470px;
    margin: 0 auto;
    padding: 72px 40px 76px !important;
}

.fc-directory-hero-copy {
    max-width: 700px;
    animation: fcDirectoryRise .72s cubic-bezier(.22, .61, .36, 1) both;
}

.fc-directory-eyebrow,
.fc-filter-kicker,
.fc-results-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #686870;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.fc-directory-live {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17171a;
}

.fc-directory-live::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(23, 23, 26, .24);
    border-radius: inherit;
    animation: fcDirectoryPulse 2.2s ease-out infinite;
}

.main-content .fc-directory-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #17171a;
    font-size: clamp(46px, 5vw, 70px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .98;
    text-wrap: balance;
}

.fc-directory-lead {
    max-width: 640px;
    margin: 28px 0 0;
    color: #686870;
    font-size: 17px;
    line-height: 1.65;
}

.fc-directory-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid #dadaDE;
}

.fc-directory-stats > div {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 24px;
}

.fc-directory-stats > div:first-child { padding-left: 0; }
.fc-directory-stats > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 0;
    width: 1px;
    height: 42px;
    background: #ededf0;
}

.fc-directory-stats strong {
    color: #17171a;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.fc-directory-stats span {
    color: #92929a;
    font-size: 12px;
    font-weight: 600;
}

.fc-directory-radar {
    position: relative;
    min-height: 332px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 26px;
    background: #17171a;
    box-shadow: 0 28px 70px rgba(23, 23, 26, .18);
    color: #fff;
    animation: fcDirectoryRise .8s .08s cubic-bezier(.22, .61, .36, 1) both;
}

.fc-directory-radar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 36%),
        radial-gradient(circle, rgba(255, 255, 255, .1) 1px, transparent 1.2px);
    background-size: auto, 23px 23px;
    mask-image: linear-gradient(135deg, #000, transparent 70%);
    opacity: .48;
}

.fc-directory-radar svg {
    position: absolute;
    inset: 10px 0 auto;
    width: 100%;
    height: 300px;
}

.fc-radar-ring,
.fc-radar-axis,
.fc-radar-signal {
    fill: none;
    stroke: rgba(255, 255, 255, .15);
    stroke-width: 1;
}

.fc-radar-ring-1 { stroke-dasharray: 3 7; animation: fcRadarSpin 32s linear infinite; transform-origin: 216px 155px; }
.fc-radar-ring-2 { stroke-dasharray: 2 5; animation: fcRadarSpinReverse 24s linear infinite; transform-origin: 216px 155px; }
.fc-radar-axis { stroke: rgba(255, 255, 255, .07); }
.fc-radar-signal { stroke: rgba(255, 255, 255, .3); stroke-dasharray: 4 5; }

.fc-radar-node circle:first-child { fill: #fff; }
.fc-radar-node circle:last-child { fill: none; stroke: rgba(255, 255, 255, .3); animation: fcRadarNode 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.fc-radar-node-2 circle:last-child { animation-delay: -.7s; }
.fc-radar-node-3 circle:last-child { animation-delay: -1.4s; }
.fc-radar-node-4 circle:last-child { animation-delay: -2.1s; }

.fc-radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 82px;
    height: 82px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(23, 23, 26, .9);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .035), 0 0 38px rgba(255, 255, 255, .1);
    transform: translate(-50%, -50%);
}

.fc-radar-core strong { font-size: 27px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.fc-radar-core span { margin-top: 4px; color: #a9a9b0; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.fc-radar-tag {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}

.fc-radar-tag-top { top: 28px; left: 28px; padding: 8px 11px; }
.fc-radar-tag-bottom { right: 26px; bottom: 27px; padding: 8px 11px; }
.fc-radar-caption { position: absolute; bottom: 28px; left: 28px; color: rgba(255, 255, 255, .34); font-size: 8px; font-weight: 700; letter-spacing: .16em; }

.main-content .fc-companies-shell {
    max-width: 1200px;
    padding-top: 64px;
    padding-bottom: 80px;
}

.main-content .fc-companies-shell .companies-page {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin: 0;
}

.main-content .fc-companies-shell .filters-section {
    position: sticky;
    top: 92px;
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 116px);
    margin: 0;
    padding: 28px;
    overflow: auto;
    border: 1px solid #242429;
    border-radius: 22px;
    background: #17171a;
    box-shadow: 0 24px 56px rgba(23, 23, 26, .14);
    color: #fff;
    scrollbar-width: thin;
    scrollbar-color: #4a4a52 transparent;
}

.main-content .fc-companies-shell .filters-header {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.main-content .fc-companies-shell .fc-filter-kicker {
    margin-bottom: 13px;
    color: #7d7d86;
}

.main-content .fc-companies-shell .filters-header h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.main-content .fc-companies-shell .filters-header p {
    margin: 10px 0 0;
    color: #92929a;
    font-size: 13px;
    line-height: 1.5;
}

.main-content .fc-companies-shell .filters-content { padding-top: 22px; }
.main-content .fc-companies-shell .filters-form { gap: 12px; }

.main-content .fc-companies-shell .filter-group label {
    margin-bottom: 8px;
    color: #7d7d86;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.main-content .fc-companies-shell .filter-group input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 11px;
    padding: 13px 14px;
    outline: 0;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    font-size: 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.main-content .fc-companies-shell .filter-group input::placeholder { color: #707078; }
.main-content .fc-companies-shell .filter-group input:focus {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
}

.main-content .fc-companies-shell .filters-section .btn {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.main-content .fc-companies-shell .filters-section .btn-primary {
    border-color: #fff;
    background: #fff;
    color: #17171a;
}

.main-content .fc-companies-shell .filters-section .btn-primary:hover { background: #e9e9ec; }
.main-content .fc-companies-shell .filters-section .btn-secondary {
    border-color: rgba(255, 255, 255, .16);
    background: transparent;
    color: #b8b8bf;
}
.main-content .fc-companies-shell .filters-section .btn-secondary:hover { border-color: rgba(255, 255, 255, .34); color: #fff; }

.main-content .fc-companies-shell .filter-section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.main-content .fc-companies-shell .filter-section h3 {
    margin: 0 0 12px;
    border: 0;
    color: #7d7d86;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.main-content .fc-companies-shell .category-filters { gap: 4px; }
.main-content .fc-companies-shell .filter-item {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 10px;
    background: transparent;
    color: #c4c4ca;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.main-content .fc-companies-shell .filter-item:hover {
    border-color: transparent;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    transform: translateX(2px);
}

.main-content .fc-companies-shell .filter-item input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.main-content .fc-companies-shell .filter-index {
    color: #66666f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.main-content .fc-companies-shell .filter-label {
    min-width: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.main-content .fc-companies-shell .filter-count {
    min-width: 25px;
    border: 0;
    border-radius: 6px;
    padding: 3px 6px;
    background: rgba(255, 255, 255, .08);
    color: #8f8f98;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) {
    border-color: #fff;
    background: #fff;
    color: #17171a;
    transform: none;
}

.main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) .filter-index { color: #92929a; }
.main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) .filter-label { color: #17171a; font-weight: 700; }
.main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) .filter-count { background: #ededf0; color: #3f3f46; }
.main-content .fc-companies-shell .filter-item:focus-within { outline: 2px solid #fff; outline-offset: 2px; }

.main-content .fc-companies-shell .companies-layout,
.main-content .fc-companies-shell .companies-main,
.main-content .fc-companies-shell .companies-content { min-width: 0; margin: 0; }

.main-content .fc-companies-shell .companies-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 22px;
    border: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #dadaDE;
    background: transparent;
}

.main-content .fc-companies-shell .fc-results-kicker { margin: 0 0 7px; }
.main-content .fc-companies-shell .results-info p { margin: 0; color: #73737b; font-size: 14px; }
.main-content .fc-companies-shell .results-info strong { color: #17171a; font-size: 17px; }

.main-content .fc-companies-shell .view-toggle {
    display: inline-flex;
    gap: 3px;
    border: 1px solid #dadaDE;
    border-radius: 11px;
    padding: 3px;
    background: #fff;
}

.main-content .fc-companies-shell .view-btn {
    min-width: 74px;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    background: transparent;
    color: #777780;
    font-size: 11px;
    font-weight: 650;
}

.main-content .fc-companies-shell .view-btn:hover { color: #17171a; }
.main-content .fc-companies-shell .view-btn.active { background: #17171a; color: #fff; }

.main-content .fc-companies-shell .companies-content .companies-grid,
.main-content .fc-companies-shell #companies-container.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    align-items: stretch;
    text-align: left;
}

.main-content .fc-companies-shell .company-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 386px;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e1e5;
    border-radius: 20px;
    padding: 0;
    background: #fff;
    box-shadow: 0 10px 34px rgba(23, 23, 26, .035);
    text-align: left;
    transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
    animation: fcCardIn .5s cubic-bezier(.22, .61, .36, 1) both;
}

.main-content .fc-companies-shell .company-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #17171a 0 42%, #b4b4bc 42% 67%, #ededf0 67%);
    transform: scaleX(.16);
    transform-origin: left;
    transition: transform .3s ease;
}

.main-content .fc-companies-shell .company-card:nth-child(2n) { animation-delay: .045s; }
.main-content .fc-companies-shell .company-card:hover {
    border-color: #c8c8ce;
    box-shadow: 0 22px 52px rgba(23, 23, 26, .105);
    transform: translateY(-5px);
}
.main-content .fc-companies-shell .company-card:hover::before { transform: scaleX(1); }

.fc-company-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    border-bottom: 1px solid #ededf0;
    padding: 15px 22px 13px;
    background: #fafafb;
}

.fc-company-number {
    color: #a0a0a8;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
}

.fc-company-verified {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #696971;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fc-company-verified i {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #17171a;
    box-shadow: 0 0 0 3px rgba(23, 23, 26, .08);
}

.main-content .fc-companies-shell .company-card .company-header {
    display: flex;
    min-height: 0;
    align-items: center;
    gap: 17px;
    margin: 0;
    padding: 23px 23px 0;
    text-align: left;
}

.main-content .fc-companies-shell .company-card .company-logo {
    display: flex;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    border: 1px solid #e7e7ea;
    border-radius: 15px;
    padding: 10px;
    background: #fff;
}

.main-content .fc-companies-shell .company-card .company-logo img { width: 100%; height: 100%; object-fit: contain; }
.main-content .fc-companies-shell .company-card .logo-placeholder { border-radius: 8px; background: #f1f1f3; color: #696971; }
.main-content .fc-companies-shell .company-card .company-info { min-width: 0; }
.main-content .fc-companies-shell .company-card .company-name { margin: 0 0 7px; line-height: 1.12; overflow-wrap: anywhere; }
.main-content .fc-companies-shell .company-card .company-name a {
    color: #17171a;
    font-size: 21px;
    font-weight: 780;
    letter-spacing: -.035em;
    text-decoration: none;
}
.main-content .fc-companies-shell .company-card .company-name a:hover { text-decoration: none; color: #4a4a52; }
.main-content .fc-companies-shell .company-card .company-category { margin: 0; }
.main-content .fc-companies-shell .company-card .category-badge {
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #9999a1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .105em;
    line-height: 1.35;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.main-content .fc-companies-shell .company-card .category-badge::before { content: none; }

.main-content .fc-companies-shell .company-card .company-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
}

.main-content .fc-companies-shell .company-card .offers-count {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    gap: 3px;
    margin: 0 !important;
    border: 0;
    border-radius: 7px;
    padding: 5px 8px;
    background: #f1f1f3;
    color: #5e5e66;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
}

.main-content .fc-companies-shell .fc-stars { color: #f59e0b; font-size: 12px; letter-spacing: .5px; }

.main-content .fc-companies-shell #companies-container:not(.list-view) .company-description,
.main-content .fc-companies-shell .company-card .company-description {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    margin: 20px 23px 0;
    border-top: 1px solid #ededf0;
    padding: 18px 0 0;
    overflow: visible;
}

.main-content .fc-companies-shell .company-card .company-description p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #6f6f77;
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.main-content .fc-companies-shell #companies-container:not(.list-view) .company-footer,
.main-content .fc-companies-shell .company-card .company-footer {
    display: flex;
    min-height: 0;
    height: auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 19px 23px 0;
    border-top: 1px solid #ededf0;
    padding: 16px 0 22px;
}

.main-content .fc-companies-shell .company-card .website-link {
    border-bottom: 1px solid #dadaDE;
    padding-bottom: 2px;
    color: #777780;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}
.main-content .fc-companies-shell .company-card .website-link:hover { border-color: #17171a; color: #17171a; }

.main-content .fc-companies-shell .company-card .company-actions .btn,
.main-content .fc-companies-shell .company-card .company-actions .btn-primary {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid #17171a !important;
    border-radius: 9px;
    padding: 8px 11px !important;
    background: #17171a !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.main-content .fc-companies-shell .company-card .company-actions .btn::after { content: " ↗"; margin-left: 5px; transition: transform .18s ease; }
.main-content .fc-companies-shell .company-card .company-actions .btn:hover::after { transform: translate(2px, -2px); }

/* Компактный режим списка */
.main-content .fc-companies-shell #companies-container.list-view { grid-template-columns: minmax(0, 1fr); }
.main-content .fc-companies-shell #companies-container.list-view .company-card {
    display: grid;
    grid-template-columns: 68px minmax(250px, 1.25fr) minmax(180px, .9fr) auto;
    grid-template-areas: "number header description footer";
    gap: 0 20px;
    min-height: 154px;
    height: auto;
    align-items: center;
}
.main-content .fc-companies-shell #companies-container.list-view .fc-company-card-topline {
    grid-area: number;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid #ededf0;
    border-bottom: 0;
    padding: 18px 10px;
}
.main-content .fc-companies-shell #companies-container.list-view .fc-company-verified { font-size: 0; }
.main-content .fc-companies-shell #companies-container.list-view .company-header { grid-area: header; padding: 20px 0; }
.main-content .fc-companies-shell #companies-container.list-view .company-logo { width: 58px; height: 58px; flex-basis: 58px; }
.main-content .fc-companies-shell #companies-container.list-view .company-name a { font-size: 18px; }
.main-content .fc-companies-shell #companies-container.list-view .company-description {
    grid-area: description;
    align-self: center;
    margin: 0;
    border: 0;
    padding: 0;
}
.main-content .fc-companies-shell #companies-container.list-view .company-description p { -webkit-line-clamp: 3; }
.main-content .fc-companies-shell #companies-container.list-view .company-footer {
    grid-area: footer;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    border: 0;
    padding: 20px 22px 20px 0;
}

.main-content .fc-companies-shell .no-results {
    border: 1px solid #dadaDE;
    border-radius: 20px;
    padding: 64px 32px;
    background: #fff;
    text-align: center;
}

/* Информационный гид под каталогом */
.main-content .fc-companies-guide {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    border-top: 1px solid #dadaDE !important;
    padding: 84px 0 96px !important;
    background: linear-gradient(180deg, #fff 0, #f7f7f9 100%);
}

.main-content .fc-companies-guide::before {
    content: "GUIDE / 03";
    position: absolute;
    top: 48px;
    right: max(40px, calc((100vw - 1080px) / 2));
    color: #17171a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    opacity: .16;
}

.main-content .fc-companies-guide > .container { max-width: 1080px; }
.main-content .fc-companies-guide .seo-section {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    gap: 72px;
    margin: 0;
    border-top: 1px solid #dadaDE;
    padding: 48px 0;
}
.main-content .fc-companies-guide .seo-section:first-child { border-top: 0; padding-top: 0; }
.main-content .fc-companies-guide .seo-section-title {
    margin: 0;
    color: #17171a;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 780;
    letter-spacing: -.04em;
    line-height: 1.12;
}
.main-content .fc-companies-guide .seo-section > p,
.main-content .fc-companies-guide .seo-section > ul,
.main-content .fc-companies-guide .seo-section > ol,
.main-content .fc-companies-guide .seo-section > table,
.main-content .fc-companies-guide .seo-section > div:not(.seo-section-title) { grid-column: 2; }
.main-content .fc-companies-guide .seo-section > p { margin: 0 0 16px; color: #64646c; font-size: 15px; line-height: 1.75; }
.main-content .fc-companies-guide .seo-section > p + p { margin-top: -4px; }
.main-content .fc-companies-guide .seo-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}
.main-content .fc-companies-guide .seo-checklist li {
    position: relative;
    border: 1px solid #e2e2e6;
    border-radius: 13px;
    padding: 17px 17px 17px 42px;
    background: rgba(255, 255, 255, .76);
    color: #66666e;
    font-size: 13px;
    line-height: 1.55;
}
.main-content .fc-companies-guide .seo-checklist li::before {
    content: "✓";
    position: absolute;
    top: 17px;
    left: 17px;
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: #17171a;
    color: #fff;
    font-size: 9px;
}
.main-content .fc-companies-guide .seo-faq-section { display: grid; gap: 10px; }
.main-content .fc-companies-guide .seo-faq-item {
    border: 1px solid #e0e0e4;
    border-radius: 13px;
    padding: 0 18px;
    background: #fff;
}
.main-content .fc-companies-guide .seo-faq-item summary { padding: 17px 0; color: #17171a; font-size: 14px; font-weight: 700; cursor: pointer; }
.main-content .fc-companies-guide .seo-faq-item p { margin: 0; padding: 0 0 18px; color: #6f6f77; font-size: 13px; line-height: 1.65; }

@keyframes fcDirectoryRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fcDirectoryPulse {
    0% { opacity: .8; transform: scale(.7); }
    75%, 100% { opacity: 0; transform: scale(1.55); }
}
@keyframes fcRadarSpin { to { transform: rotate(360deg); } }
@keyframes fcRadarSpinReverse { to { transform: rotate(-360deg); } }
@keyframes fcRadarNode {
    0%, 100% { opacity: .35; transform: scale(.75); }
    50% { opacity: .9; transform: scale(1.1); }
}
@keyframes fcCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
    .fc-directory-hero { gap: 42px; }
    .main-content .fc-companies-shell .companies-page { grid-template-columns: 286px minmax(0, 1fr); gap: 26px; }
    .main-content .fc-companies-shell .filters-section { padding: 24px; }
    .main-content .fc-companies-shell #companies-container.list-view .company-card {
        grid-template-columns: 58px minmax(230px, 1fr) minmax(150px, .75fr) auto;
        gap: 0 14px;
    }
}

@media (max-width: 992px) {
    .fc-directory-hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); gap: 32px; padding-inline: 24px !important; }
    .main-content .fc-directory-hero h1 { font-size: clamp(42px, 6.2vw, 58px); }
    .fc-directory-radar { min-height: 306px; }
    .main-content .fc-companies-shell { padding-top: 38px; }
    .main-content .fc-companies-shell .companies-page { grid-template-columns: minmax(0, 1fr) !important; gap: 24px; }
    .main-content .fc-companies-shell .filters-section {
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        padding: 23px;
    }
    .main-content .fc-companies-shell .filters-header { padding-bottom: 17px; }
    .main-content .fc-companies-shell .filters-header h2 { font-size: 22px; }
    .fc-company-filter-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding: 15px 0 0;
        background: transparent;
        color: #fff;
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }
    .fc-filter-toggle-icon { background: rgba(255, 255, 255, .1); }
    .fc-filter-toggle-icon::before,
    .fc-filter-toggle-icon::after { background: #fff; }
    .fc-companies-shell.fc-filter-ready .filters-content:not(.is-open) { display: none; }
    .main-content .fc-companies-shell .filters-content { padding-top: 20px; }
}

@media (max-width: 820px) {
    .main-content .fc-companies-hero::before { mask-image: none; opacity: .7; }
    .main-content .fc-companies-hero::after { display: none; }
    .fc-directory-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 58px 62px !important; }
    .fc-directory-hero-copy { max-width: 720px; }
    .fc-directory-radar { display: none; }
    .main-content .fc-companies-guide .seo-section { grid-template-columns: 1fr; gap: 20px; }
    .main-content .fc-companies-guide .seo-section > p,
    .main-content .fc-companies-guide .seo-section > ul,
    .main-content .fc-companies-guide .seo-section > ol,
    .main-content .fc-companies-guide .seo-section > table,
    .main-content .fc-companies-guide .seo-section > div:not(.seo-section-title) { grid-column: 1; }
}

@media (max-width: 768px) {
    .main-content .fc-companies-shell .companies-content .companies-grid,
    .main-content .fc-companies-shell #companies-container.companies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        text-align: left !important;
    }
    .main-content .fc-companies-shell #companies-container.list-view .company-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }
    .main-content .fc-companies-shell #companies-container.list-view .fc-company-card-topline {
        width: 100%;
        min-height: 48px;
        flex-direction: row;
        border-right: 0;
        border-bottom: 1px solid #ededf0;
        padding: 14px 20px;
    }
    .main-content .fc-companies-shell #companies-container.list-view .fc-company-verified { font-size: 9px; }
    .main-content .fc-companies-shell #companies-container.list-view .company-header { width: 100%; padding: 22px 22px 0; }
    .main-content .fc-companies-shell #companies-container.list-view .company-description { width: calc(100% - 44px); margin: 18px 22px 0; border-top: 1px solid #ededf0; padding-top: 16px; }
    .main-content .fc-companies-shell #companies-container.list-view .company-footer { width: calc(100% - 44px); flex-direction: row; align-items: center; margin: 18px 22px 0; border-top: 1px solid #ededf0; padding: 16px 0 22px; }
}

@media (max-width: 680px) {
    .main-content .fc-directory-hero h1 { font-size: clamp(38px, 11vw, 48px); }
    .fc-directory-lead { margin-top: 21px; font-size: 15px; }
    .fc-directory-stats { margin-top: 29px; }
    .fc-directory-stats > div { padding: 0 14px; }
    .fc-directory-stats strong { font-size: 24px; }
    .main-content .fc-companies-shell .companies-content .companies-grid,
    .main-content .fc-companies-shell #companies-container.companies-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .main-content .fc-companies-shell .companies-header { align-items: center; }
    .main-content .fc-companies-shell .company-card { min-height: 360px; }
    .main-content .fc-companies-guide { padding-block: 64px 72px !important; }
    .main-content .fc-companies-guide::before { top: 28px; right: 24px; }
    .main-content .fc-companies-guide .seo-section { padding: 36px 0; }
    .main-content .fc-companies-guide .seo-checklist { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .main-content .fc-companies-hero > .fc-directory-hero { padding: 43px 24px 48px !important; }
    .fc-directory-eyebrow { margin-bottom: 16px; font-size: 10px; }
    .fc-directory-stats { grid-template-columns: repeat(3, 1fr); }
    .fc-directory-stats > div { padding: 0 10px; }
    .fc-directory-stats strong { font-size: 22px; }
    .fc-directory-stats span { font-size: 9px; line-height: 1.25; }
    .main-content .fc-companies-shell { padding-top: 26px; padding-bottom: 56px; }
    .main-content .fc-companies-shell .filters-section { padding: 20px; }
    .main-content .fc-companies-shell .companies-header { gap: 12px; padding-bottom: 16px; }
    .main-content .fc-companies-shell .fc-results-kicker { display: none; }
    .main-content .fc-companies-shell .view-btn { min-width: 60px; padding: 8px 9px; }
    .main-content .fc-companies-shell .company-card .company-header { padding-inline: 20px; }
    .main-content .fc-companies-shell .company-card .company-logo { width: 62px; height: 62px; flex-basis: 62px; }
    .main-content .fc-companies-shell .company-card .company-name a { font-size: 19px; }
    .main-content .fc-companies-shell .company-card .company-description { margin-inline: 20px; }
    .main-content .fc-companies-shell .company-card .company-footer { margin-inline: 20px; }
    .main-content .fc-companies-shell .company-card .company-actions .btn,
    .main-content .fc-companies-shell .company-card .company-actions .btn-primary { padding-inline: 10px !important; font-size: 9px; }
    .main-content .fc-companies-guide .seo-section-title { font-size: 27px; }
}

/* Inline-стили legacy находятся ниже </head>; дополнительная специфичность
   сохраняет page-level систему независимо от их порядка в документе. */
body.page-companies .main-content .fc-companies-shell .companies-page {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin: 0;
}
body.page-companies .main-content .fc-companies-shell .filter-item {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px;
    background: transparent;
}
body.page-companies .main-content .fc-companies-shell .filter-item:hover {
    border-color: transparent;
    background: rgba(255, 255, 255, .07);
}
body.page-companies .main-content .fc-companies-shell .filter-count {
    border-radius: 6px;
    padding: 3px 6px;
    background: rgba(255, 255, 255, .08);
    color: #8f8f98;
}
body.page-companies .main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) {
    border-color: #fff;
    background: #fff;
    color: #17171a;
}
body.page-companies .main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) .filter-label {
    color: #17171a;
    font-weight: 700;
}
body.page-companies .main-content .fc-companies-shell .filter-item:has(input[type="radio"]:checked) .filter-count {
    background: #ededf0;
    color: #3f3f46;
}

@media (max-width: 1120px) {
    body.page-companies .main-content .fc-companies-shell .companies-page {
        grid-template-columns: 286px minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 992px) {
    body.page-companies .main-content .fc-companies-shell .companies-page {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
        margin: 0;
    }
    body.page-companies .fc-company-filter-toggle {
        display: flex;
        border-color: rgba(255, 255, 255, .12);
        background: transparent;
        color: #fff;
    }
    body.page-companies .fc-filter-toggle-icon { background: rgba(255, 255, 255, .1); }
    body.page-companies .fc-filter-toggle-icon::before,
    body.page-companies .fc-filter-toggle-icon::after { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    .fc-directory-hero-copy,
    .fc-directory-radar,
    .main-content .fc-companies-shell .company-card,
    .fc-directory-live::after,
    .fc-radar-ring-1,
    .fc-radar-ring-2,
    .fc-radar-node circle:last-child {
        animation: none !important;
    }
    .main-content .fc-companies-shell .company-card,
    .main-content .fc-companies-shell .filter-item { transition: none; }
}
