/* ── popup overlay ── */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            padding: 16px;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* ── container – SMALLER & COMPACT ── */
        .popup-container {
            background: #fafafa;
            width: 100%;
            max-width: 720px;
            /* ⬅ reduced from 900px */
            border-radius: 6px;
            display: flex;
            flex-direction: row;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s ease;
            box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
            overflow: hidden;
            max-height: 92vh;
        }

        .popup-overlay.active .popup-container {
            transform: scale(1);
        }

        /* ── close button ── */
        .popup-close {
            position: absolute;
            top: 12px;
            right: 16px;
            background: transparent;
            border: none;
            font-size: 26px;
            color: #999;
            cursor: pointer;
            line-height: 1;
            z-index: 10;
            transition: color 0.2s ease;
        }

        .popup-close:hover {
            color: #BB2D29;
        }

        /* ── LEFT SIDE – smaller padding, smaller text ── */
        .popup-left {
            flex: 0 0 38%;
            /* ⬅ narrower left panel */
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 340px;
        }

        .popup-left-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: 0;
        }

        .popup-left-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }

        .popup-left-content {
            position: relative;
            z-index: 2;
            padding: 32px 24px 28px 24px;
            /* ⬅ reduced padding */
            display: flex;
            flex-direction: column;
            height: 100%;
            justify-content: space-between;
        }

        .popup-left-title {
            font-size: 26px;
            /* ⬅ smaller */
            font-weight: 300;
            color: #ffffff;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .popup-left-subtitle {
            font-size: 14px;
            /* ⬅ smaller */
            color: #e5e7eb;
            margin-bottom: 24px;
            line-height: 1.4;
        }

        .popup-left-contact {
            margin-top: auto;
        }

        .popup-left-contact a {
            display: inline-block;
            color: #DCB16A;
            font-size: 13px;
            /* ⬅ smaller */
            text-decoration: none;
            margin-bottom: 4px;
            font-weight: 500;
        }

        .popup-left-contact a.email {
            display: block;
            color: #d1d5db;
            margin-top: 4px;
            font-size: 13px;
        }

        /* ── RIGHT SIDE – smaller padding & inputs ── */
        .popup-right {
            flex: 1;
            padding: 28px 28px 32px 28px;
            /* ⬅ reduced padding */
            background: #fafafa;
            overflow-y: auto;
        }

        .popup-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
            /* ⬅ tighter gap */
        }

        .popup-form-group {
            display: flex;
            flex-direction: column;
        }

        .popup-form label {
            font-size: 10px;
            /* ⬅ smaller */
            text-transform: uppercase;
            color: #999;
            letter-spacing: 0.8px;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .popup-form input,
        .popup-form select,
        .popup-form textarea {
            width: 100%;
            padding: 8px 12px;
            /* ⬅ smaller padding → smaller boxes */
            border: 1px solid #eaeaea;
            background: #fff;
            font-size: 13px;
            /* ⬅ smaller text */
            color: #333;
            outline: none;
            border-radius: 4px;
            transition: border-color 0.2s ease;
        }

        .popup-form input:focus,
        .popup-form select:focus,
        .popup-form textarea:focus {
            border-color: #bbb;
        }

        .popup-form textarea {
            resize: vertical;
            min-height: 60px;
            /* ⬅ shorter default */
        }

        /* ── submit button – compact ── */
        .popup-submit {
            background: #BB2D29;
            color: #fff;
            font-size: 13px;
            font-weight: 500;
            border: none;
            padding: 10px 24px;
            /* ⬅ smaller */
            cursor: pointer;
            border-radius: 4px;
            transition: background 0.2s ease;
            align-self: flex-start;
            margin-top: 6px;
        }

        .popup-submit:hover {
            background: #9a2422;
        }

        /* ── success / error messages ── */
        #popupFormSuccess,
        #popupFormError {
            font-size: 13px;
            margin-top: 8px;
        }

        /* ── responsive: stack on small screens ── */
        @media (max-width: 640px) {
            .popup-container {
                flex-direction: column;
                max-width: 100%;
                max-height: 94vh;
                border-radius: 6px;
            }

            .popup-left {
                flex: 0 0 auto;
                min-height: 200px;
            }

            .popup-left-content {
                padding: 24px 20px 20px 20px;
            }

            .popup-left-title {
                font-size: 22px;
            }

            .popup-right {
                padding: 20px;
            }

            .popup-form {
                gap: 12px;
            }

            .popup-form input,
            .popup-form select,
            .popup-form textarea {
                padding: 7px 10px;
                font-size: 13px;
            }

            .popup-submit {
                align-self: stretch;
                text-align: center;
            }
        }

        @media (max-width: 400px) {
            .popup-left-title {
                font-size: 19px;
            }
            .popup-left-subtitle {
                font-size: 12px;
                margin-bottom: 14px;
            }
            .popup-left-content {
                padding: 18px 14px 16px 14px;
            }
            .popup-right {
                padding: 16px;
            }
            .popup-form input,
            .popup-form select,
            .popup-form textarea {
                padding: 6px 8px;
                font-size: 12px;
            }
        }