.topbar .btn-callback {
    background: #fff;
    color: var(--blue);
    transition:all ease-out .2s;
}

.topbar .btn-callback:hover {
    background:#fff;
    color: var(--blue);
    opacity:.8;
}

.form-input.is-invalid {
    border-color:brown !important;
}

.final-cta .form-disclaimer {
    color:#fff;
}

.final-cta .form-disclaimer a {
    color:#fff;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 20px;
    overflow:hidden;
    border-radius: 16px;
    opacity: 0;
    transform: translateX(120%) scale(0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 40px rgba(27, 79, 138, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    border: 1px solid var(--border);
    border-left:none;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 16px 0 0 16px;
}

.notification-success::before {
    background: var(--blue);
}

.notification-error::before {
    background: var(--warm);
}

.notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.notification-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.notification-success .notification-icon {
    background: var(--blue-light);
    color: var(--blue);
}

.notification-error .notification-icon {
    background: var(--warm-light);
    color: var(--warm);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.notification-success .notification-title {
    color: var(--blue-muted);
}

.notification-error .notification-title {
    color: var(--warm);
}

.notification-message {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text);
}

.notification-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    padding: 0;
}

.notification-close:hover {
    background: var(--border);
    color: var(--text);
    transform: scale(1.05);
}

.notification-close:active {
    transform: scale(0.95);
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .notification {
        left: 16px;
        right: 16px;
        top: 16px;
        min-width: auto;
        max-width: none;
    }
}

.page-index .final-form input {
    border:1px solid #eee;
}

.page-index .final-form {
    gap:0px;
    margin-bottom:12px;
}

/* ===== СТИЛИ ДЛЯ БЛОКА 404 ===== */
.error-404 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
}

.error-404__container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.error-404__content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease;
}

.error-404__content:hover {
    transform: translateY(-5px);
}

/* Анимация для цифр 404 */
.error-404__code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 32px;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
}

.error-404__digit {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    animation: float 3s ease-in-out infinite;
}

.error-404__digit:first-child {
    animation-delay: 0s;
}

.error-404__digit:last-child {
    animation-delay: 0.5s;
}

.error-404__zero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: var(--blue);
    animation: pulse 2s ease-in-out infinite;
}

.error-404__icon {
    width: 110px;
    height: 110px;
    stroke-width: 1.5;
}

/* Заголовок */
.error-404__title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Текст описания */
.error-404__text {
    font-size: 18px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопки */
.error-404__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.error-404__button--primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.error-404__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.error-404__button--primary:active {
    transform: translateY(1px);
}

.error-404__button--secondary {
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.error-404__button--secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.error-404__button-icon {
    width: 20px;
    height: 20px;
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Адаптивность */
@media (max-width: 640px) {
    .error-404__content {
        padding: 40px 24px;
    }
    
    .error-404__code {
        font-size: 80px;
        gap: 8px;
    }
    
    .error-404__icon {
        width: 75px;
        height: 75px;
    }
    
    .error-404__title {
        font-size: 26px;
    }
    
    .error-404__text {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .error-404__button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .error-404__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .error-404__button {
        justify-content: center;
    }
}