@charset "utf-8";
/* ==========================================================================
   Информационные проекты — дизайн-система сайта (inproekt.ru)
   Единый стиль для всех страниц. Bootstrap 5 используется только для сетки
   и утилит, все компоненты описаны здесь.
   Фирменный цвет: #234B86
   ========================================================================== */

:root {
    --ip-brand: #234B86;
    --ip-brand-600: #1d3f71;
    --ip-brand-700: #16325a;
    --ip-brand-800: #102542;
    --ip-brand-100: #e8eef7;
    --ip-brand-050: #f3f7fc;
    --ip-accent: #3B8AE3;
    --ip-accent-600: #2f74c4;
    --ip-ink: #101828;
    --ip-ink-soft: #344054;
    --ip-muted: #5b6b83;
    --ip-line: #e3e8f0;
    --ip-bg: #f6f8fc;
    --ip-white: #ffffff;
    --ip-radius: 16px;
    --ip-radius-sm: 10px;
    --ip-shadow-sm: 0 4px 14px rgba(16, 24, 40, .06);
    --ip-shadow: 0 12px 34px rgba(16, 24, 40, .09);
    --ip-shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
    --ip-container: 1200px;
    --ip-header-h: 76px;
    --ip-font: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    --ip-transition: .28s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Базовые элементы ---------- */
html {
    scroll-behavior: smooth;
}

body.ip-body {
    font-family: var(--ip-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ip-ink-soft);
    background: var(--ip-white);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.ip-body img {
    max-width: 100%;
    height: auto;
}

.ip-body h1,
.ip-body h2,
.ip-body h3,
.ip-body h4,
.ip-body h5 {
    font-family: var(--ip-font);
    color: var(--ip-ink);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
}

.ip-body h1 { font-size: 40px; }
.ip-body h2 { font-size: 32px; }
.ip-body h3 { font-size: 24px; }
.ip-body h4 { font-size: 20px; }
.ip-body h5 { font-size: 17px; }

.ip-body p { margin: 0 0 18px; }

.ip-body a {
    color: var(--ip-brand);
    text-decoration: none;
    transition: color var(--ip-transition);
}

.ip-body a:hover { color: var(--ip-accent); }

.ip-body ul { margin: 0 0 18px; padding-left: 20px; }
.ip-body li { margin-bottom: 8px; }

.ip-body ::selection { background: var(--ip-brand); color: #fff; }

.ip-container {
    width: 100%;
    max-width: var(--ip-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Секции */
.ip-section { padding: 84px 0; }
.ip-section--tight { padding: 56px 0; }
.ip-section--soft { background: var(--ip-bg); }
.ip-section--brand {
    background: linear-gradient(135deg, var(--ip-brand-700) 0%, var(--ip-brand) 55%, #2f5fa6 100%);
    color: #fff;
}

.ip-section--brand h2,
.ip-section--brand h3,
.ip-section--brand h4 { color: #fff; }

.ip-section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.ip-section-head--left {
    margin-left: 0;
    text-align: left;
}

.ip-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ip-accent);
    margin-bottom: 12px;
}

.ip-section--brand .ip-eyebrow { color: #a9c8f2; }

.ip-section-head p {
    font-size: 17px;
    color: var(--ip-muted);
    margin: 0;
}

.ip-section--brand .ip-section-head p { color: rgba(255, 255, 255, .82); }

/* ---------- Кнопки ---------- */
.ip-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--ip-transition);
    text-align: center;
    white-space: nowrap;
}

.ip-btn svg { width: 18px; height: 18px; flex: none; }

.ip-btn--primary {
    background: var(--ip-brand);
    border-color: var(--ip-brand);
    color: #fff;
}

.ip-btn--primary:hover {
    background: var(--ip-brand-600);
    border-color: var(--ip-brand-600);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(35, 75, 134, .32);
}

.ip-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.ip-btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ip-brand);
}

.ip-btn--outline {
    background: transparent;
    border-color: var(--ip-line);
    color: var(--ip-brand);
}

.ip-btn--outline:hover {
    border-color: var(--ip-brand);
    background: var(--ip-brand-050);
    color: var(--ip-brand);
}

.ip-btn--accent {
    background: var(--ip-accent);
    border-color: var(--ip-accent);
    color: #fff;
}

.ip-btn--accent:hover {
    background: var(--ip-accent-600);
    border-color: var(--ip-accent-600);
    color: #fff;
    transform: translateY(-2px);
}

.ip-btn--lg { padding: 17px 36px; font-size: 17px; }
.ip-btn--sm { padding: 10px 20px; font-size: 15px; }

/* Кнопки-ссылки: перекрываем общий цвет ссылок .ip-body a */
.ip-body a.ip-btn { text-decoration: none; }
.ip-body a.ip-btn--primary,
.ip-body a.ip-btn--primary:hover { color: #fff; }
.ip-body a.ip-btn--accent,
.ip-body a.ip-btn--accent:hover { color: #fff; }
.ip-body a.ip-btn--ghost { color: #fff; }
.ip-body a.ip-btn--ghost:hover { color: var(--ip-brand); }
.ip-body a.ip-btn--outline,
.ip-body a.ip-btn--outline:hover { color: var(--ip-brand); }

/* Текстовые ссылки со стрелкой */
.ip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--ip-brand);
}

.ip-link svg { width: 18px; height: 18px; transition: transform var(--ip-transition); }
.ip-link:hover svg { transform: translateX(4px); }

/* ---------- Шапка ---------- */
.ip-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--ip-line);
    transition: box-shadow var(--ip-transition);
}

.ip-header.is-stuck { box-shadow: var(--ip-shadow-sm); }

.ip-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--ip-header-h);
}

.ip-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.ip-logo img { height: 42px; width: auto; }

.ip-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ip-logo__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ip-brand-700);
    letter-spacing: .01em;
}

.ip-logo__sub {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ip-muted);
}

/* Навигация */
.ip-nav { margin-left: auto; }

.ip-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-nav__item { position: relative; }

.ip-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ip-ink-soft);
    border-radius: 999px;
    transition: all var(--ip-transition);
}

.ip-nav__link:hover,
.ip-nav__link.is-active {
    color: var(--ip-brand);
    background: var(--ip-brand-050);
}

.ip-nav__link svg { width: 14px; height: 14px; transition: transform var(--ip-transition); }

.ip-nav__item--has-sub:hover > .ip-nav__link svg { transform: rotate(180deg); }

/* Выпадающее меню */
.ip-nav__sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 268px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius-sm);
    box-shadow: var(--ip-shadow);
    padding: 10px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--ip-transition);
}

.ip-nav__item--has-sub:hover > .ip-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ip-nav__sub a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ip-ink-soft);
}

.ip-nav__sub a:hover {
    background: var(--ip-brand-050);
    color: var(--ip-brand);
}

.ip-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
}

.ip-header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ip-ink);
    white-space: nowrap;
}

.ip-header__phone svg { width: 18px; height: 18px; color: var(--ip-brand); }

/* Бургер */
.ip-burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ip-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex: none;
}

.ip-burger span,
.ip-burger span::before,
.ip-burger span::after {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--ip-brand-700);
    border-radius: 2px;
    transition: all var(--ip-transition);
}

.ip-burger span { top: 50%; transform: translate(-50%, -50%); }
.ip-burger span::before { content: ""; top: -7px; left: 0; transform: none; }
.ip-burger span::after { content: ""; top: 7px; left: 0; transform: none; }

.ip-burger.is-open span { background: transparent; }
.ip-burger.is-open span::before { top: 0; transform: rotate(45deg); }
.ip-burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Мобильное меню */
.ip-mobile {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    background: #fff;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--ip-shadow-lg);
}

.ip-mobile.is-open { transform: translateX(0); }

.ip-mobile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ip-line);
}

.ip-mobile__head img { height: 36px; }

.ip-mobile__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--ip-line);
    border-radius: 10px;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    color: var(--ip-brand-700);
    cursor: pointer;
}

.ip-mobile__body {
    padding: 16px 20px 32px;
    overflow-y: auto;
}

.ip-mobile__list { list-style: none; margin: 0; padding: 0; }

.ip-mobile__list > li { border-bottom: 1px solid var(--ip-line); }

.ip-mobile__list > li > a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--ip-ink);
}

.ip-mobile__list > li > a.is-active { color: var(--ip-brand); }

.ip-mobile__sublist {
    list-style: none;
    margin: 0 0 12px;
    padding: 0 0 0 14px;
}

.ip-mobile__sublist a {
    display: block;
    padding: 9px 0;
    font-size: 15px;
    color: var(--ip-muted);
}

.ip-mobile__contacts {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--ip-line);
}

.ip-mobile__contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 600;
    color: var(--ip-ink);
}

.ip-mobile__contacts svg { width: 18px; height: 18px; color: var(--ip-brand); }

.ip-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 37, 66, .5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ip-transition);
    z-index: 1050;
}

.ip-overlay.is-open { opacity: 1; visibility: visible; }

.ip-body.is-locked { overflow: hidden; }

/* ---------- Hero (главная) ---------- */
.ip-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ip-brand-800) 0%, var(--ip-brand) 52%, #2d5da3 100%);
    color: #fff;
    overflow: hidden;
    padding: 92px 0 96px;
}

.ip-hero::before,
.ip-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ip-hero::before {
    width: 620px;
    height: 620px;
    right: -180px;
    top: -220px;
    background: radial-gradient(circle, rgba(59, 138, 227, .45), transparent 70%);
}

.ip-hero::after {
    width: 460px;
    height: 460px;
    left: -160px;
    bottom: -240px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
}

.ip-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.ip-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #dbe8fa;
    margin-bottom: 22px;
}

.ip-hero__badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5ee2a0;
    box-shadow: 0 0 0 4px rgba(94, 226, 160, .25);
}

.ip-hero h1 {
    font-size: 52px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: -.01em;
}

.ip-hero h1 span { color: #9fc4f5; }

.ip-hero__lead {
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
    max-width: 560px;
    margin-bottom: 34px;
}

.ip-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.ip-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.ip-hero__fact b {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.ip-hero__fact span {
    font-size: 14px;
    color: rgba(255, 255, 255, .74);
}

.ip-hero__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.ip-hero__media img {
    width: 100%;
    max-width: 560px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .28));
}

.ip-hero__card {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    color: var(--ip-ink);
    border-radius: var(--ip-radius-sm);
    box-shadow: var(--ip-shadow-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.ip-hero__card svg { width: 22px; height: 22px; color: var(--ip-brand); flex: none; }

.ip-hero__card--1 { left: -6px; bottom: 78px; }
.ip-hero__card--2 { right: -6px; top: 60px; }

/* ---------- Страничный hero (внутренние) ---------- */
.ip-pagehero {
    position: relative;
    background: linear-gradient(135deg, var(--ip-brand-800), var(--ip-brand) 70%);
    color: #fff;
    padding: 60px 0 56px;
    overflow: hidden;
}

.ip-pagehero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 138, 227, .4), transparent 70%);
}

.ip-pagehero__inner { position: relative; z-index: 2; max-width: 820px; }

.ip-pagehero h1 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 14px;
}

.ip-pagehero p {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    margin: 0;
    max-width: 720px;
}

.ip-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.ip-breadcrumbs a { color: rgba(255, 255, 255, .82); }
.ip-breadcrumbs a:hover { color: #fff; }
.ip-breadcrumbs li::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, .4); }
.ip-breadcrumbs li:last-child::after { display: none; }

/* ---------- Карточки продуктов ---------- */
.ip-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ip-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    overflow: hidden;
    transition: all var(--ip-transition);
}

.ip-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ip-shadow);
    border-color: #d4ddec;
}

.ip-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--ip-brand-100), #f4f8fd);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ip-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ip-card:hover .ip-card__media img { transform: scale(1.05); }

.ip-card__icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.ip-card__tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(35, 75, 134, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ip-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ip-card__title {
    font-size: 21px;
    margin-bottom: 10px;
}

.ip-card__title a { color: var(--ip-ink); }
.ip-card__title a:hover { color: var(--ip-brand); }

.ip-card__text {
    color: var(--ip-muted);
    font-size: 15px;
    margin-bottom: 20px;
    flex: 1;
}

.ip-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ---------- Особенности / иконки ---------- */
.ip-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ip-feature {
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    padding: 30px 26px;
    transition: all var(--ip-transition);
}

.ip-feature:hover {
    box-shadow: var(--ip-shadow);
    transform: translateY(-4px);
}

.ip-feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--ip-brand-050);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.ip-feature__icon svg,
.ip-feature__icon img { width: 28px; height: 28px; color: var(--ip-brand); }

.ip-feature h3 { font-size: 19px; margin-bottom: 10px; }
.ip-feature p { font-size: 15px; color: var(--ip-muted); margin: 0; }

.ip-section--brand .ip-feature {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
}

.ip-section--brand .ip-feature__icon { background: rgba(255, 255, 255, .12); }
.ip-section--brand .ip-feature__icon svg { color: #fff; }
.ip-section--brand .ip-feature p { color: rgba(255, 255, 255, .78); }

/* ---------- Клиенты ---------- */
.ip-clients {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    align-items: center;
}

.ip-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius-sm);
    min-height: 104px;
    filter: grayscale(1);
    opacity: .72;
    transition: all var(--ip-transition);
}

.ip-clients__item:hover {
    filter: grayscale(0);
    opacity: 1;
    box-shadow: var(--ip-shadow-sm);
    transform: translateY(-3px);
}

.ip-clients__item img { max-height: 56px; width: auto; object-fit: contain; }

/* ---------- Статистика ---------- */
.ip-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.ip-stat { text-align: center; }

.ip-stat b {
    display: block;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 10px;
}

.ip-stat b .ip-stat__num { font-size: inherit; }

.ip-stat b .ip-stat__unit {
    font-size: .46em;
    font-weight: 600;
    margin-left: 3px;
    color: rgba(255, 255, 255, .9);
}

.ip-stat .ip-stat__label { font-size: 15px; color: rgba(255, 255, 255, .78); }

/* ---------- CTA ---------- */
.ip-cta {
    position: relative;
    background: linear-gradient(120deg, var(--ip-brand) 0%, #2f5fa6 100%);
    border-radius: var(--ip-radius);
    padding: 52px 56px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    overflow: hidden;
}

.ip-cta::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}

.ip-cta__text { position: relative; z-index: 2; max-width: 640px; }
.ip-cta h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.ip-cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.ip-cta__actions { position: relative; z-index: 2; flex: none; }

/* ---------- Контент статьи / лендинга ---------- */
.ip-prose { font-size: 17px; line-height: 1.8; color: var(--ip-ink-soft); }
.ip-prose h2 { font-size: 28px; margin: 40px 0 16px; }
.ip-prose h3 { font-size: 22px; margin: 32px 0 14px; }
.ip-prose h4 { font-size: 18px; margin: 26px 0 12px; }
.ip-prose > :first-child { margin-top: 0; }
.ip-prose img { border-radius: var(--ip-radius-sm); margin: 10px 0 20px; }
.ip-prose blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    background: var(--ip-brand-050);
    border-left: 4px solid var(--ip-brand);
    border-radius: 0 var(--ip-radius-sm) var(--ip-radius-sm) 0;
    color: var(--ip-ink-soft);
    font-style: italic;
}
.ip-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.ip-prose th, .ip-prose td { border: 1px solid var(--ip-line); padding: 10px 14px; text-align: left; }
.ip-prose th { background: var(--ip-brand-050); }
.ip-prose ul, .ip-prose ol { padding-left: 22px; }
.ip-prose code {
    background: var(--ip-brand-050);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 15px;
    color: var(--ip-brand-700);
}

/* Двухколоночный лейаут: контент + сайдбар */
.ip-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}

.ip-aside {
    position: sticky;
    top: calc(var(--ip-header-h) + 20px);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ip-panel {
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    padding: 26px;
}

.ip-panel--soft { background: var(--ip-bg); }
.ip-panel h3 { font-size: 18px; margin-bottom: 16px; }

.ip-panel__menu { list-style: none; margin: 0; padding: 0; }

.ip-panel__menu li { margin: 0; border-bottom: 1px solid var(--ip-line); }
.ip-panel__menu li:last-child { border-bottom: none; }

.ip-panel__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ip-ink-soft);
}

.ip-panel__menu a:hover,
.ip-panel__menu a.is-active { color: var(--ip-brand); }

.ip-panel__menu a svg { width: 16px; height: 16px; color: var(--ip-accent); flex: none; }

/* Список модулей лендинга продукта */
.ip-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ip-module {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius-sm);
    transition: all var(--ip-transition);
}

.ip-module:hover { box-shadow: var(--ip-shadow-sm); border-color: #d4ddec; }

.ip-module__num {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 10px;
    background: var(--ip-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.ip-module h4 { font-size: 17px; margin-bottom: 6px; }
.ip-module p { font-size: 14px; color: var(--ip-muted); margin: 0; }

/* ---------- Статьи и новости: список ---------- */
.ip-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ip-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    overflow: hidden;
    transition: all var(--ip-transition);
}

.ip-post:hover { transform: translateY(-5px); box-shadow: var(--ip-shadow); }

.ip-post__media {
    aspect-ratio: 16 / 9;
    background: var(--ip-brand-100);
    overflow: hidden;
}

.ip-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.ip-form__result { margin-bottom: 0; }
.ip-form__result:not(:empty) { margin-bottom: 20px; }

.ip-post__media-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ip-brand) 0%, var(--ip-accent) 100%);
    opacity: .9;
}
.ip-post:hover .ip-post__media img { transform: scale(1.05); }

.ip-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.ip-post__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ip-accent);
    margin-bottom: 10px;
}

.ip-post__date svg { width: 15px; height: 15px; }

.ip-post__title { font-size: 19px; line-height: 1.35; margin-bottom: 12px; }
.ip-post__title a { color: var(--ip-ink); }
.ip-post__title a:hover { color: var(--ip-brand); }

.ip-post__text { font-size: 15px; color: var(--ip-muted); margin-bottom: 18px; flex: 1; }

.ip-posts--list { grid-template-columns: 1fr; gap: 22px; }

.ip-posts--list .ip-post { flex-direction: row; }
.ip-posts--list .ip-post__media { aspect-ratio: auto; width: 300px; flex: none; }
.ip-posts--list .ip-post__body { padding: 26px 30px; }

/* ---------- Пагинация ---------- */
.ip-pager { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }

.ip-pager a,
.ip-pager span {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ip-line);
    border-radius: 10px;
    font-weight: 600;
    color: var(--ip-ink-soft);
    background: #fff;
}

.ip-pager a:hover { border-color: var(--ip-brand); color: var(--ip-brand); }
.ip-pager .is-current { background: var(--ip-brand); border-color: var(--ip-brand); color: #fff; }

/* ---------- Форма ---------- */
.ip-form { display: grid; gap: 18px; }

.ip-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.ip-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ip-ink);
    margin-bottom: 7px;
}

.ip-field .req { color: #d2093c; }

.ip-input,
.ip-textarea,
.ip-select {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ip-ink);
    background: #fff;
    border: 1.5px solid var(--ip-line);
    border-radius: var(--ip-radius-sm);
    transition: all var(--ip-transition);
}

.ip-input:focus,
.ip-textarea:focus,
.ip-select:focus {
    outline: none;
    border-color: var(--ip-brand);
    box-shadow: 0 0 0 4px rgba(35, 75, 134, .12);
}

.ip-textarea { min-height: 150px; resize: vertical; }

.ip-form__note { font-size: 13px; color: var(--ip-muted); margin: 0; }

.ip-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.ip-alert {
    padding: 16px 20px;
    border-radius: var(--ip-radius-sm);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 22px;
}

.ip-alert--ok { background: #e7f7ef; border: 1px solid #b6e7cd; color: #10693f; }
.ip-alert--err { background: #fdecef; border: 1px solid #f6c2cc; color: #a3132f; }

/* Контактные карточки */
.ip-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.ip-contact-card {
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    padding: 28px 26px;
}

.ip-contact-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--ip-brand-050);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ip-contact-card__icon svg { width: 24px; height: 24px; color: var(--ip-brand); }
.ip-contact-card h4 { font-size: 17px; margin-bottom: 6px; }
.ip-contact-card p, .ip-contact-card a { font-size: 16px; margin: 0; }
.ip-contact-card a { font-weight: 600; }

/* Карта */
.ip-map {
    border-radius: var(--ip-radius);
    overflow: hidden;
    border: 1px solid var(--ip-line);
    line-height: 0;
}

.ip-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Подвал ---------- */
.ip-footer {
    background: var(--ip-brand-800);
    color: rgba(255, 255, 255, .74);
    padding: 66px 0 0;
    font-size: 15px;
}

.ip-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-bottom: 46px;
}

.ip-footer h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .01em;
}

.ip-footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ip-footer__logo img {
    width: 234px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.ip-footer p { color: rgba(255, 255, 255, .7); margin-bottom: 16px; }

.ip-footer__list { list-style: none; margin: 0; padding: 0; }
.ip-footer__list li { margin-bottom: 11px; }
.ip-footer__list a { color: rgba(255, 255, 255, .74); }
.ip-footer__list a:hover { color: #fff; }

.ip-footer__contacts { list-style: none; margin: 0; padding: 0; }
.ip-footer__contacts li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ip-footer__contacts svg { width: 18px; height: 18px; color: #7fb0ea; flex: none; margin-top: 3px; }
.ip-footer__contacts a { color: #fff; font-weight: 600; }

.ip-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.ip-footer__bottom a { color: rgba(255, 255, 255, .78); }

/* ---------- Кнопка «наверх» ---------- */
.ip-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ip-brand);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--ip-transition);
    box-shadow: var(--ip-shadow);
    z-index: 900;
}

.ip-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ip-top:hover { background: var(--ip-brand-600); }
.ip-top svg { width: 22px; height: 22px; }

/* ---------- Анимация появления ---------- */
.ip-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.ip-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .ip-reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1080px) {
    .ip-hero h1 { font-size: 44px; }
    .ip-cards, .ip-features, .ip-posts { grid-template-columns: repeat(2, 1fr); }
    .ip-clients { grid-template-columns: repeat(4, 1fr); }
    .ip-stats { grid-template-columns: repeat(2, 1fr); }
    .ip-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .ip-layout { grid-template-columns: 1fr; gap: 36px; }
    .ip-aside { position: static; }
}

@media (max-width: 900px) {
    .ip-nav, .ip-header__actions .ip-btn { display: none; }
    .ip-burger { display: block; }
    .ip-header__phone span { display: none; }
    .ip-hero__inner { grid-template-columns: 1fr; gap: 44px; }
    .ip-hero__media { order: -1; }
    .ip-hero__media img { max-width: 440px; }
    .ip-contact-cards { grid-template-columns: 1fr; }
    .ip-modules { grid-template-columns: 1fr; }
    .ip-posts--list .ip-post { flex-direction: column; }
    .ip-posts--list .ip-post__media { width: 100%; aspect-ratio: 16 / 9; }
}

@media (max-width: 680px) {
    .ip-body h1 { font-size: 30px; }
    .ip-body h2 { font-size: 24px; }
    .ip-section { padding: 56px 0; }
    .ip-section--tight { padding: 40px 0; }
    .ip-hero { padding: 56px 0 64px; }
    .ip-hero h1 { font-size: 33px; }
    .ip-hero__lead { font-size: 17px; }
    .ip-hero__facts { gap: 22px; }
    .ip-hero__fact b { font-size: 24px; }
    .ip-hero__card { display: none; }
    .ip-pagehero { padding: 42px 0 40px; }
    .ip-pagehero h1 { font-size: 29px; }
    .ip-cards, .ip-features, .ip-posts { grid-template-columns: 1fr; }
    .ip-clients { grid-template-columns: repeat(2, 1fr); }
    .ip-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .ip-stat b { font-size: 34px; }
    .ip-cta { flex-direction: column; text-align: center; padding: 36px 24px; }
    .ip-cta h2 { font-size: 24px; }
    .ip-form__row { grid-template-columns: 1fr; }
    .ip-footer__grid { grid-template-columns: 1fr; }
    .ip-section-head { margin-bottom: 34px; }
    .ip-btn { width: 100%; justify-content: center; }
    .ip-hero__actions .ip-btn { width: auto; }
    .ip-top { right: 16px; bottom: 16px; }
}
