/* Общие стили внутренних страниц БИОМ.
   Совпадают с главной: те же цвета, стекло, шапка-капсула и подвал.
   Главная страница index.html свои стили не меняет. */

:root {
    --bg: #f7f5fc;
    --surface: rgba(255, 255, 255, 0.72);
    --text: #1e1b4b;
    --text-muted: #64748b;
    --border: rgba(124, 58, 237, 0.12);
    --purple: #7c3aed;
    --indigo: #6366f1;
    --violet-soft: rgba(124, 58, 237, 0.08);
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #3b82f6 100%);
    --shadow-glass: 0 8px 40px rgba(99, 102, 241, 0.1);
    --shadow-card: 0 20px 50px rgba(30, 27, 75, 0.06);
    --radius-xl: 28px;
    --radius-pill: 999px;
    --container: 1200px;
    --nav-h: 78px;
    --header-inset: 16px;
    --anchor-gap: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

#contacts,
.section-band[id] {
    scroll-margin-top: calc(var(--header-inset) + var(--nav-h) + var(--anchor-gap));
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f7f5fc;
    color: var(--text);
    line-height: 1.6;
    overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover,
a:visited,
a:active {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.ambient {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 130% 90% at 50% -15%, rgba(139, 92, 246, 0.13), transparent 55%),
        radial-gradient(ellipse 90% 70% at 88% 35%, rgba(99, 102, 241, 0.07), transparent 55%),
        radial-gradient(ellipse 100% 80% at 12% 75%, rgba(59, 130, 246, 0.06), transparent 55%),
        linear-gradient(180deg, #f8f7fd 0%, #f7f5fc 45%, #f7f5fc 100%);
}

.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
}

.glass {
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glass);
}

.gradient-text {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding: 0 0.06em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--violet-soft);
    border: 1px solid var(--border);
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(34px, 4.5vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head .section-desc {
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active {
    background: var(--gradient);
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.28);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border: 1px solid var(--border);
}

.header {
    position: fixed;
    inset: var(--header-inset) var(--header-inset) auto;
    z-index: 100;
    height: var(--nav-h);
    border-radius: var(--radius-pill);
    padding: 0 12px 0 24px;
}

.header-inner {
    height: 100%;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.logo img { height: 32px; }

.nav {
    display: flex;
    gap: 28px;
    list-style: none;
    justify-content: center;
}

.nav a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--purple);
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    color: var(--text);
}

.menu-btn svg {
    width: 22px;
    height: 22px;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 90px 16px auto;
    z-index: 99;
    padding: 20px;
    border-radius: 24px;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a[aria-current="page"] {
    color: var(--purple);
}

main {
    position: relative;
    z-index: 1;
}

/* Компактный верх страницы: не на весь экран, шапка не перекрывает заголовок */
.page-hero {
    padding: calc(var(--nav-h) + 56px) 0 24px;
    text-align: center;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.crumbs a:hover { color: var(--purple); }

.crumbs span[aria-current="page"] { color: var(--text); }

.page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.page-hero-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.section-band {
    position: relative;
    padding: 40px 0 88px;
}

/* Большие карточки продуктов раздела */
.ia-cards {
    display: grid;
    gap: 32px;
}

.ia-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
    min-height: 420px;
    border-radius: 32px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.14);
}

/* Вся карточка — ссылка: курсор, фон и подчёркивание заголовка */
.ia-card--clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ia-card--clickable:hover {
    background: #f3eefc;
}

.ia-card--clickable:hover h2 {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* Плашка «Продукт» не растягивается на всю колонку */
.ia-card-body .eyebrow {
    align-self: flex-start;
    width: auto;
}

.ia-card--reverse {
    grid-template-columns: 1.05fr minmax(280px, 0.95fr);
}

.ia-card--reverse .ia-card-visual {
    order: 2;
}

.ia-card-visual {
    display: grid;
    place-items: center;
    padding: 36px;
    min-height: 360px;
    background:
        radial-gradient(ellipse 80% 70% at 50% 40%, rgba(139, 92, 246, 0.16), transparent 70%),
        linear-gradient(180deg, #f8f7fd, #eef2ff);
}

.ia-card-visual img {
    width: min(100%, 460px);
    filter: drop-shadow(0 18px 36px rgba(99, 102, 241, 0.16));
}

.ia-card-visual--photo {
    padding: 0;
}

.ia-card-visual--photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: none;
}

.ia-card-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ia-card-body h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.ia-card-body p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 18px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 28px;
}

.tag {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--violet-soft);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    color: var(--purple);
}

.tag--muted {
    background: #eceaf1;
    border-color: #dcd8e4;
    color: #5c5868;
}

/* Плашки внутри кликабельной карточки не наследуют цвет ссылки */
.ia-card--clickable .tag,
.ia-card--clickable .tag--muted,
.ia-card--clickable:hover .tag,
.ia-card--clickable:hover .tag--muted,
.ia-card--clickable:visited .tag,
.ia-card--clickable:visited .tag--muted {
    background: #eceaf1;
    border-color: #dcd8e4;
    color: #5c5868;
    -webkit-text-fill-color: #5c5868;
}

.ia-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Страница одного продукта */
.product-stage {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 36px;
}

.product-stage-visual {
    display: grid;
    place-items: center;
    padding: 40px;
    min-height: 420px;
    background:
        radial-gradient(ellipse 80% 70% at 50% 40%, rgba(139, 92, 246, 0.16), transparent 70%),
        linear-gradient(180deg, #f8f7fd, #eef2ff);
}

.product-stage-visual img {
    width: min(100%, 520px);
    filter: drop-shadow(0 18px 36px rgba(99, 102, 241, 0.16));
}

.product-stage-visual--photo {
    padding: 0;
    min-height: 420px;
}

.product-stage-visual--photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    filter: none;
}

.product-photos {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    margin: 0 0 36px;
}

.product-photos figure {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #eef2ff;
}

.product-photos img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.product-photos figcaption {
    padding: 12px 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Три фото в ряд: каталог и галерея товара */
.product-photos--3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-photos--3 img {
    height: 260px;
}

/* Широкое фото между текстовыми блоками */
.product-photo-wide {
    margin: 22px 0 0;
    border-radius: 24px;
    overflow: hidden;
    background: #eef2ff;
}

.product-photo-wide img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Схема IIoT: показываем целиком, без обрезки краёв */
.product-photo-wide--contain img {
    height: 480px;
    object-fit: contain;
    background: #f8fafc;
}

.product-photo-wide figcaption {
    padding: 12px 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.product-stage-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-stage-body h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.product-stage-body p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.fact-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 8px 0 28px;
}

.fact-list li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
}

.fact-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--gradient);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border-radius: 24px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.feature-card .step-num {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.page-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 920px;
    margin: 32px auto 0;
    text-align: left;
}

.page-metric {
    padding: 20px 22px;
    border-radius: 22px;
}

.page-metric strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.page-metric span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.content-block {
    margin-top: 56px;
}

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

.compare-card {
    padding: 32px;
    border-radius: 24px;
}

.compare-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

.compare-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.compare-card li {
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    padding-left: 22px;
    position: relative;
}

.compare-card--before li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.compare-card--after li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 800;
}

.offer-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
    padding: 40px 44px;
    border-radius: 32px;
    margin-top: 20px;
}

.offer-card h3 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.offer-card p,
.offer-card li {
    color: var(--text-muted);
    font-size: 15px;
}

.offer-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
}

.offer-card li {
    color: var(--text);
    font-weight: 600;
}

.offer-price-box {
    text-align: center;
    padding: 28px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--border);
}

.offer-price-box .label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 8px;
}

.offer-price-box strong {
    display: block;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.offer-price-box .note {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.final-cta {
    position: relative;
    margin-bottom: 0;
    border-radius: 28px;
    overflow: hidden;
}

.final-cta-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 32px;
    padding: 52px 40px 52px 56px;
    text-align: left;
}

.final-cta-text {
    text-align: left;
}

.final-cta h2 {
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    line-height: 1.08;
}

.final-cta-lead {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
}

.final-cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.final-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 360px;
}

.final-cta-contact:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.28);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.1);
}

.final-cta-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--violet-soft);
    color: var(--purple);
}

.final-cta-contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.final-cta-contact-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.final-cta-contact strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.final-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.privacy-notice {
    margin-top: 40px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.14);
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 560px;
}

.privacy-notice a {
    color: var(--purple);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-notice a:hover {
    color: #6d28d9;
}

.final-cta-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 540px;
}

.final-cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.final-cta-glow--pink {
    width: 260px;
    height: 260px;
    left: 10%;
    top: 25%;
    background: rgba(236, 72, 153, 0.14);
}

.final-cta-glow--blue {
    width: 280px;
    height: 280px;
    right: 5%;
    bottom: 20%;
    background: rgba(59, 130, 246, 0.14);
}

.final-cta-orb {
    position: relative;
    z-index: 1;
    --cta-orb-scale: 1.6;
    width: min(100%, 740px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(var(--cta-orb-scale));
    transform-origin: center center;
    filter: drop-shadow(0 22px 48px rgba(99, 102, 241, 0.22));
    animation: floatCtaOrb 9s ease-in-out infinite;
}

@keyframes floatCtaOrb {
    0%, 100% { transform: scale(var(--cta-orb-scale)) translateY(0); }
    50% { transform: scale(var(--cta-orb-scale)) translateY(-12px); }
}

.footer {
    padding: 48px 0 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer li a {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.footer li a:hover { color: var(--purple); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

.footer--soft {
    margin-top: 16px;
    padding: 56px 0 48px;
    background: linear-gradient(180deg, #f0ecfb 0%, #ebe6f8 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer--soft .footer-bottom {
    border-top-color: rgba(124, 58, 237, 0.12);
}

/* Страница товара: ровная сетка, одинаковый ритм секций */
.product-page .crumbs {
    justify-content: flex-start;
}

.pp-hero {
    padding: calc(var(--nav-h) + 36px) 0 0;
}

.pp-hero .container {
    width: min(1280px, calc(100% - 40px));
}

.pp-hero .crumbs {
    margin-bottom: 18px;
}

/* Герой: одна светлая карточка, фото внутри рамки, без жёсткого разреза */
.pp-hero-card {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(0, 1fr);
    gap: 8px 40px;
    align-items: center;
    padding: 20px;
    min-height: 0;
    border-radius: 36px;
    overflow: hidden;
    background: #fff;
    border-color: rgba(124, 58, 237, 0.12);
    box-shadow: 0 24px 60px rgba(124, 58, 237, 0.1);
}

.pp-hero-visual {
    position: relative;
    min-height: 560px;
    border-radius: 24px;
    overflow: hidden;
    background: #1e1b4b;
}

.pp-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: 46% 72%;
}

.pp-hero-price {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 28px rgba(30, 27, 75, 0.16);
}

.pp-hero-copy {
    padding: 28px 28px 28px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: none;
}

.pp-hero-kicker {
    margin: 0 0 12px;
    color: var(--purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pp-hero-copy h1 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.038em;
    margin-bottom: 14px;
}

.pp-hero-copy .page-hero-lead {
    margin: 0;
    max-width: 440px;
    font-size: 17px;
    line-height: 1.55;
}

.pp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 28px 0 32px;
    padding: 18px 0;
    border-top: 1px solid rgba(124, 58, 237, 0.12);
    border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}

.pp-hero-stats > div {
    padding: 0 16px;
    border-right: 1px solid rgba(124, 58, 237, 0.1);
}

.pp-hero-stats > div:first-child {
    padding-left: 0;
}

.pp-hero-stats > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.pp-hero-stats dt {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text);
}

.pp-hero-stats dd {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.pp-hero-copy .ia-card-actions {
    margin-top: 0;
    gap: 12px;
}

.pp-hero-copy .btn {
    padding: 15px 28px;
    font-size: 14px;
}

.pp-stack {
    display: grid;
    gap: 88px;
    padding: 56px 0 24px;
}

.pp-stack > section {
    min-width: 0;
}

.section-head--left {
    text-align: left;
    margin-bottom: 28px;
}

.section-head--left .section-title {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.section-head--left .section-desc {
    margin: 0;
}

.section-head--left .eyebrow {
    margin-bottom: 14px;
}

.pp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.pp-split .section-head--left {
    margin-bottom: 18px;
}

.pp-split .fact-list {
    margin: 0;
}

.pp-split--task {
    /* Та же ширина, что у соседних секций: без своего max-width */
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
    gap: 40px;
}

.pp-split--task .pp-photo {
    /* Карточка чуть крупнее, правый край на линии контейнера */
    width: 100%;
    max-width: 440px;
    justify-self: end;
    margin-top: 56px;
}

.pp-split--task .pp-photo img {
    height: 280px;
    min-height: 0;
}

.pp-split--task .section-head--left {
    margin-bottom: 10px;
}

.pp-split--task .section-head--left .eyebrow {
    margin-bottom: 8px;
}

.pp-split--task .section-head--left .section-title {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    margin-bottom: 8px;
}

.pp-split--task .section-head--left .section-desc {
    font-size: 15px;
    line-height: 1.45;
}

.issue-list {
    list-style: none;
    display: grid;
    gap: 0;
    margin: 0;
}

.issue-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.issue-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.issue-list strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 2px;
    color: var(--text);
}

.issue-list span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.pp-photo--sm img {
    min-height: 0;
    height: 280px;
}

.pp-split .feature-grid {
    margin-top: 4px;
}

.pp-photo {
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #eef2ff;
    min-width: 0;
}

.pp-photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.pp-photo figcaption {
    padding: 12px 18px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.pp-photo--wide {
    margin-top: 24px;
}

.pp-photo.pp-photo--contain {
    /* Схема без фона: виден фон карточки. Масштаб — только CSS, файл не обрезаем */
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
}

.pp-photo.pp-photo--contain img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    padding: 0;
    vertical-align: top;
    /* Зум в блоке: объекты крупнее, прозрачные поля уходят за край карточки */
    /* transform: scale(1.2); */
    transform-origin: center center;
}

.feature-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.feature-grid .feature-card {
    height: 100%;
}

.product-page .offer-card {
    margin-top: 0;
}

.product-page #offer,
.product-page #contacts {
    scroll-margin-top: calc(var(--header-inset) + var(--nav-h) + var(--anchor-gap));
}

.product-page .section-band {
    padding: 48px 0 88px;
}

@media (max-width: 1180px) {
    .nav { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    .menu-btn { display: flex; }
}

@media (max-width: 1024px) {
    :root {
        --nav-h: 56px;
    }
    .ia-card,
    .ia-card--reverse,
    .product-stage,
    .product-photos,
    .product-photos--3,
    .footer-grid,
    .feature-grid,
    .compare-grid,
    .offer-card,
    .page-metrics,
    .pp-hero-card,
    .pp-split {
        grid-template-columns: 1fr;
    }

    .feature-grid--2,
    .feature-grid--3,
    .feature-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .pp-split--photo-first .pp-photo {
        order: -1;
    }

    .pp-hero-card {
        padding: 14px;
        gap: 8px;
    }

    .pp-hero-visual,
    .pp-hero-visual img {
        min-height: 380px;
    }

    .pp-hero-copy {
        padding: 16px 10px 12px;
    }

    .pp-photo img {
        min-height: 320px;
    }

    .pp-photo--sm img {
        height: 240px;
        min-height: 0;
    }

    .pp-split--task {
        grid-template-columns: 1fr;
    }

    .pp-split--task .pp-photo {
        margin-top: 0;
        max-width: none;
        justify-self: stretch;
    }

    .pp-photo--contain img {
        height: auto;
        min-height: 0;
    }

    .pp-stack {
        gap: 64px;
        padding-top: 40px;
    }

    .ia-card--reverse .ia-card-visual {
        order: 0;
    }

    .header-right .btn { display: none; }

    .final-cta-inner {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .final-cta-text {
        text-align: center;
    }

    .final-cta-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .final-cta-contacts {
        align-items: center;
    }

    .final-cta-contact {
        width: 100%;
        max-width: 400px;
    }

    .final-cta-actions {
        justify-content: center;
    }

    .final-cta-visual {
        min-height: 440px;
    }

    .final-cta-orb {
        width: min(100%, 620px);
        --cta-orb-scale: 1.5;
    }

    .privacy-notice {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 52px;
        --gutter: 16px;
        --header-inset: 10px;
        --anchor-gap: 16px;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    .header {
        left: var(--header-inset);
        right: var(--header-inset);
        top: var(--header-inset);
        height: var(--nav-h);
        padding: 0 10px 0 14px;
    }

    .logo img { height: 26px; }

    .menu-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-nav {
        top: calc(var(--header-inset) + var(--nav-h) + 8px);
        left: var(--header-inset);
        right: var(--header-inset);
        padding: 10px 16px 12px;
        border-radius: 20px;
    }

    .page-hero {
        padding-top: calc(var(--nav-h) + 36px);
        text-align: left;
    }

    .pp-hero {
        padding-top: calc(var(--nav-h) + 36px);
    }

    .crumbs { justify-content: flex-start; }

    .ia-card-body,
    .product-stage-body,
    .final-cta-inner,
    .offer-card,
    .compare-card {
        padding: 28px 22px;
    }

    .pp-hero-copy {
        padding: 18px 8px 10px;
    }

    .pp-hero-stats {
        margin: 20px 0 24px;
        padding: 14px 0;
    }

    .pp-hero-stats > div {
        padding: 0 10px;
    }

    .pp-hero-stats dt {
        font-size: 16px;
    }

    .pp-stack {
        gap: 52px;
        padding-top: 28px;
    }

    .ia-card-actions,
    .final-cta-actions {
        flex-direction: column;
    }

    .ia-card-actions .btn,
    .final-cta-actions .btn {
        width: 100%;
    }

    .final-cta-visual {
        min-height: 400px;
    }

    .final-cta-orb {
        width: min(100%, 480px);
        --cta-orb-scale: 1.4;
    }

    .product-photos img,
    .product-photos--3 img,
    .product-photo-wide img,
    .product-photo-wide--contain img {
        height: 280px;
    }

    .pp-photo--contain img {
        height: auto;
    }

    .feature-grid--2,
    .feature-grid--3,
    .feature-grid--4 {
        grid-template-columns: 1fr;
    }
}
