/* ==========================================================================
   СТРАНИЦА AUXILIUM МОДЕЛЬ V — активный экзоскелет
   Тёмная инженерная подача в языке флагмана и страниц M/L.
   ========================================================================== */

.axv {
    --v-line: var(--border-color, rgba(255, 255, 255, .12));
    --v-line-soft: var(--white-10, rgba(255, 255, 255, .07));
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ---------- Первый экран ---------- */

.axv-hero {
    padding: 84px 0 72px;
}

.axv-hero__grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 64px;
    align-items: center;
}

.axv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
}

.axv-eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
}

.axv-lock {
    margin: 0;
    font-weight: 700;
    line-height: .92;
}

.axv-lock__top,
.axv-lock__bottom {
    display: block;
    width: fit-content;
    font-family: 'Mokoto', 'Mokoto Glitch', sans-serif;
    font-weight: 200;
    font-size: clamp(30px, 3.4vw, 46px);
}

.axv-lock__bottom {
    margin-top: 6px;
}

.axv-lock__bottom .nz {
    font-family: 'nasalization', sans-serif;
}

.axv-lead {
    margin: 26px 0 0;
    max-width: 40ch;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.axv-lead b {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------- Сцена с выносками ---------- */

.axv-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--v-line);
    background:
        radial-gradient(ellipse 70% 65% at 50% 45%, #232320 0%, #141413 62%, #0c0c0b 100%);
    overflow: hidden;
}

.axv-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .35s ease;
}

.axv-stage img.is-on {
    opacity: 1;
}

.axv-stage__ph {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease;
}

.axv-stage__ph span {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(15, 15, 15, .7);
    padding: 6px 10px;
    border: 1px solid var(--v-line-soft);
    text-align: center;
    max-width: 78%;
    line-height: 1.7;
}

.axv-callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .66);
    white-space: nowrap;
    pointer-events: none;
}

.axv-callout b {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .1em;
}

.axv-callout__line {
    width: 54px;
    height: 1px;
    background: var(--accent);
    opacity: .85;
    flex: 0 0 auto;
}

.axv-callout--r {
    flex-direction: row-reverse;
}

.axv-stage__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    border-top: 1px solid var(--v-line-soft);
    background: rgba(12, 12, 11, .85);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* ---------- Конфигуратор ---------- */

.axv-config {
    padding: 72px 0 84px;
    border-top: 1px solid var(--v-line-soft);
}

.axv-config__head {
    margin-bottom: 40px;
    max-width: 62ch;
}

.axv-config__head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.axv-config__head p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.axv-config__grid {
    display: grid;
    grid-template-columns: 1fr 1.06fr;
    gap: 48px;
    align-items: start;
}

.axv-config__preview {
    position: sticky;
    top: 96px;
}

.axv-panel {
    border: 1px solid var(--v-line);
    background: var(--bg-secondary);
    padding: 26px 26px 22px;
}

.axv-panel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.axv-panel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-medium, #444);
    transition: background .2s ease, transform .2s ease;
}

.axv-panel__dot.is-active {
    background: var(--accent);
    transform: scale(1.15);
}

.axv-panel__dot.is-done {
    background: var(--accent);
    opacity: .45;
}

.axv-step {
    display: none;
}

.axv-step.is-active {
    display: block;
}

.axv-step h3 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.axv-opts {
    display: grid;
    gap: 10px;
}

.axv-opts--2 {
    grid-template-columns: 1fr 1fr;
}

.axv-opts--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.axv-opt {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 12px;
    border: 1px solid var(--v-line);
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
}

.axv-opt:hover {
    border-color: var(--accent);
}

.axv-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.axv-opt__title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.axv-opt__meta {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.axv-opt:has(input:checked),
.axv-opt.is-selected {
    border-color: var(--accent);
    background: rgba(186, 169, 143, .08);
}

.axv-opt:has(input:checked) .axv-opt__meta,
.axv-opt.is-selected .axv-opt__meta {
    color: var(--accent);
}

.axv-opt.is-disabled {
    opacity: .38;
    pointer-events: none;
}

/* Шапка с суммой */
.axv-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 26px;
    border: 1px solid var(--v-line);
    border-bottom: 0;
    background: var(--bg-tertiary);
}

.axv-total__label {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.axv-total__value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.axv-total__value i {
    font-style: normal;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

/* Появление активных модулей (как выбор охвата талии) */
.axv-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, margin .35s ease;
    margin-top: 0;
}

.axv-reveal.is-open {
    max-height: 420px;
    opacity: 1;
    margin-top: 18px;
}

.axv-reveal__label {
    display: block;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.axv-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.axv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #141414;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.axv-btn:hover {
    background: transparent;
    color: var(--accent);
    text-decoration: none;
}

.axv-btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--v-line);
}

.axv-btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.axv-btn[disabled] {
    opacity: .4;
    pointer-events: none;
}

.axv-summary {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    border-top: 1px solid var(--v-line-soft);
}

.axv-summary li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--v-line-soft);
    font-size: 13.5px;
    line-height: 1.45;
}

.axv-summary span:first-child {
    color: var(--text-muted);
}

.axv-summary span:last-child {
    text-align: right;
    color: var(--text-primary);
}

/* ---------- Обычные секции ---------- */

.axv-section {
    padding: 76px 0;
    border-top: 1px solid var(--v-line-soft);
}

.axv-section__head {
    max-width: 66ch;
    margin-bottom: 38px;
}

.axv-section h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.axv-section p {
    margin: 0 0 14px;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.axv-section p:last-child {
    margin-bottom: 0;
}

.axv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.axv-table th,
.axv-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--v-line-soft);
    text-align: left;
    vertical-align: top;
}

.axv-table th {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
}

.axv-table td:first-child {
    color: var(--text-secondary);
    width: 46%;
}

.axv-table td:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.axv-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.axv-card {
    padding: 24px 22px;
    border: 1px solid var(--v-line);
    background: var(--bg-secondary);
}

.axv-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.axv-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.axv-num {
    display: block;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--accent);
}

/* Дорожная карта */
.axv-road {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    padding-top: 8px;
}

.axv-road__item {
    position: relative;
    padding-top: 26px;
    border-top: 1px solid var(--v-line);
}

.axv-road__item::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.axv-road__item--now::before {
    box-shadow: 0 0 0 4px rgba(186, 169, 143, .18);
}

.axv-road__date {
    display: block;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

.axv-road__item h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.axv-road__item p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Оффер */
.axv-offer {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: start;
}

.axv-offer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.axv-offer__list li {
    position: relative;
    padding: 0 0 16px 26px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.axv-offer__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 1px;
    background: var(--accent);
}

.axv-offer__list b {
    color: var(--text-primary);
    font-weight: 600;
}

.axv-deposit {
    padding: 28px 26px;
    border: 1px solid var(--accent);
    background: rgba(186, 169, 143, .05);
}

.axv-deposit__sum {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.axv-deposit__sum i {
    font-style: normal;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 6px;
}

.axv-deposit__label {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.axv-deposit p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* FAQ */
.axv-faq {
    max-width: 78ch;
}

.axv-faq__item {
    border-bottom: 1px solid var(--v-line-soft);
}

.axv-faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    cursor: pointer;
}

.axv-faq__q i {
    flex: 0 0 auto;
    color: var(--accent);
    transition: transform .2s ease;
}

.axv-faq__item.is-open .axv-faq__q i {
    transform: rotate(45deg);
}

.axv-faq__a {
    display: none;
    padding: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 68ch;
}

.axv-faq__item.is-open .axv-faq__a {
    display: block;
}

/* Форма */
.axv-form {
    padding: 76px 0 90px;
    border-top: 1px solid var(--v-line-soft);
}

.axv-form__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.axv-fields {
    display: grid;
    gap: 12px;
}

.axv-fields input,
.axv-fields textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--v-line);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.4;
}

.axv-fields input:focus,
.axv-fields textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.axv-fields textarea {
    min-height: 108px;
    resize: vertical;
}

.axv-privacy {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

.axv-privacy a {
    color: var(--accent);
}

/* ---------- Адаптив ---------- */

@media (max-width: 1199px) {
    .axv-hero__grid,
    .axv-config__grid,
    .axv-offer,
    .axv-form__grid {
        gap: 36px;
    }

    .axv-road {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }
}

@media (max-width: 991px) {
    .axv-hero {
        padding: 56px 0 48px;
    }

    .axv-hero__grid,
    .axv-config__grid,
    .axv-offer,
    .axv-form__grid {
        grid-template-columns: 1fr;
    }

    .axv-config__preview {
        position: static;
        order: 2;
    }

    .axv-cards {
        grid-template-columns: 1fr;
    }

    .axv-opts--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .axv-callout {
        font-size: 9px;
    }

    .axv-callout__line {
        width: 30px;
    }
}

@media (max-width: 575px) {
    .axv-opts--2 {
        grid-template-columns: 1fr;
    }

    .axv-road {
        grid-template-columns: 1fr;
    }

    .axv-stage__caption {
        display: none;
    }

    .axv-callout {
        display: none;
    }

    .axv-section,
    .axv-config,
    .axv-form {
        padding: 52px 0;
    }
}

/* Светлая тема: сцена остаётся тёмной, как в конфигураторе */
html[data-theme="light"] .axv-stage {
    background:
        radial-gradient(ellipse 70% 65% at 50% 45%, #2a2a27 0%, #1a1a19 62%, #101010 100%);
}

html[data-theme="light"] .axv-stage__caption {
    background: rgba(12, 12, 11, .92);
    color: #9a9a9a;
}

html[data-theme="light"] .axv-stage__ph span {
    background: rgba(15, 15, 15, .8);
    color: #9a9a9a;
}

/* ---------- Уведомления формы ----------
   На этой странице не подключён modelD.css, поэтому базовые стили
   уведомлений задаём здесь. */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10070;
    max-width: min(92vw, 460px);
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    background: var(--accent);
    color: #141414;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
    opacity: 1;
    transition: opacity .3s ease;
}

.notification.hidden {
    opacity: 0;
    pointer-events: none;
}

.notification.error {
    background: #8b3a3a;
    color: #ffffff;
}

.notification.neutral {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
