<style>
        /* Стили оставлены без изменений, так как они функциональны и адаптивны */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f4f7fa;
            margin: 0;
            padding: 20px;
            color: #333;
            box-sizing: border-box;
        }

        h1 {
            color: #2c3e50;
            margin-bottom: 30px;
            text-align: center;
            font-size: 2.0em;
        }

        /* Floating кнопка */
        .floating-btn {
            position: fixed;
            left: 20px;
            bottom: 20px;
         /* width: 60px; */
            height: 60px;
            background: linear-gradient(45deg, #ff6b6b, #feca57);
            border-radius: 50%;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .floating-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0,0,0,0.4);
        }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 200%; }
        }
        .shimmer { animation: shimmer 1s infinite; }
        .floating-btn.shimmer {
            background: linear-gradient(45deg, #ff6b6b, #feca57);
            background-size: 200% 200%;
            animation: shimmer 1s infinite;
        }

        /* Модал */
		select {
             height: 46px;
			 width: 100%;
			 font-size: 18px;
        }		
        .modal {
            display: none;
            position: fixed;
            z-index: 1001;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
            padding: 0;
        }
        .modal-content {
            background: transparent;
            border-radius: 0;
            padding: 0;
            width: 1200px;
            height: auto;
            max-width: 90vw;
            max-height: 90vh;
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 2em;
            cursor: pointer;
            z-index: 1002;
            color: #fff;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        .close:hover, .close:active {
            background: rgba(0,0,0,0.8);
        }

        /* Inner content */
        .inner-content {
            background: white;
            padding: 10px;
            border-radius: 0;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            overflow: auto;
            max-height: 100%;
            position: relative;
        }

        .content-wrapper {
            display: flex;
            flex-direction: row;
            flex-grow: 1;
            min-height: 0;
        }
        .left-section, .right-section {
            flex: 1;
            padding: 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .right-section {
            align-items: center;
            flex-shrink: 0;
        }
        .dynamic-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            max-height: calc(90vh - 150px);
            object-fit: cover;
            border-radius: 0;
        }

        /* Progress */
        .progress-container {
            margin-top: 10px;
            width: 98%;
            background: #ecf0f1;
            padding: 12px;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            position: relative;
            z-index: 10;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        @media (max-width: 768px) {
            .progress-container {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                border-radius: 0;
                padding: 15px;
                background: white;
                box-shadow: 0 -3px 10px rgba(0,0,0,0.15);
                margin: 0;
                width: 94%;
            }
            .inner-content {
                padding-bottom: 80px;
            }
        }

        .step-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 8px;
        }
        .step-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #bdc3c7;
            transition: background-color 0.3s ease;
        }
        .step-dot.active {
            background-color: #3498db;
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .progress-bar {
            height: 35px;
            background-color: #ecf0f1;
            border-radius: 17px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
        }
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #3498db, #2980b9);
            transition: width 0.3s ease;
            border-radius: 17px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 0.9em;
            box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
        }
        .progress-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1em;
            font-weight: bold;
            z-index: 5;
            color: #2c3e50;
        }

        .next-btn {
            background-color: #27ae60;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 7px;
            cursor: pointer;
            font-size: 1em;
            font-weight: bold;
            height: 44px;
            white-space: nowrap;
            min-width: 100px;
            transition: background-color 0.3s ease;
            box-shadow: 0 2px 5px rgba(39, 174, 96, 0.3);
        }
        .next-btn:hover:not(:disabled), .next-btn:active {
            background-color: #229954;
            transform: translateY(-1px);
        }
        .next-btn:disabled {
            background-color: #bdc3c7;
            cursor: not-allowed;
            transform: none;
        }

        /* Шаги и формы */
        .step {
            display: none;
            padding: 0;
        }
        .step.active {
            display: block;
        }
        .form-group {
            margin-bottom: 12px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            font-size: 0.9em;
        }
        .form-group input, .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
            font-size: 1em;
        }
        .options-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .option {
            padding: 12px;
            margin-bottom: 5px;
            background-color: #ecf0f1;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.2s;
            font-size: 0.9em;
            min-height: 44px;
            display: flex;
            align-items: center;
        }
        .option:hover, .option.selected {
            background-color: #3498db;
            color: white;
        }
        .option.checkbox::before {
            content: "☑ ";
            color: #27ae60;
            font-size: 1.1em;
            margin-right: 5px;
        }
        .close-btn, .submit-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 12px;
            font-size: 1em;
            width: 100%;
            min-height: 44px;
        }
        .close-btn:hover, .submit-btn:hover, .close-btn:active, .submit-btn:active {
            background-color: #c0392b;
        }

        /* График */
        #priceChart {
            max-height: 250px;
            margin-top: 15px;
            width: 100%;
        }

        /* Медиа */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            h1 {
                font-size: 1.6em;
                margin-bottom: 20px;
            }
			h2 {
    font-size: 1.4em;
    line-height: 38px;
    font-weight: 700;
}
            .floating-btn {
              /*  width: 50px; */
                height: 50px;
                font-size: 20px;
            }
            .modal-content {
                width: 100vw;
                height: 100vh;
                max-width: 100vw;
                max-height: 100vh;
            }
            .inner-content {
                padding: 15px;
                padding-bottom: 100px;
            }
            .content-wrapper {
                flex-direction: column;
                align-items: stretch;
            }
            .left-section, .right-section {
                flex: none;
            }
            .right-section {
                margin-top: 10px;
            }
            .dynamic-image {
                max-height: 200px;
                width: 100%;
            }
            .next-btn {
                width: 100%;
                margin-top: 0;
            }
            .form-group input, .form-group select {
                font-size: 16px;
            }
            .option {
                font-size: 0.95em;
            }
            .close-btn, .submit-btn {
                width: 100%;
            }
            #priceChart {
                max-height: 180px;
            }
            .progress-container {
                flex-direction: column;
            }
            .progress-bar {
                width: 100%;
            }
        }

        @media (max-width: 768px) and (orientation: landscape) {
            .dynamic-image {
                max-height: 150px;
            }
            #priceChart {
                max-height: 150px;
            }
            .inner-content {
                padding-bottom: 120px;
            }
        }

        /* Новый стиль для чекбокса соглашения */
        .agreement-container {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 5px;
            background-color: #ecf0f1;
        }
        .agreement-container input {
            margin-right: 10px;
            width: 20px;
            height: 20px;
            cursor: pointer;
        }
        .agreement-container label {
            font-size: 0.9em;
            line-height: 1.4;
            margin-bottom: 0;
        }
        .agreement-container a {
            color: #3498db;
            text-decoration: underline;
        }

        /* Доработка: скрытие/показ в шаге 5 */
        #step5 .result { margin-top: 10px; }

        /* Фикс выбора: добавлен класс selected для визуального фидбека */
        .option.selected {
            background-color: #3498db !important;
            color: white !important;
            border: 2px solid #2980b9;
        }
		.agreement-container input {
            margin-right: 10px;
            width: 20px;
            height: 20px;
            cursor: pointer;
			opacity: 1;
        }
    </style>