/* ===== CONTACTS PAGE ===== */

body.contacts-body {
    background-color: #0a0d1a;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.contacts-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 70, 229, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 60%, rgba(249, 168, 212, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contacts-body .page__container {
    padding: 0 1.5rem;
    gap: 0;
    margin-top: 8.75rem;
    margin-bottom: 0;
}

.contacts__page {
    max-width: 100rem;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

/* ──────────── PILL ──────────── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5625rem 1.25rem;
    background: rgba(225, 241, 255, 0.04);
    border: 1px solid rgba(225, 241, 255, 0.12);
    border-radius: 6.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.65);
    margin-bottom: 1.25rem;
    white-space: nowrap;
}

.pill::before, .pill::after {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accentcolor2);
    box-shadow: 0 0 0.5rem var(--accentcolor2);
    flex-shrink: 0;
}

.pill--pink {
    background: rgba(249, 168, 212, 0.06);
    border-color: rgba(249, 168, 212, 0.25);
}

.pill--pink::before, .pill--pink::after {
    background: #F9A8D4;
    box-shadow: 0 0 0.5rem rgba(249, 168, 212, 0.45);
}

.pill--live::before {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ──────────── HERO ──────────── */
.contacts__hero {
    text-align: center;
    padding: 2.5rem 0 4rem;
    margin-bottom: 1.5rem;
}

.contacts__hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.neon-outline {
    font-family: 'LIBRARY 3 AM soft', sans-serif;
    font-weight: normal;
    font-size: 0.92em;
    color: transparent;
    -webkit-text-stroke: 1px rgb(225, 241, 255);
    text-stroke: 1px rgb(225, 241, 255);
    text-shadow:
        0 0 4px rgba(225, 241, 255, 0.8),
        0 0 12px rgb(40, 148, 236),
        0 0 24px rgb(68, 91, 231),
        0 0 60px rgb(79, 70, 229);
    filter: saturate(85%);
    animation: neon-flicker 4s steps(100) infinite;
    margin: 0 0.5rem;
    display: inline-block;
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { filter: saturate(110%) hue-rotate(8deg); }
}

.contacts__hero-description {
    font-size: 1.1875rem;
    color: rgba(225, 241, 255, 0.65);
    max-width: 35rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* ──────────── TRUST STRIP ──────────── */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 4rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(225, 241, 255, 0.08);
    border-bottom: 1px solid rgba(225, 241, 255, 0.08);
}

.trust-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(225, 241, 255, 0.08);
}

.trust-item__value {
    font-size: 2.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.625rem;
}

.trust-item__value .accent {
    color: #F9A8D4;
}

.trust-item__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
}

/* ──────────── TABS ──────────── */
.tabs-wrap {
    margin-bottom: 3.5rem;
}

.tabs-bar {
    display: flex;
    gap: 0.25rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    flex: 1 1 0%;
    min-width: 0;
    padding: 0.875rem 1.375rem;
    background: #0d1019;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-bottom: none;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    user-select: none;
    margin-bottom: -1px;
}

.tab:hover {
    color: rgba(225, 241, 255, 0.65);
    background: #11141f;
}

.tab.active {
    background: #11141f;
    border-color: rgba(79, 70, 229, 0.4);
    color: var(--text-color);
    z-index: 3;
}

.tab.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accentcolor2), transparent);
    box-shadow: 0 0 0.5rem rgba(79, 70, 229, 0.18);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: rgba(225, 241, 255, 0.4);
    transition: color 0.25s ease;
}

.tab.active .tab-icon {
    color: var(--accentcolor);
}

.tab-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.125rem;
    padding: 0 0.375rem;
    background: rgba(249, 168, 212, 0.1);
    border: 1px solid rgba(249, 168, 212, 0.3);
    border-radius: 6.25rem;
    color: #F9A8D4;
    font-size: 0.6875rem;
    margin-left: 0.25rem;
}

.tab-panel-wrap {
    background: #11141f;
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: 1rem;
    border-top-left-radius: 0;
    padding: 2.5rem;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(79, 70, 229, 0.1),
        0 0 2rem rgba(79, 70, 229, 0.12);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(0.375rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* ──────────── TAB 1: контакты + форма ──────────── */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    align-items: stretch;
}

.panel-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-col--left {
    gap: 1rem;
}

.channels-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-mini-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.section-mini-label::before {
    content: '';
    width: 1.25rem;
    height: 1px;
    background: rgba(79, 70, 229, 0.4);
}

.channels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 1;
}

.channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #161a28;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    flex: 1;
}

.channel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.125rem;
    background: #F9A8D4;
    box-shadow: 0 0 0.75rem rgba(249, 168, 212, 0.45);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.channel:hover {
    background: #1c2133;
    border-color: rgba(249, 168, 212, 0.45);
    transform: translateX(0.25rem);
}

.channel:hover::before {
    transform: scaleY(1);
}

.channel__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 241, 255, 0.04);
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 0.625rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.channel:hover .channel__icon {
    background: rgba(249, 168, 212, 0.1);
    border-color: rgba(249, 168, 212, 0.45);
    box-shadow: 0 0 0.75rem rgba(249, 168, 212, 0.18);
    color: #FBCFE8;
}

.channel__icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.channel__info {
    flex: 1;
    min-width: 0;
}

.channel__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    margin-bottom: 0.25rem;
}

.channel__value {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.125rem;
}

.channel__meta {
    font-size: 0.8125rem;
    color: rgba(225, 241, 255, 0.65);
}

.channel__arrow {
    color: rgba(225, 241, 255, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.channel:hover .channel__arrow {
    color: #F9A8D4;
    transform: translate(0.1875rem, -0.1875rem);
}

/* Карточка «Ответит» */
.answer-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 1.25rem;
    background: #161a28;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

.answer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F9A8D4, transparent);
    box-shadow: 0 0 0.375rem rgba(249, 168, 212, 0.18);
}

.answer-card__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accentcolor2), var(--accentcolor));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0.875rem rgba(79, 70, 229, 0.18);
    position: relative;
}

.answer-card__avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #28EC80;
    border: 2px solid #161a28;
    box-shadow: 0 0 0.375rem #28EC80;
}

.answer-card__info {
    flex: 1;
    min-width: 0;
}

.answer-card__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    margin-bottom: 0.25rem;
}

.answer-card__name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.answer-card__role {
    font-size: 0.8125rem;
    color: rgba(225, 241, 255, 0.65);
}

/* ──────────── FORM ──────────── */
.contacts__form {
    padding: 1.75rem;
    background: #161a28;
    border: 1px solid var(--accentcolor2);
    border-radius: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    position: relative;
    flex: 1;
    box-shadow:
        inset 0 0 0 1px rgba(79, 70, 229, 0.15),
        0 0 1.5rem rgba(79, 70, 229, 0.18),
        0 0 3.75rem rgba(79, 70, 229, 0.06);
}

.contacts__form-title {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.375rem;
}

.contacts__form-subtitle {
    font-size: 0.875rem;
    color: rgba(225, 241, 255, 0.65);
}

.contacts__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    transition: color 0.3s ease;
}

.field__label-required {
    color: #F9A8D4;
    margin-left: 0.125rem;
}

.field:focus-within .field__label {
    color: var(--accentcolor);
}

.contacts__form input,
.contacts__form textarea,
.contacts__form select {
    background: rgba(74, 74, 74, 0.4);
    padding: 0.75rem 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid #797979;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.contacts__form input::placeholder,
.contacts__form textarea::placeholder {
    color: rgba(225, 241, 255, 0.4);
}

.contacts__form input:focus,
.contacts__form textarea:focus,
.contacts__form select:focus {
    outline: none;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.15) 0%, rgba(40, 148, 236, 0.15) 100%);
    border: 1px solid rgba(40, 148, 236, 0.5);
    box-shadow: 0 0 0.75rem 0.1875rem rgba(79, 70, 229, 0.25);
    color: white;
}

.contacts__form textarea {
    min-height: 7rem;
    resize: vertical;
    flex: 1;
}

.contacts__form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='rgba(225,241,255,0.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    cursor: pointer;
}

.contacts__form select option {
    background: #1a1a2a;
    color: var(--text-color);
}

.contacts__form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.contacts__form-consent .checkbox + .checkbox__label {
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    min-height: 1.125rem;
    max-height: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.contacts__form-consent .checkbox__span {
    font-size: 0.8125rem;
    color: rgba(225, 241, 255, 0.65);
    line-height: 1.5;
}

.contacts__form-consent .checkbox__span a {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.4);
    text-underline-offset: 0.1875rem;
}

.contacts__form-consent .checkbox__span a:hover {
    color: var(--accentcolor);
}

.contacts__form-consent .checkbox__span-required {
    color: #EC285C;
}

/* Кнопка отправки */
.form-submit {
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9375rem 1.75rem;
    background: linear-gradient(90deg, var(--accentcolor2) 0%, var(--accentcolor) 100%);
    border: none;
    border-radius: 0.625rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 0 1.25rem rgba(79, 70, 229, 0.3), 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.form-submit:hover::before {
    transform: translateX(100%);
}

.form-submit:hover {
    box-shadow: 0 0 1.75rem rgba(79, 70, 229, 0.5), 0 0.375rem 1.25rem rgba(0, 0, 0, 0.4);
    transform: translateY(-0.125rem);
}

/* ──────────── TAB 2: FAQ ──────────── */
.faq-list {
    max-width: 47.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: #161a28;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(225, 241, 255, 0.18);
}

.faq-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.375rem;
    cursor: pointer;
    user-select: none;
}

.faq-item__q {
    font-size: 1rem;
    font-weight: 500;
}

.faq-item__icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.4);
    color: var(--accentcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: 0.875rem;
    line-height: 1;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
    background: var(--accentcolor2);
    color: white;
}

.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-item__body {
    max-height: 15rem;
}

.faq-item__a {
    padding: 0 1.375rem 1.125rem;
    font-size: 0.9375rem;
    color: rgba(225, 241, 255, 0.65);
    line-height: 1.6;
}

/* ──────────── TAB 3: LEGAL ──────────── */
.legal-grid {
    max-width: 47.5rem;
    margin: 0 auto;
    background: #161a28;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 0.875rem;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
    position: relative;
}

.legal-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accentcolor2), transparent);
    box-shadow: 0 0 0.375rem rgba(79, 70, 229, 0.18);
}

.legal__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(225, 241, 255, 0.08);
}

.legal__row:nth-last-child(-n+2) {
    border-bottom: 0;
}

.legal__key {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    flex-shrink: 0;
    padding-top: 0.125rem;
}

.legal__value {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: break-word;
}

/* ──────────── WHAT'S NEXT — flow ──────────── */
.next-flow {
    margin-top: 5rem;
}

.next-flow__header {
    text-align: center;
    margin-bottom: 3rem;
}

.next-flow__title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

.next-flow__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 5rem;
    row-gap: 4rem;
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
}

.flow-node {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    background: #11141f;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: all 0.3s ease;
}

.flow-node:hover {
    border-color: rgba(79, 70, 229, 0.4);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}

.flow-node--active {
    border-color: var(--accentcolor2);
    box-shadow:
        inset 0 0 0 1px rgba(79, 70, 229, 0.15),
        0 0 1.25rem rgba(79, 70, 229, 0.18),
        0 0 2.5rem rgba(79, 70, 229, 0.1);
}

.flow-node--active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accentcolor2), transparent);
    box-shadow: 0 0 0.5rem var(--accentcolor2);
}

.flow-node__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.flow-node__icon {
    width: 2.625rem;
    height: 2.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: 0.625rem;
    color: var(--accentcolor);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flow-node--active .flow-node__icon {
    background: rgba(79, 70, 229, 0.2);
    box-shadow: 0 0 0.875rem rgba(79, 70, 229, 0.18);
    color: white;
}

.flow-node__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.flow-node__step {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(225, 241, 255, 0.4);
    padding: 0.3125rem 0.75rem;
    background: rgba(225, 241, 255, 0.04);
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 6.25rem;
}

.flow-node--active .flow-node__step {
    color: var(--accentcolor);
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.4);
}

.flow-node__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.flow-node__meta {
    font-size: 0.9375rem;
    color: rgba(225, 241, 255, 0.65);
    line-height: 1.5;
}

.flow-node__time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accentcolor);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flow-node--active .flow-node__time {
    color: var(--text-color);
}

.flow-node__time::before {
    content: '';
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: var(--accentcolor);
    box-shadow: 0 0 0.375rem var(--accentcolor);
}

.flow-node--active .flow-node__time::before {
    animation: pulse 2s ease-in-out infinite;
    background: var(--accentcolor2);
    box-shadow: 0 0 0.5rem var(--accentcolor2);
}

@keyframes flow-dash {
    to { stroke-dashoffset: -200; }
}

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1100px) {
    .panel-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 1.5rem;
    }

    .next-flow__grid {
        column-gap: 3.5rem;
        row-gap: 3rem;
    }
}

@media (max-width: 960px) {
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        align-items: start;
    }

    .channel {
        flex: none;
        min-height: auto;
    }

    .contacts__hero-title {
        font-size: 4rem;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .trust-item {
        padding: 0.75rem 0;
    }

    .trust-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .contacts-body .page__container {
        padding: 0 1.5rem;
    }

    .contacts__hero {
        padding: 1.5rem 0 3rem;
    }

    .contacts__hero-title {
        font-size: 3.25rem;
    }

    .contacts__hero-description {
        font-size: 1rem;
    }

    .tab-panel-wrap {
        padding: 1.75rem;
    }

    .tabs-bar {
        gap: 0.125rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tabs-bar::-webkit-scrollbar {
        display: none;
    }

    .tab {
        padding: 0.75rem 1rem;
        font-size: 0.625rem;
        flex: 1;
        min-width: 0;
    }

    .next-flow__grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 2.5rem;
    }

    #flowConnections {
        display: none;
    }

    .next-flow__title {
        font-size: 1.75rem;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legal__row {
        border-bottom: 1px dashed rgba(225, 241, 255, 0.08) !important;
    }

    .legal__row:last-child {
        border-bottom: 0 !important;
    }
}

@media (max-width: 540px) {
    .contacts-body .page__container {
        padding: 0 1rem;
    }

    .pill {
        white-space: normal;
        text-align: center;
        font-size: 0.625rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .contacts__hero-title {
        font-size: 2.5rem;
    }

    .trust-item__value {
        font-size: 1.625rem;
    }

    .tab-panel-wrap {
        padding: 1.25rem;
    }

    .contacts__form {
        padding: 1.375rem;
    }

    .contacts__form-row {
        grid-template-columns: 1fr;
    }

    .contacts__form-title {
        font-size: 1.375rem;
    }

    .channel {
        padding: 1rem 1.125rem;
        gap: 0.75rem;
    }

    .channel__icon {
        width: 2.375rem;
        height: 2.375rem;
    }

    .channel__value {
        font-size: 0.9375rem;
    }

    .answer-card {
        padding: 1rem 1.125rem;
    }

    .answer-card__avatar {
        width: 2.625rem;
        height: 2.625rem;
        font-size: 0.875rem;
    }

    .legal-grid {
        padding: 1.125rem 1.375rem;
    }

    .legal__row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .legal__value {
        text-align: left;
    }
}
