.quick-quote-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.quick-quote-overlay.active {
    display: flex;
}

.quick-quote-modal {
    background: #1a1a1a;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    animation: qqSlideUp 0.3s ease;
}

@keyframes qqSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.qq-modal-header {
    padding: 24px 24px 16px;
    text-align: center;
    position: relative;
}

.qq-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.qq-modal-close:hover {
    background: #D4AF37;
    color: #1a1a1a;
}

.qq-icon-ring {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: #D4AF37;
}

.qq-modal-header h3 {
    font-size: 1.15rem;
    color: #D4AF37;
    margin: 0 0 6px;
    font-weight: 600;
}

.qq-modal-header p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.qq-modal-body {
    padding: 0 24px 20px;
}

.qq-form-group {
    margin-bottom: 14px;
}

.qq-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #aaa;
    font-size: 0.8rem;
    font-weight: 500;
}

.qq-form-group label i {
    color: #D4AF37;
    width: 16px;
    margin-right: 4px;
}

.qq-form-control {
    width: 100%;
    padding: 12px 14px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.qq-form-control:focus {
    outline: none;
    border-color: #D4AF37;
    background: #111;
}

select.qq-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.qq-form-control option {
    background: #0d0d0d;
    color: #fff;
}

.qq-radio-group {
    display: flex;
    gap: 10px;
}

.qq-radio-item {
    flex: 1;
    padding: 12px 8px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.qq-radio-item i {
    font-size: 1rem;
}

.qq-radio-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    color: #D4AF37;
}

.qq-radio-item.selected {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.03));
    border-color: #D4AF37;
    color: #D4AF37;
}

.qq-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qq-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.qq-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.qq-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(26, 26, 26, 0.3);
    border-radius: 50%;
    border-top-color: #1a1a1a;
    animation: qqSpin 0.8s linear infinite;
}

@keyframes qqSpin {
    to { transform: rotate(360deg); }
}

.qq-footer-text {
    text-align: center;
    font-size: 0.7rem;
    color: #555;
    padding: 12px 24px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.qq-error-msg {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    display: none;
    text-align: center;
}

.qq-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #D4AF37;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.qq-inline-cta:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
    transform: translateY(-1px);
}

.qq-hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.qq-hero-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    border: none;
    border-radius: 50px;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qq-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.qq-hero-secondary {
    padding: 14px 28px;
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    color: #D4AF37;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.qq-hero-secondary:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
}

.qq-card-cta {
    display: block;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.qq-card-cta:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
    border-color: rgba(212, 175, 55, 0.4);
}

.qq-card-cta .cta-title {
    font-size: 1rem;
    color: #D4AF37;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qq-card-cta .cta-desc {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    padding-left: 28px;
}

.qq-card-cta .cta-arrow {
    text-align: right;
    font-size: 0.85rem;
    color: #D4AF37;
}

.qq-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 10px;
    z-index: 9999;
}

.qq-bottom-bar .bar-btn {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.qq-bottom-bar .bar-btn-phone {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.qq-bottom-bar .bar-btn-chat {
    background: #07C160;
}

.qq-bottom-bar .bar-btn-quote {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .qq-bottom-bar {
        display: flex;
    }

    .quick-quote-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .quick-quote-modal {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
        overflow-y: auto;
    }
}
