:root {
            --text-color: #f0f0f0;
            --accent-color: #d4b483;
            --bg-darkness: 0.3;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Neue Montreal', sans-serif;
            color: var(--text-color);
            height: 100vh;
            overflow: hidden;
            position: relative;
            background: #000;
        }
        
        .bg-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            opacity: 0;
            transition: opacity 2s ease;
            filter: brightness(var(--bg-darkness));
        }
        
        body.loaded .bg-video {
            opacity: 1;
        }
        
        .content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 3rem;
            mix-blend-mode: difference;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        
        .logo {
            font-weight: 500;
            letter-spacing: 1px;
            font-size: 1.1rem;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.8s ease 0.2s;
        }
        
        .menu-btn {
            background: none;
            border: none;
            color: inherit;
            font-family: inherit;
            font-size: 1rem;
            letter-spacing: 1px;
            cursor: pointer;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.8s ease 0.3s;
        }
        
        .main-content {
            max-width: 600px;
            margin-bottom: 10vh;
        }
        
        h1 {
            font-weight: 400;
            font-size: 3.5rem;
            line-height: 1;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 1s ease 0.4s;
        }
        
        .divider {
            width: 80px;
            height: 1px;
            background: var(--accent-color);
            margin: 2rem 0;
            opacity: 0;
            transform: scaleX(0);
            transform-origin: left;
            transition: all 0.8s ease 0.8s;
        }
        
        .description {
            font-weight: 300;
            line-height: 1.6;
            max-width: 400px;
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(20px);
            transition: all 1s ease 0.9s;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            padding: 0;
            background: none;
            border: none;
            border-bottom: 1px solid var(--accent-color);
            color: inherit;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 400;
            padding-bottom: 5px;
            cursor: pointer;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.8s ease 1s;
        }
        
        .btn svg {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }
        
        .btn:hover svg {
            transform: translateX(3px);
        }
        
        .footer {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            font-weight: 300;
            letter-spacing: 0.5px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.8s ease 1.1s;
        }
        
        /* Активация анимаций после загрузки */
        body.loaded .logo,
        body.loaded .menu-btn,
        body.loaded h1,
        body.loaded .divider,
        body.loaded .description,
        body.loaded .btn,
        body.loaded .footer {
            opacity: 1;
            transform: none;
        }
        
        /* Мобильная адаптация */
        @media (max-width: 768px) {
            .content {
                padding: 2rem;
            }
            
            h1 {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }
            
            .divider {
                margin: 1.5rem 0;
            }
            
            .description {
                font-size: 0.95rem;
                margin-bottom: 2rem;
            }
        }

/* Изолированные стили футера */
    .footer {
      --footer-primary: #6C4DFF;
      --footer-primary-hover: #5a3fe6;
      --footer-bg: #0a0a0a;
      --footer-text: rgba(255, 255, 255, 0.95);
      --footer-text-light: rgba(255, 255, 255, 0.7);
      --footer-border: rgba(255, 255, 255, 0.1);
      --footer-input-bg: rgba(255, 255, 255, 0.05);
      --footer-radius: 12px;
      --footer-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

      font-family: 'Manrope', system-ui, -apple-system, sans-serif;
      background: var(--footer-bg);
      color: var(--footer-text);
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }

    .footer::before {
      content: '';
      position: absolute;
      top: -50px;
      right: -50px;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, var(--footer-primary) 0%, transparent 70%);
      opacity: 0.1;
      z-index: 1;
    }

    .footer__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      position: relative;
      z-index: 2;
    }

    .footer__contacts {
      display: flex;
      flex-direction: column;
    }

    .footer__title {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 24px;
      background: linear-gradient(90deg, #fff 0%, var(--footer-primary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1.2;
    }

    .footer__subtitle {
      font-size: 1.1rem;
      line-height: 1.6;
      color: var(--footer-text-light);
      margin-bottom: 40px;
      max-width: 400px;
    }

    .footer__contact-item {
      margin-bottom: 28px;
      position: relative;
      padding-left: 40px;
    }

    .footer__contact-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 24px;
      height: 24px;
      background-color: var(--footer-primary);
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
      mask-repeat: no-repeat;
      mask-position: center;
    }

    .footer__contact-item--location::before {
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
    }

    .footer__contact-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--footer-text);
    }

    .footer__contact-value {
      font-size: 1rem;
      color: var(--footer-text-light);
      transition: color 0.3s ease;
    }

    .footer__contact-link {
      color: inherit;
      text-decoration: none;
      display: inline-block;
    }

    .footer__contact-link:hover {
      color: var(--footer-primary);
    }

    .footer__form-wrapper {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--footer-border);
      border-radius: var(--footer-radius);
      padding: 48px;
      backdrop-filter: blur(10px);
      box-shadow: var(--footer-shadow);
    }

    .footer__form-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 32px;
      color: var(--footer-text);
    }

    .footer__form-group {
      margin-bottom: 24px;
    }

    .footer__form-label {
      display: block;
      font-size: 0.9rem;
      margin-bottom: 10px;
      color: var(--footer-text-light);
    }

    .footer__form-input {
      width: 100%;
      padding: 16px 20px;
      border-radius: 8px;
      border: 1px solid var(--footer-border);
      background: var(--footer-input-bg);
      color: var(--footer-text);
      font-family: inherit;
      font-size: 1rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer__form-input:focus {
      outline: none;
      border-color: var(--footer-primary);
      box-shadow: 0 0 0 3px rgba(108, 77, 255, 0.2);
    }

    .footer__phone-input {
      display: flex;
    }

    .footer__phone-prefix {
      padding: 16px 12px;
      background: var(--footer-input-bg);
      border: 1px solid var(--footer-border);
      border-right: none;
      border-radius: 8px 0 0 8px;
      color: var(--footer-text-light);
    }

    .footer__phone-number {
      border-radius: 0 8px 8px 0;
      flex: 1;
    }

    .footer__submit-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 18px 36px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 1rem;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-primary-hover) 100%);
      color: white;
      border: none;
      cursor: pointer;
      width: 100%;
      margin-top: 10px;
      box-shadow: 0 4px 15px rgba(108, 77, 255, 0.3);
    }

    .footer__submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(108, 77, 255, 0.4);
    }

    .footer__privacy {
      font-size: 0.8rem;
      color: var(--footer-text-light);
      margin-top: 24px;
      line-height: 1.6;
    }

    .footer__privacy-link {
      color: var(--footer-text);
      text-decoration: underline;
      transition: color 0.3s ease;
    }

    .footer__privacy-link:hover {
      color: var(--footer-primary);
    }

    /* Стили для чекбокса */
    .footer__form-group--checkbox {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .footer__checkbox-input {
      margin-top: 2px;
      accent-color: var(--footer-primary);
    }

    .footer__checkbox-label {
      font-size: 0.9rem;
      color: var(--footer-text-light);
      line-height: 1.4;
      cursor: pointer;
    }

    /* Сообщения формы */
    .footer__form-message {
      display: none;
      padding: 16px;
      border-radius: 8px;
      margin-bottom: 20px;
      text-align: center;
      font-weight: 500;
    }

    .footer__form-message--success {
      background: rgba(46, 204, 113, 0.2);
      color: #2ecc71;
      border: 1px solid rgba(46, 204, 113, 0.3);
    }

    .footer__form-message--error {
      background: rgba(231, 76, 60, 0.2);
      color: #e74c3c;
      border: 1px solid rgba(231, 76, 60, 0.3);
    }

    /* Стили для ошибок */
    .footer__form-error {
      color: #ff4444;
      font-size: 12px;
      margin-top: 5px;
      display: none;
    }

    .footer__form-input.error {
      border-color: #ff4444;
      box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
    }

    .footer__checkbox-input.error + .footer__checkbox-label {
      color: #ff4444;
    }

    /* Анимации */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .footer__contact-item,
    .footer__form-wrapper {
      animation: fadeIn 0.6s ease-out forwards;
    }

    .footer__contact-item:nth-child(1) {
      animation-delay: 0.1s;
    }

    .footer__contact-item:nth-child(2) {
      animation-delay: 0.2s;
    }

    .footer__contact-item:nth-child(3) {
      animation-delay: 0.3s;
    }

    .footer__form-wrapper {
      animation-delay: 0.4s;
    }

    /* Адаптивность */
    @media (max-width: 1024px) {
      .footer__container {
        gap: 40px;
        padding: 0 32px;
      }

      .footer__form-wrapper {
        padding: 40px;
      }
    }

    @media (max-width: 768px) {
      .footer {
        padding: 60px 0;
      }

      .footer__container {
        grid-template-columns: 1fr;
        gap: 50px;
      }

      .footer__title {
        font-size: 1.8rem;
      }

      .footer__form-wrapper {
        padding: 36px;
      }
    }

    @media (max-width: 480px) {
      .footer {
        padding: 50px 0;
      }

      .footer__container {
        padding: 0 24px;
        gap: 40px;
      }

      .footer__title {
        font-size: 1.6rem;
        margin-bottom: 20px;
      }

      .footer__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
      }

      .footer__form-wrapper {
        padding: 30px 24px;
      }

      .footer__form-title {
        font-size: 1.3rem;
        margin-bottom: 24px;
      }

      .footer__form-input {
        padding: 14px 16px;
      }
    }

.back-to-top.left {
        left: 20px;
        right: auto;
        border-radius: 50%;
      }

      .back-to-top:hover {
        background-color: #0b5ed7;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }

      .back-to-top i {
        font-size: 1.5rem;
      }
