:root {
    --site-navy: #10213f;
    --site-navy-2: #172b4e;
    --site-blue: #2478ee;
    --site-blue-2: #4594ff;
    --site-green: #2dbe60;
    --site-bg: #f4f8fd;
    --site-card: #ffffff;
    --site-text: #14213d;
    --site-muted: #64748b;
    --site-line: #dce8f7;
    --site-radius: 16px;
    --site-shadow: 0 14px 38px rgba(30, 81, 150, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--site-text);
    background: var(--site-bg);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--site-blue); }
.site-container, .content {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    margin-inline: auto;
}
.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;
}

/* Header */
.site-shell { position: relative; z-index: 1000; background: #fff; }
.site-shell.header { float: none; width: 100%; height: auto; min-width: 0; margin: 0; padding: 0; }
.site-topbar { min-height: 36px; background: #f1f6fc; color: #60728e; font-size: 12px; }
.site-topbar__inner, .site-topbar__left, .site-topbar__contacts { display: flex; align-items: center; }
.site-topbar__inner { min-height: 36px; justify-content: space-between; gap: 24px; }
.site-topbar__left, .site-topbar__contacts { gap: 28px; }
.site-topbar__coverage i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border: 2px solid var(--site-blue-2);
    border-radius: 50%;
}
.site-topbar a { display: inline-flex; align-items: center; gap: 7px; color: #425775; text-decoration: none; }
.site-topbar a:hover { color: var(--site-blue); }
.site-topbar svg { width: 15px; height: 15px; fill: var(--site-blue); }
.site-topbar__messengers { display: inline-flex; align-items: center; gap: 6px; margin-left: -18px; }
.site-topbar__messengers .messenger-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; }
.site-topbar__messengers .messenger-icon img { display: block; width: 24px; height: 24px; max-width: none; object-fit: contain; }
.site-topbar__messengers .messenger-icon svg { width: 24px; height: 24px; }
.site-nav__mobile-messengers { display: none; align-items: center; gap: 7px; margin-left: auto; }
.site-nav__mobile-messengers .messenger-icon { display: grid; place-items: center; width: 31px; height: 31px; }
.site-nav__mobile-messengers .messenger-icon img { display: block; width: 28px; height: 28px; max-width: none; object-fit: contain; }
.site-nav__mobile-messengers svg { width: 28px; height: 28px; }
.messenger-icon--max svg { fill: #6f5cff; }
.messenger-icon--max svg path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.messenger-icon--tg svg { fill: #2aabee; }
.messenger-icon--tg svg path { fill: #fff; }
.site-nav-wrap { background: #fff; border-bottom: 1px solid #edf2f8; box-shadow: 0 2px 12px rgba(24, 56, 96, .04); }
.site-nav { display: flex; align-items: center; min-height: 74px; gap: 28px; }
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 9px; color: var(--site-navy); text-decoration: none; }
.site-shell .site-nav .header__logo { float: none; width: auto; height: auto; margin: 0; padding: 0; }
.site-logo__mark { display: block; flex: 0 0 52px; width: 52px; height: 52px; max-width: none; object-fit: contain; }
.site-logo__text { display: grid; line-height: .95; letter-spacing: .02em; }
.site-logo__text strong { font-size: 20px; font-weight: 800; }
.site-logo__text small { margin-top: 5px; color: var(--site-blue); font-size: 15px; font-weight: 800; }
.site-menu { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; gap: clamp(13px, 1.5vw, 24px); }
.site-shell .site-menu.header__menu { position: static; float: none; width: auto; height: auto; margin: 0; padding: 0; background: transparent; }
.site-menu > a, .site-menu summary { color: #263956; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.site-menu > a:hover, .site-menu summary:hover { color: var(--site-blue); }
.site-menu__more { position: relative; }
.site-menu__more summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.site-menu__more summary::after { content: "\2304"; color: var(--site-blue); }
.site-menu__more summary::-webkit-details-marker { display: none; }
.site-menu__dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    display: grid;
    min-width: 230px;
    padding: 10px;
    transform: translateX(-50%);
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--site-shadow);
}
.site-menu__dropdown a { padding: 9px 11px; border-radius: 8px; color: #263956; text-decoration: none; }
.site-menu__dropdown a:hover { color: var(--site-blue); background: #f4f8ff; }
.site-menu .site-menu__cta {
    padding: 11px 17px;
    border: 1px solid #49c774;
    border-radius: 9px;
    color: #143425;
    font-weight: 700;
}
.site-menu .site-menu__cta:hover { color: #fff; background: var(--site-green); }
.site-nav__toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; border-radius: 10px; background: #eef5ff; }
.site-shell .site-nav__toggle.header__mobileBtn { position: static; float: none; margin: 0; background-image: none; }
.site-shell .site-nav__toggle.header__mobileBtn::before, .site-shell .site-nav__toggle.header__mobileBtn::after { display: none !important; content: none !important; background: none !important; }
.site-nav__toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--site-navy); transition: .2s ease; }

/* Buttons */
.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--site-blue), #1766dc);
    box-shadow: 0 9px 18px rgba(36, 120, 238, .22);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.site-button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 22px rgba(36, 120, 238, .29); }
.site-button--white { justify-content: space-between; min-width: 330px; background: #fff; color: var(--site-navy); box-shadow: 0 8px 20px rgba(5, 52, 108, .16); }
.site-button--white:hover { color: var(--site-blue); background: #fff; }

/* Shared consultation */
.site-consult { padding: 28px 0; background: var(--site-bg); }
.site-consult__inner {
    position: relative;
    display: grid;
    grid-template-columns: 39% 1fr;
    align-items: center;
    min-height: 205px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(115deg, #176dea 4%, #107dcc 42%, #33bd84 100%);
    box-shadow: var(--site-shadow);
    color: #fff;
}
.site-consult__inner::before { content: ""; position: absolute; left: -40px; top: -70px; width: 310px; height: 310px; border-radius: 50%; background: rgba(255,255,255,.08); }
.site-consult__person { align-self: stretch; position: relative; min-height: 205px; }
.site-consult__person span { position: absolute; left: 48px; top: 35px; z-index: 2; padding: 8px 18px; border-radius: 20px; background: rgba(255,255,255,.22); font-size: 12px; }
.site-consult__person img {
    /* position: absolute; */
    z-index: 1;
    left: 115px;
    bottom: -56px;
    /* width: 265px; */
    max-height: 280px;
    object-fit: contain;
    object-position: bottom;
}
.site-consult__content { position: relative; z-index: 2; padding: 30px 44px 30px 12px; }
.site-consult__content h2 { margin: 0 0 2px; color: #fff; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; }
.site-consult__content p { margin: 0 0 18px; font-size: 17px; }
.site-consult__actions { display: flex; align-items: center; gap: 14px; }
.site-social { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; color: #fff; font-weight: 800; text-decoration: none; }
.site-social--wa { background: #28c76f; }
.site-social--max { background: #6f5cff; font-size: 10px; letter-spacing: -.03em; }
.site-social--tg { background: #2da8e5; font-size: 22px; }
.site-social--tg svg { width: 28px; height: 28px; fill: #fff; }

/* Footer */
.site-footer { padding: 42px 0 24px; background: linear-gradient(135deg, #10223f, #0d1a31); color: #aebbd0; }
.site-footer.footer { float: none; width: 100%; height: auto; min-width: 0; margin: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 38px; }
.site-logo--footer { color: #fff; }
.site-footer__brand p { margin: 13px 0 18px; color: #c5d1e3; }
.site-footer__brand small { color: #8999b2; line-height: 1.6; }
.site-footer__column { display: flex; flex-direction: column; gap: 6px; }
.site-footer__column h3 { margin: 5px 0 9px; color: #fff; font-size: 14px; }
.site-footer__column a, .site-footer__bottom a { color: #aebbd0; font-size: 12px; text-decoration: none; }
.site-footer__column a:hover, .site-footer__bottom a:hover { color: #fff; }
.site-footer__bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.site-footer__bottom span, .site-footer__bottom strong { display: block; }
.site-footer__bottom strong { margin-top: 4px; color: #fff; font-size: 12px; font-weight: 500; }
.cookie-banner { position: fixed; z-index: 1100; right: 18px; bottom: 18px; display: flex; align-items: center; max-width: 580px; padding: 13px 14px 13px 17px; border: 1px solid var(--site-line); border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(15, 37, 67, .18); color: #52627a; font-size: 11px; }
.cookie-banner button { margin-left: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--site-blue); color: #fff; cursor: pointer; }

/* New home */
.home-redesign { overflow: hidden; background: linear-gradient(180deg, #f7faff 0, #f3f8fe 100%); }
.home-hero { position: relative; min-height: 470px; padding: 42px 0 72px; background: #edf5fe url('/img/redesign-hero-optimized.jpg') center/cover no-repeat; }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, rgba(243,248,254,.92)); pointer-events: none; }
.home-hero__content { position: relative; z-index: 20; }
.home-hero__copy { max-width: 650px; }
.home-hero h1 { max-width: 650px; margin: 0 0 13px; color: var(--site-navy); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
.home-hero h1 span { display: block; }
.home-hero__title-main { font-size: clamp(36px, 3.65vw, 52px); color: var(--site-navy); }
.home-hero__title-accent { margin-top: 3px; color: var(--site-blue); font-size: clamp(31px, 3.25vw, 46px); letter-spacing: -.025em; }
.home-hero__lead { max-width: 540px; margin: 0; color: #557094; font-size: 19px; line-height: 1.5; }
.home-benefits { display: flex; gap: 12px; margin-top: 24px; }
.home-benefit { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.9); border-radius: 12px; background: rgba(255,255,255,.72); box-shadow: 0 8px 20px rgba(43,91,148,.06); color: #304663; font-size: 12px; line-height: 1.25; backdrop-filter: blur(6px); }
.home-benefit svg { flex: 0 0 auto; width: 28px; height: 28px; fill: none; stroke: var(--site-blue); stroke-width: 2; }
.home-benefit--green svg { stroke: var(--site-green); }
.company-search { position: relative; z-index: 40; margin-top: 27px; padding: 20px 24px 22px; border: 1px solid rgba(218,231,247,.95); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 18px 45px rgba(32,85,153,.15); backdrop-filter: blur(12px); }
.company-search__label { display: block; margin-bottom: 10px; color: var(--site-navy); font-size: 15px; font-weight: 750; }
.company-search__row { display: block; width: 100%; }
.company-search__field { position: relative; z-index: 50; }
.company-search #party { width: 100%; height: 58px; padding: 0 54px 0 20px; border: 1.5px solid #78aafa; border-radius: 10px; outline: 0; background: #fff; color: var(--site-text); font: inherit; font-size: 16px; box-shadow: inset 0 1px 2px rgba(30,70,130,.04); }
.company-search__field::after { content: "\2315"; position: absolute; z-index: 3; right: 20px; top: 50%; transform: translateY(-52%); color: var(--site-blue); font-size: 27px; line-height: 1; pointer-events: none; }
.company-search #party:focus { border-color: var(--site-blue); box-shadow: 0 0 0 4px rgba(36,120,238,.1); }
.company-search__examples { margin-top: 8px; color: #6c7f9d; font-size: 12px; }
.company-search__examples button { padding: 0; border: 0; border-bottom: 1px dashed #7896bc; background: none; color: #50709c; cursor: pointer; }

/* DaData suggestions: shared across every search page */
.suggestions-wrapper { position: relative !important; z-index: 100 !important; display: block !important; width: 100% !important; }
.company-search__field > .suggestions-wrapper { position: absolute !important; top: 100% !important; right: 0 !important; left: 0 !important; }
.suggestions-suggestions {
    position: absolute !important;
    top: 7px !important;
    left: 0 !important;
    z-index: 100000 !important;
    width: 100% !important;
    overflow: hidden !important;
    padding: 7px !important;
    border: 1px solid #cfe0f3 !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.99) !important;
    box-shadow: 0 18px 40px rgba(27,67,119,.17) !important;
    color: var(--site-text) !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}
.suggestions-suggestion { position: relative; padding: 11px 13px 11px 42px !important; border: 0 !important; border-radius: 8px !important; color: #31445f !important; font-size: 13px !important; line-height: 1.38 !important; cursor: pointer !important; transition: background .15s ease, color .15s ease; }
.suggestions-suggestion::before { content: "\2315"; position: absolute; left: 14px; top: 11px; color: #74a9ef; font-size: 18px; }
.suggestions-suggestion + .suggestions-suggestion { margin-top: 2px; }
.suggestions-suggestion:hover, .suggestions-selected { background: #edf5ff !important; color: var(--site-blue) !important; }
.suggestions-value, .suggestions-suggestion strong { color: var(--site-navy) !important; font-weight: 700 !important; }
.suggestions-subtext, .suggestions-hint { color: #7b8ba2 !important; font-size: 11px !important; }
.suggestions-promo { padding: 7px 12px 3px !important; color: #a3afbf !important; font-size: 9px !important; text-align: right !important; }
.org-created-date { margin-top: 7px; color: #60728e; font-size: 12px; }
.date-validation-error { min-height: 16px; margin-top: 5px; color: #d14343; font-size: 11px; line-height: 1.3; }
.pledge__form-field, .pledge__form, .order__form, .order_egrul, .main__order_egrul { overflow: visible !important; }
.pledge__form-field { position: relative; z-index: 30; }
.home-quick { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: -34px; }
.home-quick a { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 54px; border: 1px solid var(--site-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 25px rgba(36,76,132,.07); color: #263b5d; font-size: 13px; font-weight: 600; text-decoration: none; }
.home-quick a:hover { color: var(--site-blue); border-color: #a7c8fa; transform: translateY(-1px); }
.home-quick svg { width: 23px; height: 23px; fill: none; stroke: var(--site-blue); stroke-width: 1.8; }
.partner-banner { padding: 14px 0 0; background: var(--site-bg); }
.inner-redesign .partner-banner,
.inner-redesign .partner-banner.standalone-content-card { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 14px 0 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--site-bg) !important; box-shadow: none !important; }
.partner-banner > .site-container { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.partner-app-ad { display: block; width: 100%; height: auto; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: transparent; line-height: 0; box-shadow: none; }
.partner-app-ad img { display: block; width: 100% !important; height: auto !important; max-width: none !important; max-height: none; margin: 0; padding: 0; border: 0; }
.partner-app-ad:focus-visible { outline: 3px solid rgba(36,120,238,.35); outline-offset: 3px; }
.seo-source-note { margin: 10px 0 18px; color: #526783; font-size: 14px; line-height: 1.55; }
.seo-source-note a { color: var(--site-blue); font-weight: 600; }
.home-main { padding: 32px 0 22px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 20px; }
.home-card { border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-card); box-shadow: var(--site-shadow); }
.home-about { padding: 26px 28px; }
.home-about__title-row { display: flex; justify-content: space-between; gap: 24px; }
.home-about h2, .home-steps h2 { margin: 0; color: var(--site-navy); font-size: 25px; line-height: 1.3; }
.home-about h2 a { color: var(--site-blue); text-decoration: none; }
.home-about__subtitle { margin: 2px 0 20px; color: #50627e; }
.official-badge { display: flex; align-items: center; flex: 0 0 220px; align-self: flex-start; gap: 10px; padding: 10px 13px; border: 1px solid #edf0d7; border-radius: 11px; background: #fffdf1; color: #53617a; font-size: 11px; }
.official-badge b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f0cf55; color: #674e00; font-size: 18px; }
.home-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 24px; }
.home-fact { display: flex; align-items: center; gap: 9px; color: #304663; font-size: 12px; line-height: 1.35; }
.home-fact i { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 9px; background: #eaf9ee; color: var(--site-green); font-size: 18px; font-style: normal; }
.home-about h3, .home-sidebar h3 { margin: 20px 0 12px; color: var(--site-navy); font-size: 18px; }
.extract-contents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.extract-item { display: flex; align-items: center; min-height: 56px; padding: 12px 14px; border-radius: 10px; background: #f3f7fc; color: #2a3d5b; font-size: 12px; }
.extract-item::before { content: "\2713"; display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; margin-right: 10px; border-radius: 8px; background: #fff; color: var(--site-blue); font-weight: 800; }
.home-why { margin-top: 22px; padding: 20px 22px; border-radius: 13px; background: linear-gradient(100deg, #f0faf3, #eaf7ee); }
.home-why h3 { margin-top: 0; }
.home-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; }
.home-why__grid span { color: #3b4d66; font-size: 12px; }
.home-why__grid span::before { content: "\2713"; display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 9px; border: 1px solid #54cb74; border-radius: 50%; color: var(--site-green); font-size: 12px; font-weight: 800; }
.home-sidebar { display: grid; gap: 18px; }
.home-sidebar .home-card { padding: 18px; }
.home-sidebar h3 { margin-top: 0; font-size: 15px; }
.useful-links { display: grid; gap: 3px; }
.useful-links a { display: flex; justify-content: space-between; padding: 8px 0; color: var(--site-blue); font-size: 12px; text-decoration: none; }
.useful-links a::after { content: "\203A"; font-size: 20px; line-height: 1; }
.home-sidebar__note { margin: 12px -18px -18px; padding: 10px 18px; border-top: 1px solid var(--site-line); color: #98a4b5; font-size: 10px; }
.pdf-preview { display: block; margin: 8px auto 14px; max-height: 310px; box-shadow: 0 7px 20px rgba(20,44,80,.15); object-fit: contain; }
.pdf-link { display: flex; justify-content: center; padding: 9px; border: 1px solid var(--site-blue); border-radius: 8px; color: var(--site-blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.home-steps { margin-top: 22px; padding: 26px 28px; }
.home-steps__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.home-steps__time { color: #50627e; font-size: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 82px; margin-top: 22px; counter-reset: step; }
.step-card { position: relative; min-height: 170px; padding: 24px 18px 18px; border: 1px solid var(--site-line); border-radius: 15px; text-align: center; counter-increment: step; }
.step-card::before { content: counter(step); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #3c82f5, #70a8ff); color: #fff; font-size: 21px; font-weight: 800; }
.step-card:not(:last-child)::after { content: "\203A"; position: absolute; right: -52px; top: 60px; color: var(--site-blue); font-size: 38px; font-weight: 300; }
.step-card__icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 13px; border-radius: 17px; background: #edf5ff; color: var(--site-blue); font-size: 30px; }
.step-card strong { display: block; margin-bottom: 3px; color: var(--site-navy); font-size: 14px; }
.step-card span { display: block; color: #65758c; font-size: 12px; line-height: 1.35; }

/* Search result/payment inside new home */
.home-result-wrap { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--site-line); }
.home-result-wrap[style*="block"] { display: block !important; }
.home-result-wrap .result table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; border: 0; border-spacing: 0; table-layout: auto; }
.home-result-wrap .result tbody, .home-result-wrap .result tr { display: contents; }
.home-result-wrap .result th, .home-result-wrap .result td { padding: 12px; border: 1px solid var(--site-line); border-radius: 9px; background: #f8fbff; text-align: left; vertical-align: top; }
.home-result-wrap .cell { margin: 0 0 5px; color: #718198; font-size: 10px; text-transform: uppercase; }
.home-result-wrap p { margin: 0; }
.home-payment { display: none; margin-top: 12px; padding: 16px; border-radius: 11px; background: #f4f8ff; }
.home-payment[style*="block"] { display: grid !important; grid-template-columns: minmax(260px, 1fr) minmax(260px, 300px); gap: 18px; align-items: end; }
.home-payment label { display: grid; gap: 5px; color: #54677f; font-size: 12px; }
.home-payment #mail { height: 46px; padding: 0 13px; border: 1px solid #bed1ea; border-radius: 8px; background: #fff; font: inherit; }
.home-payment > div:last-child { display: grid; gap: 9px; min-width: 0; }
.home-payment__accept { display: flex !important; align-items: center; gap: 8px; min-height: 20px; color: #64748b; font-size: 11px; line-height: 1.3; }
.home-payment__accept input { width: 17px; height: 17px; accent-color: var(--site-blue); }
.home-payment__actions { display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.home-payment .btn-pay-egrul { width: 150px; min-width: 150px; min-height: 46px; border: 0; border-radius: 9px; background: var(--site-blue); color: #fff; font-weight: 650; cursor: pointer; }

/* Homepage composition reused by every inner page */
.inner-hero { position: relative; overflow: visible; padding: 38px 0 26px; background: #edf5fe url('/img/redesign-hero-optimized.jpg') center/cover no-repeat; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,250,255,.97) 0%, rgba(244,249,255,.88) 54%, rgba(244,249,255,.18) 100%); pointer-events: none; }
.inner-hero__content { position: relative; z-index: 3; }
.inner-hero__copy { max-width: 670px; }
.inner-hero__title { max-width: 670px; color: var(--site-navy); font-size: clamp(34px, 3.5vw, 50px); font-weight: 400; line-height: 1.1; letter-spacing: -.032em; }
.inner-hero__copy > p { max-width: 560px; margin: 10px 0 0; color: #557094; font-size: 13px; }
.inner-hero .home-benefits { margin-top: 19px; }
.inner-hero__search-slot { position: relative; z-index: 20; margin-top: 24px; }
.inner-hero__quick-slot { position: relative; z-index: 10; margin-top: 17px; }
.inner-hero .company-search { margin-top: 0; }
.inner-search-fallback #inner-party-search { width: 100%; height: 58px; padding: 0 54px 0 20px; border: 1.5px solid #78aafa; border-radius: 10px; outline: 0; background: #fff; color: var(--site-text); font: inherit; font-size: 16px; }
.inner-search-fallback #inner-party-search:focus { border-color: var(--site-blue); box-shadow: 0 0 0 4px rgba(36,120,238,.1); }
.inner-hero .inner-default-quick.home-quick { width: 100%; margin: 0; }

.inner-hero__search-slot .main__order_egrul { width: 100%; max-width: none; margin: 0; padding: 0; }
.inner-hero__search-slot .order_egrul._main { display: block; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 20px 24px 22px; border: 1px solid rgba(218,231,247,.95); border-radius: 17px; background: rgba(255,255,255,.95); box-shadow: 0 18px 45px rgba(32,85,153,.15); }
.inner-hero__search-slot .order__img_egrul { display: none !important; }
.inner-hero__search-slot .order__form, .inner-hero__search-slot .pledge__form, .inner-hero__search-slot .pledge__form-block, .inner-hero__search-slot .pledge__form-field { width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }
.inner-hero__search-slot .inner-search-source-title { display: none; }
.inner-hero__search-slot .pledge__form-field-iconsearch { display: none; }
.inner-hero__search-slot .pledge__form-field-label, .inner-hero__search-slot .order__form-step { position: static; display: block; width: auto; height: auto; margin: 0 0 10px; transform: none; color: var(--site-navy); font-size: 15px; font-weight: 750; line-height: 1.4; opacity: 1; }
.inner-hero__search-slot input.pledge__form-field-input, .inner-hero__search-slot input#party { width: 100%; max-width: none; height: 58px; margin: 0; padding: 0 52px 0 20px; border: 1.5px solid #78aafa; border-radius: 10px; outline: 0; background: #fff; color: var(--site-text); font: inherit; font-size: 16px; box-shadow: inset 0 1px 2px rgba(30,70,130,.04); }
.inner-hero__search-slot input.pledge__form-field-input:focus, .inner-hero__search-slot input#party:focus { border-color: var(--site-blue); box-shadow: 0 0 0 4px rgba(36,120,238,.1); }
.inner-hero__search-slot .pledge__form-field::after { content: "\2315"; position: absolute; z-index: 3; right: 20px; top: 47px; color: var(--site-blue); font-size: 27px; line-height: 1; pointer-events: none; }
.inner-hero__search-slot .pledge__form-examples { margin-top: 8px; color: #6c7f9d; font-size: 12px; }
.inner-hero__search-slot .pledge__form-examples .a { color: #50709c; border-bottom: 1px dashed #7896bc; text-decoration: none; cursor: pointer; }
.inner-hero__search-slot .order__form-btns, .inner-hero__search-slot .order__mobile-links, .inner-hero__search-slot .order__form-footerText_egrul, .inner-hero__search-slot .order__services { display: none !important; }
.inner-hero__search-slot .pledge__results { width: 100%; margin-top: 18px; padding-top: 16px; overflow: visible; border-top: 1px solid var(--site-line); }
.inner-hero__search-slot .result table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; border: 0; border-spacing: 0; table-layout: auto; }
.inner-hero__search-slot .result tbody, .inner-hero__search-slot .result tr { display: contents; }
.inner-hero__search-slot .result th, .inner-hero__search-slot .result td { padding: 12px; width: auto; border: 1px solid var(--site-line); border-radius: 9px; background: #f8fbff; text-align: left; vertical-align: top; }
.inner-hero__search-slot .result .cell, .inner-hero__search-slot .result th > p:first-child, .inner-hero__search-slot .result td > p:first-child { margin: 0 0 5px !important; padding: 0 !important; color: #718198 !important; font-size: 10px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: uppercase; }
.inner-hero__search-slot .result p { margin-top: 0; margin-bottom: 0; }
.inner-hero__search-slot .input-mail-egrul { width: 100%; margin-top: 12px; padding: 16px; border: 0; border-radius: 11px; background: #f4f8ff; box-shadow: none; }
.inner-hero__search-slot .input-mail-egrul > table, .inner-hero__search-slot .input-mail-egrul > table > tbody { display: block; width: 100%; table-layout: auto; }
.inner-hero__search-slot .input-mail-egrul > table > tbody > tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; gap: 14px; width: 100%; }
.inner-hero__search-slot .input-mail-egrul th { display: grid; align-content: end; gap: 6px; width: auto !important; min-width: 0; padding: 0; vertical-align: bottom; text-align: left; }
.inner-hero__search-slot .input-mail-egrul th.aferta { display: flex; align-items: center; gap: 8px; min-height: 46px; font-size: 11px !important; line-height: 1.35; }
.inner-hero__search-slot .input-mail-egrul th.aferta input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--site-blue); }
.inner-hero__search-slot .input-mail-egrul th.aferta a { min-width: 0; }
.inner-hero__search-slot .input-mail-egrul th.aferta br { display: none; }
.inner-hero__search-slot .input-mail-egrul input[type="text"], .inner-hero__search-slot .input-mail-egrul input[type="email"], .inner-hero__search-slot .input-mail-egrul input[type="date"] { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #bed1ea; border-radius: 8px; background: #fff; font: inherit; }
.inner-hero__search-slot .input-mail-egrul [id^="sendData-btn"] { width: auto !important; min-height: 0; }
.inner-hero__search-slot .btn-pay-egrul, .inner-hero__search-slot button[id^="sendData"] { width: 100%; min-width: 0; min-height: 46px; border: 0; border-radius: 9px; background: var(--site-blue); color: #fff; font-weight: 650; cursor: pointer; }
.inner-hero__search-slot .historical-order-form[style*="block"] { display: block !important; }
.historical-order-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px 20px; }
.historical-order-form__field { display: grid; align-content: start; gap: 7px; min-width: 0; color: #54677f; font-size: 12px; }
.historical-order-form__field > span:first-child { min-height: 34px; line-height: 1.4; }
.historical-order-form__consent { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #dce8f7; border-radius: 9px; background: #fff; color: #64748b; font-size: 11px; line-height: 1.4; }
.historical-order-form__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--site-blue); }
.historical-order-form__submit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 260px); align-items: center; justify-content: end; gap: 12px; min-height: 46px; }
.historical-order-form__message { min-width: 0; color: #d14343; font-size: 11px; line-height: 1.35; }
.historical-order-form__message:empty { display: none; }

.inner-quick-plans { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.inner-quick-plans > .planItem__container { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 13px; width: 100% !important; max-width: none !important; margin: 0 !important; }
.inner-quick-plans .planItem { width: auto !important; min-width: 0 !important; min-height: 54px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: #fff !important; box-shadow: 0 10px 25px rgba(36,76,132,.07) !important; }
.inner-quick-plans .planItem > a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 14px; border: 1px solid var(--site-line); border-radius: 12px; color: #263b5d; font-size: 13px; font-weight: 650; text-align: center; text-decoration: none; }
.inner-quick-plans .planItem h3 { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; }

.inner-redesign .pledge.pageArrest, .inner-redesign .privacy, .inner-redesign .contacts { padding-top: 30px; background: var(--site-bg); }
.inner-redesign .pledge__main { display: grid !important; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 20px; width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin: 0 auto; }
.inner-redesign .pledge__content { width: 100% !important; min-width: 0; padding: 26px 28px !important; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.inner-redesign .pledge__content .pledge__single, .inner-redesign .pledge__content .pledge__instruction { width: 100% !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.inner-redesign .pledge__content .pledge__title { margin-top: 0; font-size: clamp(28px, 3vw, 38px); }
.inner-redesign .pledge__content h2 { margin-top: 26px; font-size: 22px; }
.inner-redesign .pledge__content h3 { color: var(--site-navy); }
.inner-redesign .pledge__content p, .inner-redesign .pledge__content li { color: #40516a; line-height: 1.65; }
.inner-redesign .pledge__sidebar { width: 100% !important; min-width: 0; margin: 0 !important; }
.inner-redesign .pledge__sidebar-wrapper, .inner-redesign .pledge__sidebar-statistic { margin: 0 0 18px !important; padding: 18px !important; border: 1px solid var(--site-line) !important; border-radius: var(--site-radius) !important; background: #fff !important; box-shadow: var(--site-shadow) !important; }
.inner-redesign .pledge__sidebar-title { margin: 0 0 12px; color: var(--site-navy); font-size: 15px; font-weight: 750; }
.inner-redesign .pledge__sidebar-nav a, .inner-redesign .pledge__sidebar-link { display: flex; justify-content: space-between; padding: 8px 0; color: var(--site-blue); font-size: 12px; text-decoration: none; }
.inner-redesign .pledge__sidebar-confirmation { margin: 12px -18px -18px !important; padding: 10px 18px !important; border-top: 1px solid var(--site-line); color: #98a4b5; font-size: 10px; }
.inner-redesign .privacy > .content, .inner-redesign .contacts__wrap { width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin-inline: auto; padding: 28px !important; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.inner-redesign .privacy > .content .privacy__title, .inner-redesign .contacts__title, .inner-redesign .privacy > h1 { margin-top: 0; color: var(--site-navy) !important; font-size: clamp(28px, 3vw, 38px) !important; line-height: 1.18; }
.inner-redesign .privacy .rules__wrap { padding: 0; border: 0; background: transparent; box-shadow: none; }
.inner-redesign .contacts__top, .inner-redesign .contacts__breadcrumbs, .inner-redesign .privacy__contentBreadcrumbs { display: none; }
.inner-redesign .contacts__content { width: 100%; padding: 0; }
.inner-redesign .contacts__media { border-radius: 14px; overflow: hidden; }
.inner-redesign .plans__container > .plans { width: 100%; max-width: none; }
.inner-redesign .plans__container > .plans > .planItem__container { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.inner-redesign .plans__container > .plans .planItem { min-width: 0; }
.inner-shared-steps { margin-top: 30px; margin-bottom: 8px; }
.payment-status-first .privacy { position: relative; z-index: 5; padding-top: 24px !important; padding-bottom: 24px !important; }
.inner-redesign .standalone-content-card { width: min(1180px, calc(100% - 40px)) !important; max-width: 1180px !important; margin: 30px auto !important; padding: 28px !important; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); color: #40516a !important; font-family: Inter, "Segoe UI", Arial, sans-serif !important; }
.inner-redesign .standalone-content-card h1 { margin-top: 0 !important; color: var(--site-navy) !important; font-size: clamp(28px, 3vw, 38px) !important; line-height: 1.18; }
.inner-redesign .standalone-content-card h2, .inner-redesign .standalone-content-card h3 { color: var(--site-navy) !important; }

@media (max-width: 900px) {
    .inner-redesign .pledge__main { grid-template-columns: 1fr; width: min(100% - 28px, 1180px); }
    .inner-redesign .pledge__sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .inner-hero { background-position: 64% center; }
    .inner-hero::before { background: linear-gradient(90deg, rgba(246,250,255,.98), rgba(244,249,255,.88) 72%, rgba(244,249,255,.38)); }
}

@media (max-width: 640px) {
    .inner-hero { padding: 29px 0 20px; background-position: 70% center; }
    .inner-hero__title { font-size: 32px; }
    .inner-hero__copy > p { font-size: 15px; }
    .inner-hero__search-slot .order_egrul._main, .inner-search-fallback { padding: 17px !important; }
    .inner-hero__search-slot input.pledge__form-field-input, .inner-hero__search-slot input#party, .inner-search-fallback #inner-party-search { height: 54px; font-size: 15px; }
    .inner-hero__search-slot .result table { grid-template-columns: 1fr; }
    .inner-hero__search-slot .result tbody, .inner-hero__search-slot .result tr { display: contents; }
    .inner-hero__search-slot .result th, .inner-hero__search-slot .result td { display: block; width: 100%; }
    .inner-hero__search-slot .result th, .inner-hero__search-slot .result td { margin-bottom: 0; }
    .inner-hero__search-slot .input-mail-egrul { padding: 14px; }
    .inner-hero__search-slot .input-mail-egrul > table, .inner-hero__search-slot .input-mail-egrul > table > tbody { display: block; width: 100% !important; }
    .inner-hero__search-slot .input-mail-egrul > table > tbody > tr { grid-template-columns: 1fr; gap: 13px; }
    .inner-hero__search-slot .input-mail-egrul th { width: 100% !important; padding: 0; }
    .inner-hero__search-slot .input-mail-egrul th.aferta { min-height: 28px; }
    .historical-order-form__grid { grid-template-columns: 1fr; gap: 13px; }
    .historical-order-form__field > span:first-child { min-height: 0; }
    .historical-order-form__submit { grid-template-columns: 1fr; gap: 8px; }
    .inner-redesign .pledge__content, .inner-redesign .privacy > .content, .inner-redesign .contacts__wrap { width: min(100% - 24px, 1180px); padding: 20px 17px !important; }
    .inner-redesign .standalone-content-card { width: min(100% - 24px, 1180px) !important; padding: 20px 17px !important; }
    .inner-redesign .pledge__sidebar { grid-template-columns: 1fr; }
    .inner-redesign .plans__container > .plans > .planItem__container { grid-template-columns: 1fr; }
    .inner-quick-plans > .planItem__container { grid-template-columns: 1fr 1fr; }
    .inner-shared-steps { margin-top: 20px; }
}

/* Service status pages */
.status-page { display: grid; place-items: center; min-height: 520px; padding: 54px 20px; background: radial-gradient(circle at 50% 20%, #fff 0, #f2f7fd 62%); }
.status-card { width: min(620px, 100%); padding: 46px; border: 1px solid var(--site-line); border-radius: 20px; background: #fff; box-shadow: var(--site-shadow); text-align: center; }
.status-card__code { display: block; color: var(--site-blue); font-size: 86px; font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.status-card__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff0f0; color: #e05252; font-size: 44px; font-weight: 300; line-height: 1; }
.status-card h1 { margin: 12px 0 10px; color: var(--site-navy); font-size: clamp(30px, 5vw, 42px); line-height: 1.15; }
.status-card p { max-width: 500px; margin: 0 auto 25px; color: var(--site-muted); }
.status-card__actions { display: flex; align-items: center; justify-content: center; gap: 20px; }
.status-card__support { color: var(--site-blue); font-weight: 650; text-decoration: none; }

/* Kept for the unlinked legacy payment route */
.legacy-pay__main { min-height: 520px; padding: 45px 20px; background: var(--site-bg); }
.legacy-pay .modal-overlay { position: static !important; display: block !important; width: min(620px, 100%); margin: 0 auto; padding: 0 !important; background: transparent !important; }
.legacy-pay .modal { position: static !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; transform: none !important; border: 1px solid var(--site-line); border-radius: 18px; background: #fff; box-shadow: var(--site-shadow); }
.legacy-pay .modal__close { display: none; }
.legacy-pay .modal__form { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; padding: 28px; }
.legacy-pay .modal__form-wrap > p:first-of-type { margin: 0 0 20px; color: var(--site-navy); font-size: 28px; font-weight: 800; }
.legacy-pay .form-input { position: relative; margin-bottom: 12px; }
.legacy-pay .form-input input { width: 100%; height: 50px; padding: 0 15px 0 45px; border: 1px solid #bdd1eb; border-radius: 9px; background: #fff; font: inherit; }
.legacy-pay .form-input__label { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; }
.legacy-pay .form-input__label img { width: 100%; height: 100%; object-fit: contain; }
.legacy-pay button.tinkoffPayRow { width: 100%; min-height: 50px; border: 0; border-radius: 9px; background: var(--site-blue); color: #fff; font-weight: 750; cursor: pointer; }
.legacy-pay .policy { display: flex; align-items: center; gap: 9px; margin-top: 13px; color: var(--site-muted); font-size: 11px; }
.legacy-pay .policy__img { width: 22px; flex: 0 0 22px; }
.legacy-pay .call-form__right { display: flex; align-items: center; }
.legacy-pay .call-form__photo img { max-height: 290px; object-fit: contain; }

/* Existing inner pages: shared visual layer */
.site-shell + .pledge, .site-shell + .privacy, .site-shell ~ .pledge, .site-shell ~ .privacy { min-height: 520px; padding-top: 34px; padding-bottom: 46px; background: var(--site-bg); }
.site-shell ~ .pledge .pledge__top, .site-shell ~ .privacy .privacy__contentBreadcrumbs { margin-bottom: 14px; }
.site-shell ~ .pledge .pledge__main, .site-shell ~ .privacy .content { width: min(1180px, calc(100% - 40px)); max-width: 1180px; }
.site-shell ~ .privacy .content, .site-shell ~ .pledge .pledge__content, .site-shell ~ .pledge .order_egrul:not(._main), .site-shell ~ .pledge .order__form {
    border-radius: var(--site-radius);
}
.site-shell ~ .privacy .rules__wrap, .site-shell ~ .privacy .privacy__content, .site-shell ~ .pledge .pledge__single, .site-shell ~ .pledge .tarifs__service-content, .site-shell ~ .pledge .order_egrul {
    border-color: var(--site-line);
    background-color: #fff;
    box-shadow: var(--site-shadow);
}
.site-shell ~ .privacy .privacy__title, .site-shell ~ .pledge .pledge__title, .site-shell ~ .pledge h1, .site-shell ~ .pledge h2, .site-shell ~ .privacy h1, .site-shell ~ .privacy h2 { color: var(--site-navy); font-family: Inter, "Segoe UI", Arial, sans-serif; }
.site-shell ~ .privacy .privacy__title, .site-shell ~ .pledge .pledge__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.025em; }
.site-shell ~ .pledge .breadcrumbs, .site-shell ~ .privacy .breadcrumbs { color: #72839b; }
.site-shell ~ .pledge .btn, .site-shell ~ .pledge button, .site-shell ~ .privacy button, .site-shell ~ .privacy .btn { border-radius: 9px; }
.site-shell ~ .pledge input[type="text"], .site-shell ~ .pledge input[type="email"], .site-shell ~ .pledge input[type="tel"], .site-shell ~ .pledge input[type="date"], .site-shell ~ .privacy input[type="text"], .site-shell ~ .privacy input[type="email"] { border-color: #bcd1ec; border-radius: 9px; }
.site-shell ~ .pledge .pledge__sidebar-wrapper, .site-shell ~ .pledge .pledge__sidebar-statistic { border: 1px solid var(--site-line); border-radius: 14px; background: #fff; box-shadow: var(--site-shadow); }
.site-shell ~ .privacy .rules__wrap { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.site-shell ~ .privacy .demo-table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid #d5e5f5; border-radius: 13px; background: #edf8fb; }
.site-shell ~ .privacy .demo-table td { padding: 15px; border: 0; vertical-align: middle; }
.site-shell ~ .privacy .demo-table .profile { display: flex; align-items: center; gap: 12px; }
.site-shell ~ .privacy .demo-table .profile img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.site-shell ~ .privacy .demo-table .title { color: var(--site-navy); font-weight: 750; }
.site-shell ~ .privacy .demo-table .username { color: var(--site-muted); font-size: 12px; }
.site-shell ~ .privacy .demo-table .inactive { display: flex; align-items: center; gap: 7px; color: var(--site-navy); }
.site-shell ~ .privacy .demo-table .inactive span { width: 10px; height: 10px; border-radius: 50%; background: var(--site-green); }
.site-shell ~ .privacy .demo-table .inactive.is-canceled span { background: #e05858; }
.site-shell ~ .privacy #pay-result a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 8px; background: var(--site-blue); color: #fff !important; font-weight: 700; text-decoration: none; }
.payment-canceled { display: grid; gap: 10px; justify-items: start; }
.payment-canceled p { margin: 0; color: #315476; line-height: 1.45; }
.payment-retry-button { min-height: 42px; padding: 10px 17px; border: 0; border-radius: 9px; background: var(--site-blue); color: #fff; font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 8px 18px rgba(36,120,232,.2); }
.payment-retry-button:hover { background: #1268d6; }

@media (max-width: 1120px) {
    .site-nav { gap: 18px; }
    .site-menu { gap: 12px; }
    .site-menu > a, .site-menu summary { font-size: 12px; }
    .site-menu > a:nth-child(3) { display: none; }
    .site-footer__grid { gap: 24px; }
}

@media (max-width: 900px) {
    .site-container, .content { width: min(100% - 28px, 1180px); }
    .site-topbar__left { display: none; }
    .site-topbar__inner { justify-content: flex-end; }
    .site-nav { min-height: 66px; justify-content: space-between; }
    .site-logo__mark { flex-basis: 45px; width: 45px; height: 45px; }
    .site-logo__text strong { font-size: 18px; }
    .site-logo__text small { font-size: 13px; }
    .site-nav__mobile-messengers { display: flex; }
    .site-nav__toggle { display: block; }
    .site-shell .site-menu.header__menu {
        position: fixed;
        z-index: 1200;
        inset: 102px 0 auto;
        display: none;
        max-height: calc(100vh - 102px);
        overflow: auto;
        padding: 16px 20px 24px;
        border-top: 1px solid var(--site-line);
        background: #fff;
        box-shadow: 0 14px 30px rgba(16,33,63,.16);
    }
    .site-shell .site-menu.header__menu.is-open { display: grid; gap: 2px; }
    .site-menu > a, .site-menu summary { display: flex !important; padding: 12px 8px; font-size: 14px; }
    .site-menu__more { width: 100%; }
    .site-menu__dropdown { position: static; min-width: 0; padding: 2px 0 2px 14px; transform: none; border: 0; box-shadow: none; }
    .site-menu .site-menu__cta { justify-content: center; margin-top: 8px; }
    .home-hero { min-height: 530px; background-position: 63% center; }
    .home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,249,255,.97) 0%, rgba(244,249,255,.9) 56%, rgba(244,249,255,.25) 100%); }
    .home-hero__title-main { font-size: 40px; }
    .home-hero__title-accent { font-size: 36px; }
    .home-grid { grid-template-columns: 1fr; }
    .home-sidebar { grid-template-columns: 1fr 1fr; }
    .home-facts { grid-template-columns: 1fr 1fr; }
    .site-consult__inner { grid-template-columns: 34% 1fr; }
    .site-consult__person img { left: 25px; width: 235px; }
    .site-consult__person span { left: 20px; }
    .site-footer__grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
    .site-footer__bottom { grid-template-columns: 1fr 1fr; }
    .home-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .site-topbar { display: none; }
    .site-menu { inset-top: 66px; top: 66px; max-height: calc(100vh - 66px); }
    .home-hero { min-height: auto; padding: 32px 0 82px; background-position: 68% center; }
    .home-hero::before { background: rgba(244,249,255,.88); }
    .home-hero__title-main { font-size: 33px; }
    .home-hero__title-accent { font-size: 29px; }
    .home-hero__lead { font-size: 16px; }
    .home-benefits { display: grid; grid-template-columns: 1fr 1fr; }
    .home-benefit:last-child { grid-column: 1 / -1; }
    .company-search { margin-top: 22px; padding: 17px; }
    .company-search #party { height: 54px; font-size: 15px; }
    .home-quick { grid-template-columns: 1fr 1fr; gap: 11px; margin-top: -46px; }
    .home-quick a { padding: 10px; text-align: center; }
    .home-quick a:last-child { grid-column: 1 / -1; }
    .partner-banner { padding-top: 10px; }
    .inner-redesign .partner-banner,
    .inner-redesign .partner-banner.standalone-content-card { padding-top: 10px !important; }
    .partner-app-ad { border-radius: 9px; }
    .home-about { padding: 20px 17px; }
    .home-about__title-row { display: block; }
    .official-badge { margin-top: 14px; }
    .home-about h2, .home-steps h2 { font-size: 22px; }
    .home-facts, .extract-contents, .home-why__grid { grid-template-columns: 1fr; }
    .home-sidebar { grid-template-columns: 1fr; }
    .home-steps { padding: 20px 16px; }
    .home-steps__head { display: block; }
    .home-steps__time { display: block; margin-top: 8px; }
    .steps-grid { grid-template-columns: 1fr; gap: 14px; }
    .step-card:not(:last-child)::after { display: none; }
    .home-result-wrap .result table { grid-template-columns: 1fr; }
    .home-result-wrap .result tbody, .home-result-wrap .result tr { display: contents; }
    .home-result-wrap .result th, .home-result-wrap .result td { display: block; width: 100%; }
    .home-result-wrap .result th, .home-result-wrap .result td { margin-bottom: 0; }
    .home-payment[style*="block"] { grid-template-columns: 1fr; }
    .home-payment__actions { flex-wrap: nowrap; }
    .home-payment .btn-pay-egrul { width: 100%; }
    .site-consult { padding: 18px 0; }
    .site-consult__inner { display: block; min-height: 0; padding: 28px 20px; text-align: center; }
    .site-consult__person { display: none; }
    .site-consult__content { padding: 0; }
    .site-consult__content p { font-size: 15px; }
    .site-consult__actions { justify-content: center; flex-wrap: wrap; }
    .site-button--white { min-width: min(100%, 300px); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__bottom { grid-template-columns: 1fr; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
    .status-card { padding: 34px 20px; }
    .status-card__actions { flex-direction: column; gap: 14px; }
    .legacy-pay .modal__form { grid-template-columns: 1fr; padding: 20px; }
    .legacy-pay .call-form__right { display: none; }
    .site-shell ~ .pledge .pledge__main, .site-shell ~ .privacy .content { width: min(100% - 24px, 1180px); }
    .site-shell ~ .privacy .demo-table, .site-shell ~ .privacy .demo-table tbody, .site-shell ~ .privacy .demo-table tr, .site-shell ~ .privacy .demo-table td { display: block; width: 100%; }
    .site-shell ~ .privacy .demo-table td { padding: 9px 14px; text-align: center; }
    .site-shell ~ .privacy .demo-table .profile, .site-shell ~ .privacy .demo-table .inactive { justify-content: center; }
    .payment-canceled { justify-items: center; }
}

@media (max-width: 410px) {
    .site-topbar__contacts a:first-child { display: none; }
    .home-benefits, .home-quick { grid-template-columns: 1fr; }
    .home-quick a:last-child { grid-column: auto; }
    .home-benefit:last-child { grid-column: auto; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__brand { grid-column: auto; }
}

/* Final inner-page cascade: keep the homepage card hierarchy over legacy bundles */
.inner-redesign .privacy .rules__wrap { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.inner-redesign .pledge__content .pledge__single, .inner-redesign .pledge__content .pledge__instruction { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.inner-redesign .inner-hero .main__order_egrul, .inner-redesign .inner-hero .order_egrul._main { max-width: none !important; }
.home-redesign h1, .home-redesign h2, .home-redesign h3, .inner-redesign main h1, .inner-redesign main h2, .inner-redesign main h3, .inner-redesign .pledge h1, .inner-redesign .pledge h2, .inner-redesign .pledge h3, .inner-redesign .privacy h1, .inner-redesign .privacy h2, .inner-redesign .privacy h3, .inner-redesign .contacts h1, .inner-redesign .contacts h2, .inner-redesign .contacts h3, .inner-redesign .inner-hero__title, .inner-shared-steps h2 { font-weight: 400 !important; }
.home-hero, .company-search, .inner-hero, .inner-hero__search-slot { overflow: visible !important; }
.company-search, .inner-hero__search-slot { isolation: isolate; }
.company-search .suggestions-wrapper, .inner-hero__search-slot .suggestions-wrapper { z-index: 100001 !important; }
[hidden] { display: none !important; }
.service-link-title { display: block; color: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
button.order__form-btn { font: inherit; cursor: pointer; }
