    :root {
            --orange: #ff6a00;
            --orange-dark: #e05e00;
            --orange-light: #ff8a33;
            --gray-dark: #333333;
            --gray-medium: #555555;
            --gray-light: #f5f5f5;
            --white: #ffffff;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }  


.section-quiz-s{
  display: flex;
  justify-content: center;
  padding: 20px 20px 50px 20px;
	     box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--gray-dark);
  overflow-x: hidden;
}

.quiz-container {
            width: 100%;
            max-width: 900px;
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            position: relative;
            border: 1px solid var(--gray-light);
        }

      .quiz-header {
  background:#575756;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

        /* Анимированные блики */
        .glare {
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
            filter: blur(20px);
            opacity: 0.7;
            z-index: 1;
        }
        
        .glare-1 {
            top: -50px;
            left: 10%;
            animation: moveGlare1 15s infinite ease-in-out;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
        }
        
        .glare-2 {
            bottom: -80px;
            right: 15%;
            animation: moveGlare2 18s infinite ease-in-out;
            width: 250px;
            height: 250px;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
        }
        
        .glare-3 {
            top: 30%;
            left: 40%;
            animation: moveGlare3 12s infinite ease-in-out;
            width: 180px;
            height: 180px;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
        }

        .header-content {
            position: relative;
            z-index: 2;
        }

        .quiz-header h2{
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--white);
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
            animation: slideDown 1s ease-out, pulsate 3s infinite ease-in-out;
            transform-origin: center;
        }

        .quiz-header p {
            font-size: 1.7rem;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .quiz-progress {
            height: 8px;
            background: rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .progress-bar {
            height: 100%;
            background: var(--orange);
            width: 0%;
            transition: var(--transition);
        }

 .quiz-body {

    padding: 40px;
    position: relative;
    background: var(--white);

    display: flex;
    flex-direction: column;
}

     .step {

    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
    
  
    display: none;
}

.step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    z-index: 10;

    display: block;
}

        .step h2 {
            font-size: 1.8rem;
            margin-bottom: 30px;
            color: var(--orange);
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }

        .step h2::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--orange);
            border-radius: 2px;
        }
#step1 .btn-prev {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    width: 0;
    padding: 0;
}
        .options-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .option {
            background: var(--gray-light);
            border: 2px solid var(--gray-light);
            border-radius: 15px;
            padding: 25px 15px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            color: var(--gray-dark);
            display: flex;
			
            flex-direction: column;
            align-items: center;
           font-size: 1.3em;
        }

        .option:hover {
            transform: translateY(-8px);
            border-color: var(--orange);
            box-shadow: 0 15px 30px rgba(255, 106, 0, 0.1);
            background: rgba(255, 106, 0, 0.03);
        }

        .option.selected {
            background: rgba(255, 106, 0, 0.05);
            border-color: var(--orange);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(255, 106, 0, 0.15);
        }

        .icon-container {
            width: 70px;
            height: 70px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .option svg {
            width: 100%;
            height: 100%;
            fill: var(--orange);
            transition: var(--transition);
        }

        .option:hover svg {
            transform: scale(1.15);
            filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.3));
        }

        .option span {
      font-size: 1.1em;
  font-weight: 800;
			font-family: "Onest", sans-serif;
        }

        .input-group {
            margin-bottom: 30px;
        }

        .input-group label {
            display: block;
            margin-bottom: 15px;
            font-size: 1.1rem;
            color: var(--gray-dark);
            font-weight: 500;
        }

        .input-group input, 
        .input-group textarea {
            width: 100%;
            padding: 16px 20px;
            border-radius: 12px;
            border: 2px solid var(--gray-light);
            background: var(--white);
            color: var(--gray-dark);
       font-size: 1.3em;
            transition: var(--transition);
        }

        .input-group input:focus, 
        .input-group textarea:focus {
            outline: none;
            border-color: var(--orange);
            box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
        }

        .search-container {
            position: relative;
            margin-bottom: 25px;
        }

        #industry-input {
            padding-right: 50px;
        }

        .search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--orange);
            font-size: 1.2rem;
        }

        .dropdown-list {
            position: absolute;
            width: 100%;
            max-height: 300px;
            overflow-y: auto;
            background: var(--white);
            border: 1px solid var(--orange);
            border-radius: 12px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            z-index: 100;
            display: none;
        }

        .dropdown-item {
            padding: 14px 25px;
            cursor: pointer;
            transition: var(--transition);
            color: var(--gray-dark);
            font-size: 1.05rem;
        }

        .dropdown-item:hover {
            background: rgba(255, 106, 0, 0.05);
        }

        .quiz-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
        }
.step .input-group {width:100% !important}
        .btn {
            padding: 16px 35px;
            border-radius: 50px;
            border: none;
            font-size: 1.5em !important;
			font-family: "Onest", sans-serif !important;
            font-weight: 800 !important;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 12px;
        }
/* Добавляем анимацию появления */
@keyframes stepAppear {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-height: 700px) {
    .quiz-container {
        max-height: 95vh;
        overflow-y: auto;
    }
}
.step.active {
    animation: stepAppear 0.5s ease-out forwards;
}
        .btn-prev {
            background: rgba(0, 0, 0, 0.05);
            color: var(--gray-dark);
        }

        .btn-prev:hover {
            background: rgba(0, 0, 0, 0.08);
            transform: translateX(-5px);
        }

        .btn-next {
            background: var(--orange);
            color: var(--white);
            box-shadow: 0 7px 20px rgba(255, 106, 0, 0.2);
        }

        .btn-next:hover {
            background: var(--orange-dark);
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(255, 106, 0, 0.3);
        }

        .btn-next:disabled {
            background: var(--gray-medium);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
            color: var(--white);
        }

        .btn-send {
            background: var(--orange);
            color: var(--white);
            box-shadow: 0 7px 20px rgba(255, 106, 0, 0.2);
        }

        .btn-send:hover {
            background: var(--orange-dark);
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(255, 106, 0, 0.3);
        }

        .error-message {
            color: #ff4d4d;
            font-size: 0.95rem;
            margin-top: 8px;
            display: none;
        }

        .success-screen {
            text-align: center;
            padding: 30px 20px;
            background: var(--white);
        }

        .tech-animation {
            position: relative;
            width: 200px;
            height: 200px;
            margin: 0 auto 25px;
        }

        .tech-circle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            border: 4px solid transparent;
            border-top-color: var(--orange);
            animation: rotate 3s linear infinite;
        }

        .circle1 {
            width: 180px;
            height: 180px;
            animation-duration: 10s;
        }

        .circle2 {
            width: 140px;
            height: 140px;
            animation-duration: 7s;
            animation-direction: reverse;
        }

        .circle3 {
            width: 100px;
            height: 100px;
            animation-duration: 5s;
        }

        .tech-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            fill: var(--orange);
            animation: pulse 2s infinite;
        }

        .success-screen h2 {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: var(--orange);
        }

        .success-screen p {
            font-size: 1.4rem;
            margin-bottom: 25px;
            line-height: 1.7;
            color: var(--gray-medium);
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .success-screen .btn-return {
            background: var(--orange);
            color: var(--white);
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-size: 1.6rem;
            cursor: pointer;
            transition: var(--transition);
            margin: 0 auto;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 7px 20px rgba(255, 106, 0, 0.2);
        }

        .success-screen .btn-return:hover {
            background: var(--orange-dark);
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(255, 106, 0, 0.3);
        }

        /* Шаг 7 - поля на одной строке */
        .contact-fields {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }

        .contact-fields .input-group {
            flex: 1;
            min-width: 0;
        }

        @media (max-width: 768px) {
            .contact-fields {
                flex-direction: column;
                gap: 0;
            }
        }

        @keyframes moveGlare1 {
            0% { transform: translate(0, 0); }
            25% { transform: translate(40px, 30px); }
            50% { transform: translate(80px, 10px); }
            75% { transform: translate(30px, 60px); }
            100% { transform: translate(0, 0); }
        }
        
        @keyframes moveGlare2 {
            0% { transform: translate(0, 0); }
            25% { transform: translate(-50px, -30px); }
            50% { transform: translate(-80px, -10px); }
            75% { transform: translate(-30px, -60px); }
            100% { transform: translate(0, 0); }
        }
        
        @keyframes moveGlare3 {
            0% { transform: translate(0, 0); }
            25% { transform: translate(30px, -40px); }
            50% { transform: translate(60px, 20px); }
            75% { transform: translate(20px, 50px); }
            100% { transform: translate(0, 0); }
        }

        @keyframes rotate {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        @keyframes pulse {
            0% { transform: translate(-50%, -50%) scale(1); }
            50% { transform: translate(-50%, -50%) scale(1.08); }
            100% { transform: translate(-50%, -50%) scale(1); }
        }

        @keyframes fadeInDown {
            from { transform: translateY(-30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1); }
        }

        @keyframes fadeInUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1); }
        }

        @keyframes glow {
            0% { 
                text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                            0 0 20px rgba(255, 255, 255, 0.3); 
            }
            100% { 
                text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                            0 0 30px rgba(255, 255, 255, 0.6),
                            0 0 40px rgba(255, 255, 255, 0.4); 
            }
        }
        
        @keyframes pulsate {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes slideDown {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1); }
        }

        /* Адаптивность */
        @media (max-width: 900px) {
            .options-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .quiz-header h2 {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .quiz-body {
                padding: 25px;
            }
            .quiz-buttons {
				display: block !important; }
            .step {
                left: 0px !important;
                right: 0px !important;
            }
            
            .quiz-header h2 {
                font-size: 2.2rem;
            }
            
            .quiz-header p {
                font-size: 1.1rem;
            }
            
            .btn {
                padding: 14px 25px;
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 480px) {
            .options-grid {
                grid-template-columns: 1fr;
            }
            
            .quiz-header h2 {
                font-size: 2rem;
                animation: slideDown 1s ease-out, glow 2s infinite alternate;
            }
            
            .quiz-header {
                padding: 30px 20px;
            }
            
            .option {
                min-height: auto;
                padding: 20px 15px;
            }
        }